Linked Questions

3
votes
2answers
166 views

Output to multiple .pdf documents using LuaLaTeX and Toggles

I have a document that I sometimes want to print as one single document, and other times I want to print it as smaller groups of pages. I would like to automate the process. I'm using TeXmaker with ...
0
votes
0answers
33 views

Write part of output to a separate .pdf?

Is there a way to cause the pdf output from the \crtlistoflabels below to be written to a .pdf file separate from the main content? \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \...
0
votes
0answers
40 views

Typesetting with different values of a boolean [duplicate]

In my document I have defined a few booleans (like etu in order to hide some parts of the document for the students, or mono which activates the monochrome option of xcolor). My aim is now to provide ...
6
votes
1answer
253 views

mail merge and create multiple pdfs

I have a .csv file called sbriefdata with some data in it, for example A;B;10 C;D;20 E;F;30 G;H;40 and I want a separate .pdf file for each of the rows in the .csv file. I know how to do a mail ...
2
votes
2answers
221 views

Compile to PDF file with different name than the source

I have a latex document containing some problems and their solutions. I also have a macro \excludecomment{sol} which if uncommented, excludes the solution environments. (Similar command is there for ...
0
votes
0answers
143 views

Display error messages in TeXstudio (--shell-escape)

In order to get three output files at the same time (by one compilation) I added the option --shell-escape and \ifx\conditionmacro\undefined \immediate\write18{% pdflatex --jobname="\jobname" ...
1
vote
1answer
93 views

Compile print version and display version in 1 run

Often I have to create two documents with the same content but different layout: one version to print and another as a digital document. Therefore some small changes have to be made like other margins,...
6
votes
1answer
61 views

Output Content ONLY from a Single Macro

I want a mode where the output consists of ONLY a single macro. In the MWE below, that is the output of \ImportantMacro. All other text outside of this macro is to be ignored. An obvious start to ...
2
votes
0answers
157 views

Compile LaTeX file to produce main document and references as separate files using BibLaTeX/Biber

I am using the BibLaTeX package, with the Biber backend for producing a proposal for a grant. However this grant agency (like a few others) requires a separate file for the main proposal and the ...
1
vote
1answer
55 views

Producing multiple PDFs with different package options called

I write my worksheets with a package \usepackage{handout}. The package has a few options [solutions], [teachingnotes], [nospace]. I was wondering if there is a way to set up my compiler to produce ...
3
votes
0answers
63 views

Splitting a book by chapter [duplicate]

In the line of this post, I am looking for a way to compile a large document (~400 pages with 10 chapters) into a single pdf file and one additional pdf file per chapter. Currently, I use pdftk to ...
6
votes
1answer
102 views

2 PDF Outputs at once with 2 different styles

Is it possible to export into 2 PDF Files at once? It should have the same text, but use 2 different style documents. For now I just rename the Style Documents all the time, but there must be an ...
2
votes
1answer
160 views

Different PDFs from one .tex file

I'm writing an article in LaTeX with theorem environments. Is it possible to create automatically one PDF file with whole article and in addition other PDF file only with theorems without the rest? ...
2
votes
0answers
171 views

Is it possible to generate two PDF files from a single run?

The letter class makes it possible to generate two letters from a single run. \documentclass[11pt]{letter} \usepackage{lipsum} \begin{document} \name{John Doe} \signature{John Doe} \begin{letter}{...
3
votes
1answer
264 views

Conditional \if \fi using hooks \AtBeginDocument and \AtEndDocument

I wonder if there's a way in LaTeX to create a conditional in the whole document from the preamble? Something similar to this sample (which obviously does not work): \documentclass{article} \...

15 30 50 per page