{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
246 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
56 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
861 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
357 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
415 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
8k 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
248 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
409 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
335 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
674 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
254 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
379 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
187 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
226 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
55 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
457 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
805 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
34k 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
983 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
541 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 ...
14
votes
1answer
484 views

Different compilation times with different Operating Systems

I have noticed that when compiling or rather typesetting with XeLaTeX, I experience very different compilation times on different Operating Systems. When I typeset on Windows, the compilation process ...
18
votes
3answers
1k views

Hiring someone to help me with LaTeX for my PhD thesis

I do not know whether this is an appropriate question, but I was carrying it around for quite some weeks and now it just has to come out. I am working on my PhD thesis. My thesis will include a long ...
2
votes
1answer
359 views

In TeXnic center, is there a command can I use to point to exactly the place in the article where I made a LaTeX error?

I know this probably could be a very elementary question, but I am a very beginner in LaTeX. I am using LaTeX in windows on a PC. I am using teXniC center and MikTeX for writing a laTeX article. When ...
7
votes
3answers
925 views

Does LaTeX have to reprocess included files that haven't changed?

I have included several .tex files (they do not contain the header code like documentclass, begin and end document, etc). When I include the file using \include everything works. But if I recompile ...
0
votes
1answer
400 views

textpos error with newenvironment{aside} and xelatex

I'm using xelatex with texlive 2011 vanilla on the latest ubuntu precise pangolin. I fork and try to use the great cv template from https://github.com/afriggeri/cv This template uses TikZ for the ...
19
votes
1answer
4k views

Why does Latex/Bibtex need three passes to clear up all warnings?

As explained by Andy Roberts, if you need to compile a new document with bibtex citations, then you need to run latex three times, and bibtex once: latex document bibtex document latex document latex ...
19
votes
2answers
804 views

Avoid linebreaks in LaTeX console / log output

Is it possible to tell the LaTeX command not to use line breaks in its console / log output? This would make it easier to automate the processing of the log file, e.g. extracting the names of missing ...
11
votes
1answer
624 views

Running several latex processes in parallel

I am working on an experiment running LaTeX on server to compile some documents on the fly. Assuming I want to have several workers waiting for documents to be compiled, are there any access issues in ...
7
votes
1answer
1k views

TeX works very slowly

LaTeX compiler on my Debian system works very slowly. For example, file including only a few lines of text compiles several minutes. All this time LaTeX does something, but what exactly it does is ...
5
votes
2answers
610 views

generating LaTeX tabular code during compilation

I use LaTeX for scientific reporting in brain imaging (fMRI). I have a tabular array in LaTeX, that contains quite a lot of rows and columns, which both are brain regions and in the each intersecting ...
3
votes
1answer
239 views

How/where to test my template document?

I've created a sort of a template for a Ph.D. thesis at my faculty (a document class, a main thesis.tex file and some dummy content). The faculty's Linux server doesn't have a full TeX distro (e.g. no ...
5
votes
1answer
313 views

Why doesn't latexmk handle errors in the preamble?

Today I discovered that if I have an error in the preamble of my tex file then Latexmk produce an error only once. Precisely, for example if my file looks like this \documentclass{article} ...
3
votes
0answers
86 views

Long Execution Time with pdfLaTeX on Mac OS X [duplicate]

Possible Duplicate: Fast PNG embedding using pdflatex I'm using pdfLaTeX on Mac OS X v10.7.3, and I've added about 25 PNG images to a LaTeX document that is roughly 35 pages long. The ...
7
votes
1answer
821 views

Variability in the line spacing of paragraph breaks?

Don't know how to describe my problem properly, but there seems to be a variablility in the line spacing of paragraph breaks, with my settings or generally or anything. Since I don't know what is ...
3
votes
1answer
783 views

How to exploit externalized images runtime-wise?

Thanks to the valiant efforts of @zeroth, I got TikZ' externalization running with todonotes, TikZ images pieced together by environments and macros and my homebrew compilation script. In particular, ...
2
votes
0answers
226 views

Endless compilation with TikZ. Bug? [closed]

If I try to compile this, \documentclass[a4paper,12pt]{article} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{tikzpicture} \node [rectangle, % <-- there's a syntax error ...
6
votes
4answers
1k views

Error when using \begin{RÉSUMÉ}

I write a paper in French, I add a package \usepackage[english,francais]{babel} to use a French but when I write: \begin{RÉSUMÉ} abstract in french \end{RÉSUMÉ} I get the error: ! LaTeX Error: ...