Questions tagged [compiling]
{compiling} is about the process you must go through to convert your TeX from .tex source files into your output document format, be it pdf, dvi, or something completely different.
1,764
questions
0
votes
0answers
38 views
Extra (nearly) blank pages out of nowhere
I'm writing a thesis with LaTeX, and recently I have compiled to find two nearly blank pages suddenly generated before the title page, without any change being made to the code in the front, which is ...
1
vote
0answers
13 views
Eps file weirdly compiled
I have an overleaf project with a number of .eps files. I use the graphicx package to include them in the final .pdf.
Most of the files compile properly, but two of them, which have labels on them (...
0
votes
0answers
24 views
How to preview a DVI (rather than a PDF) in TeXstudio
TeXstudio is very slow when compiling and previewing a 400-page book. I was told that previewing a DVI is faster than PDF, so I want to preview a DVI instead. How do I do that in TeXstudio? By ...
0
votes
0answers
33 views
Adjust latex output profile
This might be a very stupid/mundane question to most of you, but:
I am currently working with TeXnicCenter as my latex editor and sumatraPDF as my pdf viewer. When compiling my document (currently 10 ...
0
votes
1answer
43 views
Compilation Error: “File ended while scanning for \documentclass” (Subfile package)
I'm getting this error constantly, since setting up a new TexLive instillation with TexStudio on a new laptop. This compiled fine on my desktop, and I'm stuck in knowing what the real root of the ...
-1
votes
0answers
25 views
Help with finding the problem in compilation
I have been stuck with this for hours now. The issue is that I completed writing a paper using overleaf online compiler. It compiles with one error but generates the pdf as expected. The error message ...
1
vote
1answer
29 views
Compiler Keeps Timing out for Tikz Graph
\usetikzlibrary{fit,positioning,arrows,automata}
\usetikzlibrary{positioning,arrows,shapes}
\usepackage{mhchem}
\usepackage{chemformula}
\let\ce\ch
\begin{tikzpicture}[node distance=2cm,minimum size=...
0
votes
0answers
632 views
Windows 10 - MS Access - VBA - pdflatex missing pdf output after compiling .tex file
probably this is a Win problem, but I don't know where it could be solved. My scenario: I've created a MS Access db with forms, subs, functions and so on. I extract data from this db in order to ...
0
votes
0answers
533 views
LaTeX can't generate PDF
I'm writing my thesis right now using LaTex. Yesterday everything was normal but today, when I run LaTeX I get the error message ' ! I can't write on file 'Filename.pdf'. '
It is definitely not a ...
0
votes
0answers
64 views
My files (.tex and .bib) won't compile with the on VS Code
After updating Tex live, my Tex files won't compile with the bibliographies in VS Code. Without the bibliography, it does compile.
I checked that my .tex & .bib file compiles well together in ...
1
vote
0answers
64 views
Beamer and latex -> dvi -> ps ->pdf problem
I am trying to create a beamer presentation and I have a compilation problem. When I use pdflatex, everything is OK. However, I need latex + dvi to ps + ps to pdf. This is since I draw some pictures ...
0
votes
0answers
23 views
pdflatex.exe -synctex=1 -interaction=nonstopmode
On compiling a tex file the following error message appears
pdflatex.exe -synctex=1 -interaction=nonstopmode
No pdf is generated and a blank gray display appears. How to fix this issue?
1
vote
1answer
49 views
Which graphics format is faster for compilation? PDF, PNG or JPG?
I'm working on a big LyX document and I've added a build script capable of converting assets from many formats (Inkscape SVG, PlantUML, QCAD DXF) to PDF. This improved a lot the time needed to ...
0
votes
0answers
42 views
Generating an index page with Overleaf fails
I want to add an index page to my project, so I tried to follow the example on Overleaf's website. Their example works fine, but when I try it in my project no index page is generated, the entry doesn'...
0
votes
1answer
62 views
! Extra \endgroup error
After compiling my latex file using MikTek in Windows 10 using TexMaker, I get the following error.
! Extra \endgroup.
\document ->\endgroup
\let \BeforeStartOfDocument \@firstofone \cpt@beforest......
0
votes
0answers
31 views
Same .tex files can be compiled in one device but not other
There's a rather curious situation that I'm facing: I was happily using my tex studio for months and everything was fine. Today I opened a .tex file where it uses fitch-style proofs, and after ...
2
votes
1answer
30 views
__latexindent_temp.tex VSCode Error
The Latex Workshop VSCode Extension has been generating a file called __latexindent_temp.ex every build.
Contrary to this message, I have ensured that MiKTeX is fully updated. I have tried ...
1
vote
1answer
23 views
Compile section of large document while maintaining numbering
I have a large document, and to minimize compilation time, I would like to recompile only the last section of it as it is edited. My trouble with standard solutions is that they destroy the numbering:...
0
votes
2answers
67 views
Provide Students with TeX Question Template
I am an instructor, and I prepare homework assignments using the \documentclass{exam}. I know that when I compile to PDF I can use \documentclass[answers]{exam} to generate a compiled PDF that ...
1
vote
1answer
35 views
Tabularx doesn't compile as a command
I have a 3 commands for my ease of access namely resumeBulletStart, resumeBullet and resumeBulletEnd. Compiling while using the commands fails. Although, when I copy the same content as sequential ...
1
vote
1answer
42 views
Latex packages tcolorbox and xcolor compatibility issues [duplicate]
I am trying to use the packages xcolor and tcolorbox but there seems to be some sort of compatibility issue. In the example below I have included two lines that are commented and the example compiles ...
1
vote
0answers
248 views
TeXstudio - MiKTeX compile error
I have an issue with MiKTeX and TeXstudio which won't compile anything.
I am using overleaf but since my project got bigger and compiles very slow and often not at all
I tried to switch to my computer....
1
vote
1answer
52 views
pdfLaTeX works fine; pdfLaTeX+MakeIndex+BibTeX returns error. There is nothing in document but \documentclass, \begin and \end document and a word
I am using Texworks Version 0.6.2 (MiKTeX 2.9.6350 64-bit). Originally I had a bibliography but I have taken it out and the error is the same.
I am running a file containing:
\documentclass{article}
\...
1
vote
0answers
27 views
Can I compile one .tex file into multiple PDF using TeXMaker, beamer class?
So, let's suppose I have this presentation here
\documentclass{beamer}
\begin{document}
\begin{frame}
This is frame 1
\end{frame}
\begin{frame}
This is frame 2
\end{frame}
\begin{...
0
votes
0answers
57 views
Whats the simplest way for a python program to check if a file is valid LaTeX
Problem Statement:
Given a file with some arbitrary name and possibly incorrect extension, how to programatically and/or using command line tools figure out if it is a LaTeX file?
Context:
I was ...
2
votes
1answer
235 views
Document compiles with pdfLaTeX, LuaLaTeX, and XeLaTeX, but not with Latexmk
Background
My computer OS had to be reinstalled recently, thus wiping out my LaTeX installation. Before this time, my document was compiling successfully using Latexmk. I have a complex document I am ...
0
votes
1answer
170 views
latex in manjaro
I install texlive in manjaro and didn't work, so I try the miktex and it only work in the texstudio when I change the 'comands ($path) to home/user/bin it works but only to texstudio. How can I make ...
3
votes
1answer
55 views
Long Compilation Time: Tikz Accents
Throughout my thesis, I have accent several mathematical symbols with "hats" and "checks". My advisor noted that the standard \hat{}, \check{} accents were difficult to read due to ...
1
vote
0answers
67 views
Can't compile my project in Overleaf because of compilation timeout
I am trying to compile a file with a lot of Tikz images (about 90) with pdfLaTex and this is always giving me a compilation timeout error. I tried to externalize the images with the commands:
\...
1
vote
0answers
40 views
Speedup preamble compilation
My document takes 5sec to compile (draft mode), and most of the time is spent on the preamble. This is due to all the packages that I use. Is there a way to precompile the preamble to speedup ...
0
votes
0answers
52 views
two questions about longtable package
Why in \longtable package for end of line used two commands - @tabularcr and \lt@tabularcr. Because for my package \ command should use once for one line. Yes, I cannot redefine \lt@tabularcr command, ...
1
vote
1answer
129 views
“I can't write on file” error occurs in every folder except Google Drive
I am using MiKTeX on Windows 10 with TeXStudio and I am literally trying to compile the simplest TeX document possible:
\documentclass{article}
\begin{document}
A
\end{document}
And I get the ...
1
vote
2answers
34 views
Redefine any environment and command to an empty output
I have defined a few complicated environments and commands. Sometimes I need to to only see the superstructure of my output PDF. For this I need a way to do dry-run. I use a \toggletrue{dryrun} which ...
1
vote
1answer
34 views
XeLaTeX giving me many gibberish errors when trying to compile beamer presentation
I am writing a beamer presentation and when I try to compile it with running xelatex chessboxing.tex chessboxing.pdf, everything goes fine until here:
! Missing $ inserted.
<inserted text>
...
1
vote
0answers
54 views
Slow compilation using Texpad on MacOS (LuaLaTeX). How to speed up compilation?
Is there a way to speed up compilation on Texpad? When I compile this particular *.tex file the compilation lasts about 4sec in TexShop, when I compile it in the Texpad its about 15sec.
1
vote
1answer
36 views
How to get texi2pdf to stop on the first error (again)?
I use texi2pdf (GNU Texinfo 6.7 (2019); on macOS) to compile .tex documents from the command line (terminal).
A couple of years ago, the default was that texi2pdf stopped at the first error. For some ...
0
votes
1answer
105 views
How can I get VS Code LaTeX Workshop to choose the correct Latex distribution?
I have installed two Latex distributions on my PC, i.e., Ctex and Texlive 2020. VS Code LaTeX Workshop keeps using Ctex to compile latex files. How do I force VS Code to compile with Texlive 2020?
For ...
0
votes
1answer
40 views
Number of Compilations
I know when I have a .bib file I need to do the following compilation order:
Latex compiler
biber
Latex compiler
Latex copmiler
But what about when I'm not using a .bib file? How many times do I ...
0
votes
0answers
27 views
longtabu Missing } inserted error
I'm getting this error:
(./template/changelog.tex
./template/changelog.tex:36: Missing } inserted.
<inserted text>
}
l.36 \end{longtabu}
while I compile a multifile project.
...
0
votes
0answers
13 views
tex file cant build due to being in filestore
I'm trying to build a tex file in the uni's filestore whose address starts with \filestore.......
where, I think, the double slash caused some error:
I'm currently saving the files in a local address ...
0
votes
1answer
36 views
How to insert in \int_case value, return by function?
I want to check the sum of a sequence of variables. I created a function which returns this sum. But when I use it I get an error.
\documentclass{article}
\usepackage{expl3}
\pagestyle{empty}
\...
0
votes
0answers
21 views
Document Showing Blank Page
I am not sure if this is the correct place to ask a question like this, but I was unable to find any resources to help.
I was working on lecture notes in the car. Everything was compiling perfectly ...
0
votes
0answers
69 views
How to compress pdf file generated by XeLaTeX?
I hope you can help me.
I am new to latex and perhaps I am not yet capable of creating well optimized code.
I am creating a file pdf full of figures and tables to send to my professor, who ask for a ...
0
votes
0answers
66 views
How to speed up XeTex compile time?
I usually use pdfTeX to compile when I write a document. A few days ago, I need to change the font so I used the fontspec package and started to use XeTeX for a specific document. I found that the ...
2
votes
2answers
136 views
Classic Thesis 4.6 doesn't compile
I have TeX 3.14159265 (TeX Live 2020/W32TeX) kpathsea version 6.3.2 on my pc.
I downloaded Classic Thesis .zip from CTAN
When I try to compile ClassicThesis.tex in Texstudio with the standard pdflatex ...
1
vote
0answers
93 views
How correct do auto tagging of page break
In our package i want handle page break,to use tagpdf package in genericnode. For this i want to redefine \tagncbegin/\tagncend commands, to save last params of tagging. For this i save this params in ...
0
votes
0answers
61 views
Undefined Controlled Sequence-\begin{document}
I know that this question exists in several threads already. But I looked around with no luck. This is the code that I am using.
%\title{University of Bristol Thesis Template}
\RequirePackage[l2tabu]{...
0
votes
1answer
47 views
Greek letters don't appear in overleaf document even though greek babel package is inserted
I am trying to modify the following overleaf latex document:
1.5-column-cv
I want to write everything in greek so after doins some search I inserted at the preamble the below packages:
\usepackage[LGR,...
0
votes
0answers
81 views
Error: pdfTeX error (font expansion): auto expansion is only possible with scalable
When i write text and $\thetha=5$ in the same line, I get the following error:
--> Error: pdfTeX error (font expansion): auto expansion is only possible with scalable
If i manually set a new line ...
0
votes
0answers
253 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 ...