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

6
votes
1answer
137 views

How to check if key is already in aux file

Trying out some LaTeX commands, I wanted to build an Abbreviations list that would write acronyms to a file when defined and if already defined do nothing. It works fine so far, adding ...
4
votes
0answers
144 views

What files are used in the TeX world? [duplicate]

Possible Duplicate: File extensions of LaTeX-related files Egad! What are all those files? What are files that LaTeX creates when calling one of it’s programs (including biber, xindy ...
3
votes
1answer
209 views

Problem with custom auxiliary file and tex4ht

I have a LaTeX file that's working very well with pdflatex. I want to turn it into HTML, so I'm using tex4ht (under MiKTeX 2.9 on Windows 7). I've already gotten around some problems (the old graphics ...
12
votes
1answer
422 views

Egad! What are all those files?

Ok, let's write a document! $ vim thesis.tex i[input a whole bunch of latex and text]<Esc>ZZ $ pdflatex thesis $ ls thesis.acn thesis.alg thesis.bbl thesis.dvi thesis.glo thesis.ilg ...
3
votes
1answer
1k views

Restructure classic thesis project with subfolders using Kile

I would like to change the folder structure of the ClassicThesis project. My current folder setup looks like this. |-- bib // Some *.bib files. |-- bst // Some *.bst files. |-- cfg // Configuration ...
13
votes
3answers
395 views

Need help creating a custom aux file read/write routine to suit my needs

I require two new commands, \createreference and \citereference, to work with. They should work as shown in the following examples: \createreference{john}{John Q. Citizen} should write the text “John ...
10
votes
2answers
4k views

How to use the aux file

This is not a terribly well-formed question, sorry. I don't really know what information is in the .aux file, or how I can make use of it in other (related) documents. What's the best reference for ...
15
votes
3answers
873 views

Writing { and } to a file with LaTeX

How can the special characters { and } be written literally to an external file in LaTeX, without being balanced? Obviously the following does not work: \immediate\write\my@outfile{{} ...
5
votes
1answer
800 views

How can Bibtex find the auxiliary files it needs when these are stored in a subdirectory

In order to make my major folder containing my master .tex file more clean, I have set Texworks to store all auiliary files in a subfolder called auxfiles. This was done by adding the following ...
6
votes
1answer
1k views

How can I put .aux files in separate folder using a command inside TexWorks?

I am using TexWorks and I need to put all help files produced by Latex into a subfolder relative to the folder where I have my master .tex file. On these StackExchange pages there are answers to this ...
5
votes
2answers
79 views

refcount + unresolved cross references + ~ 100 runs of pdflatex

Is there anybody out there, with an idea how to speed things up? I need to run pdflatex ~ 100 times because of unresolved cross references. I use refcount to add a number to each row of a table (list ...
10
votes
2answers
1k views

“pgf Error: No shape named i-0 is known”, but only upon 2nd run

Update 2012-01-31: This seems to be a version (and/or OS specific) problem. It breaks on my latest TeXLive2011 on a Mac, but I can get it to run on my PC version of MiKTeX 2.8, and @MarcvanDongen ...
28
votes
8answers
1k views

How do you store all your TeX files long-term?

Reading through As an expert, can you always use TeX for (nearly) any kind of document?, it seems most people use TeX for almost all their documents. My question is this: how do you store these ...
18
votes
2answers
4k views

Diagram / Infographic of TeX & friends?

So, I recently delved into LaTeX for a project at work. But I’m come from the XML+XSL world, and some of LaTeX’s design is kind of difficult for me to grok. (I’m not interested in debating the ...
0
votes
0answers
62 views

Does anyone know what the other files that come with compiling are? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. Whenever I hit "compile" on MikTeX 2.8, I get a bunch of files I don't need like .aux, notepad files. Is there a way to ...
1
vote
1answer
272 views

Sorting logs into different folders

When I run xelatex (or other compilers), I always end up with many log files in a single folder. This gets difficult to manage. I could create a script which moves them into various folders (e.g. one ...
6
votes
1answer
263 views

Setting filenames and paths of auto-pst-pdf

When one has a lot of documents for a single project, it gets important not to lose the overview. I use \usepackage{auto-pst-pdf} together with pdflatex and it works fine in principal. However, the ...
7
votes
3answers
5k views

Placing Intermediate and Output Files in Another Folder

I am trying to figure out a way to cleanly separate the TEX files from all of the intermediate and output files. Various approaches I've tried, including the one described by ‘Bundle’ TeX output in a ...
9
votes
3answers
269 views

How can I write % into a file?

How can I write % into an auxiliary file? % will not work, because LaTeX thinks that I start a comment with it (in the main file, not in the auxiliary file!), and \% will write \% into the file. How ...
6
votes
1answer
749 views

How can I use the Vim LaTeX-Suite multiple compile option with BibTeX and the -aux-directory option?

I have a document composed of several subfiles and so have used the -aux-directory command to put all of the temporary files in a subfolder, 'auxdir', to keep my working folder clear (and me sane). I ...
0
votes
2answers
2k 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
499 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 ...
8
votes
1answer
397 views

What is the use of the command \IeC?

It is produced in streams by newfile when I use special characters.
2
votes
1answer
104 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
173 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} ...
14
votes
4answers
2k 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 ...
2
votes
1answer
4k 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
3k 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. ...
3
votes
2answers
3k 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
455 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 ...
32
votes
11answers
9k 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.
7
votes
4answers
813 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
776 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
195 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. ...
54
votes
4answers
3k 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
967 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
644 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 ...
6
votes
3answers
2k 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
814 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
4k 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 ...
47
votes
13answers
13k 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 ...
38
votes
2answers
4k 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 ...
11
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 ...
13
votes
4answers
638 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. The operative system would use copy source target I tried reading the contents ...
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 ...
32
votes
7answers
5k 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
889 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?
33
votes
7answers
5k views

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
13
votes
2answers
2k 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 ...
14
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 ...