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

2
votes
1answer
25 views

Make a new AucTEX command

I'm writing a document using eps graphics so I need to compile with Latex to produce a dvi file. In that file graphics don't show (they're a combination of .tex and .eps files), but if I do dvipdf ...
4
votes
1answer
151 views
+50

How to find out why xetex hangs for seconds at innocent pages?

Compiling a 130 pages long report with xelatex takes my PC about 4 seconds, of which at least 1 second is spent at one particular page, and some more time at a later page. The page where most time is ...
1
vote
0answers
43 views

Bad math delimiter in Scientific WorkPlace

I have a .tex file that I created in Texshop, but I need to open and compile it into pdf in Scientific Workplace. It can compile no problem in Texshop, but I receive the Bad math delimiter error when ...
3
votes
2answers
6k views

Why is my TeXnicCenter not compiling and producing any output in PDF?

Today I have just downloaded Basic MiKTeX 2.9 and TeXnicCenter 2.0 Beta (latest version from the website). But my TeXnicCenter is not compiling and producing any output in PDF. It happened before ...
3
votes
4answers
2k views

How do I close a busy synctex.gz file?

I tried to compile a file, and LaTeX didn't like something (I have no idea what). Now, when I try to compile, I am told that "The process cannot access the file because it is being used by another ...
6
votes
3answers
4k views

Problem finding metafonts at compilation

I'm trying to compile a document using the latex command. This document compiles fine on other machines, but on the machine I'm currently using (Ubuntu 12.04 with texlive installed via aptitude), it ...
6
votes
1answer
1k views

Automagically externalising PSTricks and TikZ pictures

My thesis currently has a few PSTricks and TikZ pictures. It takes a while to compile over here Scott says he has some scripts to automate externalising TikZ pictures. I'm looking ideally for ...
4
votes
3answers
312 views

Why is the wrong version of a package being loaded?

I was trying out Will Robertson's answer to this question and couldn't get it to compile correctly. Chasing through the log output, it seems that an old version of a package is getting loaded instead ...
158
votes
18answers
70k views

Is there any way to do a correct word count of a LaTeX document?

Often assignments (or even papers) have a word count limit. That is not a big deal when using Word, but I don't know how to do that using LaTeX. My solution has been so far to compile the document and ...
2
votes
1answer
105 views

TeXmaker compiling problems (Windows 7)

Good Morning, So i have been working with TeXmaker/Miktex in Windows 7 plataform for a while now, recently i updated TeXmaker 4.4.1 and then is when all the problems began. So the problems are: When ...
1
vote
1answer
61 views

Partial compilation commands/environment?

In the interest of speeding up compilation times of large documents, I got interested in partial compilation. (I'm already aware of "pre-compiling" preamble format fmt files and intend to use that as ...
2
votes
1answer
927 views

Code in \lstlisting breaks document (compile error)

I want to show a JSON object in my document. If I do the following, it works: \begin{lstlisting} { "id": "5", "key": "discardedCard" } \end{lstlisting} But if I extend the code to the ...
0
votes
0answers
51 views

Building with asymptote: file-2.tex not found, null surface

I keep getting these weird errors when trying to compile with Asymptote. I compile with pdflatex, then asymptote, then pdflatex. The error is as stated in the title. For example, when building ...
0
votes
1answer
48 views

Switch between different output versions compiled from the same LaTeX source

For programming in C, it is quite common to switch between creating debug- and release-versions by passing a command line argument to the compiler. I would like to have something similar for ...
14
votes
1answer
415 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 ...
1
vote
1answer
45 views

Error compiling code matlab in latex

good morning, someone help me? MWE: \documentclass[preview]{standalone} \usepackage[latin1]{inputenc} \usepackage[spanish]{babel} \usepackage{latexsym,amsmath,amssymb,amsfonts} ...
2
votes
0answers
48 views

Timed out compile unless I delete bibliography

I have a document that won't compile unless I delete the bibliography. All of the subfiles compile individually (but they don't refer to the bibliography file). It was working fine for weeks, and all ...
2
votes
1answer
45 views

Lyx2.1 - New Empty Float Definition Appeared for Some Reason (cannot compile anymore)

I have used LyX to write my dissertation, and for the most part, it has worked quite well. I am baffled by the current compilation error, however. After adding a couple floats, I now get the ...
1
vote
1answer
31 views

Compile only floats

When preparing a document, there are useful ways to limit what gets compiled overall. This is the case with the \includeonly command, and the draft option, that in many classes allows one to not ...
0
votes
0answers
31 views

Undefined control sequence in aux file [closed]

I am currently writing a large report. It has been compiling without problem until very recently. Now when it tries to compile I get the error message (./Project Writeup.aux ! Undefined control ...
3
votes
2answers
23k views

PdfLaTeX in Texmaker doesn’t work: “Could not start the command”

I have a problem with LaTeX. I have installed MiKTeX 2.9 and Texmaker, and when I try to compile a .tex file in Texmaker, I get the error Could not start the command When I try to build it from the ...
1
vote
1answer
34 views

how to combine different tex files to a single file and generate pdf using R

I have three data frames which I would like to put to pdf. I generate tex files for the three dataframes. So I have three tex files. I would like to combine it and generate pdf in R. Right now I use ...
2
votes
1answer
24 views

Splitting a bibliography-driven Latex document into per-page Open Document ODT files?

I have already seen Can one TeX file output to multiple PDF files?, and I'm aware this is likely to require "external" scripting - but I just wanted to see if anyone has a straightforward approach. ...
2
votes
1answer
21 views

Suppress TOC in htlatex (compiling with htlatex fails with Undefined control sequence \TocTitle)?

Consider this MWE, test2.tex: \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{times} ...
1
vote
1answer
47 views

Cannot compile PDF [closed]

I was using Texmaker on Linux for a couple of internships, now I moved to Mac OS X, and I'm really not a pro user with such an OS. I've already read the user manual and I've checked here to find out ...
0
votes
0answers
24 views

Finding the cause for an overfull vbox [duplicate]

When compiling my document I get the following warning message: Badbox line 1: Overfull \vbox (1.77525pt too high) has occurred while \output is active [] Now from Google I learned that this ...
2
votes
0answers
55 views

Policy to stress preferrable syntax

Question Assume someone wrote a LaTeX document using my package some time ago. I want to let him know that his code should be updated. The idea is to allow outdated syntax by the LaTeX compiler but ...
2
votes
1answer
22 views

How to make a document compile into two different orders of its parts?

I want to set up a diary that compiles in two different orders: One is work by day, the other is work by project according to tags I give to the particular chunks of work I did each day. For ...
1
vote
0answers
23 views

revtex4 - AIP Review of Scientific Instruments template - Abstract does not have right-margin

I am writing a paper for AIP's RSI journal and am using their template (locater here: http://rsi.peerx-press.org/html/rsi/rsi_latex_template.html). In the output, the abstract does have a left margin ...
0
votes
0answers
573 views

Compiling Error - TeXworks OS X Mavericks

When i try to compile in TeXworks, I receive this error: kpathsea: Running mktexfmt pdflatex.fmt mktexfmt: No such file or directory I can't find the format file `pdflatex.fmt'! I've used TeXworks ...
2
votes
1answer
42 views

Is there a way to put some of my project's files in a separate folder?

My university has provided a thesis project template with tons of files in it. My current working directory looks a bit like this: package1.sty package2.sty package3.sty classFile.bst classFile.cls ...
109
votes
25answers
13k views

Tools for automating document compilation

A lot of people write makefiles that say something like paper.pdf: paper.tex pdflatex paper bibtex paper pdflatex paper pdflatex paper To handle re-running TeX to ...
1
vote
1answer
105 views
2
votes
1answer
67 views

LaTeX not compiling after switching computer

I've changed computers recently; my project was compiling just fine previously, and on the new computer it's not compiling at all. The output is stuck at the last version I compiled on the previous ...
30
votes
0answers
1k views

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and I noticed that it takes long to process this part of the file. Today, I came across this website, which proposes ...
32
votes
4answers
34k views

LaTeX with Sublime Text 2

I recently (2 days back) started using LaTeX, I use Sublime Text 2 (ST2) for most of the programming. I found that ST2 has LaTeX package. So what I am doing is write the document with ST2 and run it ...
2
votes
2answers
70 views

Compiling current text block in WinEdt

In WinEdt there is a toolbar button for compiling current selection of the document. But is it possible to compile current text block without manual selection? By text blocks I means parts of text ...
0
votes
0answers
34 views

How to change the behavior of pdflatex regarding the creation of auxiliary files (*.aux, *.out, *.log)? [duplicate]

When I run pdflatex on a tex file foo.tex it creates the following files foo.aux foo.log foo.out foo.pdf and it always bothers me that the *.aux, *.out and *.log files mess up my directories. ...
2
votes
1answer
45 views

Tell TeXstudio to compile a particular document with LuaLaTeX

It is not hard to change the default compilation engine in TeXstudio from PDFLaTeX to LuaLaTeX (or any other engine for that matter). But if I only want to use LuaLaTeX for a single document, it gets ...
1
vote
0answers
125 views

How to use LuaLaTeX at WinEdt?

I have a problem " How to use LuaLaTeX at WinEdt ? And my MWE : \documentclass{article} \usepackage{luacode} \usepackage{tikz} \begin{document} \luaexec{ tp=tex.print ...
50
votes
19answers
10k views

Is there any way to get real-time compilation for LaTeX?

I would really love to have a software or tool which provided real time compilation of my LaTeX document (to be able to see the final pdf or dvi document as I type the latex code), especially for when ...
4
votes
1answer
585 views

Why can't I compile the simplest TeX file of only 6 lines?

\documentclass{article} \usepackage[adobefonts]{ctex} \usepackage[os=win]{menukeys} \usepackage{listings} \begin{document} \end{document} The simplest TeX file above cannot be compiled with ...
0
votes
1answer
86 views

Show error message when using batchmode

Consider the following MWE (in a foo.tex file): \documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[section] \begin{document} \section{Foo} \begin{theorem*} Undefined star ...
1
vote
1answer
33 views

What process can generate a new write sequence

While compiling a very large document recently in xelatex and tex4ht I have observed that tex4ht doesn't handle write streams the same as xelatex. I am trying to prepare a MWE to troubleshoot my ...
2
votes
0answers
29 views

Different .dvi file depending on how do I compile .tex file

I'm using TeX Live 2014 with kile as the editor. Usually I compile .tex files using kile's compilation button. There is no errors and no warnings, the output is complete. When I compile the same file ...
0
votes
0answers
24 views

Is it possible to add more compile buttons in the tools toolbar in texmaker?

Hi I've just started using texmaker version 4.41 on Windows 8. I'm used to Kile on Ubuntu and have been told that Texmaker is the most similar editor to kile which is available to windows. In Kile I ...
2
votes
1answer
92 views

tikz picture inside main code or include tikz output

Suppose that someone wants to include a tikz picture inside a LaTeX document. Suppose that a simple tikz code is the following \documentclass{standalone} \usepackage{tikz} \begin{document} ...
1
vote
1answer
32 views

Failure with [greek] babel and lastpage, \frontmatter?

I have a large document, for which I wanted to generate "precompiled headers" (TikZ's externalization and mylatex (note, \jobname should be the same)) and thought I'd use mylatexformat for it ...
0
votes
0answers
41 views

Recover .tex file after computer crash

I was working on my .tex file and had just saved it right before the incident happened, then BOOM my computer says something about iqrl. This has been going on for a while and its really ...
3
votes
1answer
46 views

Using latexmk with multiple tex files in the directory

edit solution to compile : latexmk -pdf mainfile.tex I have left this example up as it might contain language used by others unfamiliar with this area :) At the very least it provides a Minimal ...