{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
4k views

How to make the moderncv templates from CTAN work in Ubuntu 11.10

I am trying to use moderncv on Ubuntu 11.10. The class is in texlive-latex-extra but it seems to be an old version and it does not recognize some new commands. I would like to either upgrade the ...
4
votes
1answer
899 views

makeglossaries hangs waiting for input on mac

I'm very new to Latex so apologies if this is a newbie question. However I have looked around online and can't find an answer. I'm trying to compile my file in TeXShop (on mac) using the following ...
11
votes
5answers
573 views

Speed up LaTeX compilation on a document with lots of automatically created tables

I know that similar ground has been covered before (e.g. Speeding up LaTeX compilation), but this question is more specific. I want to create some reports programmatically, so I wrote a program that ...
1
vote
0answers
273 views

compiler can't find file on cifs/Samba share [closed]

I am unable to compile LaTeX files whenever they are on a particular network drive. I am using ubuntu lucid and mount a samba share in fstab like so: //domain.com/me$ /home/me/H_DRIVE cifs ...
21
votes
1answer
474 views

What are the main differences between AutoLaTeX and LaTeXMk?

I stumbled upon AutoLaTeX today and it seems to be very similar to LaTeXMk indeed. Can you summarise the main differences, which might help me choose between the two tools?
18
votes
2answers
4k views

Diagram / Infographic of TeX & friends?

So, I recently delved into LaTeX for a project at work. But I’m come from the XML+XSL world, and some of LaTeX’s design is kind of difficult for me to grok. (I’m not interested in debating the ...
3
votes
2answers
759 views

How to clean up .table and .gnuplot using latexmk

I'm using latexmk as my building assistance. I'm also trying to use it as the clean-up contractor... In .latexmkrc I added: $pdf_previewer = "open -a /Applications/Skim.app"; $clean_ext = "rel paux ...
5
votes
1answer
938 views

How can I see why a file isn't compiling somewhere else, if it does in my machine?

I'm attempting to submit a paper using the Elsevier Editorial System in LaTeX, and in the final step before submission it builds a file with information, the cover letter, and hopefully the ...
0
votes
0answers
62 views

Does anyone know what the other files that come with compiling are? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. Whenever I hit "compile" on MikTeX 2.8, I get a bunch of files I don't need like .aux, notepad files. Is there a way to ...
1
vote
1answer
172 views

Could someone help with me LaTeX ? I don't know why it isn't compiling

I am new to LaTeX and i guess computer science in general. I am trying to generate a pdf with an image. I am having a lot of problems. I use MiKTeX 2.8 Here is what I entered \documentclass{report} ...
3
votes
2answers
576 views

Multiple indexes in LaTeX

I am familiar with the creation of multiple indexes using the multind package. One of the required steps is to run the makeindex executable for each generated .idx file. A typical solution would be do ...
0
votes
0answers
142 views

Creating multiple PDF files from a single LaTeX file [duplicate]

Possible Duplicate: How to create individual chapter PDFs In my LaTeX file, I have \chapter{chapter one} \chapter{chapter two} \chapter{chapter three} etc. I wonder if there is a way ...
0
votes
1answer
455 views

Document not compiling correctly [closed]

I've compiled a LaTeX document successfully by typing latex documentname.tex into terminal when in the correct working directory. The document successfully compiles. I'm using TexLive. I then make ...
15
votes
1answer
3k views

How can I compile different .tex file on click on typeset in TeXShop? (MacTeX 2011)

My problem is that I want to have different .tex files for the preamble, the presentation aroundings (my target is a beamer PDF file) and the content of the presentation. Mostly I'll be working on ...
6
votes
2answers
1k views

Build Sequence to create a PDF with citations from .bib

I seem unable to configure TexMaker's quick build so that if I have a .bib file, and a .tex file in a directory, and I click 'Quick Build' once, I get a PDF. Can someone either tell me the sequence ...
7
votes
1answer
1k views

Long table of contents makes page numbers wrong

I have created a table of contents page using \tableofcontents and I have enough chapters and sections that it fills an entire page and goes into another. The problem is that since it takes a second ...
5
votes
1answer
10k views

Commands paths in TeXstudio on Mac OS X - with 'could not start the command' error

When I am trying to 'quick build' my document in TeXstudio 2.1 on Mac OS X 10.6.8, I am getting and error: could not start the command (with 'quick build' options being LaTeX + DviPdf + PdfViewer). I ...
11
votes
1answer
9k views

How to get started using biblatex?

I just spent an hour trying to understand Bibtex, but I find it very hard to find simple instructions. I even read half of the manual. I put this in my LaTeX file report.ex: % preamble ...
16
votes
1answer
1k views

texify or latexmk?

MiKTeX 2.9 comes with both and they apparently do the same thing. I was wondering what the difference between them is (if any) and which one is preferable for large documents.
23
votes
5answers
1k views

Managing volumes of books

I would like to compile all of the books in a series at the same time. This would: Guarantee that everything compiled with consistency. Easily allow for cross-references between books. Allow ...
11
votes
5answers
1k views

Cross Platform LaTeX Build System

I am on Windows 7 Professional (64 bit) and would like to be able to execute one command to completely compile a PDF from source .tex files (including all required runs to get the table of contents, ...
23
votes
1answer
1k views

Why does pdflatex produce bigger output files than latex+dvipdfm?

Consider this sample code: \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1-4] \end{document} When I compile this with latex and then use dvipdfm, the output file is 7893 ...
15
votes
2answers
142 views

How do extra braces impact the placement of items in the document?

I am placing some of my document through some outside BASH scripts, but want to protect some information such that the scripts will not change them. The simplest option for me is to put { and } around ...
6
votes
1answer
825 views

Latexmk can't see a dependency on a .fmt format file

I'm using latex on a small netbook, and with average-sized files (~150 pages at the moment) compilation is already pretty slow. So I am looking for every way to speed up the compilation. In this ...
1
vote
1answer
289 views

Sorting logs into different folders

When I run xelatex (or other compilers), I always end up with many log files in a single folder. This gets difficult to manage. I could create a script which moves them into various folders (e.g. one ...
2
votes
0answers
2k views

Perl interpreter error appearing out of the blue [closed]

I am using TeXworks on Windows7. About an hour ago, I was happily working along and compiling documents just fine. Now, suddenly, when I try to compile anything, I get this error: latexmk.exe: The ...
1
vote
0answers
590 views

latex compiler hangs, no error message shown [closed]

When I am compiling my .tex file using Kile GUI, if there is no syntax error in my .tex file then it works properly and show a message that there is no error. But latex compiler hangs if there is ...
2
votes
1answer
237 views

Using checksums to determine completion of compilation

Before preparing a document for printing, I use a BASH script, like the following: #!/bin/sh xelatex document.tex % compile 1 makeglossaries document xelatex document.tex % compile 2 xelatex ...
21
votes
3answers
693 views

What are the situations where you have to compile a document more than once?

You have to compile a file twice to get the desired output in the accepted answer to Lineno for 2 column. The accepted answer to How can I avoid compiling twice? provides a way to avoid compiling ...
8
votes
1answer
2k views

How to fully build with Rubber?

How do I do a full build with rubber that does the equivalent of latex foo bibtex foo makeindex -s myindex.ist foo latex foo latex foo dvips foo ps2pdf foo The files I am using are foo.tex ...
1
vote
0answers
477 views

Compilation problem with WinEdt [closed]

I am writing my PhD thesis with WinEdt and recently started to see the following error message. I didn't edit any settings nor change anything in the configurations. Can anybody help? Runaway ...
10
votes
1answer
544 views

SyncTeX points to a wrong location in source or preview document

I have the following pretty simple document: \documentclass[11pt]{article} \usepackage{xltxtra} \usepackage{fontspec} \usepackage{amsmath} \usepackage{polyglossia} \setmainlanguage{russian} ...
2
votes
0answers
2k views

pdflatex hangs during compiling (every 2nd run) [closed]

Newly, it frequently happens that pdflatex hangs during compile. The system: TeXLive 2010 (yes, I know that 2011 is out already) MacOS X 10.6.8. Texstudio as editor Currently, I'm compiling in ...
16
votes
1answer
3k views

Why can Bakoma process .tex files so fast?

Bakoma is a LaTeX Editor which has the real-time preview on Windows. On Linux, one has Gummi which has a similar feature and on Windows, I use WinEdt with Sumatra PDF together with an AutoIt script to ...
33
votes
7answers
8k views

Conditional typesetting / build

Let's say I have .tex file which is a set of problems and solutions, of which I want to make two pdf files, one which includes the solutions and one which doesn't. so I need to build the .tex file ...
6
votes
1answer
975 views

How can I use the Vim LaTeX-Suite multiple compile option with BibTeX and the -aux-directory option?

I have a document composed of several subfiles and so have used the -aux-directory command to put all of the temporary files in a subfolder, 'auxdir', to keep my working folder clear (and me sane). I ...
0
votes
1answer
376 views

Bibliography compilation error with biblatex

After starting to use biblatex library from bibtex files can not be compiled any more. Here is my tex file: \documentclass{article} \usepackage[style=authortitle-icomp,natbib=true,sortcites=true, ...
0
votes
2answers
2k views

How to prevent TeXShop from making .aux, .syntec.gz and .log while compiling? [duplicate]

Possible Duplicate: Prevent pdflatex from writing a bunch of files. I'm not a super-user of LaTeX, I only use it for small reports with lots of maths. I often have to do it with other ...
29
votes
2answers
4k views

Understanding the Log file

I'm getting some cryptic (for me) errors and warnings when I compile. On the advice of darn near every internet resource I could find, I dug into the .log file. The trouble is, I don't know how to ...
8
votes
1answer
1k views

How to programmatically detect if a LaTeX package is installed?

I am writing a program, and I want it to do different things depending on which LaTeX packages have been installed. My current solution is to automatically generate simple .tex files that \usepackage ...
2
votes
1answer
408 views

Same preamble in 2 files causes pdflatex to crash in just one

I was compiling two different files with the exact same preamble. The important thing is that I'm using together scrbook and classicthesis (with also classicthesis-preamble loaded) but when I compile ...
0
votes
1answer
176 views

How to give arguments to a tex file during compilation?

I have a file called main.tex, which looks like this: \begin{document} \input{a.tex} \end{document} I want to know if it is possible to have it take this file a.tex in argument, such that I could ...
32
votes
3answers
887 views

Document requiring infinitely many compiler passes?

It is an unfortunate reality that one must compile a LaTeX file several times in order to get all labels and citations correct. As far as I know, one should go on compiling as long as TeX warns that ...
3
votes
2answers
3k views

XeTeX compiling

How can I create a PDF file from .tex file using xetex.exe? What should I enter to console? I tried different combinations like xetex -pdf filepath and so but it doesn't work.
7
votes
4answers
321 views

How to detect and condition based on hostname

How do I construct a conditional statement based on the hostname of the compiling computer in LaTeX? For example: \ifhostname{mymachine} \dostuff \else \dootherstuff \fi Why: I am working with ...
2
votes
1answer
834 views

How to make Vim LaTeX Suite show errors when compile

Compiling TeX with command : silent call Tex_RunLaTeX() The gvim window turns grey when there are errors. One needs to press Enter for each error to continue. It will be better if the error ...
16
votes
3answers
3k views

How can I avoid compiling twice?

Sometimes I need to run compile twice (eg when I use lastpage). Is there a way to set things so TeX knows that there is need for second run and do it automatically? I use Texmaker.
3
votes
1answer
643 views

Speed of LaTeX compilation: Linux versus Windows 7 [closed]

Is it everybody's experience that LaTeX documents compile much more slowly on Windows 7 than on Linux generally, all things being equal? Is speed of compilation affected by the LaTeX editor I use, or ...
5
votes
1answer
5k views

TeXlipse doesn't generate any pdf file

I've just installed TeXlipse using the simple installing option (Install new softwares -> http://texlipse.sourceforge.net/) on my Mac OS. I create a new LaTeX project, select output format = pdf, ...
8
votes
2answers
1k views

Compiling latex directly from R

I want to find a programmatic way of converting a .tex latex document to pdf. What I usually do, and this works in most cases, is to use: tools::texi2dvi(latexfile, pdf = TRUE, clean = TRUE) ...