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

32
votes
0answers
1k views

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 ...
7
votes
0answers
317 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
309 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 ...
5
votes
0answers
143 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 ...
5
votes
0answers
169 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
189 views

Automating Error Detection of pfdlatex

Background: I have numerous individual files that need to be compiled, so am using a script to do that with the following options: set PDFLATEX_OPTIONS = "\ --file-line-error \ ...
4
votes
0answers
55 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
269 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
349 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

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
56 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
43 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
106 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
237 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
69 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
110 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
258 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
389 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
13 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
28 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
25 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
69 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
42 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
39 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
366 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
59 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
84 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
150 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
44 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
46 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
74 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
96 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
93 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
94 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
93 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 ...
1
vote
0answers
141 views

Error R Sweave and Knitr Plugins at WinEdt 8.0?

I try a simple example document .rnw at WinEdt with R Sweave Plugin like this : \documentclass{article} \begin{document} \SweaveOpts{concordance=TRUE} \textbf{hello world} ...
1
vote
0answers
44 views

Unable to include chapter

I'm using \input command to compile six different chapters in one pdf file. But the output shows five chapters and sixth chapter is not at all compiled. ....preamble \begin{document} ...
1
vote
0answers
119 views

ERROR After Updated Modules at ConTeXt?

I have problem after update modules at ConTeXt and I can’t use module at my document before I can. My MWE from this link : http://downloads.ziddu.com/download/23836664/Vektor.rar.html You can see my ...
1
vote
0answers
34 views

Strange error when compiling in texmakerE

Recently I've started getting a weird error in Texmaker I can't understand. To make it worse, it seems to disappear at the slightest change. On the good side, it doesn't prevent compilation. On the ...
1
vote
0answers
89 views

Texmaker does not compile but indicates success

I am using a Texmaker-Miktex setup. Usually everything is working fine. My code is okay, I know that. But sometimes, if I click on compile, in the log file window, the success-indicating blue lines ...
1
vote
0answers
64 views

texi2dvi runs forever if the document contains references not in the .bib file

If I run the example below with texi2dvi (GNU Texinfo 5.2) 5381 [texlive 2012], it never stops. How can this be avoided? It's somehow strange. I used to have a lot of references in my files which were ...
1
vote
0answers
195 views

TeX Live not compiling from TeXnicCenter

Due to problems with psfragfig and MiKTeX I wanted to switch to TeX Live and TeXnicCenter instead (on Windows 8). However it does not compile even the smallest MWE in TeXnicCenter. I always get the ...
1
vote
0answers
162 views

Set up vim, latex for AGU template

On a Mac, I have been using vim-latex for a while and had set it up a while ago to output pdfs via the :ll command in vim (using pdflatex if I'm correct) and viewing the output via the :lv command ...
1
vote
0answers
855 views

Run Bibtex on aux files in subfolders, multiple OS

I have a complete framework for my PhD thesis based on classicthesis/arsclassica. Single chapters are located in Subfolders like this. main.tex Chapters/project1/project1.tex ...
1
vote
0answers
104 views

How to use StyleSlide at Simpleslides ? (ConTeXt)

I am very interesting use Simpleslides and My MWE like this : \usemodule[visualcounter] \usemodule[simpleslides][style=Swoosh] \setupTitle [ title={Simple Slides?}, author={Hirwanto}, ...