{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
17 views

How to compile creating externalized figures files from pgfplots in a given folder?

I'm working on a project on LaTeX which includes heavy externalization of pgfplots figures, so I've hidden everything in a tex subfolder of the main one and work only there. Every time, though, I have ...
0
votes
1answer
13 views

Auxiliary files in diferent folder TexMaker

In TexMaker I go to Quick Build and in User I write --output-directory=files. Then when I run it the auxiliary files are properly saved in the files directory but I get I couldn't open file name ...
10
votes
4answers
8k 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 ...
3
votes
3answers
621 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 ...
3
votes
1answer
74 views

Automatically clean (numerous) customization macros gathered in an auxiliary file

I have to gather, in a single source file, source files from several authors, each of them with its own (many) \newcommand, \newtheorem, etc. I'd like to limit the scope of each of these ...
15
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) ...
12
votes
4answers
342 views

How can I write % into a file?

How can I write % into an auxiliary file? % will not work, because LaTeX thinks that I start a comment with it (in the main file, not in the auxiliary file!), and \% will write \% into the file. How ...
1
vote
1answer
36 views

Build pdf from auxiliary files only

After compiling with the option draftmode set, how can I create a PDF without recompiling everything. I was looking all around, but somehow the main concern seems to be to get rid of the auxiliary ...
0
votes
0answers
17 views

Cross-reference enumerate item in res template does not work [duplicate]

I am using the following template to build my resume: http://www.latextemplates.com/template/long-professional-curriculum-vitae In the resume, I would like to add cross-reference to items in the ...
18
votes
1answer
382 views

how to compile without producing output

Is there any way to run LaTeX without it trying to produce output, only producing an .aux file with section, equation, table, figure, references, etcetera. I understand it obviously can't produce ...
1
vote
1answer
75 views

Minitoc conflict creating aux error defcounter refsection

While compiling my book, I encountered the following error: (./Book.aux ./Book.aux:94: Undefined control sequence. l.94 ...\defcounter {refsection}{0}\relax }\@write The thing is that a simple ...
10
votes
2answers
508 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.
0
votes
0answers
47 views

.aux file not created using texmaker

When trying to compile literature reference with bibliography {file} error message is displayed: couldn´t open file name 'literatur.aux'. As i found out the file is not being generated because when i ...
3
votes
0answers
48 views

Mysterious hidden .lb-file

I have all my important LaTeX-Files in a git repository. Therefore I noticed when a new hidden(!) auxiliary(?) file appeared while working on my TeX-files. The filename is .<tex-filename>.lb. ...
2
votes
2answers
42 views

Pattern to detect need for recompilation from auxfile

I am using an auxfile to access the results of some computations which I need before they can actually be computed. Since this requires two runs when something changes the result I would like to have ...
6
votes
0answers
236 views

TeX engine can't write on hidden aux files in Windows

To make my latex folder clean, I tried to hide all auxiliary files with the following DOS command: attrib +S +H *.aux ...... attrib +S +H *.toc But when I tried to compile my latex file again, ...
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 ...
1
vote
1answer
62 views

error while attempting to change aux directory

I used following command to change the directory of the aux and output directory Specifying the Directory for Auxiliary Files The option `--aux-directory=dir` causes TeX to create auxiliary files in ...
1
vote
1answer
182 views

different directory for tex, pdf and aux files

I am using texstudio, miketex and windows 7. I would like to specify different default directory for all but .tex and .pdf files so that I could keep working directory clean. But I donot want to use ...
2
votes
0answers
128 views

Latest TeXShop — “Trash Aux Files” bug?

