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

4
votes
2answers
54 views

Warnings ignored if written in a custom auxiliary file (but not if written in .aux file)

For the class I'm working on, I'd like to display some warnings very early in the .log files. Writing the corresponding \ClassWarning or \ClassWarningNoLine commands in: the .aux file is okay but ...
6
votes
3answers
398 views

Creating my own \tableofcontents in plain TeX

I'd like to define my own table of contents in TeX (not LaTeX, so without packages) to have a fine control on what goes there, how the numbers are displayed, etc. Basically what I would like is to ...
7
votes
1answer
55 views

Why does \iow_shipout: introduce typeset whitespace (where \iow_now: does not)?

For my resume, I have an environment that lays out information in two minipages—one for position/education data, one for the environment contents. The class I wrote also produces plain text ...
11
votes
1answer
214 views

arara: problem with spaces in the name of .tex files?

I know that there is a problem with spaces in the name of .bib files. Nonetheless, the following MWE compiles perfectly fine if one does the normal latex -> bibtex -> latex -> latex compilation ...
2
votes
0answers
82 views

\label not written to aux file [closed]

In rare situations, when \label is used at the very end of a page, the result is not written to the aux file (I have a complicated example with the cvmodern class but unfortunately cannot provide a ...
8
votes
1answer
457 views

debug No room for a new \write problem

I have a template with an extensive documentation. (See TemplateDocumentation.pdf). It compiled several month ago. Now with updated packages it does not compile anymore because of the famous No room ...
11
votes
2answers
100 views

How can I insert an entire input stream (up to EOF) into an output stream?

I am trying to automate the generation of a text version of my resume. I'd like to incorporate a note to any potential human readers (most plain text resumes are, to my understanding, simply scanned ...
5
votes
1answer
146 views

Trashing Beamer aux files in TeXShop

When asked to "Trash Aux Files” after typesetting a Beamer presentation, TeXShop does not remove .nav and .snm. Is there a way to tell TeXShop to remove those files as well? Is there a user-editable ...
1
vote
0answers
110 views

Finding LaTex output files

I'm using TeXstudio 2.6.2 with MiKTeX-pdfTeX 2.9.4535 on Windows7. I configured TeXstudio to store all output files in a separate directory. It now looks like this: -src |_Report.tex ...
1
vote
0answers
709 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
169 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
366 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
567 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
252 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
72 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
250 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
168 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
322 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
378 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
475 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
131 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
158 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
106 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
85 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
118 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
186 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 ...
3
votes
1answer
7k 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
413 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
990 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 ...
8
votes
2answers
153 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
218 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
3answers
642 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
264 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
389 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 ...
6
votes
1answer
199 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 ...
48
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
2k 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 ...
11
votes
2answers
536 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
221 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
35 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
195 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
379 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
282 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
194 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
87 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
22k 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
399 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 ...