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

11
votes
0answers
489 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
402 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 ...
6
votes
0answers
107 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
86 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
196 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
54 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
61 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
21 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
106 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 ...
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
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
315 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
405 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
73 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
23 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
148 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
51 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
63 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
165 views

Winedt compilation problem

I have a file in LaTeX format. The problem is the file does not accept any changes in the text and gives the same PDF file. I have used Winedit to compile it but the same problem occurs. Please see if ...
2
votes
0answers
52 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
97 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
141 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,...). ...
2
votes
0answers
65 views

Slow compilation without sudo

With any *.tex file, even with almost empty template, tex, latex, pdflatex commands takes ages to compile it. strace shows excessive amount of stat calls to all the files in my home directory, which ...
2
votes
0answers
84 views

Unknown graphics extension

I have inserted a .wmf (Windows Metafile) into a Scientific Workplace document. Then I tried to convert it to pdf using MikTex 2.9. I am getting this error message: ! LaTeX Error: Unknown graphics ...
2
votes
0answers
3k 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
92 views

Timed out compile unless I delete bibliography

I have a document that won't compile unless I delete the bibliography. All of the subfiles compile individually (but they don't refer to the bibliography file). It was working fine for weeks, and all ...
2
votes
0answers
58 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
94 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
104 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
134 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
381 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
81 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
120 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
373 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
6 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
17 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
25 views

Error After Updated Context ?

I have a problem again with Context after updated third modules, like this : Command Line: C:\context\tex\texmf-win64\bin\context.exe --synctex=-1 "vektor.tex" Startup Folder: D:\Master ...
1
vote
0answers
19 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
33 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
59 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, ...
1
vote
0answers
172 views

LYX 2.1.4 and El Capitan: Error converting eps and PDF

I installed LyX 2.1.4. on a Mac with El Capitan. When I insert a pdf or eps figure, LyX displays an error in converting the file; accordingly I can't see the figure in the software. The output PDF ...
1
vote
0answers
39 views

Recognizing TiKz elements from compiled source

I want to create (yet another) editor for TiKz pictures. In my editor I associate to each TiKz package the possibility of creating "TiKzObjects", (e.g.) archs or nodes. From each TiKzObject I could ...
1
vote
0answers
69 views

file.DVI No such file or directory

I use MekTeT2.9.7521 and TexMaker 4.5 I created a LaTeX file and I compiled it many times, and it was run perfectly.After that I was opening the pdf file from the folder where the compilation files ...
1
vote
0answers
20 views

How to Compile with Embedded Font in Latex and Preserve Figures?

Using kile in linux platform and IEEE Transaction document type. I need to include some figures from matlab eps format, with complicated formattings inside the figures. So I am using a command like ...
1
vote
0answers
24 views

Texstudio stopped being able to build the pdf files

I worked on my Macbook Air for sometime using Texstudio when suddenly it can no longer build the PDF files and I am uncertain why, I have tried updating, I have tried looking around and quite frankly ...
1
vote
0answers
31 views

Compilation Emergency Error due to preamble (ShareLatex)

I'm fairly new to Sharelatex but I've made a fourth semester project in it before but this time the preamble seems to not be working at all even though I copied the exact sources from my fourth ...
1
vote
0answers
61 views

How to add more sty and cls locally?

Please be warned, despite this sounding very similar to Where do I place my own .sty or .cls files, to make them available to all my .tex files? it is a different problem. I need to generate PDF as ...
1
vote
0answers
46 views

Prevent TexWorks from saving after compiling

I'm going to tell you what I need/want (1) and what apparently TeXWorks does (2): I need Texworks to compile files and not overwrite the .tex file. I don't mind if it creates another .dvi or .pdf ...
1
vote
0answers
52 views

The garamondx font will not allow a PDF to compile

I am using the following commands to try and use the garamondx font in my document, but there is an error ("fatal error occurred, no output PDF file produced") when I try and quickbuild my document in ...
1
vote
0answers
121 views

How to use pythontex.py from TeXnicCenter?

I have installed Windows 7, MiKTeX 2.9, TeXnicCenter 2.02 stable and Python 3.4.1 (distribution pyzo2015a). I use latex pythontex.ins form cmd to install the package pythontex: . It seems to ...