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

2
votes
0answers
2k views

Perl interpreter error appearing out of the blue [closed]

I am using TeXworks on Windows7. About an hour ago, I was happily working along and compiling documents just fine. Now, suddenly, when I try to compile anything, I get this error: latexmk.exe: The ...
1
vote
0answers
883 views

latex compiler hangs, no error message shown [closed]

When I am compiling my .tex file using Kile GUI, if there is no syntax error in my .tex file then it works properly and show a message that there is no error. But latex compiler hangs if there is ...
2
votes
1answer
334 views

Using checksums to determine completion of compilation

Before preparing a document for printing, I use a BASH script, like the following: #!/bin/sh xelatex document.tex % compile 1 makeglossaries document xelatex document.tex % compile 2 xelatex ...
23
votes
3answers
1k views

What are the situations where you have to compile a document more than once?

You have to compile a file twice to get the desired output in the accepted answer to Lineno for 2 column. The accepted answer to How can I avoid compiling twice? provides a way to avoid compiling ...
8
votes
1answer
3k views

How to fully build with Rubber?

How do I do a full build with rubber that does the equivalent of latex foo bibtex foo makeindex -s myindex.ist foo latex foo latex foo dvips foo ps2pdf foo The files I am using are foo.tex ...
1
vote
0answers
571 views

Compilation problem with WinEdt [closed]

I am writing my PhD thesis with WinEdt and recently started to see the following error message. I didn't edit any settings nor change anything in the configurations. Can anybody help? Runaway ...
10
votes
1answer
652 views

SyncTeX points to a wrong location in source or preview document

I have the following pretty simple document: \documentclass[11pt]{article} \usepackage{xltxtra} \usepackage{fontspec} \usepackage{amsmath} \usepackage{polyglossia} \setmainlanguage{russian} ...
4
votes
0answers
4k views

pdflatex hangs during compiling (every 2nd run) [closed]

Newly, it frequently happens that pdflatex hangs during compile. The system: TeXLive 2010 (yes, I know that 2011 is out already) MacOS X 10.6.8. Texstudio as editor Currently, I'm compiling in ...
17
votes
1answer
4k views

Why can Bakoma process .tex files so fast?

Bakoma is a LaTeX Editor which has the real-time preview on Windows. On Linux, one has Gummi which has a similar feature and on Windows, I use WinEdt with Sumatra PDF together with an AutoIt script to ...
52
votes
7answers
14k views

Conditional typesetting / build

Let's say I have .tex file which is a set of problems and solutions, of which I want to make two pdf files, one which includes the solutions and one which doesn't. so I need to build the .tex file ...
6
votes
1answer
1k views

How can I use the Vim LaTeX-Suite multiple compile option with BibTeX and the -aux-directory option?

I have a document composed of several subfiles and so have used the -aux-directory command to put all of the temporary files in a subfolder, 'auxdir', to keep my working folder clear (and me sane). I ...
0
votes
1answer
562 views

Bibliography compilation error with biblatex

