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

Merging aux files

The aux file basically consists of tex commands which are read and expanded at the begining of the document. The command \AtBeginDocument{\makeatletter\input{test2.aux}\makeatother} will have ...
0
votes
0answers
264 views

Revtex generating corrupt .bib file

I am trying to write a report using RevTeX to format my document. Here is a MWE: \documentclass{revtex4-1} \begin{document} Some text \cite{article} \bibliography{bibliography} \end{document} This ...
2
votes
1answer
22 views

I can't generate a bib document on texworks

I cannot generated a bib document and I am growing a bit desperate. I have my references in the bib format, for example: @article{fosfuri2000patent, title={Patent protection, imitation and the mode ...
1
vote
0answers
22 views

Aux file won't finish writing

I've used Bibdesk to write a bibliography, and I've simply copied the cite commands into my .tex file, so I know they're right. I have at the bottom of my .tex file simply: \bibliography{ref} ...
0
votes
1answer
19 views

TexStudio + Bibtex + build/auxiliary folder

Specs Win7 64b - TexStudio 2.9.4 - Miktex Problem Bibtex does not find *.aux file when I export my auxiliary files into a different directory, e.g. /auxiliary. With current folder structure: ...
3
votes
1answer
91 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 ...
2
votes
1answer
138 views

Finding LaTex output files [duplicate]

I'm using TeXstudio 2.6.2 with MiKTeX-pdfTeX 2.9.4535 on Windows7. I configured TeXstudio to store all output files in a separate directory. It now looks like this: -src |_Report.tex ...
1
vote
1answer
29 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
0answers
66 views

What are the .mlf, .mlt and .mtc files generated by pdflatex?

On a particular document pdflatex is generating a large number of files with the extensions .mlf, .mlt and .mtc, e.g document.mtc, document.mtc1, document.mtc2, and so on. These dozens of files are ...
8
votes
2answers
767 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 ...
1
vote
1answer
26 views

toc-like forward storage for captions

Dear experts: how does one write out the table captions for use later? Think \documentclass{article} \newcommand{\mycaption}[2]{\caption{#2}\label{#1}\savecaptioncontent{#1}{#2}} ...
51
votes
9answers
11k views

File extensions of LaTeX-related files

In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically ...
4
votes
1answer
45 views

Evaluate pgfkey before reading and writing to file with newfile

I want to define a custom aux file that contains some data, stored in a pgfkey. This data has to be stored from the keys and then written to the keys. However, when I take a look at the aux file, it ...
7
votes
1answer
100 views

Generate Table of Contents pages without a full recompile

I have a document that I need to recompile often. Currently I am doing the standard two pass compile where the first pass generates the .toc file and the second pass then inserts it. However, as my ...
3
votes
1answer
32 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
41 views

Unable to locate/open file [closed]

.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
3
votes
2answers
152 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
38 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 ...
2
votes
1answer
23 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
1answer
191 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 ...
0
votes
0answers
92 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 ...
4
votes
4answers
327 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 ...
68
votes
15answers
24k 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 ...
4
votes
3answers
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. ...
0
votes
0answers
14 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
73 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
233 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
55 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
1k 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} ...
2
votes
1answer
116 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
70 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
73 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
41 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} ...
15
votes
1answer
159 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 ...
2
votes
1answer
100 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 ...
7
votes
1answer
227 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 ...
0
votes
1answer
67 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
82 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 ...
6
votes
2answers
127 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
1answer
58 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} ...
16
votes
5answers
12k 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 ...
1
vote
1answer
167 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 ...
6
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?
6
votes
1answer
325 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
0answers
44 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 ...
3
votes
3answers
786 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 ...
15
votes
1answer
5k 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
402 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
72 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
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 ...