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

39
votes
0answers
2k views
+50

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and I noticed that it takes long to process this part of the file. Today, I came across this website, which proposes ...
8
votes
0answers
339 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
72 views

Why is there a different font thickness if compiling differently?

I've noticed that the text looks different if I compile a file via latex,dvipdf or via pdflatex, for example, consider this .tex file: \documentclass{article} \begin{document} Prueba de texto para ...
6
votes
0answers
346 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 ...
6
votes
0answers
173 views

What options to use with pdflatex and when

Reading this question arara: show warnings only in the last compilation step made me realize that I can probably save some compile time by changing the options I use with pdflatex. For a "typical" ...
5
votes
0answers
152 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
58 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
23 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
285 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
356 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
41 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
75 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
123 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
47 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
67 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
56 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
60 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
111 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
272 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
71 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
114 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
287 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 : ...
2
votes
0answers
412 views

TeXnicCenter MakeIndex and BibTeX error: Compile not working

This might seem like a duplicate but from what I can tell it's not. I have looked at the prior pages and tried the solutions offered with no change in results. My project works fine on my desk top ...
1
vote
0answers
28 views

Compilation order behind Texstudio

Until a few days ago, I only ever used Texstudio (on windows) to create LaTeX documents, relying entirely on the build and compile button to sort everything out for me. I've been trying to understand ...
1
vote
0answers
41 views

Suddenly not compiling (Texworks, pdflatex)

I work with Texworks compiling pdflatex. My document used to compile perfectly until now, when it just stopped compiling without any errors (well there are some warnings but nothing serious) and I do ...
1
vote
0answers
44 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 ...
1
vote
0answers
27 views

LaTeX Error: Environment DoxyRefList undefined. DoxyRefList

Im trying to generate pdf with doxygen. Already I have tex file generates, like "refman.tex". I can't compile with latex, or pdflatex. Here is the obtained error: *latex refman.tex This is pdfTeX, ...
1
vote
0answers
29 views

Error: Missing } inserted after using package {tocloft}

The compiling was fine before I added \usepackage[subfigure]{tocloft}. But Once I used it, the error showed as: ! Missing } inserted. <inserted text> } 1.60 ...
1
vote
0answers
23 views

texnicCenter custom build

is there a possibility to setup custom build for texnicCenter? Now all compilation is done using custom make/build cmd bat, however it would be much more convenient to have all this in texnicCenter.
1
vote
0answers
47 views

xelatex my_file.tex is not working through php's exec (no pdf)

I've tried everything from using xelatex on it's own: xelatex my_file.tex , to using both: xelatex -no-pdf my_file.tex xdvipdfmx my_file.xdv and also creating a .sh file with the same commands ...
1
vote
0answers
36 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 ...
1
vote
0answers
78 views

No pdf in Latex compilation even though the encoding is correct

EDIT 2: LINK TO DOWNLOAD THE tex FILE: http://www.mediafire.com/download/a2aaczrqzobv1q2/send.zip I have a .tex file whose preamble is this: EDIT: ...
1
vote
0answers
58 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 ...
1
vote
0answers
41 views

When compiling with XeTeX, why do some letters become stretched and warped?

When compiling with XeTeX using the Helvetica font, some letters become verticaly stretched (e.g: f and capital letters), some become generally bigger (e.g: j), brackets become slightly unaligned from ...
1
vote
0answers
745 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 ...
1
vote
0answers
56 views

texstudio shows no errors

so when I hit the compile button or even build&view, texstudio will only display the pdf if there are no errors. It will not however, tell me where the errors are, let alone what they are. ...
1
vote
0answers
70 views

Bad math delimiter in Scientific WorkPlace

I have a .tex file that I created in Texshop, but I need to open and compile it into pdf in Scientific Workplace. It can compile no problem in Texshop, but I receive the Bad math delimiter error when ...
1
vote
0answers
169 views

revtex4 - AIP Review of Scientific Instruments template - Abstract does not have right-margin

I am writing a paper for AIP's RSI journal and am using their template (locater here: http://rsi.peerx-press.org/html/rsi/rsi_latex_template.html). In the output, the abstract does have a left margin ...
1
vote
0answers
168 views

How to use LuaLaTeX at WinEdt?

I have a problem " How to use LuaLaTeX at WinEdt ? And my MWE : \documentclass{article} \usepackage{luacode} \usepackage{tikz} \begin{document} \luaexec{ tp=tex.print ...
1
vote
0answers
46 views

tex file is badly compiled after upgrading windows version

I have been using latex for years, currently I have TexStudio editor and MikTex 2.9 for 64-bits OS. My operating system is Win7. My laptop got morally old, so I decided to get a new one which has ...
1
vote
0answers
51 views

Error compilling with Xindy ?

I try compilling Xindy document at LaTeX and my MWE like this : \documentclass{article} \usepackage[xindy]{glossaries} \makeglossaries \newglossaryentry{gloss}{ ...
1
vote
0answers
81 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 ...
1
vote
0answers
107 views

Add timestamp to generated document

Is it possible to add timestamp to the pdf file generated from the latex or lyx file ? To clarify, let us assume we have a file named demo.tex . When we compile , it should compile a pdf labelled ...
1
vote
0answers
103 views

How to make listing program ConTeXt at LaTeX ?

I want make listing program Context at LaTeX, my MWE like this : \documentclass[]{article} \usepackage{listings} \usepackage[dvipsnames]{xcolor} \lstset { frame=single, framesep=\fboxsep, ...
1
vote
0answers
104 views

Upgraded to Mavericks, Changed PATH, Still Not Working

I'm using Sublime Text 2 to compile and am receiving this error: Attempted command:latexmk -cd -e $pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %S %O' -f -pdf mentorship program.tex ...
1
vote
0answers
114 views

Auto-Compile after any modification in WinEdt

Is there any way to make WinEdt to automatically re-compile after any modification in TeX file? I know that it is possible to do it using third-party codes like it is explained here: Why can Bakoma ...
1
vote
0answers
49 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 ...
1
vote
0answers
56 views

No errors after copying

While i am editing a .tex file , when i compiles it is showing error . At that time when copy the same code in to a different named .tex file , then new .tex file is showing no errors on ...
1
vote
0answers
1k views

Cannot compile latex on Ubuntu 14.04

I used Ubuntu 14.04. I install latex live full: sudo apt-get install texlive-full I typed: pdflatex file.tex and get this error: ! Undefined control sequence. \GenericError ... #4 \errhelp ...
1
vote
0answers
23 views

Disable printing of fonts/packages during compilation - from the compiled file

I just read this: Disable printing of fonts/packages to STDOUT and I was wondering whether the same could be effected somehow from the .tex file being compile (probably you would want to do this ...