After starting to use biblatex library from bibtex files can not be compiled any more. Here is my tex file: \documentclass{article} \usepackage[style=authortitle-icomp,natbib=true,sortcites=true, ...
2
votes
2answers
3k views

How to prevent TeXShop from making .aux, .syntec.gz and .log while compiling? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. I'm not a super-user of LaTeX, I only use it for small reports with lots of maths. I often have to do it with other ...
33
votes
2answers
7k views

Understanding the Log file

I'm getting some cryptic (for me) errors and warnings when I compile. On the advice of darn near every internet resource I could find, I dug into the .log file. The trouble is, I don't know how to ...
10
votes
1answer
2k views

How to programmatically detect if a LaTeX package is installed?

I am writing a program, and I want it to do different things depending on which LaTeX packages have been installed. My current solution is to automatically generate simple .tex files that \usepackage ...
2
votes
1answer
452 views

Same preamble in 2 files causes pdflatex to crash in just one

I was compiling two different files with the exact same preamble. The important thing is that I'm using together scrbook and classicthesis (with also classicthesis-preamble loaded) but when I compile ...
0
votes
1answer
195 views

How to give arguments to a tex file during compilation?

I have a file called main.tex, which looks like this: \begin{document} \input{a.tex} \end{document} I want to know if it is possible to have it take this file a.tex in argument, such that I could ...
37
votes
4answers
1k views

Document requiring infinitely many compiler passes?

It is an unfortunate reality that one must compile a LaTeX file several times in order to get all labels and citations correct. As far as I know, one should go on compiling as long as TeX warns that ...
3
votes
2answers
5k views

XeTeX compiling

How can I create a PDF file from .tex file using xetex.exe? What should I enter to console? I tried different combinations like xetex -pdf filepath and so but it doesn't work.
13
votes
4answers
535 views

How to detect and condition based on hostname

How do I construct a conditional statement based on the hostname of the compiling computer in LaTeX? For example: \ifhostname{mymachine} \dostuff \else \dootherstuff \fi Why: I am working with ...
2
votes
1answer
1k views

How to make Vim LaTeX Suite show errors when compile

Compiling TeX with command : silent call Tex_RunLaTeX() The gvim window turns grey when there are errors. One needs to press Enter for each error to continue. It will be better if the error ...
18
votes
3answers
5k views

How can I avoid compiling twice?

Sometimes I need to run compile twice (eg when I use lastpage). Is there a way to set things so TeX knows that there is need for second run and do it automatically? I use Texmaker.
3
votes
1answer
867 views

Speed of LaTeX compilation: Linux versus Windows 7 [closed]

Is it everybody's experience that LaTeX documents compile much more slowly on Windows 7 than on Linux generally, all things being equal? Is speed of compilation affected by the LaTeX editor I use, or ...
7
votes
1answer
7k views

TeXlipse doesn't generate any pdf file

I've just installed TeXlipse using the simple installing option (Install new softwares -> http://texlipse.sourceforge.net/) on my Mac OS. I create a new LaTeX project, select output format = pdf, ...
8
votes
2answers
2k views

Compiling latex directly from R

I want to find a programmatic way of converting a .tex latex document to pdf. What I usually do, and this works in most cases, is to use: tools::texi2dvi(latexfile, pdf = TRUE, clean = TRUE) ...
2
votes
1answer
1k views

Beamer, Beamerposter and the TUGraz theme: compilation issue

When trying to compile using the Beamer class and the TUGraz theme I get the following error message: LaTeX Error: There's no line here to end. This is in Windows Vista (no goood, I ...
0
votes
1answer
6k views

How do I speed-up latex compile time? [duplicate]

Possible Duplicate: Speeding up LaTeX compilation Currently am using Miktex and TexNicCenter to create pdf files including vector(.eps) and raster(.png) images. Compile time is about 6 ...
7
votes
4answers
577 views

Complex objects delay compiling time - how to make latex faster for draft versions?

Working on my phd thesis has become a nightmare since I tried to insert some very large (sideways)tables with many columns and cells all containing citations. A complete compiling run with latexmk ...
2
votes
1answer
2k views

No building file; No LaTeX=>PDF

I installed MiKTeX 2.8 and TeXnicCenter on a friend's PC. There seems to be a quite weird issue. There seems to be missing the option "LaTeX=>PDF". Clicking on the arrow to select the output file ...
2
votes
1answer
884 views

How to debug hanging xetex compilation

I'm experiencing a weird problem. After updating my MikTeX installation my thesis document no longer compiles. Compilation (with xelatex) hangs and takes up all of one of my CPU's cores. However, if ...
6
votes
1answer
6k views

Why does \pageref{LastPage} give me “??” rather than page number of the last page?

I am trying to use the lastpage package in order to have footers with the page number given in the form "Page x of y", where y is the page number of the last page. This should be straightforward, but ...
17
votes
4answers
2k views

Running new command only if it exists

How do I get LaTeX to run a command only if it exists? I need something like: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} % \newcommand{\mytitle}{Title Test} \begin{document} \if ...
39
votes
6answers
3k views

Does anyone place anything after \end{document}?

