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

1
vote
0answers
624 views

Run Bibtex on aux files in subfolders, multiple OS

I have a complete framework for my PhD thesis based on classicthesis/arsclassica. Single chapters are located in Subfolders like this. main.tex Chapters/project1/project1.tex ...
4
votes
1answer
138 views

Use of different output files in LaTeX (pdflatex) [duplicate]

When I use pdflatex, I get a bunch of files: test.aux test.log test.out test.pdf test.tex test.toc The .tex file and the .pdf file have an obvious use, but what do the other files do? ...
9
votes
1answer
318 views

Put projects into OS X bundles

I’m still looking for the solution to a question asked in 2010: Under Mac OS X, but staying compatible with other operating systems, I want to hide the mechanics. Please note: I do not want to delete ...
17
votes
2answers
515 views

Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
2
votes
1answer
231 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
68 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
212 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
156 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
300 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
326 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
421 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
127 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
148 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
101 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
108 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
174 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
380 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
856 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
146 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
212 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
593 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
246 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
342 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
185 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 ...
44
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
2answers
473 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
205 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
181 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
368 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
256 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
188 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
2k 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
85 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 ...
11
votes
1answer
20k 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
374 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
286 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
302 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
161 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
9k 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
560 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
152 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 ...