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

21
votes
0answers
714 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
451 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
116 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
73 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
93 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
235 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
64 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
153 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
65 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
93 views

No counter defined error

When I try to compile in my laptop a (synced) tex file wich is perfectly compiling in my desktop computer I get the message: "! LaTeX Error: No counter 'd' defined." I reinstalled and updated MikTeX ...
3
votes
0answers
24 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
59 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
344 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
418 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
79 views

How to compile only an specific chapter if all chapters are in the same file?

On beamer we can use \includeonly{label_of_frame} or when we split in several .tex files we can use \include. So is there anything similar of \includeonly for reports with chapters? Obs.: All ...
2
votes
0answers
52 views

Texstudio compiling time

I have been using TexStudio for the past month and very much enjoy the program. I recently ran a 20 page long manuscript with 7 diagrams and 4 tables. Till about a couple of hours ago it was working ...
2
votes
0answers
40 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 ...
2
votes
0answers
20 views

use latexmk with jobname option for compilation and rubber for log parsing

I use following command for compiling, so all files created during compilation is stored under build_files: latexmk -pdf -interaction=nonstopmode -jobname=./build_files/thesis thesis.tex Here I've ...
2
votes
0answers
57 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
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
114 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
76 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} \usepackage{...
2
votes
0answers
38 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
678 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
68 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
111 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
60 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
72 views

include picture with output directory option pdflatex

I'm trying to compil latex files from an external directory using output-dir option because some *.sty files are in my LaTeX directory but not in my current directory. The command I use is like this :...
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
61 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
105 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
126 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 https://www.writelatex.com/help/...
2
votes
0answers
157 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
472 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
129 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 shot.
2
votes
0answers
428 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
15 views

TexMaker 4.5 version does not run Quick Build and gives error message

I have just downloaded and installed TeXmaker 4.5 version on my new laptop (Windows 10). When I try to run Quick Build (Key F1), I get the error message: "Could not start the command. pdflatex-...
1
vote
0answers
30 views

Help with setting Winedt 9.1 version

I would like some help in Winedt setup. I use the Winedt 9.1 version and in the others programs like that (Tex center, tex studio), when I compile some file, the program open the pdf file in the page ...
1
vote
0answers
26 views

\endframe error when using \textrm in Beamer

I have been using Beamer to write a presentation and have found strange behaviour when using \textrm in the equation environment. I write the following: \begin{frame}{Individual Wealth Processes} We ...
1
vote
0answers
22 views

compiling problem pdflatex -synctex=1

I formated my laptop so after reinstalling miktex and texmaker I can't compile my files, this error message shown up: this is the test file I compiled: \documentclass[10pt,a4paper]{article} \...
1
vote
0answers
23 views

Error : could not start the command : pdflatex -synctex=1 -interaction=nonstopmode

I have Ubuntu 14.04 , and a Texmaker. Trying to to compile: \documentclass[11pt]{article} \begin{document} s \end{document} if i compile this file, the following error appears: Error : could ...
1
vote
0answers
43 views

Lualatex starts compiling but never finishes

I am trying to compile a standalone document with a lot of PGFPlots/Tikz code, making figures for a report. I am compiling with LuaTeX using texstudio (version 2.11.0). The process starts, but nothing ...
1
vote
0answers
27 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
50 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
35 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
41 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
83 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 ...