This is the base name used by a TeX run to identify itself.

learn more… | top users | synonyms

66
votes
8answers
9k views

Can one TeX file output to multiple PDF files?

I'd like to be able to create a TeX file that will output multiple PDF files with one compilation. I'm not even sure if this is possible. Here is the setup: I am writing dozens of cover letters for ...
29
votes
3answers
5k 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 ...
20
votes
5answers
2k views

Comment out lines without using % and comment enviroment

I would like to ask something which will greatly facilitate my work. But before, I introduce you to the problem I face. In my attempt to gather my notes for my students and give them something more ...
19
votes
2answers
761 views

Macro to retrieve the real name of the source file if pdflatex is invoked with -jobname

This question led to a new feature in a package: As of version 0.6 currfile supports the requested feature via a new package option and the -recorder compiler switch. For details, see Martin's ...
7
votes
3answers
1k 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 ...
17
votes
2answers
3k views

What is the variable that contains the source file name?

I am writing a package that saves information to an external file. I would like to name that file according to the source one; something like foo.tex -> foo.bar But I cannot find any variable that ...
5
votes
6answers
1k views

Automatically create two PDF output files from one tex file [duplicate]

Possible Duplicate: Can one TeX file output to multiple PDF files? Let's say I have a tex file foo.tex. Now, I want to achieve that pdflatex does not only create a file foo.pdf but ...
19
votes
2answers
756 views

What are the allowed characters in filenames?

What characters can be used in filenames for the main document and input files, both .tex and images etc.? I'm not asking about which are recommended to be used, but about a list of all possible ...
2
votes
1answer
420 views

using texlive:latex/pdflatex/xelatex and shebang (jobname)

I'm wondering, why my minimal example (in file shebang.tex) %& -job-name=test \listfiles \documentclass{article} \begin{document} Hidiho \end{document} will always (no matter if using latex, ...
1
vote
0answers
399 views

tikz externalize optimizes pictures away although jobname complies [closed]

I used tikz externalize successfully for a time now. But since my pc crashed once the externalized pictures are instantly deleted. Reading the manual I found out, that they are "optimized away" ...