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

2
votes
2answers
2k 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
2k 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
913 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
220 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
167 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
214 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
809 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
551 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
95 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
276 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
147 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
232 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 ...
12
votes
1answer
455 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
447 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 ...
11
votes
2answers
6k 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 ...
15
votes
3answers
1k views

Writing { and } to a file with LaTeX

How can the special characters { and } be written literally to an external file in LaTeX, without being balanced? Obviously the following does not work: \immediate\write\my@outfile{{} ...
5
votes
1answer
958 views

How can Bibtex find the auxiliary files it needs when these are stored in a subdirectory

In order to make my major folder containing my master .tex file more clean, I have set Texworks to store all auiliary files in a subfolder called auxfiles. This was done by adding the following ...
6
votes
1answer
1k views

How can I put .aux files in separate folder using a command inside TexWorks?

I am using TexWorks and I need to put all help files produced by Latex into a subfolder relative to the folder where I have my master .tex file. On these StackExchange pages there are answers to this ...
5
votes
2answers
84 views

refcount + unresolved cross references + ~ 100 runs of pdflatex

Is there anybody out there, with an idea how to speed things up? I need to run pdflatex ~ 100 times because of unresolved cross references. I use refcount to add a number to each row of a table (list ...
10
votes
2answers
1k views

“pgf Error: No shape named i-0 is known”, but only upon 2nd run

Update 2012-01-31: This seems to be a version (and/or OS specific) problem. It breaks on my latest TeXLive2011 on a Mac, but I can get it to run on my PC version of MiKTeX 2.8, and @MarcvanDongen ...
29
votes
7answers
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 ...
18
votes
2answers
4k views

Diagram / Infographic of TeX & friends?

So, I recently delved into LaTeX for a project at work. But I’m come from the XML+XSL world, and some of LaTeX’s design is kind of difficult for me to grok. (I’m not interested in debating the ...
0
votes
0answers
62 views

Does anyone know what the other files that come with compiling are? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. Whenever I hit "compile" on MikTeX 2.8, I get a bunch of files I don't need like .aux, notepad files. Is there a way to ...
1
vote
1answer
284 views

Sorting logs into different folders

When I run xelatex (or other compilers), I always end up with many log files in a single folder. This gets difficult to manage. I could create a script which moves them into various folders (e.g. one ...
6
votes
1answer
283 views

Setting filenames and paths of auto-pst-pdf

When one has a lot of documents for a single project, it gets important not to lose the overview. I use \usepackage{auto-pst-pdf} together with pdflatex and it works fine in principal. However, the ...
7
votes
3answers
7k 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 ...
9
votes
3answers
286 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 ...
6
votes
1answer
866 views

How can I use the Vim LaTeX-Suite multiple compile option with BibTeX and the -aux-directory option?

I have a document composed of several subfiles and so have used the -aux-directory command to put all of the temporary files in a subfolder, 'auxdir', to keep my working folder clear (and me sane). I ...
0
votes
2answers
2k views

How to prevent TeXShop from making .aux, .syntec.gz and .log while compiling? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. I'm not a super-user of LaTeX, I only use it for small reports with lots of maths. I often have to do it with other ...
3
votes
0answers
524 views

SyncTeX wrongly placed when XeTeX called with -aux-directory [closed]

I am using MikTeX 2.9 and compiling "hello.tex" containing: \documentclass{minimal} \begin{document} text \end{document} with: xelatex --synctex=1 --aux-directory=auxdir hello.tex produces a ...
8
votes
1answer
453 views

What is the use of the command \IeC?

It is produced in streams by newfile when I use special characters.
2
votes
1answer
109 views

How to copy the content of an aux file to another aux file?

I have two aux files attached to my LaTeX document : aux_1 and aux_2. I would like, at some point, to copy the content of aux_1 to aux_2. More precisely, the file aux_1 does already contain some ...
5
votes
2answers
185 views

How to copy in an auxiliary file the arguments of a macro?

I have tried to do so with the nice package newfile. But, the following code does not compile :( \documentclass{article} \usepackage{newfile} \newoutputstream{outstream} ...
14
votes
4answers
2k views

Use MiKTeX option through latexmk

When I use MiKTeX normally, I call this: pdflatex --aux-directory="C:\Users\doncherry\Documents\LaTeX\AUXI_global" foo.tex For latexmk outputting pdf (via pdfLaTeX) with continuous previewing, my ...
2
votes
1answer
5k views

Clean-up temporary files after PDF is generated [duplicate]

Possible Duplicate: Deleting external/auxiliary files? Is anyone aware of a way of how to cleanup temporary files generated by pdflatex during the generation of the PDF file? I came across ...
8
votes
1answer
3k views

*.aux file not generated

I am using \documentclass[margin]{res}. On running latex/xelatex, *.aux file is not generated. Because of this the references in the document are not being cited. I am using biblatex for citations. ...
3
votes
2answers
4k views

How do I combine several tex files into one?

In my paper I have several tex files, mainly produced by some other tools (.bbl by bibtex, .eps_tex by inkscape etc.). I would like to combine them into a single tex file as required by my publisher. ...
2
votes
1answer
478 views

Create short bibliography with bibtexkeys from aux files (biblatex)?

I have a draft version of a large latex document with a long bibliography (>30 pages long). It has been created with biblatex and has about 330 entries. I'm editing a printout of the draft version ...
36
votes
11answers
12k 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.
8
votes
4answers
1k views

How to write a command to file

I am trying to write to a auxillary file using \newwrite\tempfile [...] \immediate\openout\tempfile=list.tex \immediate\write\tempfile{Text to write to file} \immediate\closeout\tempfile It works ...
4
votes
2answers
926 views

LyX: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

I am working on a document in a TrueCrypt volume. As far as I understand, when I view PDF, LyX puts a temporary PDF file (and probably all temporary pdflatex files) into some other folder (at least, I ...
1
vote
1answer
202 views

Tabulating all labelled equation numbers with their labels in latex

Is there any way in Latex to collect the labels for references from a document in a table? I'm writing a long document but would like to collect together my references of various kinds (i.e. ...
56
votes
4answers
4k 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 ...
12
votes
4answers
1k 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 ...
3
votes
1answer
703 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 ...