Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
2 votes
1 answer
24 views

Best way to `include` standalone files from parent directory

I am trying to set up a repository for my slides and talks, so I have a repository with two folders slides/ talks/ Now due to the security setup as mentioned here (How) can I include the file ...
user avatar
  • 5,770
0 votes
0 answers
38 views

Is TeX code obtainable from other output files

Unfortunetely, all my TeX code within one of my .tex files got deleted. However, I still have all other output files from the compilation process of this specific .tex file. Is there any way I can get ...
user avatar
0 votes
1 answer
30 views

save a counter to the aux file and read it later

I would like to write a counter to the aux file and then read it back when compiling the tex file for the second time. Basically, I am trying to write a command that has the same logic as the LastPage ...
user avatar
0 votes
0 answers
36 views

importing a template file folder into overleaf

I got a template folder from my Uni, which contains the LaTeX settings I need to write my thesis in. THere is a lot of weird filetypes in it, not just TeX and AUX but also BBL, DVI, ILG, LOF, LOT, NLO,...
user avatar
4 votes
1 answer
45 views

package ntheorem seems not to obey the LaTeX-kernel's old protection mechanism

This question is related to my answer to the question Construct math super/sub-script from reference (\ref) with hyperref and cleveref being loaded: [...] In the example below this is done via ...
user avatar
  • 23.1k
2 votes
1 answer
31 views

How to append the body of an environment to an output file?

