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

8
votes
2answers
3k views

Sublime Text 3 LatexTools

I just installed ST3 and installed the LatexTools package using Package control. Everything seems to have gone fine except when I compile using CMD+b nothing seems to happen. On the terminal I get ...
4
votes
3answers
116 views

Trouble with my first latex document

Just downloaded Protex, downloaded TexStudio, and i'm trying to create a document, and i have \documentclass{article} \begin[12pt]{document} \section{Executive Summary} \end{document} and its ...
0
votes
1answer
127 views

Instant preview for Asymptote?

KtikZ/QtikZ is handy for previewing TikZ code. Is there an equivalent for Asymptote?
50
votes
7answers
6k 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?
7
votes
2answers
195 views

dtx file: how to run it?

I want to clarify first that I am a beginner, and thus my question might be imprecise or inadequate. Anyway: I found this documentation file for the package microtype, can be easily found on ctan. It ...
7
votes
1answer
122 views

Could significant speedups be gained from package code minification?

Wikipedia: Minification is (also minimisation or minimization), in computer programming languages and especially JavaScript, is the process of removing all unnecessary characters from source code ...
4
votes
2answers
108 views

Compile tex dependency before compiling main file

I need to include a letter in my report, and I'm doing this using the pdfpages package. I'd like it so that when my report, report.tex goes to compile and include letter.pdf, it first compile ...
3
votes
1answer
325 views

“Missing $ inserted” error in bibliography, no underscores

When I compile my thesis the following error pops up: Underfull \hbox (badness 1264) in paragraph at lines 61--61 []\T1/ppl/m/n/12 ^^U^^U^^U.^^P Naples 2008, or, the Waste Land: Trash, Citizenship, ...
2
votes
0answers
338 views

TeXnicCenter hangs on pdf build [closed]

I am having the issue that when I try to build any file that includes => pdf, teXnicCenter immediately hangs, eventually builds, hangs again, eventually opens Adobe, hangs again, eventually opens the ...
6
votes
2answers
350 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 ...
5
votes
1answer
7k 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 ...
3
votes
1answer
363 views

make texmaker show compile error output (Message/Log) with custom lualatex user-build-command

i want to compile documents with a lualatex user build command within texmaker on mac os x. here is my command: /usr/texbin/lualatex -synctex=1 -interaction=nonstopmode %.tex|open %.pdf It ...
4
votes
1answer
99 views

Use glossary term in another entry

It may be useful to me to reference a glossary entry in another, as in \documentclass[a4paper, 11pt, oneside, brazil]{book} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} ...
32
votes
3answers
3k views

LaTeX code sniffer and/or beautifier?

I'm looking for a LaTeX code sniffer and/or code beautifier, because I'm creating a CI server for my LaTeX books and I wanted a few things. :D
1
vote
0answers
472 views

Unwanted blank pages before and after a chapter [closed]

