mirror of
https://github.com/wnagrodzki/AppleDocumentationStyleLatexTemplate.git
synced 2025-05-03 01:21:58 +02:00
Updated Pygments installation instruction so sudo does not have to be used
This commit is contained in:
parent
5208f742e4
commit
372f255101
1 changed files with 14 additions and 14 deletions
28
README.md
28
README.md
|
@ -1,5 +1,5 @@
|
|||
Overview
|
||||
====================================
|
||||
# Overview
|
||||
|
||||
This LaTeX template will let you create beautiful PDF documents inspired by Apple documentations.
|
||||
- [ ] Title page
|
||||
- [x] Table of contents
|
||||
|
@ -7,26 +7,26 @@ This LaTeX template will let you create beautiful PDF documents inspired by Appl
|
|||
- [x] Objective-C code listing with syntax highlighting
|
||||
- [x] Swift code listing with syntax highlighting
|
||||
|
||||
How To Get Started
|
||||
====================================
|
||||
# How To Get Started
|
||||
|
||||
1. Install [MacTex](https://www.github.com)
|
||||
1. Check if there are any updates for TeXShop and TeX Live Utility applications
|
||||
2. Launch TeX Live Utility and update all packages
|
||||
2. Integrate the template with TeXShop
|
||||
1. Navigate to ~/Library/TeXShop/Engines
|
||||
2. Open XeLaTeX.engine file
|
||||
3. Add two additional parameters -shell-escape -interaction=nonstopmode
|
||||
1. Check if there are any updates for TeXShop and TeX Live Utility applications
|
||||
2. Launch TeX Live Utility and update all packages
|
||||
3. Install [Pygments](http://pygments.org)
|
||||
1. sudo easy_install Pygments
|
||||
1. `$ easy_install --user Pygments`
|
||||
2. `ln -s /Users/<user>/Library/Python/2.7/bin/pygmentize /usr/local/bin/pygmentize`
|
||||
2. Integrate the template with TeXShop
|
||||
1. Navigate to ~/Library/TeXShop/Engines
|
||||
2. Open XeLaTeX.engine file
|
||||
3. Add two additional parameters `-shell-escape -interaction=nonstopmode`
|
||||
|
||||
In case of commandline compilation, use xelatex
|
||||
|
||||
In case of commandline compilation, use xelatex:
|
||||
```
|
||||
xelatex -file-line-error -synctex=1 -shell-escape -interaction=nonstopmode "File.tex"
|
||||
```
|
||||
|
||||
Screenshots
|
||||
====================================
|
||||
# Screenshots
|
||||
|
||||

|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue