CommunityData:TeX: Difference between revisions
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
texlua install-getnonfreefonts | texlua install-getnonfreefonts | ||
sudo getnonfreefonts-sys garamond | sudo getnonfreefonts-sys garamond | ||
== Installing Template == | |||
You can find the latest version of Mako's templates here: http://projects.mako.cc/source/?p=latex_mako | |||
To clone the public repository, you can do: | |||
git clone git://projects.mako.cc/latex_mako | |||
If you can clone them into the directory <code>~/tex/</code> (e.g., by doing <code>mkdir ~/tex; cd ~/tex</code> before running the clone command above) it will make things a bit easier. | |||
If you want, you can copy the files new_tex_document new_tex_letter into your path (e.g., <code>~/bin</code>) this will allow you to run <code>new_tex_document documentname</code> to create new documents from the template more easily. It's totally optional. | |||
== Using the Templates == |
Revision as of 02:56, 15 January 2016
Installing Dependencies
Debian/Ubuntu Installation Instructions
First, you'll want to install the following packages:
- rubber
- latexmk
- texlive-latex-recommended
- texlive-latex-extra
- texlive-fonts-extra
- texlive-fonts-recommended
- texlive-bibtex-extra
- moreutils
- gawk
Also, to install Garamond grab and install the font from here through the following complicated process:
- Download the file
- Create ~/texmf if it does not exist yet
- Unzip the file ugm.zip from the garamond.zip file into that ~/texmf/
- Copy the other font files in the root directory of garamond.zip into ~/texmf/fonts/type1/
- Run "texhash ~/texmf
Alternatively, if you want to install them system wide and have root credentials, you can also place them in /usr/local/share/texmf instead.
Using MacTeX on OSX
To install with MacTeX, you need to install the font:
wget http://tug.org/fonts/getnonfreefonts/install-getnonfreefonts texlua install-getnonfreefonts sudo getnonfreefonts-sys garamond
Installing Template
You can find the latest version of Mako's templates here: http://projects.mako.cc/source/?p=latex_mako
To clone the public repository, you can do:
git clone git://projects.mako.cc/latex_mako
If you can clone them into the directory ~/tex/
(e.g., by doing mkdir ~/tex; cd ~/tex
before running the clone command above) it will make things a bit easier.
If you want, you can copy the files new_tex_document new_tex_letter into your path (e.g., ~/bin
) this will allow you to run new_tex_document documentname
to create new documents from the template more easily. It's totally optional.