welcome: please sign in
location: Diff for "Computer/Latex/LatexMk"
Differences between revisions 3 and 4
Revision 3 as of 2022-06-01 11:37:50
Size: 1674
Editor: leif
Comment:
Revision 4 as of 2022-06-01 11:40:52
Size: 1732
Editor: leif
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Latexmk --- Automating the document compiling process ==
Line 14: Line 16:
Latexmk completely automates the process of compiling a LaTeX document. Essentially, it is like a spe-
cialized relative of the general make utility, but one which determines dependencies automatically and has
some other very useful features. In its basic mode of operation latexmk is given the name of the primary
source file for a document, and it issues the appropriate sequence of commands to generate a .dvi, .ps, .pdf
Latexmk completely automates the process of compiling a LaTeX document. Essentially, it is like a specialized relative of the general make utility, but one which determines dependencies automatically and has some other very useful features. In its basic mode of operation latexmk is given the name of the primary source file for a document, and it issues the appropriate sequence of commands to generate a .dvi, .ps, .pdf

Latexmk --- Automating the document compiling process

In order to explain the various possibilities with Latexmk, we will first briefly discuss versions of the LaTex engine.

Versions of the LaTex engine

* Historically, the command latex <filename> produced output as a .dvi file, a special format that had to be converted into a .ps or a .pdf file, which was, and is, the desired final output.

* pdflatex, a later development which outputs .pdf directly, without needing any conversion. This is the most common verson used at the department, and probably around the world.

* lualatex, the most modern development which also produces .pdf output. It has a number of advantages:

  • it has much richer font possibilities than the earlier versions.
  • its various capacities are limited only by the host machine, not by arbitrary constants used at build time. This may be important, especially when processing complicated tikz/pgfplots documents.
  • parts of its implementation is based on the lua scripting language, which may be accesible directly from the document itself.

Latexmk --- Automating the document compiling process

Latexmk completely automates the process of compiling a LaTeX document. Essentially, it is like a specialized relative of the general make utility, but one which determines dependencies automatically and has some other very useful features. In its basic mode of operation latexmk is given the name of the primary source file for a document, and it issues the appropriate sequence of commands to generate a .dvi, .ps, .pdf and/or hardcopy version of the document.

Configuration file Configuration file

Computer/Latex/LatexMk (last edited 2022-06-10 10:13:38 by leif)