{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 ...
4
votes
2answers
911 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?
4
votes
1answer
64 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 ...
6
votes
3answers
2k views

How do I run bibtex after using the -output-directory flag with pdflatex, when files are included from subdirectories?

When I have master pdflatex file which includes one or more child documents using something like \include{include/childdoc}, and I call pdflatex on it using pdflatex -output-directory=out parent.tex, ...
47
votes
13answers
13k views

Prevent pdflatex from writing a bunch of files

If I create just a basic hello.tex file an compile it using pdflatex hello.tex The pdflatex program is creating a plethora of file which is a little annoying. Currently it writes all those files ...
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 ...
12
votes
4answers
967 views

Making efficient use of \writes

I'm currently trying to compile my thesis using LaTeX and have run up against the old ! No room for a new \write . problem. After some googling it seems the only way to actually resolve this problem ...
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 ...
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 ...
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
47 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 ...
20
votes
5answers
2k views

‘Bundle’ TeX output in a directory

(My personal interest in this question is mainly for OS X but solutions/approaches for other operating systems are also appreciated.) What I see as a main distraction with using TeX/LateX is that it ...
9
votes
1answer
201 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 ...
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 ...
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 ...
6
votes
1answer
138 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
1answer
247 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 ...
0
votes
1answer
118 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 ...
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 ...
6
votes
3answers
196 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 ...
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 ...
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 ...
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 ...
7
votes
3answers
5k views

Placing Intermediate and Output Files in Another Folder

I am trying to figure out a way to cleanly separate the TEX files from all of the intermediate and output files. Various approaches I've tried, including the one described by ‘Bundle’ TeX output in 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
52 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
91 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
172 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? ...
7
votes
2answers
119 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 ...
2
votes
1answer
137 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: ...
16
votes
2answers
319 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} ...
33
votes
7answers
5k views

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
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 ...
32
votes
11answers
9k views

Deleting external/auxiliary files?

Is there a way to make TeX delete files? In my document a lot of auxiliary files are created and it would be wonderful to have them removed after their content has been used.
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 ...
14
votes
5answers
1k views

Best script for automatically copying references from a centralised bib file based on aux file

In a previous question I asked about best practices when managing multiple bibtex files. One strategy involves having a single centralised bibtex file. Then, citations in a particular article are ...
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 ...
1
vote
1answer
102 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 ...
3
votes
1answer
186 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 ...
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 ...
2
votes
1answer
618 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 ...
28
votes
8answers
1k views

How do you store all your TeX files long-term?

Reading through As an expert, can you always use TeX for (nearly) any kind of document?, it seems most people use TeX for almost all their documents. My question is this: how do you store these ...
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 ...