Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 1.22 KB

README.md

File metadata and controls

74 lines (46 loc) · 1.22 KB

C++ Programming Style: Guilds, Rules, and Patterns.

Licensed under [MIT License][].

Download PDF

$ wget -c https://raw.github.com/ccock/cps/master/cpp-programming-style.pdf

Downloads

You can obtain full latex source files of C++ Programming Style from https://github.com/ccock/cps

Install Tex

You should install full texlive packages.

  • Ubuntu
$ sudo apt-get install texlive-full
  • MacOS

Download MacTeX.pkg, and install it.

  • Windowns

Download CTEX-full, and install it.

Install Missing Fonts

Then you should install some missing chinese fonts.

  • Ubuntu
$ sudo mkdir /usr/local/share/fonts/truetype
$ sudo cp -R fonts /usr/local/share/fonts/truetype
$ cd /usr/local/share/fonts/truetype
$ sudo mv fonts win-fonts
$ sudo chown -R root win-fonts
$ sudo fc-cache
  • MacOS

Import all missing fonts into fontbook

  • Windows

Copy the all missing fonts into C:/WINDOWS/Fonts

$ fc-cache

Build

$ make

Preview PDF

$ open output/cpp-programming-style.pdf

License

MIT License