{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
1answer
391 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
175 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 ...
32
votes
3answers
830 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
3k 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.
7
votes
4answers
296 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
791 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 ...
16
votes
3answers
3k 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
618 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 ...
5
votes
1answer
5k 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
965 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) ...
1
vote
1answer
846 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
4k 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 ...
6
votes
4answers
401 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
1k 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
692 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 ...
3
votes
1answer
3k 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 ...
15
votes
4answers
1k 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
2k 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
587 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
703 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
774 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} ...
29
votes
7answers
3k 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 ...
12
votes
2answers
13k 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} ...
16
votes
4answers
707 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 ...
2
votes
2answers
5k 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
343 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
3k 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 ...
33
votes
3answers
4k 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
3
votes
1answer
6k 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
776 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 ...
26
votes
6answers
2k 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
136 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
465 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
320 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. ...
10
votes
3answers
503 views

Shell escape after PDF is finished and closed?

I like to escape to the shell using \write18 at the very end of the compilation after the PDF file got completely written and was closed, so that I can use it as part the shell command. Is this ...
7
votes
1answer
7k views

Where can I find a list of the LaTeX command line options?

I am using MiKTeX 2.9 on Windows, and am working with TeXnicCenter. I can see in the build profiles that LaTeX can take command-line options, for instance: --src -interaction=nonstopmode Try as I ...
2
votes
1answer
1k views

Problem related to “hpdftex.pdf” [closed]

I am trying to use the following template for the CV. \documentclass[11pt,a4paper]{moderncv} \moderncvtheme[black]{classic} \usepackage[utf8]{inputenc} % personal data \firstname{Yu,} ...
2
votes
2answers
1k views

Hyperref links in bibliography do not work

I added the hyperref package and got some errors. Thus I deleted the auxiliary files and compiled again. This time there were no errors, and the links work except in the cites (bibliography), where I ...
9
votes
3answers
943 views

Producing different versions of a document

I am writing a documentation for a software environment which will be composed of several subfile put together using the \include command. The thing is, I would like to be able to output different ...
14
votes
2answers
2k views

Replacement for MiKTeX's texify in TeX Live

I used to use the texify command in MiKTeX on Windows. I would, for example, run a command like: texify --pdf --run-viewer file.tex which, as I understand it, would produce a pdf, automatically ...
2
votes
1answer
236 views

Which switches are necessary to be specified when invoking latex?

By default TeXnicCenter activates --src -interaction=nonstopmode. The following screenshot shows the other switches but --src does not exist there. Shortly speaking, What is --src for? Which is ...
4
votes
1answer
696 views

LaTeX compilation failure on Mac OS X from Python Script

I wrote a Python script to automate some LaTeX builds. Currently I develop/test on Mac OS X (did not try it on other UNIX flavors). The particular execution function which should compile the LaTeX ...
7
votes
1answer
21k views

How to create pdf with command line using MiKTeX?

I downloaded and installed MikTeX on my machine (Windows 7), then when I run the command: latex ex.tex the outputs were: ex.aux ex.dvi ex.log So my question is, what option could I use to ...
4
votes
2answers
293 views

Can TeX post-process the PDF it produces?

This is a follow-up to Can LaTeX be persuaded to produce text output?. Having discovered that pdftotext is the way to go, I'm curious as to whether it is possible to have TeX invoke that command on ...
2
votes
1answer
694 views

Change to class file not reflected

I am using a class file to help document my thesis. I need to make some basic changes and I therefore go and edit my class file. I save it and then in Texnic Center when I do shift+ctrl+f5 I do not ...
2
votes
4answers
6k views

How to compile a document with EPS images using TeXnicCenter?

I have all my input images in EPS format. I am using TeXnicCenter. When I use latex->dvi output profile, all of the EPS images show up fine. However when I want to take the final output by using ...
20
votes
5answers
993 views

Speeding up minted compilation

I've been looking into speeding up my pdflatex compilation time and it's lighting fast now. Only one thing's still very slow: compiling source code using the minted package. I was wondering if ...
1
vote
0answers
978 views

Beamer compilation error, ps error [closed]

I have a presentation in beamer and I've used the trick with overlays, the one I asked about here. And in other presentation everything worked. I compiled the document, first to dvi, and then to ps, ...
3
votes
1answer
216 views

Is pdflatex a one pass compiler?

I was wondering why pdflatex displays some references in the text as question marks the first time that the file is compiled? For instance, with bibliographies at the end of an article that are ...