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

4
votes
1answer
748 views

Can I compile .tex to .html from within AUCTeX?

Can I compile .tex to .html from within AUCTeX? What are the keybindings? Thanks!
8
votes
2answers
2k views

Is there any way to build a LaTeX document from a parent directory?

I've written a makefile for my current project which produces all deliverables (executable, written in C, and report, written in LaTeX). I have a directory structure whereby the Makefile and outputs ...
9
votes
2answers
4k views

Exit codes of pdfLaTeX

In the script I presented in this question I encountered the following problem. In case of a compilation error, I have to cancel the execution of pdflatex 3 times. This can be very annoying. I would ...
7
votes
1answer
4k views

Ignore compile errors

How can I set up a permanent compile loop that keeps trying even when there are errors? I'm using latexmk with a remote compile setup as discussed here and here. However, if I save a document with a ...
14
votes
1answer
767 views

Getting “You have to run LaTeX again to get the references right ” over and over again

on Ubuntu 10.04 with Emacs 23.1.1 and TexLive, writing a book (scrbook) spread over different files, I have the following problem: Doing C-c C-c in Emacs (the usual cycle LaTeX BibTeX LaTeX LaTeX) I ...
82
votes
9answers
13k views

Can one TeX file output to multiple PDF files?

I'd like to be able to create a TeX file that will output multiple PDF files with one compilation. I'm not even sure if this is possible. Here is the setup: I am writing dozens of cover letters for ...
0
votes
3answers
340 views

Is there a site where I can enter a latex expression, and it shows me an image of the compiled expression? [duplicate]

Possible Duplicate: Compiling documents online Hi, So I'm preparing a powerpoint slideshow and would like to add in some math expressions without creating a new latex document, copying the ...
2
votes
1answer
338 views

using easybmat and tikz packages together?

In continuation to this question, I was looking for a way to add nice diagonal lines inside a BMAT matrix to express a band structure of the matrix. However, a LaTeX file with both TikZ and easybmat ...
31
votes
3answers
6k views

Is there any way to generate custom errors/warnings in LaTeX?

I want something like \ifmmode\else\GenerateWarning{The command \backslash uzuka is supported only in math mode.}\fi, which is supposed to generate a warning "The command \uzuka is supported only in ...
5
votes
7answers
1k views

Is it possible to compile a *TeX document with a single command?

Let's say I have a document that uses cross-references and also bibtex/biblatex to manage the bibliography. Currently I need to run pdflatex + bibtex/biber + pdflatex to generate the final document. ...
11
votes
2answers
2k views

'Dummy' LaTeX environment

I have a big LaTeX file which I would like to compile so that certain environments like figure are not shown. To that end I wanted to make use of the renewenvironment command. But the facilities of ...
3
votes
1answer
541 views

How to use the amsmidx package to include multiple indices

I am using the gsm-l class file to write a small text. I want to have two indices at the end, one for names, and one for subjects. So, as instructed in the AMS instructions, I include then line ...
4
votes
1answer
148 views

Are there any ways to do control flow depending on the compilation method?

I would like to do something like \if{\pdflatex}{ \includepdf{file.pdf} } \if{\latex}{ \epsfig{file.eps} } Maybe this isn't the best example, but do control-flow solutions exist in LaTeX to ...
79
votes
6answers
9k views

Is there any reason to compile to DVI rather than PDF these days?

I appreciate that in the past, latex was faster than pdflatex, but computer speeds being what they are nowadays, I can't see any difference in how quickly documents compile... So, given that the end ...
3
votes
3answers
2k views

Suppressing error messages

I have a style sheet that has some problems. At this point I am just writing my paper and do not really care about \viiipt warnings and errors. So I need to press enter a million times to skip errors ...
4
votes
3answers
2k views

Get help on errors in TeXnicCenter

Sometimes, I get errors when I compile with pdfLaTeX in TeXnicCenter. Looking through the error logs, I get something like: See the LaTeX manual or LaTeX Companion for explanation. Type H ...
4
votes
2answers
674 views

Dependencies in Rubber?

