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

1
vote
0answers
49 views

Error in pdf2latex compiling

Tell me, please, what is connected with the error? winedt+miktex
0
votes
0answers
44 views

Why do I always have to xelatex twice to make references work properly?

I found that I always have to xelatex at least twice to make references work (referring figures or equations), otherwise I have such wrong reference: The following error message appears when the ...
7
votes
2answers
85 views

Insert a tex file pdf inside another tex file dynamically

Suppose that both tex1.tex and tex2.tex are two independent tex files in the sense that both compile and generate a pdf file independently. I would like to include the output of tex2.tex in the ...
2
votes
1answer
43 views

Set up TeXstudio to compile either a *.tex or a *.ltx file

This question is probably not very specific for TeXstudio, since it has to do with command execution on a shell. Anyway, I want to set up TeXstudio to compile documents which either have *.tex or ...
0
votes
0answers
17 views

Installed Lyx and now TexMaker won't compile

I have been using Latex for a while with no problems. I tend to just copy and paste the preamble from past reports into new ones, and that usually works fine (as you'd expect). However, I have a new ...
1
vote
1answer
73 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 ...
0
votes
0answers
41 views

TexLive compile using Tex and DVI

I'm writing a document which uses an external publishers style file, it will not compile without errors using TexLive (Sublime Text editor). When I compile on a different machine using MacTex (TeXShop ...
12
votes
4answers
924 views

Implementation of a C compiler in TeX ?

Seeing the many things already done with TeX, I wonder if anyone has implemented a C (or C++) compiler in TeX. This does not seem too far fetched as an experiment. I do not expect great performance. ...
10
votes
4answers
1k views

Producing different versions of a document

I am writing a documentation for a software environment which will be composed of several subfile put together using the \include command. The thing is, I would like to be able to output different ...
3
votes
2answers
72 views

Environment which sends text conditionally to an appendix?

I am writing a paper and would like an environment that has the following property. If some flag is set to "true" in the preamble, all text wrapped in that environment is sent to the appendix. If the ...
162
votes
18answers
74k 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 ...
12
votes
2answers
147 views

How can I “future-proof” my LaTeX documents so that they can be re-compiled at a later date? [duplicate]

Is there a way to save the "current state" of my TeX installation, the various packages etc. that allow a document to be compiled into a pdf at this moment? In a year or two, I'll probably have a lot ...
6
votes
2answers
788 views

Why does Java have Eclipse and NetBeans, but TeX cannot?

I faced these questions when I was searching for an intelligent Windows TeX editor: Is there any way to get real-time compilation for LaTeX? Free, "compile and preview as you type" latex ...
37
votes
6answers
5k views

How to make Latexmk use makeglossaries?

Is there a way to make Latexmk invoke makeglossaries (part of the glossaries package)? Specifically I want to use latexmk to compile a LaTeX document that uses the glossaries package to produce a ...
1
vote
0answers
33 views

When compiling with XeTeX, why do some letters become stretched and warped?

When compiling with XeTeX using the Helvetica font, some letters become verticaly stretched (e.g: f and capital letters), some become generally bigger (e.g: j), brackets become slightly unaligned from ...
2
votes
1answer
48 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 ...
3
votes
1answer
92 views

precompile molecules for faster compilation

I have something like one hundred of chemfig-drawn molecules in a single file, that I consider a sort of database. Compiling this file takes approximately five minutes. I'm going to write a report of ...
1
vote
1answer
49 views

When creating the PDF usage of pdflatex is encouraged

I have to send a paper for a IEEE proceeding and, in the instruction, there is this sentences with no other explanations: "When creating the PDF usage of pdflatex is encouraged". The question is: I ...
6
votes
1answer
12k 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 ...
0
votes
0answers
21 views

PDF document doesn't update after Build (SublimeText & LaTeXing)

I am working on Ubuntu 14.04 writing in SublimeText 3059. I have installed LaTeXing and been using it successfully for a long time now. While working on thesis I've been getting warning about the lack ...
3
votes
1answer
107 views

How to process text but don't print it?

I have, for example, the following document \documentclass[a4paper,10pt]{article} \usepackage{vhistory} \usepackage{ifthen} \newboolean{IncludeVersionHistory} ...
1
vote
1answer
42 views

Problem with LaTeX (Texmaker produces nothing)

I got this problem when I run my code: Package hyperref Warning: Option `pdftex' has already been used, (hyperref) setting the option has no effect on input line 75.
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
62 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
143 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.
154
votes
18answers
47k 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
18 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
91 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
216 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
31 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
47 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 ...
2
votes
1answer
129 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 ...
2
votes
1answer
984 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
89 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
53 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
424 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
80 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
53 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
52 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
33 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
25k 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 ...
2
votes
1answer
29 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
26 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} ...