{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
1answer
211 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
385 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
293 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
199 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
24k 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
419 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
297 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
400 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
167 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
11k 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: ...
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) ...
1
vote
1answer
681 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
47 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
159 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 ...
11
votes
1answer
139 views

Save an etoolbox list to a file … and read it after

I have a problem. I would like : to construct an etoolbox list to save this list in a temp file to read this list from this file at the next run to use this file. For any reason, I can't see the ...
5
votes
3answers
2k 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?
21
votes
7answers
2k views

Is there a way to configure pdflatex to make all but the .tex and .pdf files hidden files?

I have asked a previous question about how to manage all the files generated when my LaTeX files are compiled but the approach in the answer I accepted is still unsatisfactory for the many small ...
2
votes
1answer
407 views

.bat file execution from a .tex document during compilation

Is there a way to execute a .bat file directly from a latex document when I compile that document? I would something like this: \documentclass{article} \begin{document} \chapter{test} bla bla bla ...
5
votes
1answer
378 views

\write and \\ command

Why I get some errors with the code below, and how can I fix that behaviour? \documentclass{article} \begin{document} \newwrite\indexist \immediate\openout\indexist=classic.ist ...
2
votes
1answer
491 views

In TexMakerX, how can I generate only the PDF, with no log, aux or gz files? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. Every time I generate the PDF in TexMakerX 2.1 for Windows, it also generates the log, aux and gz files, in which I have ...
9
votes
1answer
127 views

Is there any side effect in using \immediate in the definition of \protected@write?

In latex.ltx, \protected@write is defined as: \long\def \protected@write#1#2#3{% \begingroup \let\thepage\relax #2% \let\protect\@unexpandable@protect ...
6
votes
0answers
701 views

Problem with LuaTeX : can't write on the .aux file at second pass [closed]

I use MiKTeX 2.9 for Windows, format Plain eTeX. I have my own macro package which I've used for years, and I tried recently to use it with LuaTeX (included MiKTeX version) in order to use UTF-8 ...
0
votes
1answer
6k views

MiKTeX, nomencl - Couldn't find input index file [duplicate]

Possible Duplicate: Using package nomencl I was searching for this problem on this webpage and I found several related questions, however, with no accepted answer. I hope this entry will ...
7
votes
1answer
244 views

What should I build my new nomenclature package on top of?

This question led to a new package: concepts This is a major edit. In my previous attempt I overgeneralized, which obfuscated my real question. I'd like to write a new package which I want ...
7
votes
3answers
334 views

Using full stops in figure name to replace spaces: error (confusion of file extension)

I am not sure this has been asked before, but I couldn't find it and I am hoping to get a solution or at least a good explanation of why this is a bad idea. (there are questions about using underscore ...
1
vote
1answer
200 views

Custom LaTeX commands involving auxiliary files

Can someone with low-level LaTeX knowledge please help me create new customized commands? The commands should be named \storeitem and \typesetitems, and they should work like this: \typesetitems ...
0
votes
1answer
833 views

MLA Package and Thumbpdf

