{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)

2
votes
2answers
3k views

How to prevent TeXShop from making .aux, .syntec.gz and .log while compiling? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. I'm not a super-user of LaTeX, I only use it for small reports with lots of maths. I often have to do it with other ...
3
votes
0answers
625 views

SyncTeX wrongly placed when XeTeX called with -aux-directory [closed]

I am using MikTeX 2.9 and compiling "hello.tex" containing: \documentclass{minimal} \begin{document} text \end{document} with: xelatex --synctex=1 --aux-directory=auxdir hello.tex produces a ...
10
votes
1answer
641 views

What is the use of the command \IeC?

It is produced in streams by newfile when I use special characters.
2
votes
1answer
125 views

How to copy the content of an aux file to another aux file?

I have two aux files attached to my LaTeX document : aux_1 and aux_2. I would like, at some point, to copy the content of aux_1 to aux_2. More precisely, the file aux_1 does already contain some ...
5
votes
2answers
233 views

How to copy in an auxiliary file the arguments of a macro?

I have tried to do so with the nice package newfile. But, the following code does not compile :( \documentclass{article} \usepackage{newfile} \newoutputstream{outstream} ...
15
votes
4answers
3k views

Use MiKTeX option through latexmk

When I use MiKTeX normally, I call this: pdflatex --aux-directory="C:\Users\doncherry\Documents\LaTeX\AUXI_global" foo.tex For latexmk outputting pdf (via pdfLaTeX) with continuous previewing, my ...
7
votes
1answer
9k views

Clean-up temporary files after PDF is generated [duplicate]

Possible Duplicate: Deleting external/auxiliary files? Is anyone aware of a way of how to cleanup temporary files generated by pdflatex during the generation of the PDF file? I came across ...
8
votes
1answer
5k views

*.aux file not generated

I am using \documentclass[margin]{res}. On running latex/xelatex, *.aux file is not generated. Because of this the references in the document are not being cited. I am using biblatex for citations. ...
6
votes
3answers
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
564 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 ...
51
votes
11answers
27k 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.
9
votes
4answers
2k 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 ...
5
votes
2answers
2k 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
222 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. ...
61
votes
4answers
5k 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 ...
14
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
848 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 ...
17
votes
5answers
4k 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, ...
14
votes
3answers
1k 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
6k 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 ...
77
votes
15answers
29k 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 ...
49
votes
2answers
6k 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
867 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 ...
54
votes
9answers
14k views

File extensions related to LaTeX, etc

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
2k 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?
42
votes
8answers
11k views

Need *.aux file in separate folder

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

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

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 ...
7
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
1k 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!
22
votes
5answers
4k 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 ...