Skip to main content

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.

427 questions with no upvoted or accepted answers
8 votes
0 answers
2k views

Is there a "fast" LaTeX compiler?

I am wondering about what the bottleneck of the compilation speed of LaTeX is (e.g. MiKTeX/MacTeX/etc). By looking at information on CPU usage, it appears that the compiler uses only a small fraction ...
Ma Joad's user avatar
  • 191
7 votes
0 answers
79 views

pdftex log file eating up disk space

Disclaimer: I did not know if this was the best place to post this issue or if I should have posted it on Stack Overflow instead, as it is more compilation-oriented than a real (La)TeX issue. I am ...
mranvick's user avatar
  • 400
7 votes
0 answers
876 views

Pre-built preamble with LuaLaTeX and microtype

I have been trying to get super-fast compiles with LuaLaTeX by using a pre-built preamble for my documents. However, every time I try to compile, I get this error: No file main.aux. [\directlua]:1: ...
Luna Razzaghipour's user avatar
6 votes
0 answers
366 views

Text mysteriously disappears

I have occasionally encountered a very mysterious problem that really bugs me and is also kind of dangerous if one creates a large document. However, although I have tried very hard, I'm not able to ...
Frunobulax's user avatar
  • 2,228
6 votes
0 answers
645 views

LuaTeX performance with RAMdisk

This question may seem like it's been asked a million times over, but the relevant questions tackle XeLaTeX or plain LaTeX. What I want to know is if moving any filesystems/file locations to a ...
airatin's user avatar
  • 303
5 votes
0 answers
149 views

Is there any online service for compiling a large number of ConTeXt files?

I have about 16,000 ConTeXt files that I need to compile. On my computer, a single file from that list takes 45 minutes to compile, as there are many pages and a lot of calculations done in Lua. This ...
Village's user avatar
  • 13.3k
5 votes
0 answers
3k views

Is there a way to make latexmk automatically switch between pdflatex and xelatex?

Assume I have some projects to be compiled with pdflatex, some with xelatex. For now I'm just passing an appropriate key to latexmk command in console, e.g. latexmk -pdf ToBeCompiledWithPdflatex.tex ...
andselisk's user avatar
  • 2,675
5 votes
0 answers
338 views

Selectively compiling source in LuaLaTeX

I have recently switched from Xe(La)TeX to Lua(La)TeX 1.0.4 (TeX Live 2017) in order to use font expansion feature of microtype package. As a result, my compilation time increased dramatically. I ...
Rafal's user avatar
  • 1,714
5 votes
0 answers
405 views

When and why should I use % !Mode:: "TeX:UTF-8" directive?

I often see the following lines are included at the beginning of the tex files: % !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode % !Mode:: "TeX:UTF-8" Directives started with % !TEX are ...
YaOzI's user avatar
  • 489
5 votes
0 answers
197 views

Will arara be able to handle this non-linear compile sequence?

I have been reading and playing arara now since the summer and I LOVE IT!!!! Prior to arara I used batch and script files that were operating system specific. Thank you arara for removing this ...
EngBIRD's user avatar
  • 3,995
5 votes
0 answers
170 views

Draft compilation without changing code

I usually have my documentclass not in the body file but in a different one, so when I want to switch between draft and final modes I have to change the file I'm working on and look for that line. My ...
Andrestand's user avatar
  • 1,085
4 votes
0 answers
2k views

LaTeX error using LyX: Missing \begin{document}

I am using LyX as a LaTeX editor. I have a little file in my computer compiling normally in an old LyX version. Now I have a new computer and installed the latest LyX version (Lyx 2.3.4, 12 Jan 2020). ...
David Lingard's user avatar
4 votes
0 answers
18k views

How can I compile my .tex file into a .pdf in terminal?

I am probably trying to do the simplest thing with LaTeX, that is compile my test.tex file that I made in TeXShop into a .pdf so that I can view it as a pdf. I am running OS X El Capitan, which I ...
nukenine's user avatar
  • 153
4 votes
0 answers
118 views

Including compiled PDFs in documentation built by l3build

I am building a project with l3build. There are some examples I want to present in the documentation, showing their source code, annotated with DocStrip, as well as including the output they produce ...
XZS's user avatar
  • 2,983
3 votes
0 answers
77 views

Have two different master files compiled with AucTeX

I use a template for exercises where I have a ex environnement, and then a sol environnement. Theses files are included in one master file called for instance AF1920_serie4.tex, and in another file ...
Laurent Hayez's user avatar

15 30 50 per page
1
2 3 4 5
29