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

0
votes
0answers
26 views

LaTeX Compilation [duplicate]

Why does LaTeX generate the following files: aux file log file out file I believe that the log file would keep the errors incase if the tex file had it but incase if it already was generated then ...
5
votes
1answer
48 views

Disable “Auto remove aux files” dialog in TeXworks

Every time LaTeX happens to generate a corrupted .aux file for whatever reason, the following dialog appears, reading _Whil tupesetting, a corrupt .aux file from a previous run was detected. You ...
12
votes
1answer
228 views

How to execute a command only on the next run?

Let's say I have a command \foo that I want to execute only on the next run of TeX. How do I create a command \onceFoo that does this? (It is also permitted to execute \foo if the aux file has been ...
4
votes
1answer
65 views

How BibTeX reads the aux file

Is it possible to control how BibTeX reads the aux file? As far as I know, BibTeX reads the citation keys used in a document via the \citation commands in the aux file(s). I want BibTeX to extract ...
1
vote
0answers
24 views

Strange behaviour for combination of \include, \addtocontentsline, and \clearpage [duplicate]

I hope this is not too specific to be worth an answer, since there is a "simple" workaround. But I just noticed this problem and it seems really weird. Maybe someone has an explanation for me. If I ...
1
vote
0answers
35 views

How to hide auxilliary files under Linux? [duplicate]

pdflatex generates a lot of files that are of no use to me but are important to pdflatex (.aux, .fls, .log, .nav, .toc etc). How can I hide these files, e.g by putting them in some other, global ...
0
votes
0answers
39 views

Redirecting *.aux, *.log files, with a command in the tex file [duplicate]

Is there a latex command that can be included in a file compiled with pdflatex that can direct the *.aux, *.log files resulting from the compilation process, to a specific folder ? I have seen ...
1
vote
0answers
25 views

Bibtex-like macros organising software

From what I gather (I don't use them, and have never actually managed to get it to work - though this is not my issue), bibtex/biber uses a database of references, alongside an ancillary file created ...
1
vote
0answers
48 views

Is there a way to automatically delete auxiliary files after compilation? [duplicate]

When I compile my .tex file, it generates a lot of different files (with extensions such as .aux, .log), but all I want is the .tex and .pdf files. Those files just fill my hard drive for nothing. Is ...
0
votes
0answers
39 views

Revtex generating corrupt .bib file

I am trying to write a report using RevTeX to format my document. Here is a MWE: \documentclass{revtex4-1} \begin{document} Some text \cite{article} \bibliography{bibliography} \end{document} This ...
3
votes
2answers
55 views

copy file using \write18 that works on both Windows and Unix

I would like to make an exact copy of a file during a TeX run. It is important that the copy be exact, since I am also comparing files and taking action depending on whether they have exactly the same ...
1
vote
1answer
253 views

pdflatex can't find aux file [closed]

I'm trying to automate the creation of PDF documents from tex files via command line. I use the command pdflatex C:\files\001.tex and files named 001.aux, 001.dvi, 001.log, 001.toc are created in ...
6
votes
1answer
140 views

How to write a bounding box information in PostScript to an external file and read it in TeX at the second compilation?

Scenario I want to create a new environment, e.g., pscanvas that does not need any size specification but just a unique filename. It can contain any graphic objects that pspicture can contain. Thus ...
1
vote
0answers
44 views

Why are there no \bibstyle commands in my .aux file? [closed]

I'm trying to compile this minimal piece of code: \documentclass{article} \usepackage[backend=biber]{biblatex} \addbibresource{example.bib} \begin{document} \nocite{*} \printbibliography ...
0
votes
1answer
123 views

Aux und Output files in another directory puzzles TeXstudio

I have configured my TeX runs to save all aux and output files into a 'temp' subdirectory using the 'output-directory' option of lualatex in TeXlive. Everything works wonderful, Biber and ...
4
votes
2answers
41 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
197 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 ...
1
vote
0answers
31 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
157 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
59 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 ...
6
votes
1answer
110 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
68 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 ...
4
votes
1answer
53 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
92 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
176 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
60 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
202 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 ...
16
votes
2answers
320 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
138 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
45 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
53 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
120 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
103 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
126 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
156 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
187 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
100 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
74 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
76 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
67 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
37 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
61 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
128 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 ...
0
votes
1answer
2k 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
233 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
367 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
125 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
169 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 ...
2
votes
2answers
388 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
145 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: % ...