I have several figures compiled independently into several pdf files. Rubber works great in their compilation. The main document is compiling great with rubber as well. How can I add dependency (if ...
1
vote
0answers
338 views

Better error reporting in Latex? [duplicate]

Possible Duplicate: Formatting the console output of Latex Is there a way to make Latex / PdfLatex less verbose? Basically I would like to only get warnings, errors and one line summary ...
21
votes
2answers
4k views

Speed up compilation by (pre-)compiling chapters separately?

I am writing a long document with many chapters. They are all included from a root document using \input{chapterX.tex} etc. Compiling everything takes pretty long. As a workaround to make compilation ...
14
votes
3answers
1k views

Compiling LaTeX straight to an image

This is probably going to sound like a strange request (trust me that there's a good reason for it), but is it possible to have LaTeX compile straight to an image file instead of to something like ...
9
votes
1answer
58k views

How to compile a LaTeX document?

Up until now, I've just been using LyX for all my LaTeX needs. Now I have a .tex file and I need to compile it (turn to pdf). How do I do this on Windows XP? Obviously I have LaTeX installed (MikTeX). ...
65
votes
11answers
12k views

Passing parameters to a document

I compile most of my documents via Makefiles which take care of the bibliography, indexes, etc. Often I'd like to compile different versions from the same TeX file changing only small things (e.g. a ...
6
votes
4answers
3k views

Dropbox & LaTeX compiling automation

I'm in the middle of a "drop a file here and compile it using LaTeX" project. I have a Dropbox and I would like to drop a .tex file in a specific folder and have a script that compiles it for me. I'm ...
27
votes
7answers
7k views

how to avoid bibtex error message “repeated entry” for an entry appearing in several bibtex files?

I am using several bibtex files, dedicated to several topics. But some references are common to several topics and then appear in several of my bibtex files. Currently, I am writing a document dealing ...
6
votes
2answers
342 views

Do commented out options slow down compilation?

My main TeX template has a whole bunch of commented out packages and options (so that when I need a package, I can just skim my preamble and comment out the right thing, rather than try and remember ...
2
votes
3answers
206 views

Mapping source code to page numbers in output

Is there a way to find out (from Tex) the page number corresponding to a particular location in the source file? Using a macro in the file at that location is fine. My motivation is that I'd like to ...
41
votes
6answers
6k views

How to make Latexmk use makeglossaries?

Is there a way to make Latexmk invoke makeglossaries (part of the glossaries package)? Specifically I want to use latexmk to compile a LaTeX document that uses the glossaries package to produce a ...
50
votes
8answers
7k views

Reducing the console output of LaTeX

When I run pdfLaTeX, I get very verbose output: (/usr/local/texlive/2008/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie s/tikzlibrarycalc.code.tex) ... Is there a script to soak up all the ...
10
votes
2answers
636 views

What is “TeX daemon” and why and how is it used?

Recently I've come across a question that asks about "TeX daemon" for Windows. I always thought that nature of TeX is compilation of document sources. Why would anyone use a daemon for that? So, ...
4
votes
3answers
336 views

Why is the wrong version of a package being loaded?

I was trying out Will Robertson's answer to this question and couldn't get it to compile correctly. Chasing through the log output, it seems that an old version of a package is getting loaded instead ...
54
votes
19answers
15k views

Is there any way to get real-time compilation for LaTeX?

I would really love to have a software or tool which provided real time compilation of my LaTeX document (to be able to see the final pdf or dvi document as I type the latex code), especially for when ...
212
votes
20answers
117k views

Is there any way to do a correct word count of a LaTeX document?

Often assignments (or even papers) have a word count limit. That is not a big deal when using Word, but I don't know how to do that using LaTeX. My solution has been so far to compile the document and ...
67
votes
8answers
16k views

What is the practical difference between latex and pdflatex?

I understand that some packages (like PSTricks) can't be used with pdflatex. Are there any other differences between these tools? Can we say that pdflatex is better if we don't care about ps?
6
votes
1answer
1k views

Automagically externalising PSTricks and TikZ pictures

My thesis currently has a few PSTricks and TikZ pictures. It takes a while to compile over here Scott says he has some scripts to automate externalising TikZ pictures. I'm looking ideally for ...
24
votes
3answers
946 views

Are there LaTeX performance profiling tools?

The most obvious way to speed up LaTeX processing is to split a large and complex document into smaller pieces. For example, Makefiles, \beginpgfgraphicnamed/\endpgfgraphicnamed when using TiKZ, and ...
2
votes
2answers
515 views

Is there a makefile system for LaTeX, etc? [duplicate]

Possible Duplicate: Tools for automating document compilation How do I handle building complicated and large LaTeX projects? Is there a makefile system (like GNU Make) or should I just ...
119
votes
25answers
18k views

Tools for automating document compilation

A lot of people write makefiles that say something like paper.pdf: paper.tex pdflatex paper bibtex paper pdflatex paper pdflatex paper To handle re-running TeX to ...
57
votes
10answers
15k views

How can I speed up LaTeX compilation?

The slowest part is a dozen of diagrams in TikZ.
165
votes
18answers
65k views

Compiling documents online

I have heard rumors that you can compile documents online, and more specifically that Google has a free online compiler, but I have never been able to find any. Is there a way to compile documents ...
2
votes
2answers
5k views

LaTeX document error: too many }'s [closed]

I have a latex document, which works fine but when ever I try to add in an image with a figure caption it gives me an error saying there are to many }'s. \begin{figure}[h!] \caption{A picture of a ...
62
votes
26answers
22k views

Real Time LaTeX? [duplicate]

Possible Duplicate: Is there any way to get real-time compilation for LaTeX? I'm looking for an application in which I can write pure LaTeX in one half of the screen and on the other half ...