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

3
votes
1answer
30 views

Write special characters to (aux) file

I would like to print a special character to an aux file. In particular, I would like to write the line \@input{file.aux} So far, I have achieved the best result with ...
1
vote
1answer
35 views

Unable to locate/open file

.tex file has 46Ks. TexMaker says file not found. TexStudio a line of 46 000 blanks. notepad++ opens a list of ' [NUL] '. Could you at least direct me to some resources? Thanks
0
votes
0answers
23 views

Recover files after compile [closed]

Sorry if this seems redundant, but I couldn't find a satisfying answer. I was writing something in texmaker and ran it. My computer turned off during that time due to loss of power and I can't open ...
3
votes
2answers
135 views

Writing literal “#1” into an auxiliary file from a command with arguments

I am trying to write into an auxiliary file from a command with one argument. The written text is another \createcommand with one argument too. When I use "#1" the argument of meta-command is ...
3
votes
1answer
27 views

How can I use \noexpand and \unexpanded without appending a space to the unexpanded tokens?

One of my current tasks involves composing an auxiliary file with extra commands to be loaded at a separate compilation. Here's an MWE: \documentclass{memoir} \newwrite\testaux ...
0
votes
0answers
23 views

How to enable verbatim environment under self defined environment?

So I want to define an inline environment !foo!, and write foo into an exteral file. Here is my source code: \catcode`!=13 \newwrite\mmtlatexfile \immediate\openout\mmtlatexfile=\jobname.mmtlatex ...
1
vote
1answer
21 views

How can I include external macros for every line of the source code?

An answer to my last question gave a solution for hooking a small command onto line breaks in the TeX source. \documentclass{memoir} \usepackage[spacing, tracking]{microtype} \usepackage{libertine} ...
0
votes
0answers
64 views

Is there a LaTeX-to-HTML package that uses TeX?

I know that there are a lot of ways to "convert" LaTeX source to HTML markup that, when rendered, resembles the hypothetical original PDF. Is there such a package that works within LaTeX? I'm ...
3
votes
1answer
64 views

Remove temporary files

I have just started working with LaTeX. I am using Sublime as my editor and have installed the Latextools package (https://github.com/SublimeText/LaTeXTools). This works just fine although it is ...
0
votes
0answers
12 views

System-wide subfolder-name for temporary and intermediate files

When compiling I would love to have a system-wide setting for naming a sub-folder in which TeX, LaTeX, BibTeX, and other tools and packages, may put intermediate and temporary files. This is very ...
1
vote
1answer
50 views

Writing to aux - you can't use a prefix with `the character @'

In a previous project, we used the following macro to define requirements, so that they were easy to reference later in the text. \newcommand{\reqlabel}[2]{% \label{#1} ...
1
vote
1answer
154 views

How to remove `.tex.bak` and `.bib.bak` files to the subfolder automatically?

The .bak files are same to be useless. However, it will generate .tex.bak and .bib.bak files every time when I edit my .tex files by WinEdt and .bib by JabRef. So is there any way to remove .tex.bak ...
1
vote
1answer
48 views

Files created when saving new document [duplicate]

When I make a new .tex document, three other files are created as well, .pdf, .aux and .synctex. I want the .pdf file, but are the other two necessary, can I delete them? Can I tell latex to not ...
2
votes
1answer
90 views

LaTeX not compiling after switching computer

I've changed computers recently; my project was compiling just fine previously, and on the new computer it's not compiling at all. The output is stuck at the last version I compiled on the previous ...
4
votes
0answers
66 views

hash (dictionary) data structure

closely related to How to implement (low-level) arrays in TeX . What is the recommended package that provides a simple abstraction of the hash feature that is in latex, at least for small-scale ...
1
vote
1answer
64 views

Which packages require command-line steps (not e.g. pdflatex) to compile?

Are there any packages which depend on other 'non-standard' command line programs (i.e. not pdflatex, bibtex and friends)? When writing a document in e.g. LaTeX, this of course needs to be compiled ...
3
votes
1answer
39 views

How to prevent shipout of selected pages AND get a full set of cross-references

I would like to retain only a subset of pages, i.e. those which have been marked with the tag command \keepthispage and have come up with the following preamble commands. \RequirePackage{atbegshi} ...
7
votes
1answer
212 views

Understanding how a TOC is generated

I'm trying to understand, in some detail, how a toc is generated. But now I'm thoroughly confused and perplexed after examining the .toc file before and after making a ``slight'' modification. I hope ...
2
votes
1answer
822 views

“I found no \citation commands while reading myFile.aux”

I'm trying to compile myFile.tex, a program which draws on bibtex and biber \documentclass[12pt]{article} \usepackage{amsmath} \usepackage[style=authoryear,backend=biber]{biblatex} ...
0
votes
1answer
49 views

How to define a beamer slide in a .sty file

I created a beamer slide use for transition or to thank audience. How may I put it in the .sty file of my theme ? \begingroup \setbeamercolor{background canvas}{bg=fore!115} ...
1
vote
1answer
68 views

.aux not backed up, how to force rebuild?

Eclipse/Texlipse puts a bunch of files in a sub-folder /tmp. I did not back those up as the folder name /tmp gave me the impression those can be easily rebuild from the .tex and .bib file. Now I ...
1
vote
1answer
128 views

How to apply aux directory to MiKTeX: putting *.aux files in separate folder

This is a rookie follow up question to the question here: Need *.aux file in separate folder The answer says: "In MiKTeX you can additionally set --aux-directory=dir which will put only the auxiliary ...
0
votes
0answers
36 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
54 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 ...
1
vote
1answer
63 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 ...
5
votes
2answers
114 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 ...
0
votes
0answers
18 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
417 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
206 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 ...
0
votes
0answers
112 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
83 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
47 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 ...
1
vote
1answer
266 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 ...
1
vote
1answer
79 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 ...
2
votes
0answers
171 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 ...
0
votes
0answers
79 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} ...
3
votes
1answer
101 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
77 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
72 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} ...
2
votes
1answer
84 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
31 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 ...
13
votes
1answer
438 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
36 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
588 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 ...
15
votes
1answer
150 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 ...
5
votes
1answer
122 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 ...
24
votes
1answer
263 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 ...
2
votes
2answers
209 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/] ...
6
votes
1answer
311 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, ...
3
votes
1answer
2k 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 ...