Questions tagged [auxiliary-files]

{auxiliary-files} is about files generated and read by LaTeX and packages which hold auxiliary information about the document.

0
votes
0answers
15 views

Directly input a sage file in a sagetex block

Is there a command similar to \lstinputlisting with sagetex, which would import directly a .sage file in the relevant block, and have it evaluated by sagetex? If not, how would one write such a ...
3
votes
2answers
70 views

expl3-strategy to automatically update the title of a document, depending on its content

Context The current question arises: as an attempt to improve the aim explained in a question of mine (Expl3' tl variable storing the result of a \seq_map_inline: OK in article's title but ...
4
votes
2answers
151 views

\TeX and \LaTeX differently expl3-x-written (exhaustive expansion) to an auxiliary file

As pointed out by the following MCE, \TeX and \LaTeX are expl3-written to an auxiliary file: the same way when no manipulation is involved (\iow_now:Nn) (but that is useless for my real use case): \...
4
votes
2answers
237 views

List of newcommands used

I have large files that I am inputing the beginning of my texts that contain all my \newcommands. They are quite a few. Most of them will not be used in a given document. But which ones are used ? Is ...
2
votes
1answer
46 views

Writing Content in the aux files without expansion

I'm creating the XML from the TOC files, in this process I'm finding issue. on looking into the files there are many commands are getting expanded while writing. for example \hat has wrote in \...
0
votes
0answers
29 views

The right place and the right options for rerunfilecheck in the presence of many packages?

Let's consider an input file called main.tex with the following contents: \RequirePackage{ifthen} \RequirePackage{ifxetex,ifluatex} \newif\ifxetexorluatex \ifxetex \xetexorluatextrue \else \...
1
vote
1answer
34 views

language dependent citations and natbib

This is a question about how BibTeX and TeX interact. In this question: Apalike style several languages the OP asks for a way to get citation callouts with French in one part of the document, and ...
0
votes
0answers
41 views

Auxiliary files in subdirectory using TeXShop

Using TeXShop, I'd like to create a script that lets me specify the extensions (e.g. .aux, .log ecc..) whose corresponding files should be put in a separate directory. I frequently have 20+ files in ...
0
votes
0answers
31 views

Tutorial: Low-Level Basic Implementation of an Asynchronous Table of Contents?

Closely Related: - Mimicking LaTeX's "table of contents" functionality Using documentclass{minimal}, what is the shortest way to write a low-level asynchronous Table of Contents, (...
2
votes
2answers
367 views

Writing Cyrillic text to a file

could you explain, what is going on? I am using the latest MiKTeX 2.9.6960 64-bit version (installed just yesterday). I am trying to write some Cyrillic text to the separate file without using ...
6
votes
1answer
126 views

How to save boolean values into the aux file? (using e.g. etoolbox's toogles)

I want to use etoolbox's toggles to achieve the following: In the preamble a toggle is created, during typesetting the document its value might change and at the end I want to write the value to the ...
-1
votes
1answer
77 views

How to use \ref to refer to a \label in another document?

I have two documents and am trying to use the package xr to create a reference, in the second document, to a \label in the first. But ?? appears in the PDF instead. How do I enable the second to see ...
1
vote
0answers
35 views

Why appears .log.fls etc when using TeX in the Atom editor? [duplicate]

So when i press control+option+b, there will appear so many weird files. And my question is that what are the functions of these files? Should i delete these files?
0
votes
1answer
58 views

Making subdirectories for each .tex document (with AUX files) but still access .bib file at higher directory

recently I have become annoyed by the number of auxiliary files that are created when I run LaTeX. I have read some threads about this, and I found out a relatively convenient solution for me is to ...
0
votes
0answers
19 views

Trying to render qrcodes in latex from multiple markdown files in a single pdf. The qrcode package inserts an empty qrcode at the start

I have multiple md files that each contain a different url in their yaml block: url: https://google.com these urls get parsed as inputs in a latex template where I use the qrcode package in order ...
1
vote
1answer
296 views

No aux file created

I wrote my master thesis on a different computer and now I want to compile using TexWorks (with pdflatex+makeindex+bibtex) as I did on the other PC. On the new PC no .aux files are created (in the ...
0
votes
0answers
64 views

Get path of (custom) auxiliary file when `-output-directory` flag is given to pdflatex

In short: Say the following is built using pdflatex -output-directory=tmp: \documentclass{article} \newwrite\fileHandle \immediate\openout\fileHandle=outfile.csv \immediate\write\fileHandle{hello ...
0
votes
0answers
144 views

What temp files generated by latex can I delete without risk? [duplicate]

My projectfolder consist of several 'real' files and is full of files I don't know. There are some cleaning procedures which deletes specified endings after a run but I am not sure which filetypes I ...
2
votes
2answers
46 views

kpfonts error with environ package and \write

Minimum Working Example \documentclass{article} \usepackage{kpfonts} \usepackage{environ} \makeatletter \AtBeginDocument{% \begingroup \newwrite\@bibmeta \immediate\openout\@...
0
votes
1answer
142 views

Warning in equation

I had inserted these equations: \begin{subequations} \begin{align} \rho(\bm{z}) = \bm{z}; \label{eq.:Rho(z)=z} \\ \bm{x}(\bm{z}) = \epsilon + (1 - \epsilon){\bm{z}}^p, ...
1
vote
1answer
28 views

Store chapter name from unincluded part (potentially in part's aux file)

I use \include to insert parts into a large document. Some of the parts contain chapter declarations, others only sections. I would like to make the current chapter name available in the daughter ...
4
votes
1answer
292 views

Auxiliary files - what does the file-extension '.fof' mean?

Pertaining exactly to the topic of this question which asks about the various auxiliary files produced by tex and friends, I'd like to ask specifically about the .fof file extension. If the main file ...
0
votes
0answers
59 views

How to tell TeXWorks where I put my aux files so it can remove them?

All my typsetting runs are done with pdflatex with the option -aux-directory=auxfiles. Now when TeXWorks detects a corrupt aux file it shows a remove-aux-files-dialog. However, it looks for the aux ...
3
votes
1answer
80 views

Latex3: Declare variable in aux file

My question is a follow-up to this question. I want to write variables to aux file and also declare them there because the number of variables varies and their csnames are defined in the document ...
2
votes
0answers
108 views

Bibtex citations: cannot run aux file [closed]

I have a problem to create citations in my text. I use Mac OS Sierra (10.12.6), TexMaker, and MacTex. I created the .bib file with all references, but when I put \cite{labelname}, it cannot run (I ...
0
votes
1answer
315 views

How to delete all aux-files from terminal?

Is there a command to delete all auxiliary files within the terminal without compiling the tex-file first? There is such an option for latexmk but then I have to build the pdf first. Edit Ok, I try ...
0
votes
2answers
41 views

Unwanted spaces in aux file

Suppose I want to write the following to the .aux-file \gdef\hello{\world\foobar} And I do it this way: \documentclass{article} \makeatletter \def\auxdef#1#2{ \immediate\write\@auxout{\string\...
0
votes
1answer
208 views

Generate BBL file and no other intermediate files?

I use Texpad, and typeset with intermediate files hidden. Since I use BibTeX for references, I periodically need to access the BBL file, for example to create a file containing the references that's ...
2
votes
1answer
35 views

block re-creation of specific auxiliary files

From time to time I'd like to temporarily disable the creation of some specific auxiliary file. Actual examples have been: At a late state of editing a document fixing something in the .toc-file ...
1
vote
1answer
117 views

What's making my file large?

I'm working on a document which incorporates a lot of figures and tables etc. The PDF file size is creeping up and up, to the point that github complains about it now too. I've already got a list of ...
1
vote
1answer
75 views

How to read a counter register from a file in Plain TeX?

I am a TeX user, and I would like to read a number from an auxiliary file in order to achieve things like: printing at the footing "page number X out of Total". I was trying to use the primitives ...
2
votes
0answers
236 views

What is spl file?

What is the (reason of) spl file created when using elsarticle class? It has zero size.
3
votes
1answer
113 views

acronym + subcaption: problems with acronyms in captions

I am trying to use the acronym package together with subcaption. However, even in figures where I am not using subcaptions, the acronyms don't work correctly. MWE: \documentclass[11pt]{report} \...
3
votes
1answer
75 views

How to store data and use it for a tikz plot? Auxiliary file needed?

I have a command \mydatapoint which takes two arguments, x and y. It prints x and y in a specific format in my file. \newcommand{\mydatapoint}[2][]{ \textbf{#1} #2} Now I want to use these ...
3
votes
2answers
109 views

Acronyms, index “see” and auxiliary files

I'm using a few acronyms in my thesis, and I want them to appear in the alphabetical index as: ACR, see acronym acronym, iii, 5, 48 This is my code: \documentclass[11pt,a4paper]{book} \...
1
vote
2answers
154 views

How to obtain label pageref from AUX file?

I would like to read the pageref info for labels directly from the Aux file. It seems that for every label <label> there is a macro \r@<label> that contains all the information and is ...
1
vote
1answer
78 views

How to initialize the \numquestions value for the first run in exam class

I try to put the following \TheNumQuestions newcommand using the counter of questions in exam class, in this simple program: \documentclass[12pt]{exam} \newcommand\TheNumQuestions{\ifthenelse{\...
1
vote
1answer
529 views

I couldn't open file name`.blg'

When I BibTex compile my test.bib file using TexMaker I get an error that reads: "I couldn't open file name `test.aux'" and when I compile my .tex file using the sequence PdfLatex => Bib(la)tex => ...
2
votes
1answer
466 views

Simplest way to convert .bbl to an older format

I want to update my paper to arXiv, which includes a separate bibliography. Unfortunately, my local biblatex version is newer than the one used by arXiv. As a result, arXiv does not accept my .bbl ...
4
votes
3answers
304 views

Define global commands in aux file

I'm writing a long document and, to make my life easier, I like to define quantites I use as macros so that I just have to update them in one place when they change. For me, it makes sense to define ...
1
vote
1answer
47 views

Can a custom beamer theme be recovered from auxiliary files?

A custom beamertheme file used to specify many of the formatting details of a beamerposter document has been deleted/removed from my system. The large majority of files (.tex, .pdf, .aux, .txt, .bbl, ...
1
vote
0answers
240 views

TeXstudio Auxiliary Files Build Folder

I'm having issues setting up an auxiliary file folder. I have followed the instructions from several different threads but I'm still coming up with an error. Below is the commands I have set up (where ...
1
vote
0answers
20 views

\edef with accent breaks List of Tables [duplicate]

Foreword: I'm aware that I'm doing unusual stuff with LaTeX :P I noticed that when I use \edef in something that contains an unicode (non-ASCII) character, TeX not only expands the macros, but also ...
0
votes
1answer
169 views

Label last page in sequence of \includepdf commands

I am in a tricky situation. I am using NewEnviron to separate a handful of major parts of my document. Each part has its own numbering scheme and several environment-specific commands and settings. ...
3
votes
2answers
71 views

zlabel not recorded in aux file

I want to use zref to record page numbers, but with this code structure, labels are not recorded in the aux file. And I have no idea what I have missed. MWE: \documentclass{article} \usepackage{...
2
votes
0answers
1k views

Natbib Error \providecommand\NAT@force@numbers{}\NAT@force@numbers

I have a problem with natbib and unsrtnat in compilation. The error is : Bibliography not compatible with author-year citations...mand\NAT@force@numbers{}\NAT@force@numbers The error is raised by ...
1
vote
0answers
32 views

Can I reuse entries in from a former console?

Hey I created a template document that asks the user for input to customize the document. The user inputs various entries into the TeXShop console. The LaTeX file uses those inputs throughout the ...
6
votes
2answers
287 views

Why can I not use \string to prevent the expansion of \csname?

When writing things to the aux file that should be expanded at the next runs \begin{document} call, expansion of those things must be canceled out. This can be done by preceding the active character (\...
3
votes
1answer
103 views

How can I compare a number stored in a csname macro with another number in TeX (\ifnum)?

Let's say I have a value stored in my aux using the csname syntax. Aux Contains \relax \expandafter\gdef \csname inputsectioncount@en-US\endcsname{0} This is correct, because I have not added any ...
2
votes
1answer
313 views

Automatically delete .aux file following an error

How can I have LaTeX automatically delete the .aux file following an error I made? I may have missed a } for example. Any error I make stops the compile. After I fix the error and re-run, LaTeX fails ...