Linked Questions

10
votes
4answers
360 views

How can I automate the workflow for producing multiple versions of a document? [duplicate]

Say you have two versions of the same LaTeX document. For instance, you have one version of your lecture slides for actually delivering a lecture: as you're really not a big fan of the "wall of ...
3
votes
1answer
189 views

Is it possible to pass definitions to LaTeX from the command line? [duplicate]

Possible Duplicate: Passing parameters to a document How do I make make different versions of my document with command line compile flags? I find myself wanting to be able to compile my ...
1
vote
2answers
119 views

what Makefile to produce slides and handouts a common file [duplicate]

a handy feature of beamer is to be able to produce slides or a handout. you "just" have to change a line in the source. a known solution is to use 2 different files forthe different options with a ...
0
votes
0answers
145 views

Conditionally include a package [duplicate]

Possible Duplicate: Passing parameters to a document Is it possible to include a package conditionally depending on the value of a variable defined outside the document/preamble. For ...
0
votes
0answers
19 views

Compiling latex files from terminal with and without a command [duplicate]

I have used \faketableofcontents in my file. I need to compile the file twice -- once with \faketableofcontents present and once with \faketableofcontents commented out. I wonder if there is a way to ...
14
votes
4answers
3k views

Setting class options after \documentclass

Context: I'm working on my thesis, and the formatting requirements are pretty godawful. In addition to the version I submit to the grad school, I would like to also create a properly formatted version ...
14
votes
5answers
1k views

Changing LaTeX headers via a makefile

I recently created a makefile to use with my TeX documents and am quite happy with the discovery. When I create Beamer slides to use in class, I create both a set of slides and a handout to go along ...
13
votes
2answers
1k views

Is possible to add an unnoticeable “signature” to a PDF in order to track its copies? [duplicate]

Suppose I want to generate 100 apparently identical PDF files, where I hide some kind of key, in order to distribute them among 100 different people. Now I detect an online shared copy of the document ...
16
votes
2answers
847 views

Include LaTeX version in document

Is there any command or package to insert the version of LaTeX used to create a document? I am looking for a header or footer in the first page that says something like compiled with pdfTeX ...
7
votes
3answers
977 views

How to use the exact same file for handout and presentation modes in beamer

I want to use the exact same file for my beamer presentation and handout. I do not like the need to comment out lines in order to create the handout or presentation (my current solution), nor do I ...
9
votes
3answers
970 views

Producing different versions of a document

I am writing a documentation for a software environment which will be composed of several subfile put together using the \include command. The thing is, I would like to be able to output different ...
5
votes
2answers
1k views

Conditional Compiling and \documentclass

I am quite new to latex and don't quite get it how to compile different versions of my presentation. If this is important: I am using pdflatex and beamer. There are three documentclasses I am ...
8
votes
1answer
412 views

How do I make make different versions of my document with command line compile flags?

I've found a number of answers online, and plainly none of them have seemed to be able to execute any conditional code. This answer looked particularly promising. One thing I noticed is that in the ...
6
votes
2answers
484 views

Deciding Boolean operation in LaTeX via Linux Terminal

How do I decide a Boolean operation in LaTeX via Linux terminal? That is, I have: %myfile.tex \documentclass{article} if parameter=true is true else is false \begin{document} parameter ...

15 30 50 per page