I'm currently trying to set up a template for MLA format. There's one warning that never goes away, however: Package thumbpdf Warning: Thumbnail data file `Project*Name.tpt' not found. Does ...
2
votes
2answers
4k views

Not generating the .aux for the bibliography to run

I'm trying to generate my bibliography and, for what I read, I need to run my main.tex, then bib.aux and then, again main.tex twice, right? I have created my .bib file and the name on the ...
3
votes
1answer
3k views

Can I recover my .tex file?

I have lost my tex file but I still have my pdf, .aux, .bak, .bbl, performance monitor file, and my text document. Can anyone tell me if I can restore my .tex file from this? In any form? Addition ...
0
votes
0answers
50 views

How to remove unwanted output files? [duplicate]

Possible Duplicate: Deleting external/auxiliary files? When I run pdflatex how can I get rid of rubbish files such as aux, bib, bbl, blg, log, out and keep only tex and pdf output files?
3
votes
1answer
1k views

XeLatex: problem with aux-directory and include-directory options on TexLive?

I am trying to port some app from MikTex to TexLive (Windows to Ubuntu basically). The options that works perfectly fine with MikTex just ended up as not recognized for TexLive The options in ...
7
votes
1answer
246 views

Set biblatex aux file name

I am using biblatex with refsection=chapter. That results in aux files named according to this pattern, assuming a source file called book.tex for a book of n chapters: book1-blx.aux book2-blx.aux ...
11
votes
2answers
174 views

Inserting statistics of a resulting PDF file back into the document on the next run

This is an example of what I want to do: After a run of pdflatex, calculate and store (into an auxiliary file?) the size of the resulting PDF file, as obtained from the Terminal command "du -h ...
15
votes
2answers
238 views

Write content of box to a file

I would like to take the contents of a box generated with \begin{lrbox} ... \end{lrbox} and write it to a file. The use case is a question and answer environment, where the answer should be collected ...
5
votes
1answer
2k views

use BIBINPUTS to specify other location for .bib file

I'm trying to run bibtex from a different directory than my .bib file. According to the description in 'man bibtex', I should be able to set the envirorment variable BIBINPUTS to include the location ...
2
votes
1answer
1k 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 ...
4
votes
3answers
2k views

pdflatex / xelatex -output-directory and subdirectories when using \include

When I include a file from a subdirectory with \include{subdir/sub} and compile the file with pdflatex -output-directory .tex_test/ main.tex, pdflatex complains, that it can't write to ...
12
votes
1answer
677 views

Macro saving a value for next run

I need a macro, which saves a string (like the content of a label) to the aux file. During the next run, there should be a macro checking, if that string has been set in the last run or not. My ...
2
votes
1answer
96 views

write output of dvips to a file

Sorry if this is a simple question. I want to write the output of dvips to a file (i.e. something like a log file for dvips). I tried this but it gives an empty file: dvips input.dvi > ...
3
votes
3answers
294 views

Hiding particular output files: namely, .aux and .log files

Is it possible to hide .aux and .log files? If so, what would be the most low-maintenance/simple way of doing so? They create quite a bit of clutter. I have a folder where I'm tending to a bunch of ...
6
votes
1answer
157 views

How to check if key is already in aux file

Trying out some LaTeX commands, I wanted to build an Abbreviations list that would write acronyms to a file when defined and if already defined do nothing. It works fine so far, adding ...
4
votes
0answers
144 views

What files are used in the TeX world? [duplicate]

Possible Duplicate: File extensions of LaTeX-related files Egad! What are all those files? What are files that LaTeX creates when calling one of it’s programs (including biber, xindy ...
3
votes
1answer
252 views

Problem with custom auxiliary file and tex4ht

I have a LaTeX file that's working very well with pdflatex. I want to turn it into HTML, so I'm using tex4ht (under MiKTeX 2.9 on Windows 7). I've already gotten around some problems (the old graphics ...
13
votes
1answer
522 views

Egad! What are all those files?

Ok, let's write a document! $ vim thesis.tex i[input a whole bunch of latex and text]<Esc>ZZ $ pdflatex thesis $ ls thesis.acn thesis.alg thesis.bbl thesis.dvi thesis.glo thesis.ilg ...
3
votes
1answer
2k views

Restructure classic thesis project with subfolders using Kile

I would like to change the folder structure of the ClassicThesis project. My current folder setup looks like this. |-- bib // Some *.bib files. |-- bst // Some *.bst files. |-- cfg // Configuration ...
13
votes
3answers
515 views

Need help creating a custom aux file read/write routine to suit my needs

I require two new commands, \createreference and \citereference, to work with. They should work as shown in the following examples: \createreference{john}{John Q. Citizen} should write the text “John ...
14
votes
2answers
8k views

How to use the aux file

This is not a terribly well-formed question, sorry. I don't really know what information is in the .aux file, or how I can make use of it in other (related) documents. What's the best reference for ...