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
1answer
52 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:'....
1
vote
1answer
32 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 ...
1
vote
0answers
29 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 ...
0
votes
0answers
29 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> ...
4
votes
3answers
195 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}} ...
1
vote
3answers
65 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 (! ...
0
votes
0answers
77 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 ...
0
votes
0answers
67 views

ERROR - Cannot find '00_main.bcf'!

I have another problem with the bibliography. I'm using Texworks with the following script. \documentclass{article} \usepackage{00_system/pack} \addbibresource{00_system/biblio.bib} \title{Test} \...
0
votes
0answers
21 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 ...
1
vote
1answer
27 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 ?
0
votes
2answers
34 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]{...
0
votes
1answer
22 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 ...
0
votes
0answers
11 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 ...
6
votes
1answer
229 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 ...
1
vote
3answers
89 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 ...
0
votes
2answers
44 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 ...
0
votes
1answer
86 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 ...
0
votes
0answers
25 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 ...
0
votes
1answer
40 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. ...
0
votes
1answer
34 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 ...
0
votes
1answer
114 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 ...
0
votes
1answer
176 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 ...
0
votes
0answers
28 views

Is it possible to externalize TikZ pictures in combination with pythontex?

I'm trying to externalize tikz pictures that are produced inside a pysub environment (from the pythontex package). The different compilation steps i'm using here are : Lualatex Pythontex Lualatex If ...
0
votes
0answers
22 views

Is it possible to customize the folder for all latex generated files?

I use kile on Ubuntu to compile my tex files. There are a bunch of files *.vrb, *.toc, *.out, etc. that are generated in the process. Is it possible to customize the settings so that all such files go ...
0
votes
0answers
109 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 ...
1
vote
0answers
20 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 ...
1
vote
0answers
55 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 ...
0
votes
1answer
30 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[...
0
votes
0answers
29 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 ...
2
votes
2answers
27 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, ...
0
votes
0answers
23 views

Use the final value at the beginning of the document using readarray or arrayjobx

Is there any way using readarray or arrayjobx package to display the final value before it is set? The following snippet is able to set the value of the array to whatever number you specify, but I ...
1
vote
1answer
54 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 | +...
2
votes
1answer
115 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 ...
1
vote
1answer
33 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 ...
0
votes
0answers
28 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. ...
1
vote
0answers
37 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?...
2
votes
0answers
35 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, *....
0
votes
0answers
42 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] ...
4
votes
2answers
71 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 ...
0
votes
1answer
48 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 ...
0
votes
0answers
48 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
279 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-...
0
votes
0answers
17 views

If one is using a *.cls that requires a graphic file, where should the auxiliary files be so that it works?

I am using the *.cls files from the "Frontiers in *" Scientific Journals. They have their own classes and templates and examples. I put the *cls files in my texmf directory and did the ...
1
vote
1answer
108 views

Warning in REVTeX 4.2 for references to an external document: "... has been referenced but does not exist, replaced by a fixed one"

First, I build the following external document, ExternalDoc.tex file, 3+ times. \documentclass[prl,aps,10pt]{revtex4-2} \usepackage{amsthm} \theoremstyle{definition} \newtheorem{thm}{Theorem} \...
0
votes
1answer
454 views

TexStudio cant find .aux file

I am new to LaTeX offline compilers and editors (I used Overleaf before, so with LaTeX language itself - I am pretty comfortable). I am unable to make simple glossary. I use TexStudio and TexLive. ...
0
votes
0answers
419 views

Texpad Live Vs. MacTeX Vs. MikTeX compiler differences (output files)

I am struggling with following: I work on a larger collection in LaTeX, which includes around 30 different papers. I am used to work on macOS (Texpad - currently using live compiler), hence compiling ...
1
vote
1answer
50 views

File extension *.pag when compiling document with pdflatex and bibtex

I'm compiling my document with pdflatex and bibtex, using the following command: pdflatex main && bibtex main && pdflatex main && pdflatex main This generated a couple of ...
0
votes
1answer
371 views

Bibtex compilation error

I'm having trouble getting citations to work, apparently because of errors when I try to compile the bibliography. When I compile and build the PDF, the footnotes appear but they just appear as the ...
0
votes
0answers
168 views

no .fls file generated

I currently use pdflatex under texmaker and I don't see a .fls file when compiling anyone know how to fix this? p.s. if anyone knows a simple way to find unused images I would also be interested.

1
2 3 4 5
9