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

learn more… | top users | synonyms (1)

18
votes
0answers
632 views

TexLive: Why compiling in linux is much faster than windows?

I use TexLive in both linux and windows. However, the project compiles very fast (below 1 sec.) in linux while it takes between 10 to 20 seconds on windows (in the same machine). This has happened ...
8
votes
0answers
442 views

Why php exec() fails .tex→xelatex→.pdf, but succeed .tex→xelatex→.xdv→xdvipdfmx→.pdf?

The call of command: $dir = "/path/to/source/file"; exec("cd $dir;xelatex filesource.tex", $output_array[0]); always fails, but: $dir = "/path/to/source/file"; exec("cd $dir;/usr/texbin/xelatex ...
7
votes
0answers
115 views

How to precompile preamble when using arara

A different tex question led me to a link regarding a precompiled preamble. I use arara for all of my runs. What is the correct procedure to use a precompiled preamble for each of the runs made ...
5
votes
0answers
66 views

Parallel compiling of *slides* with beamer?

I understand that LaTeX cannot parallel process a whole document because of the layout algorithm which is intrinsiquely linear. However, in my understanding, the overlay specifications of successive ...
5
votes
0answers
92 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 ...
5
votes
0answers
227 views

LuaLaTeX 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 ...
4
votes
0answers
63 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 ...
4
votes
0answers
146 views

Best way to compile a LaTeX project

Quite long time ago I was extensively using LaTeX with a Makefile that I have found on internet. This allowed me to automatically build/rebuild my project as many time as it was needed to get ...
4
votes
0answers
62 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 ...
3
votes
0answers
22 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 ...
3
votes
0answers
29 views

Can I force a pre-process action on all commands or environments without having to redefine them all manually?

I am trying to preserve a history of the latex commands and environment initializations I use in a typeset html or pdf file. Is there a way where I can force a pre-process action on all commands ...
3
votes
0answers
153 views

I want to use latex to write a big document with three types of tables

Very concise (vague) question: (4th edit) I want to use latex to write a big document with three types of tables (tableA,tableB,tableC), over time (dates), indexed by many keys(key1,key2,key3,...). ...
3
votes
0answers
58 views

Convert .tex to .tex, but replace \ref{} with actual numbers

I use Pandoc a lot to go between .tex, .markdown, and .docx. Everything works well enough for me in the .tex to .docx conversion, but the table and section references show \ref{my_label} rather than ...
3
votes
0answers
337 views

How to compile files with non-ASCII paths?

I cannot compile files with non-ASCII paths. I am using XeLaTeX from MikTex and TexStudio on Windows. Is it possible to read paths as utf8? The specific path contains Chinese. If I change what ...
3
votes
0answers
414 views

How does Latexian's live preview feature work?

In particular, does it use any trick to generate the preview more quickly?
2
votes
0answers
51 views

LatexMK incorrectly tries to build files used by minted

I am using LatexMK from a Makefile with the -use-make option. A really great tool to automatically compile my document while making sure all images are up-to-date. When trying to compile a document ...
2
votes
0answers
33 views

Gummi won't compile document after compiling bibliography, table error

I'm new to this whole LaTeX thing, and I'm having a problem that I can't even begin to understand. I've written a great big document with several tables and images, and previously everything worked ...
2
votes
0answers
23 views

Compiling Documents Based on Keywords in a Longer Text

I'm a teacher and I use LaTeX for all my exams. I would like to create a database of exam questions and attach multiple keywords to each question. Then, I would like to be able to generate a ...
2
votes
0answers
97 views

Use animateinline inside tikzpicture

I am doing a beamer presentation with animated tikzpicture environments. In the MWE, the top figure consists of a plot which never changes and a point moving on it. Since the plot is long to compile, ...
2
votes
0answers
72 views

Is newclude (still) a good package to use?

I came up with this very MWE while trying to organize my code into several section files to speed up compilation of a journal paper (sections, not chapters!): \documentclass{article} ...
2
votes
0answers
328 views

No PDF output file and no error message

I am very new to LaTeX, please accept my apologies! A couple of months after finishing my dissertation with LaTeX, I want to run PDFLaTeX (Texmaker) again. However, no PDF output file is being ...
2
votes
0answers
37 views

Wildcard insertions in arara compile instructions

Using arara I would like to know whether wildcard instructions can be passed in the instructions. I would like to have a dynamic compile of my bu*.aux files when I use bibunits, because as I comment ...
2
votes
0answers
521 views

TeXstudio slow compilation

Using command: Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "Skripsie".tex Compilation in TeXstudio takes very long (3-5 minutes). The document is only 12 pages long ...
2
votes
0answers
62 views

Environment \pspicture only works with single slide in beamer?

I'm trying to use pstricks in beamer, and need to compile it with pdflatex. Weirdly, the code works when I have a single frame (see MWE below) but as soon as I add a second frame (i.e. uncomment line ...
2
votes
0answers
97 views

breqn and \coloneq

The breqn documentation says (pg. 10) • The notation := must be written with the command \coloneq. Otherwise the : and the = will be treated as two separate relation symbols with an “empty RHS” ...
2
votes
0answers
59 views

babel french + compilation issue

Since yesterday I'm using polyglossia for one of my documents. Today I opened another document in which I use babel and that worked just fine yesterday morning. Suddenly I can't compile it anymore : ...
2
votes
0answers
102 views

LEd is not compiling

After 4 years I decided to take up again LEd, which I used for my bachelor thesis. It was alright until I decided to compile to see the PDF. The error was: 21-07-2015 08:27:48: START ...
2
votes
0answers
4k views

Error while compiling: “Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex”

I know that a lot of people have already done this question but, I've tried everything said in the answers but nothing works! I'm trying to use TeXMaker 4.4.1 and MikTeX 2.9 but, when I try to compile ...
2
votes
0answers
59 views

Policy to stress preferrable syntax

Question Assume someone wrote a LaTeX document using my package some time ago. I want to let him know that his code should be updated. The idea is to allow outdated syntax by the LaTeX compiler but ...
2
votes
0answers
103 views

Different .dvi file depending on how do I compile .tex file

I'm using TeX Live 2014 with kile as the editor. Usually I compile .tex files using kile's compilation button. There is no errors and no warnings, the output is complete. When I compile the same file ...
2
votes
0answers
120 views

Can I reduce the timeout for compilation?

I'm writing a document with many pictures using the tikz package. A small error in these often do not make compilation fail outright, but rather time out. (Example from ...
2
votes
0answers
155 views

Eps file looks funny in compiled pdf

I'm trying to include an eps file in my tex file. The tex file compiles fine, but the image in the pdf is only a small part of the actual image. The strange thing is that there are other eps files ...
2
votes
0answers
450 views

Tex Writer on iPad

I've just purchased Tex Writer for an iPad Air, I synced it with my Dropbox account, downloaded a .tex file, hit the play button (which I assumed is for compiling) and nothing happened. Am I missing ...
2
votes
0answers
87 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
2
votes
0answers
128 views

could not start the command or log file not found

I get the error could not start the command when compiling with Quickstart and I get log file not found when compiling with PDFLaTeX. Can any one help me with this issue? Please, see the screen ...
2
votes
0answers
418 views

Encoding compilation problem with Bibtex Texmaker and LinuxMint

I had absolutely no problem until my last compilation, and I got no idea why I got this error now, because I didn't absolutely touch this line of code nor this page... Here is the error I get : ...
1
vote
0answers
19 views

How can I get pdflatex to perform multiple passes when compiling a document?

I have a number of files requiring several compiler passes because it has a table of contents. I usually set this up in my TeX editor, Latexian, without going through the command line; but now I'm ...
1
vote
0answers
45 views

Different latex compilators don't get files and folders right

I'm working on my thesis and I decided to do it in LaTeX. I was using an amazing online service, ShareLatex, that allowed me to compile and edit my projects wherever I go (I use several computers in a ...
1
vote
0answers
34 views

latex, texmaker

I'm new on latex and I'm using texmaker. To teach myself I just followed the instructions I had from a video course on youtube and I tried it on my personal computer. First of all I created a .tex ...
1
vote
0answers
29 views

PdfLatex build does not find .aux file

I am building a very simple file in Latex. I am using TexMaker and my quickbuild settings are: PdfLatex + BibLatex + PdfLatex (x2) + View Pdf. When I run the quickbuild, I get an error: ! I can't ...
1
vote
0answers
26 views

Error after installing animate and now unable to compile! Is there a way out?

Please can someone help? Two error messages ! LaTeX Error: Two \documentclass or \documentstyle commands.See the LaTeX manual or LaTeX Companion for explanation.Type H return> for immediate help.... ...
1
vote
0answers
70 views

LaTeX file compiles on my machines, but not through the arXiv process

I have been trying to understand the error log given to me by arXiv when trying to process my LaTeX file, but I don't understand what is wrong. Here is the log: http://pastebin.com/6mxULcmC The ...
1
vote
0answers
39 views

Can I supply multiple compilation flags to the ConTeXt binary?

I can only provide one (1) compilation flag to ConTeXt binary via a commented line at the top of a ConTeXt input file. input.tex % engine=luatex \starttext hello, world \stoptext compile input.tex ...
1
vote
0answers
57 views

How to solve error in latex beamer compilation

When I was making my presentation using LaTeX and Beamer, suddenly I found an error in compiling: Text line contains an invalid character. Line number is given and it shows the error is in the ...
1
vote
0answers
20 views

Lyx compiling hangs

I'm running lyx with MikTex on my Mac laptop, and it's being really weird. I have a pretty long study guide that I've been making, but every time I go to compile it, my Lyx hangs and my computer ...
1
vote
0answers
25 views

Subfigure slow compilation

I'm using graphicx and subcaption to have 4 images arranged in a two-row grid, three at the top and one at the bottom. The problem is the latex file takes around 50 seconds to compile in a Win10 ...
1
vote
0answers
45 views

Can't compile with subfiles. Error File not found

I've a "main.tex" at the file "/main" divided in chapters, each chapter have sections. All chapters and sections have themself files. In the document "main.tex" call the chapters with the command ...
1
vote
0answers
97 views

File QtGui4.dll missing

I am using MiKTeX 2.9 and want to prepare presentation in beamer. My Latex works nornally when writing articles, however when trying using \documentclass[final]{beamer} \end{document} I am ...
1
vote
0answers
111 views

I can't get TeXworks to work

I installed the basic Miktex 2.9 Version (64-bit) on a new Computer (Windows 10). I opened 'new from template', chose 'Basic LaTeX documents' and then 'article.tex'. When I want to compile the ...
1
vote
0answers
106 views

Using TexStudio and TexLive — Error: Could not start command

I'm fairly new to LaTex, and I'm having some trouble getting it up and running on my computer. I just installed TeX Live and TeXstudio 2.10.4 on my computer (which is running Windows 8). In TeXstudio, ...