CMakeUserUseLATEX

From KitwarePublic
Revision as of 15:15, 1 September 2010 by Kmorel (talk | contribs) (Move --enable-write18 instructions to user's guide.)
Jump to navigationJump to search

Back

Description

Compiling LaTeX files into readable documents is actually a very involved process. Although CMake comes with FindLATEX.cmake, it does nothing for you other than find the commands associated with LaTeX. I like using CMake to build my LaTeX documents, but creating targets to do it is actually a pain. Thus, I've compiled a bunch of macros that help me create targets in CMake into a file I call "UseLATEX.cmake". Here are some of the things UseLATEX.cmake handles:

  • Runs LaTeX multiple times to resolve links.
  • Can run bibtex, makeindex, and makeglossaries to make bibliographies, indexes, and/or glossaries.
  • Optionally runs configure on your latex files to replace @VARIABLE@ with the equivalent CMake variable.
  • Automatically finds png, jpeg, eps, and pdf files and converts them to formats latex and pdflatex understand.

Download




Back



CMake: [Welcome | Site Map]