576 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 ...
438 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 ...
429 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 ...
178 views

### Switch between different output versions compiled from the same LaTeX source [duplicate]

For programming in C, it is quite common to switch between creating debug- and release-versions by passing a command line argument to the compiler. I would like to have something similar for pdflatex....
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 example, ...
21 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 ...
5k 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 ...
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 ...
2k 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 ...
2k 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 ...
1k 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 3.1415926-...
2k 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 ...
2k 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 ...