# Linked Questions

4answers
291 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 ...
1answer
148 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 ...
0answers
144 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 ...
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 ...
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 ...
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 ...
2answers
732 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 ...
3answers
845 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 ...
3answers
673 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 ...
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 ...
1answer
357 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 ...
2answers
449 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 ...
1answer
667 views

### Conditional compilation of beamer slides

I'm preparing a beamer slideshow, and I will have to print slides. I would rather use landscape mode slides, but it is possible that I need to use portrait mode ones. Sadly, I won't know until a few ...
2answers
269 views

### Can TeX post-process the PDF it produces?

This is a follow-up to Can LaTeX be persuaded to produce text output?. Having discovered that pdftotext is the way to go, I'm curious as to whether it is possible to have TeX invoke that command on ...

15 30 50 per page