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

16
votes
1answer
235 views

When is the aux file read and written?

I'd like to know when the aux file is read. I know it happens after the preamble, but does it come before or after the \AtBeginDocument hook? I'd like to know when the aux file (or any other helper ...
5
votes
1answer
115 views

Write information on aux file when using include to build document

This may be an odd question, but I'm having trouble writing information on the main .aux file when I split my documents through more than one .tex. Here is the deal: I'm trying to calculate the size ...
40
votes
1answer
616 views

On the basics of writing to & reading from auxiliary files (.aux, .toc, etc.)

Some actions (such as generating the Table of Contents) require two passes of the TeX compiler: during the first pass, some data get written to an auxiliary file, only to be retrieved during the ...
0
votes
1answer
831 views

'slashbox.sty' not found

I am not the best when it comes to working with programs like LaTeX and I am unable to open a .tex document, or rather 'LaTeX it' since it keeps coming up with this error. I have downloaded ...
9
votes
1answer
258 views

Is there any advantage in keeping track of aux bbl blg files in a git repository

As question says, I am just interested to know the pros and cons of keeping track of auxiliary files of a LaTeX project in every commit of git repository.
3
votes
1answer
154 views

To-do-notes in separate TeX File, but without \listoftodo in main doc

I am using the todonotes package and have three requirements, the first two which the MWE already does: Obtain a list of todo notes in a separate auxiliary file. This can easily be obtained via the ...
1
vote
0answers
33 views

Preventing output of extra compiler files [duplicate]

When I compile a document with PdfLaTeX + View PDF quick build command option selected, Texmaker outputs these files in the same directory with the .tex file: MyDoc.aux MyDoc.log MyDoc.pdf ...
3
votes
1answer
128 views

\showbox and log file

I want to parse the output of the \showbox command externally. Is it possible to let \showbox write to another file than the .log file? If not, is it possible to temporarily change the name of the ...
4
votes
2answers
333 views

Write a \setcounter command to a file

I try to write a setcounter command to a file (using the newfile package) by something like the following \addtostream{mystream}{\protect\setcounter{mycounter}{\myvariable}} However, since the ...
7
votes
1answer
192 views

Strange behaviour of \addcontentsline [closed]

Using an up-to-date TeXlive 2012 (with all updates) this small document will produce a strange AUX file: \documentclass{book} \usepackage[list=on]{subcaption} % Suppress writing the definition of ...
3
votes
1answer
148 views

Execute command stored in aux file

My script needs to read a command from one aux file (testFileWriteReadExecute.yposIN.txt), then execute that same command which is a actually a call to a write macro which writes another command to a ...
0
votes
2answers
678 views

Index not working

I'm working on a document. There's an index there, but for some reason when I change things in it it doesn't update the rendered outcome and I can't correct it. I tried erasing the .ind file, but ...
2
votes
1answer
79 views

Unwanted code present in file output

Edit for clarification: I have a counter whose value I want to write to an aux file. The counter will later be used very dynamically so it has to be read back on subsequent runs or recalculated ...
7
votes
1answer
11k views

Package babel Error: You haven't loaded the option english yet [duplicate]

Sorry for the less-than-descriptive title, but I'm new to LaTeX and have no idea how to debug or make sense of errors. I've modified an invoice template from here to suit my needs, but I'm getting ...
4
votes
1answer
280 views

Read in number of citations from aux file

In the aux file produced by latex, I see the following line: \newlabel{LastBibItem}{{30}{10}{}{}{}} How can I pull the 30 (the total number of citations) into a counter in the preamble of another ...
7
votes
1answer
265 views

How to create fancy table of equations (to be typeset before the equations are rendered in text)

Is there a way to create a command which adds to a table or otherwise typesets in a place specified by the user? Example of what I'm after \documentclass{article} \begin{document} \tableofequations ...
3
votes
1answer
163 views

MacTeX -aux-directory=DIR

i'm using Textmate and MacTeX (texLive 1.12). There is the option in MiKTeX (Windows) to use the command -aux-directory=DIR and -output-directory=DIR. The output part works in TeXLive, but the PDF ...
1
vote
1answer
131 views

newclude has destroyed my application

I added \usepackage{newclude} with commands such as \include*{myfile} in an attempt to include myfile without the concomitant \clearpage. This didn't work, so I removed this new code and ...
0
votes
1answer
5k views

BibTeX can't open file `myfile.bib.aux'

I have created a document called "myfile.tex" with the following code. \documentclass{article} \begin{document} As we can see in \cite{goossens93}... \bibliographystyle{plain} ...
2
votes
1answer
623 views

How to compile LaTeX out-of-source while using bibtex?

I often use the out-of-source compilation on my LaTeX code to separate the generated files from the source files, thus I can conveniently commit my code to the repository. The command is like this: ...
10
votes
1answer
3k views

Print bibliography only when references are cited

The root question here is how can one print a bibliography only when there are sources to be cited? BACKGROUND I'm working on expanding a small package (originally by Jackson Taylor and Becca Funke) ...
1
vote
1answer
339 views

bibunits: cannot get it to work (no bu1 produced)

I am trying to use the package bibunits to have separate bibliographies for sections, chapters,... I am using TeXShop on a Mac, and I just recently installed "TeX Live 2012". I downloaded the file ...
2
votes
1answer
45 views

Getting duplicate call to my define that writes to a aux file

I have the following: \newif\ifabrvused \abrvusedfalse \def\abrv#1#2{% \ifabrvused\else% \newwrite\@loa% \immediate\openout\@loa=\jobname.loa% \write0{ Test} \abrvusedtrue% ...
14
votes
2answers
142 views

writing to \jobname.aux using LaTeX3

In LaTeX2e, one can write to the standard auxiliary file via the \@auxout file handle. Are there dedicated LaTeX3 functions (planned) that facilitate writing to \jobname.aux or is there an equivalent ...
11
votes
1answer
121 views

Save an etoolbox list to a file … and read it after

I have a problem. I would like : to construct an etoolbox list to save this list in a temp file to read this list from this file at the next run to use this file. For any reason, I can't see the ...
4
votes
2answers
913 views

Automatically “Trash Aux Files” after successful typesetting in TeXShop

Is there some way to automatically fire the "Trash Aux Files" command after successful typesetting in TeXShop, without manual action on the part of the user?
19
votes
7answers
1k views

Is there a way to configure pdflatex to make all but the .tex and .pdf files hidden files?

I have asked a previous question about how to manage all the files generated when my LaTeX files are compiled but the approach in the answer I accepted is still unsatisfactory for the many small ...
2
votes
1answer
274 views

.bat file execution from a .tex document during compilation

Is there a way to execute a .bat file directly from a latex document when I compile that document? I would something like this: \documentclass{article} \begin{document} \chapter{test} bla bla bla ...
5
votes
1answer
242 views

\write and \\ command

Why I get some errors with the code below, and how can I fix that behaviour? \documentclass{article} \begin{document} \newwrite\indexist \immediate\openout\indexist=classic.ist ...
2
votes
1answer
342 views

In TexMakerX, how can I generate only the PDF, with no log, aux or gz files? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. Every time I generate the PDF in TexMakerX 2.1 for Windows, it also generates the log, aux and gz files, in which I have ...
8
votes
1answer
106 views

Is there any side effect in using \immediate in the definition of \protected@write?

In latex.ltx, \protected@write is defined as: \long\def \protected@write#1#2#3{% \begingroup \let\thepage\relax #2% \let\protect\@unexpandable@protect ...
6
votes
0answers
500 views

Problem with LuaTeX : can't write on the .aux file at second pass [closed]

I use MiKTeX 2.9 for Windows, format Plain eTeX. I have my own macro package which I've used for years, and I tried recently to use it with LuaTeX (included MiKTeX version) in order to use UTF-8 ...
0
votes
1answer
3k views

MiKTeX, nomencl - Couldn't find input index file [duplicate]

Possible Duplicate: Using package nomencl I was searching for this problem on this webpage and I found several related questions, however, with no accepted answer. I hope this entry will ...
7
votes
1answer
221 views

What should I build my new nomenclature package on top of?

This question led to a new package: concepts This is a major edit. In my previous attempt I overgeneralized, which obfuscated my real question. I'd like to write a new package which I want ...
6
votes
3answers
244 views

Using full stops in figure name to replace spaces: error (confusion of file extension)

I am not sure this has been asked before, but I couldn't find it and I am hoping to get a solution or at least a good explanation of why this is a bad idea. (there are questions about using underscore ...
1
vote
1answer
155 views

Custom LaTeX commands involving auxiliary files

Can someone with low-level LaTeX knowledge please help me create new customized commands? The commands should be named \storeitem and \typesetitems, and they should work like this: \typesetitems ...
0
votes
1answer
567 views

MLA Package and Thumbpdf

I'm currently trying to set up a template for MLA format. There's one warning that never goes away, however: Package thumbpdf Warning: Thumbnail data file `Project*Name.tpt' not found. Does ...
2
votes
2answers
1k views

Not generating the .aux for the bibliography to run

I'm trying to generate my bibliography and, for what I read, I need to run my main.tex, then bib.aux and then, again main.tex twice, right? I have created my .bib file and the name on the ...
3
votes
1answer
1k views

Can I recover my .tex file?

I have lost my tex file but I still have my pdf, .aux, .bak, .bbl, performance monitor file, and my text document. Can anyone tell me if I can restore my .tex file from this? In any form? Addition ...
0
votes
0answers
48 views

How to remove unwanted output files? [duplicate]

Possible Duplicate: Deleting external/auxiliary files? When I run pdflatex how can I get rid of rubbish files such as aux, bib, bbl, blg, log, out and keep only tex and pdf output files?
2
votes
1answer
741 views

XeLatex: problem with aux-directory and include-directory options on TexLive?

I am trying to port some app from MikTex to TexLive (Windows to Ubuntu basically). The options that works perfectly fine with MikTex just ended up as not recognized for TexLive The options in ...
7
votes
1answer
202 views

Set biblatex aux file name

I am using biblatex with refsection=chapter. That results in aux files named according to this pattern, assuming a source file called book.tex for a book of n chapters: book1-blx.aux book2-blx.aux ...
11
votes
2answers
161 views

Inserting statistics of a resulting PDF file back into the document on the next run

This is an example of what I want to do: After a run of pdflatex, calculate and store (into an auxiliary file?) the size of the resulting PDF file, as obtained from the Terminal command "du -h ...
15
votes
2answers
202 views

Write content of box to a file

I would like to take the contents of a box generated with \begin{lrbox} ... \end{lrbox} and write it to a file. The use case is a question and answer environment, where the answer should be collected ...
3
votes
1answer
1k views

use BIBINPUTS to specify other location for .bib file

I'm trying to run bibtex from a different directory than my .bib file. According to the description in 'man bibtex', I should be able to set the envirorment variable BIBINPUTS to include the location ...
2
votes
1answer
619 views

How can I force LyX to rebuild intermediate files for clean PDF display?

I am working on a multi-file document in LyX (my thesis) and occasionally have problems where LyX seems to rely on old version of intermediate files when updating the PDF output. Is there an easy way ...
4
votes
3answers
1k views

pdflatex / xelatex -output-directory and subdirectories when using \include

When I include a file from a subdirectory with \include{subdir/sub} and compile the file with pdflatex -output-directory .tex_test/ main.tex, pdflatex complains, that it can't write to ...
11
votes
1answer
469 views

Macro saving a value for next run

I need a macro, which saves a string (like the content of a label) to the aux file. During the next run, there should be a macro checking, if that string has been set in the last run or not. My ...
2
votes
1answer
90 views

write output of dvips to a file

Sorry if this is a simple question. I want to write the output of dvips to a file (i.e. something like a log file for dvips). I tried this but it gives an empty file: dvips input.dvi > ...
3
votes
3answers
263 views

Hiding particular output files: namely, .aux and .log files

Is it possible to hide .aux and .log files? If so, what would be the most low-maintenance/simple way of doing so? They create quite a bit of clutter. I have a folder where I'm tending to a bunch of ...