Tagged Questions

{auxiliary-files} is about files generated and read by LaTeX and packages which hold auxiliary information about the document.

learn more… | top users | synonyms (2)

3
votes
2answers
4k views

How do I combine several tex files into one?

In my paper I have several tex files, mainly produced by some other tools (.bbl by bibtex, .eps_tex by inkscape etc.). I would like to combine them into a single tex file as required by my publisher. ...
2
votes
1answer
488 views

Create short bibliography with bibtexkeys from aux files (biblatex)?

I have a draft version of a large latex document with a long bibliography (>30 pages long). It has been created with biblatex and has about 330 entries. I'm editing a printout of the draft version ...
37
votes
11answers
14k views

Deleting external/auxiliary files?

Is there a way to make TeX delete files? In my document a lot of auxiliary files are created and it would be wonderful to have them removed after their content has been used.
8
votes
4answers
1k views

How to write a command to file

I am trying to write to a auxillary file using \newwrite\tempfile [...] \immediate\openout\tempfile=list.tex \immediate\write\tempfile{Text to write to file} \immediate\closeout\tempfile It works ...
4
votes
2answers
1k views

LyX: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

I am working on a document in a TrueCrypt volume. As far as I understand, when I view PDF, LyX puts a temporary PDF file (and probably all temporary pdflatex files) into some other folder (at least, I ...
1
vote
1answer
206 views

Tabulating all labelled equation numbers with their labels in latex

Is there any way in Latex to collect the labels for references from a document in a table? I'm writing a long document but would like to collect together my references of various kinds (i.e. ...
56
votes
4answers
4k views

Which auxiliary LaTeX files should be ignored by Version Control Software?

I'm about to start version controlling my LaTeX documents with Git but I haven't used either very much. I would like to version only the files needed to compile the document but I use different OS's ...
12
votes
4answers
1k views

Making efficient use of \writes

I'm currently trying to compile my thesis using LaTeX and have run up against the old ! No room for a new \write . problem. After some googling it seems the only way to actually resolve this problem ...
3
votes
1answer
735 views

What could cause repeated NULL characters in an .aux file? [closed]

I have a LaTeX document that was compiling fine until this evening. I was playing around with synctex and latexmk when I noticed the error, but I'm not sure what is causing it. There are over 100 of ...
11
votes
4answers
3k views

How do I run bibtex after using the -output-directory flag with pdflatex, when files are included from subdirectories?

When I have master pdflatex file which includes one or more child documents using something like \include{include/childdoc}, and I call pdflatex on it using pdflatex -output-directory=out parent.tex, ...
13
votes
3answers
927 views

How can I open a file in “append” mode?

Could not find anything in the TeXBook, but this could be just me. I guess it is always possible to open the file for reading, copy its content to another file, and then continue writing to that ...
6
votes
2answers
5k views

Having pdflatex clean up after itself in WinEdt?

How do I get pdflatex (via WinEdt) to remove all the extra output files (e.g., .lof, .blg, etc.) after compiling my .tex/.bib/.etc to a .pdf? If there is a solution, I suspect it will come via ...
60
votes
14answers
17k views

Prevent pdflatex from writing a bunch of files

If I create just a basic hello.tex file an compile it using pdflatex hello.tex The pdflatex program is creating a plethora of file which is a little annoying. Currently it writes all those files ...
42
votes
2answers
5k views

What is the basic mechanism for writing something to an aux file?

I am interested in the basic mechanism behind writing stuff to the .aux file. (Or some other auxiliary file). Let's say I want to write myself a basic package for making notes on my files. (I know ...
12
votes
1answer
1k views

\addtocontents at end of document not getting written to .toc file?

I'm trying to find a more elegant solution for ToC, LoT, and LoF formatting for my university's thesis/dissertation style. The short form of their requirements means I need one page style for the ...
15
votes
4answers
712 views

File copy without expansion

What is the command for file copy? I want to copy the contents of one file into another without any command expansion. In a command line driven operating system one would use copy source target I ...
5
votes
1answer
1k views

Include aux file in tex source?

I have a large book broken into several chapters, each of which reference each other heavily. I would like to be able to distribute individual chapters as self-contained .tex files. I can do this ...
37
votes
7answers
7k views

File extensions of LaTeX-related files

In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically ...
4
votes
2answers
1k views

putting (aux log out toc bbl bib blg) files in another directory with latexmk

Is it possible to put (aux log out toc bbl bib blg) files in another directory with latexmk?
37
votes
8answers
7k views

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
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 ...
15
votes
5answers
1k views

Best script for automatically copying references from a centralised bib file based on aux file

In a previous question I asked about best practices when managing multiple bibtex files. One strategy involves having a single centralised bibtex file. Then, citations in a particular article are ...
6
votes
3answers
2k views

Problem with special characters in .toc files

I have an odd problem with special characters (in this case the Swedish åäö), that pops up in my .toc file. If I remove the .toc file everything works OK except I get an empty table of contents. When ...
2
votes
1answer
829 views

Can I set Vim w/ vim-latexsuite to clean up aux files after compile?

I can't find the appropriate setting in gVim. Is there a way to manually edit my setting file to clean aux files after compile? Thanks!
21
votes
5answers
3k views

‘Bundle’ TeX output in a directory

(My personal interest in this question is mainly for OS X but solutions/approaches for other operating systems are also appreciated.) What I see as a main distraction with using TeX/LateX is that it ...