{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
191 views

Parts of XeLaTeX doesn't work after moving to LinuxMint

I one of my headerfiles, I used the command \setmathfont[]{XITS Math}, once I tried to compile the document as always with xelatex, I get the following error: ! Undefined control sequence. l.87 ...
6
votes
2answers
167 views

What is a function f(n) returning LaTeX code requiring exactly n compilations to yield stable output?

Is there a (simple) recipe for producing LaTeX code requiring exactly n compilations? (That is, I'm looking for an algorithm/function f(n) with domain {1, 2, 3, ...} and LaTeX code as its range.) If ...
8
votes
1answer
111 views

What types of code patterns will increase the number of required runs of the latex command?

It is known that references require an additional run of LaTeX and that these references may depend on BibTeX, which in turn depends on at least one previous compilation of the document source. I have ...
5
votes
1answer
455 views

How to precisely tell from log-file whether to rerun LaTeX

There is a bit of discussion in related questions about automated LaTeX (re)compilation (e.g., here and here) and elsewhere on the web on rerunning the latex command in order to resolve all ...
2
votes
0answers
177 views

no output with \usepackage{emp} [closed]

I'm trying to embed MetaPost graphics inside a LaTeX file using the emp package, with pdflatex. When I include the line: \usepackage{emp} %part 1 pdflatex doesn't produce any output (it says 0 ...
7
votes
3answers
279 views

Expanding a minted command inside a macro

I am currently trying to speed up the compile time of a document that uses minted. I would like to be able to have certain language features (and style) appear the same in both a minted environment ...
6
votes
1answer
192 views

Why would two apparently identical TeX installations produce different results?

I have XeLaTeX with TeXShop installed on two different machines. One compiles documents without a problem. The other throws weird errors. As far as I can tell they're set up identically, so I don't ...
6
votes
1answer
79 views

How to temporarily suppress image insertion when compiling?

There are some big images in my document and compiling is taking substantial amount of time. When compiling a tex file to a dvi (and subsequently ps and pdf), is there any way I can temporarily ...
2
votes
0answers
133 views

non centered slides with Prosper [closed]

I use MixTeX 2.9 with Windows. I have a problem when compiling with the Prosper document class. My code begins as follows: \documentclass[pdf,distiller]{prosper} \usepackage{amsmath} ...
0
votes
0answers
35 views

Biber Compilation Error, Redux [duplicate]

Possible Duplicate: Engines of Tex-Editors and Biber/Biblatex Encountering a problem discussed a few months ago (see Dummies Guide to Biber) but this time unable to resolve. MWE as follows, ...
3
votes
1answer
4k views

Using Terminal to run LaTeX commands

Since I always used TeXShop to compile my tex-files I did not have to run LaTeX commands via terminal (many macros like BibTeX, MakeIndex etc. are included in TeXShop). Now that I want to include an ...
5
votes
2answers
2k views

Why can't I get pstricks with auto-pst-pdf (and cropping) running on MikTeX?

\documentclass{minimal} \usepackage[pdf]{pstricks} \begin{document} \begin{pspicture}(-5.25,-5.25)(5.25,5.25)% \pscircle*[linecolor=cyan]{5} ...
14
votes
4answers
6k views

How to automate using biber in MiKTeX-TeXworks

I have MikTeX 2.9, 32-bit, Windows 7, all the latest updates are there. I'm using TeXworks ( pdflatex + makeindex + bibtex). When I use biblatex package with option [backend=biber] I have no ...
22
votes
1answer
1k views

Write to logfile

I want to write some things to the log file. What is the best practice for this? Is it \message{} or \typeout{} or what?
11
votes
2answers
2k views

Compiling a document with PGFplots processing only every x-th data point? [duplicate]

Possible Duplicate: How to select a finite number of samples from the file when plotting using pgfplot Compiling my document with many PGF Plots, each containing thousands of data points ...
6
votes
1answer
734 views

(La)TeX Web browser [closed]

I had an idea this morning and would like to share and to know if someone has already developed it somewhere! A Mozilla group is currently building a JavaScript Application able to transform any PDF ...
10
votes
2answers
406 views

latexmk / imakeidx interoperational efficiency

imakeidx and latexmk are two of my favorite utilities of all TeX-time, especially in the face of book-size compilations (super thanks @egreg and @John Collins!). Apart from ease of producing multiple ...
4
votes
1answer
258 views

How to compile a file in ConTeXt, but output the results to a text file?

I have some files which contains data with ConTeXt syntax, e.g. containing macros and instructions for special symbols, but no preamble, sections, or other features tying the data to any particular ...
0
votes
0answers
57 views

How to compose and compile separate .tex files into a single article/book? [duplicate]

Possible Duplicate: How can I divide my book into different project without repeating myself? I want to compose and compile separate .tex files without repeat the preamble in every source ...
4
votes
2answers
868 views

TeXworks + pdflatex + PSTricks autopp suffix problem

I have managed to make PSTricks work with TeXworks. However after compilation it adds -autopp to the basename of the pdf file, e.g. report.pdf becomes report-autopp.pdf. As a result TeXworks is not ...
2
votes
1answer
360 views

Easy way to find the location of a compilation error?

When I compile my project with pdflatex, I get to see at which line the error has occurred, but the file is it claims the error has occurred in is incorrect since it always just says that it has ...
2
votes
1answer
199 views

Homework generation [duplicate]

Possible Duplicate: Conditional typesetting / build I have a database of LaTeX homework questions like this: question1 question2 question3 etc Is it possible to create a flag to ...
3
votes
2answers
425 views

Beamer conditional pdf file generation

I would like to know if there is a method to generate beamer pdf presentation based on conditions. For example: -Main Beamer presentation: Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 -For the first ...
6
votes
1answer
2k views

Multibib with TeXworks: how to parse second .aux file?

I need to use the multibib package to create a double bibliography document. I am currently working with TeXworks 0.4.3 (on Windows 7), but I cannot make the double bibliographies system work. The ...
8
votes
1answer
9k views

Errors in tables then runaway argument at \begin{document}

I am new to LaTeX and keep having this re-occurring problem. I create a table and notice a mistake (incorrectly specifying the number of columns or something) because the pdf won't compile (I am using ...
3
votes
1answer
255 views

Latex errors when compiling

I have a general question on reading latex errors. (I am not a very experienced latex user.) I guess I have two questions: When I compile a file with latex, it writes a lot of junk to my terminal. Is ...
8
votes
2answers
414 views

Check if pdf is up to date for git pre-commit hook?

It'd be really nice to do a git commit -m "some stupid broken commit" and get back a refusal from git, because the latest version of the document hasn't been successfully compiled yet (ie. changes ...
3
votes
1answer
345 views

vim-latex: “I can't write on …” error

I am using vim-latex. I compile TeX document using \ll command, then \lv to view it. It generates a PDF file. So far, so good. The problem starts when I try to modify my TeX file and compile it again ...
9
votes
3answers
683 views

latexmk precompiler options

Are there any precompiler options for latexmk I can use inside my LaTeX source files? (For instance, to tell latexmk to compile using XeLaTeX instead of PDFLaTeX.) I know how to do that with the ...
4
votes
3answers
2k views

pdflatex / xelatex -output-directory and subdirectories when using \include

When I include a file from a subdirectory with \include{subdir/sub} and compile the file with pdflatex -output-directory .tex_test/ main.tex, pdflatex complains, that it can't write to ...
12
votes
2answers
255 views

Executables of formats, engines and executables of engines

Each format has its executable/command, which compiles tex files into a document in dvi, pdf etc. For example for TeX (proper), what is its executable? for Plain TeX, its executable is tex which ...
1
vote
0answers
132 views

How to typeset the whole article efficiently? [duplicate]

Possible Duplicate: Undefined citation warnings Question mark instead of citation number I am a new user of LaTeX. I am writing a paper using TeXworks, using Jabref for the bibliography. ...
1
vote
3answers
2k views

Problem compiling with TeXLive

I am a Ubuntu user, and recently I had a problem with my upgrade from an older version of Ubuntu to a newer one, so I had to wipe everything out and start back from scratch. Unfortunately, that ...
3
votes
2answers
384 views

Too many compiles when using latexmk with mpgraphics

\documentclass{article} \usepackage{mpgraphics} \begin{document} \begin{figure} . \label{fig:a} \caption{a} \end{figure} \begin{mpinline} draw (20,20)--(0,0)--(0,30)--(30,0)--(0,0) \end{mpinline} ...
8
votes
1answer
190 views

Meaning of “Macro packages”, “TeX engines” and “Distributions” of TeX

I was wondering what relations and differences are between "Macro packages", "TeX engines" and "Distributions" of TeX? I saw these concepts when looking at the following table at the end of this ...
5
votes
2answers
2k views

TeXnicCenter quick build

I use TeXnicCenter to build my LaTeX documents under Windows 7. I usually have 3-4 tabs open in TeXnicCenter corresponding to the different sections of my document. To build my document I have to go ...
6
votes
1answer
228 views

Why is it necessary to compile 4 times when using bibliography?

I am writing a paper with TexMaker and I and handling the bibliography apart in a bibliography.bib as I think it is more efficient and clean. To include it I need to set the command ...
2
votes
0answers
56 views

How do you get the plaintext from a rendered LaTeX document? [duplicate]

Possible Duplicate: LaTeX to plain text for e.g. generation of statistics I have my resume done up in LaTeX, which I usually publish as a pdf with pdfLaTeX. However, one potential employer ...
2
votes
2answers
473 views

Using a .bat file with TeXlipse

I use TeXlipse as editor of my choice. Since I use the nomencl package, I added a .bat file in TeXlipse preferences: @echo off pdflatex -synctex=1 -interaction=nonstopmode main.tex makeindex ...
1
vote
1answer
4k views

Using Bibtex with LyX help [closed]

I am currently using LyX, and I have a .bib file with all of my BibTeX references. Everything seems to work fine at first, but then goes terribly wrong when I try to view the pdf. I have added the ...
2
votes
1answer
849 views

Strange compilation problem using adjustwidth environment from changepage package

The following code gives a compilation error. \documentclass{report} \usepackage{changepage} \begin{document} \chapter{Text1} \begin{adjustwidth}{1cm}{2cm} \section{Text2} Text3 \begin{quote} ...
32
votes
5answers
4k views

Stop LaTeX compile with a command?

Is there a way to stop the compile process through the use of a command? Something like: \exception{This is a user-set exception. Compile halted.} So when performing the compile process, the ...
32
votes
4answers
35k views

LaTeX with Sublime Text 2

I recently (2 days back) started using LaTeX, I use Sublime Text 2 (ST2) for most of the programming. I found that ST2 has LaTeX package. So what I am doing is write the document with ST2 and run it ...
0
votes
2answers
1k views

Problems with compiling a lyx document (error is related to limits of sum)

I am having problems compiling a lyx document I created, the problem seem to be with the limits on the summation I made, can someone please tell me how can I fix this problem ? The problems are in ...
5
votes
2answers
1k views

Compilation issue with pdfLaTeX and auto-pst-pdf

I am using a lot of png/jpg images in a document, so I decided to use pdfLaTeX. The main issue of this approach is that PSTricks is not directly supported. Since I found a package (auto-pst-pdf) ...
1
vote
1answer
183 views

Bibliography not printed at the end of the book

I'm having a problem with printing the bibliography at end of a book. The main .tex file is \documentclass[a4paper,12pt]{book} \usepackage{amsmath, amsthm, amssymb} \usepackage{url} ...
1
vote
0answers
1k views

Memory limit reached - Precompile .tikz plots - How to output pdf with papersize near to image [closed]

Okay, well I have a problem my .tex file has reached the memory limit. Now I tried to change the memory limit /usr/share/texmf/web2c/texmf.cnf however that does not work. It keeps saying pdflatex> ...
3
votes
1answer
1k views

Running class and bst file through command line/shell script

I am trying to run the latex project: http://www.sigchi.org/publications/chipubform/sigchi-papers-latex-template/at_download/file through command line. I have written a shell script(*.sh file), where ...
10
votes
2answers
278 views

Large document edited by a dozen people

We, a team of 12 people, plan to write a 50 pages paper. The paper will be divided into chapters. Usually, no more than 2 or 3 people will work on a given chapter. Having one large file will create ...
12
votes
2answers
552 views

How to tell when to use pdflatex, latex, and xelatex for any given tex file?

I'm writing an automatic compiling pipeline that should be able to compile any given tex file into a pdf. The diversity of the input tex files mainly shows up in what format of figures they use and ...