Just like http://programming.itags.org/tex/137196/ I have noticed that everything after \end{document} is ignored. What is the point of \end{document}? It seems that the compiler could just read until ...
15
votes
3answers
678 views

Why does the use of microtype and xfrac lead to a long compile time?

While I was discussing another issue I came across this problem: I included the xfrac package and the compile time of my document 100folded. After playing around I found out that microtype caused the ...
2
votes
1answer
1k views

How LaTeX compiler is written

Looking for some introductory materials on LaTeX compiler. I would like to know more about how a LaTeX compiler is built
0
votes
2answers
1k views

Problem with ifxetex.sty

While compiling(pdflatex) with the following code, I am asked to install ifxetex package everytime. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lipsum} \usepackage{geometry} ...
41
votes
7answers
6k views

Speed up beamer compile time

Is there a way to speed up the compile time? I have a, I would say, medium-sized presentation and it takes 10+ seconds to compile. It isn't too much, but it's annoying. Especially since I'm performing ...
13
votes
2answers
18k views

How can I fix the error “GUI framework cannot be initialized” with TeXnicCenter and MiKTeX?

I don't know what I've done, but all of a sudden I am unable to compile any document which uses the geometry package. Minimal (non)-working example: \documentclass[11pt]{article} ...
18
votes
4answers
1k views

Is there a way to find out how long it took for my document to compile?

I was thinking it'd be nice to know how much time each package I load adds on to the total time between clicking "compile" and seeing the PDF come up on my screen, so that I can figure out which ones ...
3
votes
2answers
8k views

How to preview LaTeX equation or document in TexMaker?

My code: \begin{document} \begin{equation} 2*x+y \end{equation} \end{document} I found that F2 can compile as LaTeX. Compile result: Process started Process exited with error(s) ...
2
votes
1answer
398 views

Why compilation with a lot of \lstinputlisting is so slow?

I'm using a lot of \lstinputlisting in my document and the compilation of it is really slow. Why it takes so long? How could I make things better?
13
votes
4answers
7k views

Increase LaTeX capacity

I am trying to compile a TeX file, but after a long time I got this message: l.3593 ...temp.png} If you really absolutely need more capacity, you can ask a wizard to enlarge me. Here is how much ...
42
votes
4answers
11k views

LaTeX code sniffer and/or beautifier?

I'm looking for a LaTeX code sniffer and/or code beautifier, because I'm creating a CI server for my LaTeX books and I wanted a few things. :D
5
votes
1answer
10k views

How to use 'makeglossaries'?

I try to make a glossary with the glossaries package. I understand that I have to run makeglossaries to display the glossary. (according to this link: "Processing the file will have to include a call ...
1
vote
1answer
1k views

Each time that I compile, kile creates another Pdf with same file

I read this question and I know that this not happens, if I use pdf viewers like evince or okular, but now I use FoxitReader because is lightweight and because I have Fedora 15 spin with LXDE and ...
35
votes
6answers
4k views

What reasons (if any) are there for compiling in interactive mode?

I'm a command-line junkie and often compile with a simple pdflatex filename.tex from a terminal, and I forget (or am too lazy) to type -interaction=nonstopmode or interaction=batchmode. Hence, when I ...
2
votes
3answers
3k views

LaTeX sourcefiles older than 5 years old. XeLaTeX fails

When compiling a LaTeX document with XeTeX, I get the following error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! You are attempting to make a LaTeX format from a source ...
0
votes
0answers
139 views

Looking for a web site or a tool to edit TeX and get instant preview in parallel [duplicate]

Possible Duplicate: Is there any way to get real-time compilation for LaTeX? There are some online TeX editors which allow to type TeX source, compile it and see the output. I am looking ...
2
votes
1answer
615 views

I do not know the key '/tikz/insert path'

Trying to compile this example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[remember picture,overlay] % A path that follows the edges of the current page ...
1
vote
0answers
350 views

Why does LaTeX change font each time I compile? [closed]

First time I compile the document the font in the entire document is the one specified for the section titles (larger than it should be in the rest of the document etc.) and some characters are wrong. ...