Linked Questions

3
votes
2answers
162 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 ...
2
votes
2answers
215 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
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 ...
70
votes
9answers
35k views

How to create individual chapter PDFs from included TeXs?

My document structure has one file with preamble (i.e. MainTex) and around 75 individual .tex files (i.e. Chapter_01, Chapter_02, ..., Chapter_75) representing each chapter. I am using \include ...
6
votes
1answer
250 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 ...
71
votes
4answers
37k views

How to influence the name of the pdf file created with pdfLaTeX (from within the source code)?

I have a source file called 2011-05-27_Myfilename.tex and I'd like to create a PDF file from it called only Myfilename.pdf. Can this be configured from within the .tex file itself? (It seems to be ...
0
votes
0answers
141 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 ...
12
votes
2answers
6k views

Mail-merging documents from a database

I use the term database loosely here -- it can be an actual database, or a spreadsheet (in any format including CSV) or can be package-dependent. Is there a way to create mail-merged documents ...
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 ...

15 30 50 per page