{auxiliary-files} is about files generated and read by LaTeX and packages which hold auxiliary information about the document.
19
votes
9answers
5k 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
57 views
'slashbox.sty' not found
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 ...
2
votes
1answer
1k 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 ...
8
votes
1answer
87 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.
3
votes
1answer
62 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 ...
2
votes
1answer
68 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 > ...
4
votes
2answers
457 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
2answers
1k views
What is the variable that contains the source file name?
I am writing a package that saves information to an external file. I would like to name that file according to the source one; something like
foo.tex -> foo.bar
But I cannot find any variable that ...
1
vote
0answers
31 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
...
47
votes
4answers
2k views
Which auxiliary LaTeX files should be ignored by Version Control Software?
I'm about to start version controlling my LaTeX documents with Git but I haven't used either very much. I would like to version only the files needed to compile the document but I use different OS's ...
3
votes
1answer
40 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 ...
17
votes
7answers
722 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 ...
4
votes
2answers
99 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 ...
2
votes
1answer
87 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 ...
7
votes
1answer
88 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 ...
0
votes
2answers
92 views
Index not working
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
63 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 ...
4
votes
1answer
121 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 ...
0
votes
1answer
495 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}
...
7
votes
1answer
180 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
...
2
votes
0answers
43 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 ...
24
votes
7answers
3k views
Need *.aux file in separate folder
When compiling with pdflatex we need the *.aux files in a separate folder.
1
vote
1answer
89 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 ...
33
votes
11answers
8k 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 ...
2
votes
1answer
152 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:
...
1
vote
1answer
103 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 ...
9
votes
1answer
511 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) ...
2
votes
1answer
35 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%
...
13
votes
2answers
114 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 ...
10
votes
1answer
77 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 ...
3
votes
1answer
274 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?
12
votes
4answers
494 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. The operative system would use
copy source target
I tried reading the contents ...
7
votes
1answer
196 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 ...
3
votes
1answer
534 views
What could cause repeated NULL characters in an .aux file? [closed]
I have a LaTeX document that was compiling fine until this evening. I was playing around with synctex and latexmk when I noticed the error, but I'm not sure what is causing it.
There are over 100 of ...
2
votes
1answer
135 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
97 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
...
0
votes
0answers
269 views
How do I locate or generate a log file when I get the error “Log file not found” in TexStudio? [closed]
I am trying to use the pedigree-making package from http://www.pedigree.varphi.com/download.html . I have downloaded the zipped file, and have opened the .ins file [pst-pdgr.ins] in TeXStudio. When I ...
4
votes
2answers
686 views
putting (aux log out toc bbl bib blg) files in another directory with latexmk
Is it possible to put (aux log out toc bbl bib blg) files in another directory with latexmk?
2
votes
1answer
208 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 ...
8
votes
1answer
69 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
...
13
votes
3answers
300 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 ...
5
votes
0answers
226 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
988 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 ...
6
votes
3answers
171 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
110 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
249 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
366 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 ...
4
votes
2answers
2k 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
1answer
551 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 ...
1
vote
1answer
273 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 ...


