{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
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
543 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
686 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
731 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} ...
27
votes
6answers
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
699 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
337 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
752 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
2k 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
134 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
462 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
315 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
497 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 ...
8
votes
3answers
891 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
679 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
20k 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
290 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
679 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
982 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
959 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
215 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 ...
2
votes
1answer
15k views

In TeXnicCenter I'm trying to produce a PDF but no output is being created

Very simple really. I installed TeXnicCenter, Adobe Reader X and MiKTeX 2.9. Tried to build a code in the PDF format. I get 4 new files but no .pdf file. Yet another option listed as LaTeX => PS => ...
4
votes
2answers
634 views

Possible to avoid re-compilation of unmodified part of LaTeX document?

I have some TikZ code in my LaTeX document. Whenever I edit other parts in the LaTeX document, I recompile it. But repeating recompiling unmodified TikZ code can be time-consuming. I was wondering ...
1
vote
0answers
788 views

Compilation problem after running bibtex [closed]

I'm having the following problem: My document compiles properly before running bibtex. When I try to recompile after running the bibtex command it gave this compiling error: Runaway argument? ...
10
votes
3answers
2k views

Compiling a LaTeX document manually

I've created LaTeX documents before using 'nice IDEs' such as TeXnicCenter and have a little experience in general with TeX, however, now I'm wondering about creating one "manually". By that, I mean ...
1
vote
1answer
265 views

Passing listing-environment as option to command [duplicate]

I have a simple command which takes one argument. Now I want to pass a small listing-environment to the command. Here is the code: \documentclass{article} \usepackage{listings} \begin{document} ...
2
votes
0answers
2k views

thesis won't compile anymore! [closed]

I opened up my thesis this morning to compile and nothing happens! It worked fine Saturday. LyX hangs and when I exported to .tex and tried to compile with TeX Shop it also hangs. here is the console ...
10
votes
4answers
802 views

Implementation of a C compiler in TeX ?

Seeing the many things already done with TeX, I wonder if anyone has implemented a C (or C++) compiler in TeX. This does not seem too far fetched as an experiment. I do not expect great performance. ...
2
votes
2answers
4k views

Easiest way for installing and using pdfLaTeX on Windows

Installing and using pdfLaTeX is straight forward on Linux since you can select an install from the synaptic package manager and then use the command prompt. In Windows it seems a bit more complicated ...
3
votes
2answers
862 views

How to redirect SAS output to LaTeX?

I'm wondering how can the SAS output directly be redirect to LaTeX as we can do by using Sweave with R. Thanks
1
vote
1answer
184 views

Has anyone got a LyX 2 precompiled for Windows?

I've been trying to compile LyX 2 myself but I can't start the resulting executable (the Resources directory is missing a lot of subdirectories). I don't know what the problem is, I exactly followed ...
9
votes
1answer
422 views

Output quality of various compilation methods

I read from the LaTeX WikiBook that in order to achieve the highest quality output we should choose the shortest compilation route. However I found no clear explanation for this, except the vague ...
6
votes
2answers
268 views

Telling LaTeX where to compile to from inside your document?

Here is a hypothetical scenario. I want to make a beamer presentation and a handout for that presentation. I start my file as follows: \newif\ifhandout \handouttrue \ifhandout ...
13
votes
4answers
4k views

Having a LaTeX PDF display the date the document was printed, not compiled…

I have been looking around for quite some time trying to find a way for a PDF (created using XeTeX) to adjust the date accordingly by the date it was printed - not compiled. I am familiar with \date, ...
7
votes
1answer
695 views

Compiling partial documents (without document tags)

I am getting some colleagues to migrate from Word to LaTeX for technical documents, but old habits die hard. I am looking for a way to compile each LaTeX document partially without document tags, so ...
3
votes
2answers
908 views

Make use of two BibTeX libraries in one document

I am trying to make use of two bibtex libraries in the same document for my thesis: one for books (filename: literatur.bib) one for internet resources (filename: internetquellen.bib) but on ...
11
votes
3answers
1k views

How to disable the prompt on error?

When pdflatex can't compile a file, it drops me to a prompt. I've never used it and always try to get away from there as quickly as possible, usually generating a q.log file in the process. Is there ...
3
votes
1answer
1k views

LaTeX doesn't pick up changes to style file

I installed the widetext package and was happily using it until I decided to edit the style file widetext.sty. Happily, LaTeX immediately picked up the changes and compiled correctly. I then decided ...