The "Trash Aux Files" menu item and button in the console window in the latest version of TeXShop, v3.44, seem no longer to work. [I'm running Yosemite.] Others having the same problem before I ...
3
votes
1answer
104 views

Is there a way to know how often latex has already run? [duplicate]

A few days ago, I have seen an example of a latex file, that did conditional \defs on subsequent runs but I can't find that one again. I still remember that it was by looking into the \jobname.aux do ...
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 ...
0
votes
0answers
50 views

Generate only aux file for external files

I use an external document by both \input-ting it and cross-referecing labels. It looks a bit like this: \zexternaldocument*{external} In picture \ref{external-link}, you see ... \input{external} ...
15
votes
4answers
733 views

File copy without expansion

What is the command for file copy? I want to copy the contents of one file into another without any command expansion. In a command line driven operating system one would use copy source target I ...
3
votes
1answer
81 views

FIles produced by compiling LaTeX source code [duplicate]

Every time I compile a source code of LaTeX there are a lot of files produced except the .tex file and the .pdf (obviously!). I can guess that they are really useful to some people and obviously to ...
2
votes
1answer
51 views

External references: Cannot reference memoir labels in other document classes

Is there any way to reference memoir labels in other document classes? I've written my thesis in memoir and is now preparing slides in beamer, in which I want to reference elements in the thesis ...
1
vote
0answers
34 views

Evaluating \luaexec while writing to the aux file

In the document end hook I'm trying to write \luaexec{x = 1} to the aux file, where the 1 is computed in Lua itself (and more complex in the real document, of course). MWE: \documentclass{article} ...
1
vote
1answer
50 views

Using the same bibliography file between different pcs

As you may understand from the title, I need to use the same bibliography file between different computers. The file is synchronized using dropbox, and so the path of such a file is different in each ...
1
vote
0answers
30 views

Tell tex distribution to avoid residual temporary files [duplicate]

When I compile a tex document, the compilation process usually leaves some temporary files, like .aux and .log. I have got a small document that can be compiled in just one single run - can I tell ...
62
votes
14answers
18k 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 ...
11
votes
4answers
3k 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, ...
12
votes
1answer
402 views

Is it possible to compile hidden files?

(This question may make sense only in Linux.) I have the following simple file called .main.tex. Note that it is a "hidden" file because of its name. \documentclass[]{article} \begin{document} ...
1
vote
0answers
31 views

Problem with the file .aux [duplicate]

I use the LaTeX and specific MikTeX and i have a problem. I finish a text.It works good,i take the pdf.Now,if i do an error into preamble it won't run.a Ok until now there isn't problem.Now i ...
2
votes
1answer
189 views

How to change output file directory in latex?

I'm using MikTeX 2.9 (pdflatex) and WinEdt 8.2. I know that all output files such as .tex, .pdf, .dvi, .log are important and I cannot simply delete them so I would like to ask how to get files (.pdf ...
13
votes
1answer
275 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 ...
6
votes
1answer
213 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 ...
11
votes
0answers
108 views

Customizing names of auxiliary file: safe practices?

I maintain a package (morewrites) which requires a temporary auxiliary file to function (written and read right away). This auxiliary file is currently named \jobname.mw, and a user has asked me to ...
39
votes
8answers
7k views

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
24
votes
1answer
220 views

Why is the .toc file created at end document?

To create a Table of Contents (for example), LaTeX2e follows the process: Run 1 .aux file is created from scratch after \begin{document}. When processing section headers, write \addtocontents to ...
7
votes
1answer
426 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 ...
42
votes
2answers
5k views

What is the basic mechanism for writing something to an aux file?

I am interested in the basic mechanism behind writing stuff to the .aux file. (Or some other auxiliary file). Let's say I want to write myself a basic package for making notes on my files. (I know ...
2
votes
2answers
146 views

Crashes when using \tikzsetnextfilename?

I just stumbled on this, so I'll post about it in Q&A format: I decided to try tikz-external, and all I have is this in preamble: \usetikzlibrary{external} \tikzexternalize[prefix=img/] ...
2
votes
1answer
781 views

Texstudio + Biber + build folder

I used this tutorial to export my auxiliary files into a different directory. Basically i just add -aux-directory=build in Options -> Configure -> Commands and added the build folder into ...
7
votes
1answer
51 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 ...
0
votes
0answers
127 views

Using the "use a build subdirectory for output files' option in TeXMaker in combination with LuaLaTeX

I want to use LuaLaTeX since I have some quite large .tikz files, but when I do so TeXMaker does not put the output files in the 'build' directory like it would do if I use PdfLaTeX. I find the build ...
3
votes
0answers
37 views

Setting target directory for FeynMF's intermediate files?

Related to "How to use kile with feynmf or feynmp?", is it possible to tell the feynmf package where to place its intermediate files? I sometimes have a lot of Feynman diagrams in my LaTeX documents, ...
0
votes
1answer
551 views

Compiling LaTeX document empties .bbl file

I'm trying out biblatex for the document I'm compiling, using the biber backend on my miktex distribution. Everything, including biber, should be up to date, assuming the MiKTeX repository currently ...
2
votes
2answers
109 views

Read part and page count from auxiliary file

My main document is included into another that rearranges and adds crop marks to it. For universalizing my script I need to extract the page and part count out of the .toc- or .aux-file. These are ...
0
votes
0answers
32 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
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?