Questions tagged [auxiliary-files]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

Detecting stale aux file in a custom package

I am writing custom package, and attempting to use aux file for some two-pass typesetting. The punch line is that my package renders some blocks of text which all need to have width equal to the width ...
1
vote
0answers
38 views

Can you adjust how TeX does write line-endings into external text files (carriage return/linefeed)?

Since I typed the title of the question the TeX-LaTeX StackExchange-Website says: The question you're asking appears subjective and is likely to be closed This is one of the very unpleasant things ...
0
votes
0answers
12 views

Cross reference to section title containing counter and Umlaute

I want to solve the same issue as in Cross reference to counter in section title, but I have umlaute (äüöß) in my Text and a slightly different command definition, so I paste my question here. I ...
1
vote
0answers
39 views

Save auxiliary Latex files in another folder in VSC

I have started to configure VSC as my default latex text editor, using the "Latex Workshop" extension. My question is: How can I make the auxiliary files generated when compiling the project be saved ...
0
votes
2answers
52 views

Expand variable name before writing to aux file

How can I have a variable in variable name while writing to aux file in the answer on this link: https://tex.stackexchange.com/a/416272/192717 For example, from the above link: \edef\mysuffix{...
0
votes
1answer
24 views

separate custom commands and document into different files

I have some extensive calls of \renewcommand{} that are cluttering my document.tex file. I would like to save them in a separate file (costum_definitions). Consider the following example: \...
1
vote
1answer
60 views

how i can automatically delete .aux? SOLVED

Please, is there any way to configure this? . Before this error did not happen, however it is solved if I manually delete the .aux file.this is a similar error. (./documento1.aux ! Undefined control ...
1
vote
2answers
45 views

Problem generating references by chapter

as the title says I have a problem trying to show the references of a chapter at the end of it. With this code I get the same references (all of them) at the end of each chapter. I have one .bib with ...
2
votes
1answer
32 views

Print something on the main text to the begining

I want to make something on the main text show on the first line of the first page, i.e. before the main text. Here is an example with some integer as the main text. In particular, I want to show z = ...
2
votes
0answers
51 views

In LaTeX internals, what is `\protected@file@percent`? How is it used, and what for?

A version upgrade has broken some of my tools, which are finding \protected@file@percent in .aux files and in table-of-contents lines. I've looked at latex.ltx but have not figured out how this ...
0
votes
1answer
36 views

Printing plain underscores in file names

I would like to display the filename when an \includegraphics command refers to a missing file (without producing errors). Currently it doesn't work for files with an underscore in the file name. ...
2
votes
1answer
22 views

Writing jobname and day to auxiliary file

I'm confused about why \immediate\write evaluates some commands but not others. E.g. \immediate\write\file{\jobname, \day} correctly expands \jobname but writes "\day" as itself. How can I write the ...
0
votes
0answers
102 views

How do I have to configure texstudio to use the -aux/output-directory pdflatex flag - in combination with bibtex?

I'd like to have a dedicated output folder out for all the aux/log files that I'm not gonna read anyways. My environment/workflow is: texstudio + miktex/texlive + pdftex + bibtex. I read that I ahve ...
1
vote
1answer
132 views

How to avoid the extension files when I compile pdf on r sweave

I face a problem when I compile pdf file I got many files in the working directory, for example, the files Untitled.tex and Untitled.toc along which my files Untitled.pdf and Untitled.Rnw. Can anyone ...
0
votes
1answer
42 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
79 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
160 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
3answers
336 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
52 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
41 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
47 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
92 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
35 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
378 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
134 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
161 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
51 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
107 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 ...
1
vote
1answer
617 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
82 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
395 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
58 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
175 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
29 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
340 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 ...
4
votes
1answer
125 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
193 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
441 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
47 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
276 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
143 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
105 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
354 views

What is spl file?

What is the (reason of) spl file created when using elsarticle class? It has zero size.
3
votes
1answer
158 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
90 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
126 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
211 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
97 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{\...
2
votes
1answer
755 views

I couldn't open file name`.blg' [duplicate]

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 => ...

1 2 3 4 5 7