I want to define an environment that expands as its body, which can contain mostly arbitrary content, and also appends its body (with some predictable level of expansion) to a file. (Motivation at the ...
user avatar
  • 157
1 vote
1 answer
60 views

Writing (nested) argument specifier to aux file

This is a follow-up to this question: where I explained that I want to write some definitions into an aux file and use hooks to achieve this. Refer to this question for context why I want to do the ...
user avatar
0 votes
1 answer
30 views

Append content to a file containing sharp

In my library, I need to be able to append some text to a file. The problem is that that file may contain the # symbol, and it turns out that every time I append something to a file containing a #, ...
user avatar
  • 5,053
3 votes
2 answers
78 views

What triggers latexmk to invoke makeglossaries?

I've started using the make-glossaries package, and am creating more than one glossary. Unfortunately, my latexmk calls seem to skip calling makeglossaries, so my build doesn't conclude. I'm using a ...
user avatar
  • 11.3k
5 votes
1 answer
137 views

Detect Number of Times pdflatex was run

I would like to include information in the pdf to indicate of how many times pdflatex was run. This seems pretty trivial, but I can't seem to get this to work -- must be someting obvious. The output ...
user avatar
0 votes
1 answer
54 views

How to make bibtex issue a meaningful error message if it is run instead of biber?

Suppose I have a custom class that requires the use of biblatex, and moreover with the biber backend (\RequirePackage[backend=biber]{biblatex}). Even though the documentation of this class states ...
user avatar
1 vote
1 answer
61 views

Can't write to aux file from cmd

I have an automating script written in Java to generate a PDF file from a source tex file. The?main tex file may reside in one drive say 'C:' and one included file via \input in another drive say 'D:'....
user avatar
  • 1,177
1 vote
1 answer
42 views

Is it possible to generate bbl file without compiling a pdf?

Suppose that we have a refs.bib file containing bibtex entries, and that we would like to use the plainnat as the style. I would like to generate a bbl file without the necessicity to compile a PDF ...
user avatar
  • 363
1 vote
0 answers
31 views

File referencing issue over a connection to server

I am working on a system where access to my LaTeX files/header.tex/even JPG files I created to insert in my LaTeX documents … is all on a work drive. Within a given LaTeX document, I’d normally write ...
user avatar
  • 11
0 votes
0 answers
62 views

LaTex error: missing \endcsname inserted. Cannot compile

while editing the citations in a chapter of my thesis I got dozens of errors like the following and can't compile the file to a pdf anymore: *Missing \endcsname inserted. <to be read again> ...
user avatar
4 votes
3 answers
226 views

How to create random number for a document only on first build then reuse it in subsequent builds?

I want to create unique ID numbers for my documents, and am doing so using a random number generator like this: \usepackage[first=1, last=100000000]{lcg} \newcommand{\random}{\rand\arabic{rand}} ...
user avatar
  • 1,093
1 vote
3 answers
79 views

Reading stored table lines with @starttoc: Problems with superfluous spaces

I want to store table lines with \addtocontents and generate a table afterwards from this entries with \@starttoc. Because \@starttoc uses \begingroup and \endgroup it makes problems with tables (! ...
user avatar
0 votes
0 answers
88 views

Can I bypass having to compile LaTeX twice?

I read here that sometimes we must compile twice in order for the .aux file to allow sectioning to function properly in the typesetting process. My question is: if we manually delete the .aux file ...
user avatar
0 votes
0 answers
30 views

Vs-code latex change only pdf Out Dir

I use vs code for writing and compiling tex files. I changed on vs-code settings the Out Dir to the folder: %DIR%/build. With this setting all the auxiliary files and the pdf are saved in ./build but ...
user avatar
  • 11
1 vote
1 answer
31 views

Delete a file using luacode

I would like to delete a file called \jobname.someext which is in the same directory of my .tex file, at the beginning of a typesetting. I know the shellesc package, but can I do this with a luacode ?
user avatar
  • 695
0 votes
2 answers
40 views

\addcontentsline not writing files

I try to make a custom list of answers as instructed by section 2.3 of The LaTeX Companion, 2nd edition. I write this code to define my custom list: \newcommand{\exerciseref}[1]{\hyperref[exercise#1]{...
user avatar
0 votes
1 answer
48 views

Changing the aux folder for makeglossaries

I am using Visual Studio Code with Latex Workshop and I am changing the directory for the auxiliary and output files to a directory called .aux (I want it to stay hidden if possible). My reciepe looks ...
user avatar
  • 251
0 votes
0 answers
14 views

Continuing Custom Build After Error in TeXMaker

I have created the following custom Quick Build command in Texmaker pdflatex -synctex=1 -interaction=nonstopmode %.tex --aux-directory=auxfiles/| xcopy auxfiles\%.log /Y The intention is that it ...
user avatar
6 votes
1 answer
234 views

How to extract variables from an auxiliary file?

I would like to use an auxiliary file to read and write some information. Context In this case, I am using this auxiliary file to record the widths used in the footnote formatting. Indeed, I want my ...
user avatar
  • 291
1 vote
3 answers
110 views

How to automatically generate data summary at the beginning of the document?

Within my report I want do define several structural damages and I want to automatically generate a summary table at the beginning of the document. Here is an example of how far I have come so far and ...
user avatar
0 votes
2 answers
48 views

Combine .tex file with .aux files to produce a single self-contained .tex file

I have submitted a paper to PLoS Computational Biology and it has been accepted. The paper has three supporting text pieces, which PLOSCB requires to be separate files. So, I split my paper into four ...
user avatar
0 votes
1 answer
142 views

Automatically compiling asymptote on vim, with .asy files in another directory?

I am currently using latex on vim with the vimtex plugin (with mac big sur os), and there are two features I would like to have: Asymptote compiles automatically when I compile latex All auxiliary ...
user avatar
0 votes
0 answers
30 views

Using aux-directory when you need the output

Several latex distributions have options to put aux files in a separate directory using a -aux_directory command-line option. I use Texpad, so I have a "hide intermediate files" option that ...
user avatar
0 votes
1 answer
48 views

How to prevent `aux` file from generating invalid characters?

I’m trying to display a table with: Two columns of mathematical expressions One column for the equation labels Using tabularx I mostly followed what I saw here However, it’s still giving me trouble. ...
user avatar
  • 113
0 votes
1 answer
47 views

Write exercises outline to a text file

I have a document that uses the exercise package. And I would like to produce an auxiliary file that contains the outline of the exercises and questions. The file will be processed by an external tool ...
user avatar
  • 329
0 votes
1 answer
181 views

How can I enforce creation of *.aux files?

I want to write a thesis using subfiles and xr for external references. I use subfiles because that allows me to compile chapters separately without having to compile the whole thesis. My problem is ...
user avatar
  • 1
0 votes
1 answer
218 views

miktex update causes issues "go to source/pdf" in TeXstudio

The most recent MiKTeX update 21.6 resolves an issue involving the aux directory that seems to have changed the behavior of -aux-directory=<filename> to place the .synctex.gz files in the ...
user avatar
  • 35
0 votes
0 answers
163 views

Text line error

My tex file (chapter2 in particular) crashed and somehow the tex file is not compilable anymore! The affected chapter2 in the tex file won't even display any code, it's blank, it's showing some pink ...
user avatar
1 vote
0 answers
23 views

Exclude total page count

First two page contain some title page image it should not count as part of first page count and also exclude in total page count. Is that possible to update through .aux file? filenamenew_pgcount.xml ...
user avatar
  • 809
1 vote
0 answers
126 views

Keep the aux, fls and log files or not?

I have a C program generating a .tex file. Then afterwards the C# program runs Pdflatex to compile to pdf and generates an .aux , .fls and a .log file. The tex file is different (in priciple) each ...
user avatar
  • 137
0 votes
1 answer
34 views

Page number export in Aux file

Need to export in separate file to getting First & Last page number and Total pagecount using aux file, Please find MWE file as below: \documentclass{article} \usepackage{lipsum} \usepackage[...
user avatar
  • 809
0 votes
0 answers
35 views

What are the basic LaTeX tools at CTAN for managing hyperlinks between two LaTeX PDF files?

My interest is to learn about available tools, including success stories. Admittedly, some tools at CTAN are maintained and others not. Not requested is a solution to the problem outlined below. The ...
user avatar
2 votes
2 answers
61 views

\newtotcounter with macro inside definition

I tried to define \newtotcounters (from totcount package) procedurally, as bar\thefoo where foo is another counter (details in MWE below). However, only the last \newtotcounter works as intended, ...
user avatar
  • 538
1 vote
1 answer
89 views

Compiling with latexmk; prompted to "Please type another output file name"

I'm currently trying to get my thesis to compile with latexmk. I am running WSL (Ubuntu 18.04) on a Windows 10 Machine. My file structure is as follows: +-- build/ +-- src/ | +-- 01_intro.tex | +...
user avatar
3 votes
2 answers
172 views

how to create "aux" directory to store auxilary files with pdflatex?

Currently I use TexStudio, with the command pdflatex -synctex=1 -interaction=nonstopmode -output-directory=./aux/ "paper".tex which works fine to compile and put all auxilary files in the ...
user avatar
1 vote
1 answer
40 views

How can I add a \hline on a macro created table

I'm trying to create a table dynamically by adding rows to it. The idea is that the table has to be used/created before the rows are appended using a macro. I modified the method described here In ...
user avatar
  • 51
0 votes
0 answers
44 views

Latex and file management: chained \include{...} and reference to active directory

For each chapter of a document I am working on I have a separate folder, and all folders are contained in a common superfolder, together with a file main.tex which should put them all together. ...
user avatar
  • 101
1 vote
0 answers
70 views

Starting page number getting in .aux file

How to get starting pagenumber getting in .aux file? we have option to get lastpage number using "lastpage.sty" to print in .log file, we need same way to get first page number via .aux file?...
user avatar
  • 809
2 votes
0 answers
46 views

change folder for all auxiliary files

I'd like to know how I can save all the files created during compilation in a subfolder of the same name as the file. So I'd like to get: myfile.tex myfile.pdf myfile/ (containing *.aux, *.log, *....
user avatar
  • 21
0 votes
0 answers
66 views

Passing a file path as an argument in a command

I’m trying to pass a file path as an argument to a command. I’m using lualatex and I can’t quite figure out how to get it to work. The new command I defined is: \newcommand{\ScoreWithTranslation}[2] ...
user avatar
4 votes
2 answers
77 views

Display number of sections at the beginning of a chapter

My goal is to display the number of sections the chapter contains, at the beginning of every chapter. Currently, my idea is to store in the aux file the value of the section counter at the end of ...
user avatar
0 votes
1 answer
55 views

Ask LuaLaTeX to ignore an active catcode previously written into aux file by pdflatex

I'm writing a package that loads babel and which users might run under either pdflatex or lualatex. When babel's french option is loaded, ":" is made active; and pdflatex writes the ...
user avatar
  • 2,054
0 votes
0 answers
52 views

Save a version of .aux file

I want to use a specific version of the .aux file. So I want to save this version for an eventual use with the xr package. Is there a way to do this task ? Note that the origin of this problem is from ...
user avatar
0 votes
0 answers
24 views

Problem writing aux file in relative referenced directory [duplicate]

In the question Problem writing aux file asked about the problems I encountered due to an update of my MiKTeX distribution, but didn't take the time (at that moment) to create a MWE, so it didn't ...
user avatar
  • 1,215
0 votes
1 answer
390 views

Problem writing aux file

Upon the risk of being down voted as no MWE is present, but at the moment just trying to get some pointers. I updated my MiKTeX installation to the newest available version at the moment (MiKTeX-...
user avatar
  • 1,215

1
2 3 4 5
9