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)

2
votes
1answer
226 views

Save TikZ plot points calculated with PGF math library to .table file?

Is it possible to let TikZ save and in subsequent compilation runs use the plot points generated with the PGF math library? A (simple) example of such a function plotted that way is: ...
1
vote
0answers
46 views

Is there a way to organize TeX by-product files? [duplicate]

I rarely need the ancillary files TeX produces when compiling a document (.aux, .log, .out, .synctex.gz). In fact, I've only ever had to read the .log, and that's only a few times. Is there a way to ...
0
votes
1answer
66 views

TeXShop saving several unwanted files [duplicate]

Every time I save a file (having previewed it) in TeXShop, it saves five different files (.aux, .log, .pdf, .synctex.gz, and .tex). Is there a way to change the setting so that it only saves the .tex ...
7
votes
2answers
193 views

Where does the documentclass command look for class files?

The first line of my latex file is: \documentclass[english,draft]{ectaart} latex fails with the following error: LaTeX Error: File `ectaart.cls' not found. I copied that file to (on my Ubuntu ...
1
vote
1answer
150 views

Output latexindent auxiliary files to a different directory

I just started using Notepad++ and SumatraPDF for my LaTeX stuff. When compiling a .tex file using pdflatex, one can specify an option -output-directory=<folder> to save all the auxiliary ...
4
votes
1answer
284 views

How to direct TeXShop to all all .aux files, also in subfolders, such that they can be trashed?

I am writing a report in TeXShop with a main file (main.tex) and several chapter files, which I include with the \include command. The main.tex looks as follows: % !TEX TS-program = pdflatexmk ...
1
vote
1answer
306 views

Constantly have to delete aux.file

Everytime I press Typeset, I get a notification of Runaway argument. l.30\begin{document} I read that I would solve it by deleting the aux.file of the document. Any idea what to do? I have ...
3
votes
1answer
394 views

How to clean auxiliary files within subdirectories with latexmk

Well, the title is pretty much self-explanatory but for sake of clarity, I have latex paper with such structure: . ├── back_matter │   └── some_tex_files.tex ├── bibliography │   └── bibliography.bib ...
13
votes
1answer
126 views

The LaTeX runs (with varioref) never settle down to a stable final state

This is something which has happened for real in a document where I am using varioref. The LaTeX runs never end, a text chunk keeps on being moved back and forth accross a page break (naturally with ...
2
votes
1answer
144 views

Why don't bookmarks appear when using \nofiles?

Background After a document has been compiled fully, activating \nofiles usually causes references and other entities in next run to be the same as in the previous run. This is necessarily exploited ...
4
votes
1answer
100 views

Writing to and extracting from aux not working?

Consider the following MWE: \documentclass{article} \newlength{\templen} \makeatletter \AtEndDocument{% \immediate\write\@auxout{\noexpand\setlength{\noexpand\templen}{150pt}}} \makeatother ...
5
votes
1answer
77 views

datatool: How to reliably store database in \AtEndDocument (or similar hook)

In a big report with many subfiles and authors, I am using the datatool package to write out some data collected across the document. At the end of the document, the data should be stored in a CSV ...
0
votes
0answers
42 views

What are the synctex.gz files and what they need for? [duplicate]

I think the title is self explanatory but neither here (Egad! What are all those files?) nor here (File extensions of LaTeX-related files) I found a detailed answer
3
votes
0answers
100 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
6
votes
1answer
170 views

Arara rule for log file scraping

Is there a script or arara rule that does log file scraping for messages about bad boxes, warnings, and obvious rerun messages and outputs this to stdout? It doesn't need to be perfect. I am looking ...
2
votes
1answer
5k views

Unclean .aux file causes “file ended while scanning use of \@newl@bel” error. Why is it not purged?

I am working on TeX Live 2013 with TeXShop (MacTex2013 distribution) Expected behavior is, that in the case an error occurs during compilation the .aux file is purged. Subsequent compilation must ...
4
votes
1answer
365 views

How can I save auxiliary-files into an other folder with arara?

I tried to do the following: % arara: lualatex: {options: -output-directory=.\output\ -aux-directory=.\auxiliary} I did not succeed. I also tried starting the command with -- as well as absolute ...
4
votes
1answer
790 views

TexShop will not compile without trashing aux files after every error

I have a couple of LaTeX files with the same problem. If I produce an error, fix it, and then try to compile a pdf, I get the following error. )Runaway argument? {{ ! File ended while scanning use of ...
7
votes
2answers
145 views

Writing to a file - robust commands mess the text file written

I'm writing some lines to a file but I've found that robust commands damages the written file. In this context \plural can be a fragile command but in the real application it must be robust. MWE: ...
6
votes
1answer
210 views

How to put \value{counter} as value to .aux file?

I'm trying to customize eledmac settings in a way that I can use its footnote ability just like the ordinary LaTeX footnote style, but not as one paragraph per footnote but all footnotes in one ...
3
votes
2answers
568 views

Makefile that prevents tex directory from being cluttered with build output

I am using xelatex, biber and makeglossaries to generate my bachelor thesis. All of them are creating a huge amount of temporary files that are cluttering, not only my root document directory, but the ...
2
votes
0answers
237 views

.aux file not found or empty while cross-referencing between files [closed]

I have an issue similar to this one. In oppose to that thread, I use xelatex. Don't know, though, if this is the issue or not. I have two files. In the first one (Characteristics.tex) I have: % ...
16
votes
1answer
323 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
181 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 ...
42
votes
1answer
1k 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
2answers
1k views

'slashbox.sty' not found [duplicate]

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 ...
10
votes
1answer
429 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.
4
votes
1answer
194 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
34 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
176 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
365 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 ...
9
votes
1answer
249 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
184 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
3answers
1k views

Index not working [closed]

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
84 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 ...
10
votes
1answer
19k 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
364 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
283 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 ...
5
votes
1answer
288 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
159 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
8k 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
1k 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: ...
11
votes
1answer
4k 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
515 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
151 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
132 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
1k 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?
21
votes
7answers
2k 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
351 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 ...