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

10
votes
1answer
2k views

Delete .aux file in order to successfully compile

From time to time I need to prepare presentations, and I use the beamer class plus the minted package. I would like to know why sometimes I need to delete the aux file generated by pdflatex to ...
2
votes
1answer
891 views

Issues when compiling TeX files with Vim and LaTeX-suite

I'm having problems compiling a TeX file with LaTeX-suite on Ubuntu. In my .vimrc, I have the following lines : filetype plugin on set grepprg=grep\ -nH\ $* filetype indent on let ...
9
votes
2answers
585 views

Precompile header with xelatex

I read about precompiling the preamble in http://tex.stackexchange.com/a/15606/4918 and it worked fine with pdflatex but how can I do this for xelatex? I tried xelatex -ini -shell-escape ...
12
votes
1answer
373 views

When compiling in ConTeXt, context vs texexec

I'm interested in learning ConTeXt. In the past I've mainly used LyX, and a bit of LaTeX recently. I was reading Berend de Boer's introduction to ConTeXt, and pretty much the first thing he said about ...
9
votes
3answers
483 views

Post-commit service hook for GitHub repository containing LaTeX?

This question is related to Compiling documents online. I store my LaTeX documents in a git repository on GitHub. Is there a web service which offers a post-commit hook for GitHub which automatically ...
10
votes
2answers
778 views

ligature with special characters: fī

I am using a lot of special characters such as ā, ī, ū, š, ṣ, ḥ, ḫ and so on. I just spotted that sometimes this causes problems with ligatures for example the fi-ligature, if the dot on the i is a ...
5
votes
1answer
565 views

What shell commands are executed by LyX View menus?

For a variety of reasons, I'm using LyX as my primary LaTeX document creation tool, but I want to avoid doing things or relying on features of LyX that make it hard to use other tools as well. While ...
4
votes
1answer
279 views

How to control the PDF output based on the compiler being used?

I have a batch file that will compile the same input file with 3 compilers one after another as shown below. This mechanism is used to see the file size of the resulting PDF (before and after ...
10
votes
1answer
452 views

Require a certain (or later) version of a package?

Is there a way to enforce that a certain version, or a later version, of a package is loaded when building the document? I've found that compiling a document on another platform, where the package ...
2
votes
1answer
992 views

Compiles to PDF but not DVI

I just installed TeX Live on Ubuntu 10.04 using the install-tl-unx.tar.gz package. However, when I tested the installation I noticed that it cannot compile to DVI but it can compile to PDF. My ...
1
vote
1answer
146 views

How to jump from a line in a .ps file to the corresponding line in the .tex file

I have TeXnicCenter and GSview. If I have a .tex file house.tex, and the resulting PostScript file house.ps, I'd like to be able to jump from a line in house.ps to the corresponding line in house.tex ...
11
votes
2answers
421 views

Does ConTeXt ever require multiple passes to compile?

When I compile my ConTeXt document with context file.tex, it seems that the compiler compiles the code several times. I have never noticed any messages, common in pdflatex, asking me to compile the ...
3
votes
1answer
418 views

Interweave .tex files to create single PDF

I have three .tex files. contains all the verses in a document in this format: \subsection*{वृद्धिरादैच् 1.1.1} \label{1.1.1} contains explanation 1 contains explanation 2 Is there a way to merge ...
7
votes
1answer
260 views

Call pdflatex with a stream

When creating LaTeX-driven reports, I would like to skip writing LaTeX sources to the disk prior to compilation and cleaning up afterwards. Can a stream be sent to pdflatex somehow?
7
votes
2answers
795 views

How to test --jobname compilation option within latex file

Due to some commands in my preamble (\synctex=1,\makenomenclature,\settocdepth{subsection}) which are not fully compatible with --jobname procedure, I would like to add a test before these three line ...
0
votes
0answers
94 views

TeXnicCenter does not compile a document [duplicate]

Possible Duplicate: How can I fix the error “GUI framework cannot be initialized” with TeXnicCenter and MiKTeX? I checked the net, but haven't found a solution so far. I'm using ...
5
votes
1answer
584 views

Bypass % !TEX TS-program =

Some LaTeX editors (TeXShop and TeXworks, for instance) allow a special comment line to define a default engine to use with a current document, like this : % !TEX TS-program = pdflatex It's really ...
0
votes
1answer
654 views

Why won't my glossaries print?

I have a look around online and at other posts however I haven't been able to find a solution to this problem. Here is the code I'm using: \documentclass[a4paper,final]{report} \usepackage{epsfig} ...
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
924 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
579 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
278 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
482 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 ...
4
votes
2answers
774 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
973 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
594 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
466 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
11k 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.
24
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
2k 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
143 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
844 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
293 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
603 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
245 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
722 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
486 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
547 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} ...