Skip to content

Commit

Permalink
Add pages for latexmk and pdflatex
Browse files Browse the repository at this point in the history
Pdflatex and latexmk are two tools to create Output documents from LaTeX source files.

Added colons instead of full stops to make `lint` happy.
  • Loading branch information
85pando committed Jan 16, 2016
1 parent dd9947c commit 9a3eac6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pages/common/latexmk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# latexmk

> Compile LaTeX source files into finished documents.
> Automatically does multiple runs when needed.
- Compile a dvi (DeVice Independent file) document from every source:

`latexmk`

- Compile a dvi document from a specific source file:

`latexmk {{source.tex}}`

- Compile a pdf document:

`latexmk -pdf {{source.tex}}`

- Clean up all temporary tex files in the folder:

`latexmk -c`

- Clean up temporary tex files created for a specific tex file:

`latexmk -c {{source.tex}}`

- Clean up temporary tex and output files:

`latexmk -C`
11 changes: 11 additions & 0 deletions pages/common/pdflatex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# pdflatex

> Compile a pdf document from LaTeX source files.
- Compile a pdf document:

`pdflatex {{source.tex}}`

- Compile a pdf document, halting on each error:

`pdflatex -halt-on-error {{source.tex}}`

0 comments on commit 9a3eac6

Please sign in to comment.