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

1
vote
1answer
2k views

How to make a PS file form a TeX document with graphics ?

Could someone explain me how to generate a PS file from a TeX file. I have included some graphics in my TeX file. I used graphicx package. I am using TeXLive Thank you.
8
votes
1answer
751 views

Why cannot I compile `\documentclass{minimal}\document . \enddocument` ?

Why cannot I compile the most minimal code below? \documentclass{minimal}\document . \enddocument
9
votes
2answers
2k views

Typeset single chapter from book

I am working on a multi-chaptered document, tied together with a main tex file that pulls the chapters in via \include. To build the entire document, in its current draft form, can take upwards of ...
19
votes
3answers
49k views

Undefined citation warnings

When I compile my document I get warnings of the form: Package natbib Warning: Citation `xxxxx' on page y undefined on input line z. This problem does fix itself eventually when the compiler ...
2
votes
1answer
840 views

How to manage a document with a huge number of PSTricks figures?

I am writing a mathematics book that makes use of a huge number of PSTricks pictures. For the sake of re-usability and maintaining separation of concern, I always put the self-contained PSTricks code ...
0
votes
1answer
148 views

KDE Template Header not displaying

The KDE template won't display the .png image file. I haven't changed anything from the stock settings. I wanted to give the template a whirl, but all I see is a label called oxygen-header for a ...
13
votes
3answers
4k views

How do I choose which sections to compile from a LaTeX document?

Is it possible to compile a LaTeX document but only include one section and its associated tables and figures? I have two cases for which this would be useful: I would like to provide the Methods ...
2
votes
2answers
7k views

Some strange errors when moving from MikTex on windows to Ubuntu TeX.

I have some tex code that I used to compile successfully (actually, with some 3 non-important warnings) on Windows using MikTex. When I try to compile it on Ubuntu using: tex composition-body.tex I ...
9
votes
1answer
7k views

Compile LaTeX with BibTeX and glossaries

i need a little of help here. Till now wat I now is that to compile a latex into a pdf with bibtex references i need to execute the next sequence: 1. pdflatex document.tex 2. bibtex document.tex 3. ...
2
votes
1answer
3k views

Tikz problem - compilation seems to go on forever!

I am trying to compile this not-too-complicated figure, but pdflatex and latex both seem to be taking forever. They have never completed successfully even after multiple attempts and waiting for upto ...
8
votes
2answers
3k views

Should I always specify -sPAPERSIZE=a4 when invoking ps2pdf for paper size other than A4?

When I compile a document with paper size other than A4 as follows: \documentclass{scrbook} \usepackage[A6paper]{geometry} \begin{document} something \end{document} using latex-dvips-ps2pdf ...
15
votes
2answers
2k views

What are the pros and cons pertaining to “latex -> dvipdfm” versus “latex -> dvips -> ps2pdf”?

There is another option to produce PDF actually, i.e., using pdftex. But let's omit it in this topic. I usually do "latex -> dvips -> ps2pdf" to get pdf output. My LaTeX input file contains eps ...
4
votes
1answer
755 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
771 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 ...
83
votes
9answers
14k 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
341 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
339 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
546 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
679 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 ...
10
votes
1answer
59k 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). ...
66
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
344 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
640 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
338 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 ...
216
votes
20answers
121k 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 ...
68
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
957 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
517 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 ...
58
votes
10answers
15k views

How can I speed up LaTeX compilation?

The slowest part is a dozen of diagrams in TikZ.