{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
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
301 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
247 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
334 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
254 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
347 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
203 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
288 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
495 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
523 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
77 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
121 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
122 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
472 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
303 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
454 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
574 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
129 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
84 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
177 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
172 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
132 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
116 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
216 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 ...
0
votes
0answers
33 views

Include subsections depending on variables/ifthen [duplicate]

I am making a template for several books. I have a mainfile which includes the .tex files for my chapters. For each book, some chapters are always almost the same except for a few subsections. How ...
3
votes
2answers
474 views

Makefile that prevents tex directory from being cluttered with build output

I am using xelatex, biber and makeglossaries to generate my bachelor thesis. All of them are creating a huge amount of temporary files that are cluttering, not only my root document directory, but the ...
4
votes
1answer
940 views

Compiling with texmaker fails, compiling on commandline works

Hi I can compile my latex document using pdflatex -synctex=1 -interaction=nonstopmode -shell-escape Masterthesis.tex When I hit the quick compile button in textmaker however nothing happens. I ...
102
votes
16answers
5k views

How to prolong compilation time while engaging in leisure activities?

I thought of that old joke today, where a programmer can make an undeniable excuse for his leisure activities while in work on the basis that he is just waiting for his code to compile. Although I ...
8
votes
1answer
155 views

Speed up the compilation of a document with a lot of tikzpictures made with pgfplots [duplicate]

I have a document with a lot of tikzpicture made with pgfplots, most of them take data from files so the compilation may be very long. In order to have only a draft I would like to have blank images ...
1
vote
2answers
85 views

How I can speed up the compilation of a document with multiple images? [duplicate]

When I compile a large document with many images, this compilation is very slow. Exist any method that allow read ONLY (no rendering) the width and height of imagen and then simulate this image with a ...
2
votes
0answers
434 views

difficulty compiling TikZ code - unknown key “breakable” [closed]

In attempting to compile some TikZ related code by Gonzalo Medina, I am running into difficulties. The code is accessible here: Creation of a new poster template Specifically, I am encountering the ...
0
votes
1answer
171 views

How can I get gedit to compile pdf on mac

I just got a macbook air (the version right before the current one) and I have MacTex installed and I have the latex plugin for gedit. How can I get gedit to compile pdf for me? Before on ubuntu I ...
3
votes
1answer
310 views

How does the LaTeX compile chain work exactly?

This might be a simple or out of place question, but I have run into so many subtleties of document compilation, that I really just need to understand this from the ground up. Could someone please ...
2
votes
1answer
817 views

How can I do the 'latex bibtex latex latex' compiling using Windows without the command line? [duplicate]

I'm using LaTeX and JabRef on Windows. I set up my bibliography database and cited references in my LaTeX document. However, I do not know how to use the command line on Windows to do the 'latex ...
3
votes
1answer
131 views

TeX file with PSTricks figure won't compile

Consider the following file which is a modified version of the file Kernkraftwerk-DWR-v2-ps2pdf.tex: http://gratisupload.dk/vis/698163 (It contains more charachters than I'm allowed to enter here.) I ...
1
vote
1answer
60 views

Compilation does not work

I have the same problem as in this link. But I do not understand that do I need an additional TeX compiler after installing TexMaker? If yes, MiKTeX is for Windows so, is there any compiler for Linux? ...
7
votes
1answer
101 views

Mimic mathjax behavior on undefined control sequences

I recently posted something on math.stackexchange.com, and was astonished by the behavior of the auto-renderer on undefined sequences. Instead of stopping the compilation right here, it would display ...
1
vote
0answers
66 views

Different errors while compiling, depending on distribution [closed]

When compiling my TeX document in PCTeX the _ in the bibliography url's appear as “˙. When compiling it in TeXworks the _ appears fine, but all the table references appear as ??. Any ideas to how I ...
2
votes
0answers
67 views

Load Graphics as Empty Boxes for Positioning and Quick Compiling [duplicate]

Is there a package that loads all images (tikz, pgfplots, images, etc.) only as empty boxes? This would greatly speed up compilation of documents when making edits to the content and layout when the ...
3
votes
1answer
162 views

Robust processing of autogenerated LaTeX files that contain many errors

I use knitr to generate pretty reports, with pdflatex as backend. Everything works fine if the R code runs without error. However, if the R code fails, the autogenerated file is sometimes invalid in ...
3
votes
1answer
91 views

Difference between bibliography management styles

There are two ways that I've seen people including their bibliographies. The first is without including any package: % Document: \bibliographystyle{ieeetr} \bibliography{<file>} And the ...
0
votes
0answers
60 views

Keep showing “could not start the command” [duplicate]

I just install TexStudio and I'm learning it from scratch. I compiled the following \documentclass[a4paper,12pt]{article} \begin{document} Homework \end{document} but it keeps showing the err: ...
8
votes
1answer
4k views

Undefined control sequence \end{frame} [closed]

I'm having trouble woking with this code \documentclass{beamer} \usepackage{pgfpages} \usepackage[utf8]{inputenc} % Class options include: notes, notesonly, handout, trans, % ...