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

3
votes
1answer
555 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 ...
2
votes
0answers
1k 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 ...
6
votes
1answer
328 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
163 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
2k views

synctex.gz file is (busy) [closed]

I'm trying to compile my LaTeX file (an article), but I keep getting a Windows API error: my synctex file is busy - the filename has been changed and appended with (busy). I'm using TexMaker to ...
8
votes
1answer
90 views

Insert terminal output to compilation or record time needed

For some reason my document takes very long to compile, and I would like to narrow down why this happens. Finding the bottleneck would be greatly eased if I could time how long individual sections in ...
1
vote
1answer
224 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
245 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
83 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
133 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 ...
4
votes
0answers
125 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
77 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 ...
8
votes
2answers
4k views

Couldn't open font map file “kanjix.map”. with MiKTeX

\documentclass{article} \begin{document} Foo \end{document} When compiling this MWE with MiKTeX 2.9’s xelatex, I get the following warning: ** WARNING ** Couldn't open font map file "kanjix.map". ...
3
votes
1answer
1k views

media9: “l3kernel too old” (support outdated)

Well, I was trying to follow this answer "beamer, media9 - play multiple videos at once", in order to play two videos at the time in one frame. But the problem is that, after installing the packages ...
9
votes
1answer
136 views

Compiling LaTeX in pedantic mode

Some compilers for general purpose programming languages such as GCC have a switch for turning warnings into actual errors: $ gcc -Werror main.c There is a similar mechanism for compiling LaTeX ...
5
votes
1answer
128 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 ...
2
votes
1answer
3k views

Unclean .aux file causes “file ended while scanning use of \@newl@bel” error. Why is it not purged?

I am working on TeX Live 2013 with TeXShop (MacTex2013 distribution) Expected behavior is, that in the case an error occurs during compilation the .aux file is purged. Subsequent compilation must ...
5
votes
1answer
280 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 ...
4
votes
1answer
1k 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 ...
3
votes
1answer
78 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
314 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 ...
19
votes
1answer
249 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 ...
2
votes
1answer
348 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}{ ...
11
votes
0answers
267 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 ...
7
votes
1answer
366 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 ...
11
votes
3answers
206 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
314 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
510 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> ...
4
votes
1answer
566 views

TexShop will not compile without trashing aux files after every error

I have a couple of LaTeX files with the same problem. If I produce an error, fix it, and then try to compile a pdf, I get the following error. )Runaway argument? {{ ! File ended while scanning use of ...
0
votes
0answers
78 views

compilation problem related to solution to “output multiple pdf files” : PLEASE HELP [duplicate]

Can someone please explain to me how to make the example sample solution, work with some actual text content? In particular, exact steps of compilation under a Unix environment... and a sample input ...
11
votes
2answers
123 views

increase \hyphenation{word1 word-2…} capacity

We use LaTeX to typeset a large collection of books with many proper names. We use the \hyphenation{word1 word-2...} command to specify words that should not be hyphenated and to suggest hyphenation ...
3
votes
2answers
2k views

Texmaker: showing the same old pdf

I recently installed Mepis on my computer, so I had to install LiveTex, TeXmaker, etc. from scratch. Everything works fine in TeXmaker, except for the .pdf. Every time I compile and want to see the ...
6
votes
0answers
124 views

Replace paragraphs with boxes [closed]

I would like to replace the paragraphs of a compiled document with framed boxes. Although I read the /tex/latex/base documentations I have no idea how to tackle this problem. In detail I want to ...
3
votes
1answer
490 views

TikZ: compiling a standalone picture

I am not sure if this is recreate-able through a MWE. Whenever I compile a standalone TikZ picture, it compiles all my standalone figures in the same folder. I am using Ubuntu 13.04 and Emacs with ...
27
votes
2answers
2k views

How to trace LaTeX errors efficiently?

One of the most annoying things about LaTeX is that handling errors can be cumbersome and nerve-racking. In fact, it is the main reason that keeps me from actively recommending LaTeX to most people ...
3
votes
1answer
330 views

TikZ-Editor: Preview error

How can I setup my TikZ-Editor to enable preview? I use MacTeX 2013, installed with the ISO file. Could you give me some clue about how I can configure this software? The error message reads: ...
8
votes
2answers
462 views

Template compiling - biber, pdflatex, makeindex required to run in order

I'm using a template called Legrand Orange Book from http://www.latextemplates.com It compiles fine with TeXShop (part of the MacTeX distribution), but I'm not sure I'm doing it exactly right. I ...
0
votes
1answer
607 views

TexStudio gives 'Could not start command' with my custom build script

I have a custom build script build.command that runs through the build steps necessary to convert my LaTex scripts into a .pdf (e.g. makeglossaries and so on). The script works fine. However when I ...
5
votes
3answers
133 views

Simultaneously compiling many content source files included into one styled file

I am writing five or so texts which serve as course notes. I have one master file Style.tex into which I include the various bodies of these course notes. The reason I do it like this is because it's ...
1
vote
0answers
80 views

How do I optimize the output for ebooks? [closed]

In ps2pdf there is a -dPDFSETTINGS=/ebook option to control the nature of the pdf output. Is there an analogous setting in pdflatex to do the same thing?
4
votes
1answer
85 views

What is the macro/primitive for the current run time? [duplicate]

I've seen (I don't know where) a couple of interesting metadata-oriented control sequences, and I was wondering if such a sequence exists for the job runtime. I can't expect it to give me the total ...
0
votes
0answers
51 views

MacTeX 2013 takes ages to compile [duplicate]

I am sorry that this is not a very specific question. Since I updated to 2013 I haven't been able to compile a single document. To be honest, neither did I let one of the many compilation processes I ...
7
votes
1answer
178 views

Calling pdflatex inside C code [closed]

I am writing C code that writes a LaTeX file for me. I then attempt to compile the file using pdflatex in a non-interactive mode (as in I'm automating some process and don't want to wait for user ...
9
votes
0answers
166 views

Is there a LaTeX formatter/beautifier (indenter, wrapper, context aware) similar to HTMLTidy? [duplicate]

Alternating work on a laptop, netbook and tablet the word wrap of a document is sometimes too long (for small screens) and too short (for large screens). This also got me thinking. Is there a tool ...
3
votes
1answer
102 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 ...
2
votes
1answer
60 views

Conditional compilation failed

I think you can understand the scenario of the following code only by reading it. % compile with pdflatex -shell-escape \documentclass{article} \usepackage{filecontents} ...
4
votes
2answers
176 views

graphicspath requirements for auto-pst-pdf

I am working on a document split into multiple files, and am using the package chemstyle to automatically number the compounds in my schemes. The package uses auto-pst-pdf to edit EPS files. It is ...
5
votes
1answer
134 views

compilation error in creation of new command

I'm trying to manipulate a bit an environment that I've found in internet, in GUIT forum. This is the minimal example ...
5
votes
0answers
122 views

Automating Error Detection of pfdlatex

Background: I have numerous individual files that need to be compiled, so am using a script to do that with the following options: set PDFLATEX_OPTIONS = "\ --file-line-error \ ...
9
votes
2answers
218 views

Versioning for each compiling

is there a way to create different output files (pdf) with differen versions for each compiling? For example: compile -> V0.1 compile -> V0.2 and so on... I know about the package vrsion but it ...