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

0
votes
0answers
12 views

Crashing TexStudio and missing \begin{document} error in Texmaker [on hold]

I initially tried Texmaker, but got the missing \begin{document} error which I was not able to fix. So I switched to Texstudio which was working perfectly (compiling the file that Texmaker ...
72
votes
9answers
10k views

Can one TeX file output to multiple PDF files?

I'd like to be able to create a TeX file that will output multiple PDF files with one compilation. I'm not even sure if this is possible. Here is the setup: I am writing dozens of cover letters for ...
3
votes
1answer
54 views

Pythontex: trying to compile an example I found on TeX

I found a simple example here answered by G. Poore but I cannot get it work. The output to the pdf is ?? PythonTeX ?? ?? PythonTeX ?? What am I missing something? Below you will find the .tex, ...
4
votes
4answers
3k views

Latex or PdfLatex to generate DVI

I would like to generate DVI output using latex or pdflatex, it doesn't matter. First, I would like to mention that I run the following command to compile my document and it runs successfully - ...
1
vote
0answers
68 views

Error while compiling: “Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex”

I know that a lot of people have already done this question but, I've tried everything said in the answers but nothing works! I'm trying to use TeXMaker 4.4.1 and MikTeX 2.9 but, when I try to compile ...
48
votes
10answers
12k views

How can I speed up LaTeX compilation?

The slowest part is a dozen of diagrams in TikZ.
153
votes
18answers
46k views

Compiling documents online

I have heard rumors that you can compile documents online, and more specifically that Google has a free online compiler, but I have never been able to find any. Is there a way to compile documents ...
0
votes
0answers
16 views

texstudio shows no errors

so when I hit the compile button or even build&view, texstudio will only display the pdf if there are no errors. It will not however, tell me where the errors are, let alone what they are. ...
0
votes
1answer
28 views

LaTeX crashing on APA citation style [closed]

Hi I try to integrate the APA citation style as described here: How do I use APA-style citations with BibTeX? into my university's thesis template https://gitlab.cg.tuwien.ac.at/auzinger/vutinfth ...
0
votes
1answer
87 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 ...
5
votes
1answer
212 views

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 ...
2
votes
1answer
29 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 ...
1
vote
0answers
46 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
7k 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
313 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
72k 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
109 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
63 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
947 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
73 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
50 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
420 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
62 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
49 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
50 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
32 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 ...
3
votes
2answers
24k 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
36 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
27 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
23 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
48 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
23 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
26 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
577 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
44 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
107 views
2
votes
1answer
69 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
35k 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
77 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. ...
3
votes
1answer
60 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
127 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 ...