I use Xelatex, and the class Report I have a document that follows this simple architecture : \part (thee) \chapter (nine chapters and two chapters* (for introduction and conclusion) \section ...
5
votes
1answer
999 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 ...
6
votes
1answer
205 views

Compiling multi-file LaTeX file

I have large LaTeX project (my thesis) with a main TeX file and many subfiles contained in their own subdirectories. The template is available here at Cambridge University website Now coming to my ...
3
votes
1answer
124 views

How to cross-reference several objects simultaneously

I want to define a macro for referencing equations in an article. I want the equation to be referenced as: " Eq. (3) " So I defined a command "\eref{}" as: \def\eref#1{Eq.~\ref{#1}} But I also have ...
2
votes
1answer
265 views

Ghostscript error: ERROR -15 closing pdfwrite device

Consider the folllowing example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \newif\ifprint %\printfalse \printtrue \makeatletter \@ifpackageloaded{hyperref}{ ...
70
votes
11answers
10k views

Speeding up LaTeX compilation

Usually I don't mind about LaTeX's compilation speed, because a paper of less than 20 pages is compiled rather fast. However, I am working on a large document - A report with more than 80 pages. ...
1
vote
1answer
163 views

Errors but compiling xetex

I use xelatex for my thesis. This is my preamble \documentclass[12pt, a4paper, oneside, openany]{book} \usepackage{xltxtra} \usepackage{xgreek} \usepackage{amsmath} \usepackage{amsfonts} ...
5
votes
2answers
184 views

Argument of \NROrg@ifthenelse has an extra }

I presume the problem I have been encountering is quite trivial. But I could not find any help via Google, so I am asking the experts. The problem is the following: I want to create a Cirriculum using ...
2
votes
0answers
81 views

Is there a way to partially evaluate TeX files? [duplicate]

I am looking for tools or techniques that can partially evaluate (e.g. inline definitions) a TeX source file into an equivalent, simplified TeX file with some parameters fixed. Specifically I would ...
9
votes
2answers
129 views

I want to type a document once and typeset it at multiple different levels of complexity

I think this is clearest in an example. Here's my document: \begin{enumerate} \item{1} The heart \begin{enumerate] \item{1} It pumps blood through the body. \item{2} It has four ...
7
votes
2answers
1k 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 ...
4
votes
0answers
113 views

What options to use with pdflatex and when

Reading this question arara: show warnings only in the last compilation step made me realize that I can probably save some compile time by changing the options I use with pdflatex. For a "typical" ...
3
votes
1answer
76 views

how to compile just one equation

I am working with WinEdt 6.0 and working with a long document, therefore, some times I would like to compile just one equation and get the pdf output of it, instead of running pdflatex that compiles ...
2
votes
3answers
15k views

New installation – Texmaker Quick Build says: “Could not start the command”

I just downloaded and installed Texmaker. I've never used any (La)TeX before. When I click the Run button with an arrow next to "Quick build" I get an error saying "Could not start the command". Why? ...
5
votes
1answer
102 views

Avoiding warning message with “each nth point” option in pgfplots

Let assume I have a signal with a very large number points. Once I obtain the associated TikZ file, I may run out of memory for compilation... Ok, so one way to solve this issue is to use the option ...
4
votes
1answer
721 views

LaTeX file not compiling due to too many unprocessed floats and other error messages

I am in the process of trying to compile a LaTeX document. I have a separate .bib file and am using BiBTex. I had put in eight figures, generally using the htbp placement option, and these compiled ...
5
votes
1answer
190 views

Can't compile with most recent version of TeX Live (2013)

I have used a tex template for my CV for years. But I recently migrated everything to a new Mac running OS 10.8.4 and the document will no longer compile. I have confirmed that the file compiles ...
3
votes
1answer
75 views

Got more pages with repeated compile

Well I have encountered this problem so many times that I can't help but ask here. When I compile my documents for the very first time, I get 145 pages. Then I compile them again without any other ...
0
votes
1answer
246 views

Texmaker's internal PDF-viewer keeps file handler to .pdf open and hinders subsequent compilings

after updating to Texmaker 4.0.4 today, I am no longer able to compile my PDFs more than once per Texmaker session. I need to quit Texmaker and run it again to compile again. The error I get is the ...
45
votes
10answers
8k views

How can I speed up LaTeX compilation?

The slowest part is a dozen of diagrams in TikZ.
18
votes
1answer
224 views

How does LaTeX tell me that it wants to be run a second time?

Sometimes, when I use the longtable package I get a message in the output: Package longtable Warning: Table widths have changed. Rerun LaTeX. I read that it can be as often as three times that ...
7
votes
1answer
288 views

What is the most elegant way to provide a cross-platform project with automated compilation routine?

There are many different ways to automate the compilation of a LaTeX project. I would like to start a discussion, what would be the most flexible and elegant and omnipotent way to provide a project ...
37
votes
6answers
4k 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
0answers
197 views

XeTeX in OpenBSD

How could I get XeTeX in OpenBSD? I have tried to: pkg_add texlive_base-2012, but it tries to install so much more that I ran out of space. run the install-tl perl script for TL13, but even if I ...
3
votes
0answers
1k views

Using Sublime Text 2 for LaTeX [closed]

Is anybody using Sublime Text 2? I use it quite frequently for coding, it by far my favourite editor. But I never used it for LaTeX. There is a package called LaTeXTools for editing and viewing LaTeX ...
4
votes
1answer
129 views

Minimization of the time it takes to preview a large beamertex file

I have a very large beamer tex file which requires a long time to texify. I want to make very minor changes and want to visualize these changes quickly. Is there a way to texify only the changes ...
11
votes
3answers
194 views

Why do font substitutions need to happen even with vector fonts?

I often get warnings saying Size substitutions with differences up to ... have occurred, even while using fonts like Palatino, which as far as I understand are defined to be arbitrarily scalable. Why ...
0
votes
1answer
3k views

Error when compiling (pdfLaTeX)

I wrote some lines and I wanted to view the pdf, so I compiled and built but I have this error message: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit) pdflatex.EXE: The memory ...
0
votes
1answer
213 views

LaTeX 'Cannot execute this comand'

working first time with TeX, installed TexNicCenter and MikTeX. I got some .tex files which i want to convert to .pdf just to make sure everything is installed properly and it works so i can stark ...
3
votes
1answer
389 views

File `imakeidx.sty' not found

Since the last update of MiKTeX, I am experiencing an issue when compiling my work : it stops and the log file says : ! LaTeX Error: File `imakeidx.sty' not found. Type X to quit or <RETURN> ...
3
votes
1answer
101 views

Troubleshooting Code for 'Cases'

I was trying to do the following: $$ \begin{cases} a, & n=1\\ $\Phi^{-1}x(n-1)$, & x(n)=x(n-1) $\Phi^{-1}\x(n-1)+c$, & x(n)=x(n-1)+1 \end{cases} $$ But I keep getting errors. Is ...
0
votes
1answer
540 views

XeLaTeX hang on Defining document command \newfontfeature with arg. spec. 'mm' on line 118

I am using TexMaker 4.0 on a Windows 7 (64bit) machine, with MiKTeX v2.9, and I am trying to compile this template (with no modifications) with XeLaTeX using the instructions contained in the first ...
6
votes
1answer
208 views

xelatex vs. xelatexmk compilation – what’s the difference?

I'm using TeX Live 2012 in a Windows environment. I used to compile with xelatexmk, which isn't included in TeX Live's "Processing tools". When I wanted to switch from LaTeX to XeLaTeX, I read ...
4
votes
1answer
106 views

Is the parsing of --translate-file in the first line disabled by default?

I couldn't find any information in either MikTeX nor TeXlive docs. AFAIR, the parsing of the first line (with --translate-file etc.) is disabled by default in modern TeX distros; am I right?
21
votes
3answers
513 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 ...
3
votes
0answers
309 views

German umlaut breaks compilation with biber/biblatex - Why? [closed]

My document didn't compile and it took me hours to find the reason. When I finally found it, it was so unrelated to all my previous attempts to solve it and the error messages and warnings didn't give ...