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

139
votes
17answers
34k 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 ...
1
vote
0answers
14 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
0
votes
0answers
43 views

Auto-Compile after any modification in WinEdt

Is there any way to make WinEdt to automatically re-compile after any modification in TeX file? I know that it is possible to do it using third-party codes like it is explained here: Why can Bakoma ...
2
votes
3answers
2k views

LaTeX sourcefiles older than 5 years old. XeLaTeX fails

When compiling a LaTeX document with XeTeX, I get the following error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! You are attempting to make a LaTeX format from a source ...
1
vote
0answers
41 views

Convert .tex to .tex, but replace \ref{} with actual numbers

I use Pandoc a lot to go between .tex, .markdown, and .docx. Everything works well enough for me in the .tex to .docx conversion, but the table and section references show \ref{my_label} rather than ...
0
votes
0answers
56 views

LaTex => ps => pdf

Hi I have just installed texniccenter on my new computer and i am trying to use LaTex => ps => pdf profile as i was using this my old computer. I checked all profile settings from output profile and ...
6
votes
1answer
69 views

Put the last date of the file versioned with Git

I have many TeX files for to get their PDFs versions and I put a date in each of them like as last updated data. \usepackage[yyyymmdd]{datetime} updated \today But this is tricky, because every ...
2
votes
1answer
77 views

pdfLaTeX produces different outputs from the same file

I am writing a report using LaTeX and I am quite confused about something. I am working with TeXShop, and the output produced after compiling sometimes changes. Let me show some screenshots Here ...
2
votes
1answer
54 views

How to change output file directory in latex?

I'm using MikTeX 2.9 (pdflatex) and WinEdt 8.2. I know that all output files such as .tex, .pdf, .dvi, .log are important and I cannot simply delete them so I would like to ask how to get files (.pdf ...
3
votes
1answer
49 views

Avoid splitting/wrapping error message when using pdflatex

When compiling with pdflatex and using the file-line-error option if I have a long pathname and there is an error, that error is split at 80 characters in the log file (see image below) Is one (or ...
1
vote
1answer
50 views

pdflatex stuck compiling, gives no error

My case is: I have been typesetting tests with the exam class, I used to have problems with multiply defined labels for questions (but that is another problem). Recently I managed to change a few ...
29
votes
5answers
3k views

Stop LaTeX compile with a command?

Is there a way to stop the compile process through the use of a command? Something like: \exception{This is a user-set exception. Compile halted.} So when performing the compile process, the ...
3
votes
1answer
53 views

LaTexTools stops compiling in Sublime Text

I have been using LaTexTools for a while, and it works fine. After installing the public beta of Yosemite, Sublime Text + LatexTools stops working: the build command brings up output window showing NO ...
1
vote
0answers
30 views

No errors after copying

While i am editing a .tex file , when i compiles it is showing error . At that time when copy the same code in to a different named .tex file , then new .tex file is showing no errors on ...
3
votes
1answer
127 views

Compiling issues

I made my a latex file on Kile in Ubuntu. The script that I used was \documentclass{article} \title{Hello, Cruel World!} \author{Obedient Grad Student} \begin{document} \maketitle ...
0
votes
0answers
18 views

Upgrading hyperref to avoid error (\pdfendlink ended up in different nesting level than \pdfstartlink)

I'm running into the \pdfendlink ended up in different nesting level than \pdfstartlink error in my system (elementary OS 0.2, based on Ubuntu 12.04) The question mysterious error: \pdfendlink ended ...
0
votes
0answers
17 views

Issue compile command under Sublime

I'm trying to compile a .tex file under Sublime3 (Build 3059) to no avail. I've installed the LaTeXTools package but if I use the Ctrl+B command Sublime attempts to compile the file as a python ...
2
votes
1answer
34 views

Jump to the last line of PDF when Compiling text in Sublime Text

I'm using Sublime text to compile my text file using hotkey Ctrl+b, but when I write pages of equations and compile my file, the pop-up pdf always goes to the first line on the first page. So, I have ...
2
votes
1answer
36 views

How to page break a code print in a latex document into more pages instead of one

After this question How to show similar display of codes of different programming languages in LaTeX which prints a code in a standalone pdf document (for instance 1000 lines of code in only one pdf ...
3
votes
0answers
27 views

Why this error? Missing $ inserted [duplicate]

I've not opened any $.. and i'm not using any mathematical command (apart \pm but this is not the problem because it doesn't work the same). The first error is just after the first \end{tabular}. I ...
1
vote
1answer
4k 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 ...
2
votes
0answers
83 views

Cannot compile latex on Ubuntu 14.04

I used Ubuntu 14.04. I install latex live full: sudo apt-get install texlive-full I typed: pdflatex file.tex and get this error: ! Undefined control sequence. \GenericError ... #4 \errhelp ...
60
votes
3answers
2k views

When and why should I use % !TEX TS-program and % !TEX encoding?

Occasionally, I see other people's documents starting with two lines like that: % !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode It's clear to me that the first line declares the engine ...
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 ...
2
votes
1answer
26 views

Use of the subfiles package results in a compilation error, due to the compiler erroneously parsing a commented-out “\end{document}”

I have the following two files in a folder: mymainfile.tex: \documentclass{article} \usepackage{subfiles} \begin{document} %\end{document} \subfile{mysubfile.tex} \end{document} mysubfile.tex: ...
9
votes
2answers
1k views

Emacs-org-mode and latexmk

After getting to know org mode here, I tried it out. It seems to be, indeed, very helpful. However, I want it to work smoothly with LaTeX, and as a compiling script I want to use latexmk. I followed ...
31
votes
7answers
6k views

Conditional typesetting / build

Let's say I have .tex file which is a set of problems and solutions, of which I want to make two pdf files, one which includes the solutions and one which doesn't. so I need to build the .tex file ...
8
votes
3answers
410 views

Post-commit service hook for GitHub repository containing LaTeX?

This question is related to Compiling documents online. I store my LaTeX documents in a git repository on GitHub. Is there a web service which offers a post-commit hook for GitHub which automatically ...
0
votes
0answers
18 views

Hyperref and toc problem

I'm writing a book (then, document class=book) and the document adds itself the chapters, sections etc, using \tableofcontents I get the error: argument of contentsline has an extra } I've already ...
102
votes
24answers
10k 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 ...
3
votes
1answer
68 views

Is there a way to know how often latex has already run? [duplicate]

A few days ago, I have seen an example of a latex file, that did conditional \defs on subsequent runs but I can't find that one again. I still remember that it was by looking into the \jobname.aux do ...
14
votes
2answers
26k views

Undefined citation warnings

When I compile my document I get warnings of the form: Package natbib Warning: Citation `xxxxx' on page y undefined on input line z. This problem does fix itself eventually when the compiler ...
7
votes
3answers
104 views

Conditional compilation of code based on package version [duplicate]

I am working on a document with a colleague and we have different versions of PGF/Tikz installed -- I have version 3 and he has version 2.10. This is causing a problem for compilation on our two ...
5
votes
2answers
32 views

lgrxenc.def not nound

Yesterday I've finally reinstalled my TeXLive to the version of 2014. While compiling, I have the following error: fontec.sty Package fontenc Error: Encoding file `lgrxenc.def' not found ...
1
vote
1answer
94 views

File ended while scanning use of \@writefile [closed]

My problem is that if I try to recompile a text after correction of some mistake, e.g. missing "}", the I get a message Runaway argument? {\contentsline {figure}{\numberline {\relax ...
1
vote
0answers
99 views

LaTeX error in the LaTeX compilation [closed]

For the last few days I have been facing some problems while trying to compile my LaTeX document. When I run it (shift+ctrl+L), the window compiles for some time; then it is stopped. It starts ...
2
votes
1answer
676 views

Change to class file not reflected

I am using a class file to help document my thesis. I need to make some basic changes and I therefore go and edit my class file. I save it and then in Texnic Center when I do shift+ctrl+f5 I do not ...
2
votes
0answers
1k views

! LaTeX Error: File 'natbib.sty' not found [closed]

I have a problem compiling an article using natbib. I am using WinEdt to compile, for example this what I found online: \begin{filecontents*}{bibtest.bib} @book{goossens93, author = "Michel ...
10
votes
2answers
463 views

How secure is sharelatex?

Background: One of my co-authors faced problem of compiling the paper that I had built using TexStudio and MikteX 2.9 on his Mac Machine running TexLive. ShareLaTeX Role: So, one solution is to use ...
0
votes
0answers
32 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} ...
13
votes
1answer
205 views

Parsing question: Do curly braces affect LaTeX compilation time?

I have an old and slow computer and long LaTeX files. When typing I prefer to use \frac 1{x} instead of \frac{1}{x} or x_i instead of x_{i}. Does the presence or omission of curly braces in these ...
1
vote
0answers
105 views

How to find out which compile steps are necessary? [duplicate]

I have been using LaTeX for quite a while now, but I have not found out how to determine the rules for the compilation steps needed to create the document yet. A couple of questions come up. Please ...
1
vote
0answers
42 views

My document doesn't compile [closed]

I am new to tex writing and I've had issues with my first document. I tried compiling a simple text, and on the message box it only says that the Process Started and then it simply does nothing. I ...
0
votes
1answer
41 views

Thesis won't compile after editing .bib

I'm writing my thesis using the Classic Thesis template. My file compiled well until I added some references to my .bib file. Now TeXworks won't compile my thesis anymore, giving me the following. ...
2
votes
2answers
92 views

Create a service using Automator to compile .tex file in Mac

I'm using Mac OS 10.9.3, TeXLive-2013 and Scrivener to write my papers. I'd like to use Apple's Automator in order to create a service (available from the Finder's right-click menu over a file) called ...
74
votes
11answers
12k views

Speeding up LaTeX compilation

Usually I don't mind about LaTeX's compilation speed, because a paper of less than 20 pages is compiled rather fast. However, I am working on a large document - A report with more than 80 pages. ...
0
votes
0answers
50 views

You have requested package `include/foo' but the package provides `foo'

I have the following files: my_folder/ include/ mypackage.sty main.tex The package's name is 'mypackage'. Now, in main.tex I do \usepackage{include/mypackage} using the file path ...
2
votes
1answer
152 views

Package biblatex Warning: No “backend” specified, using Biber backend

I am trying to compile a simple tex file but I get this warning and no bibliography printed out: Package biblatex Warning: No "backend" specified, using Biber backend. I am using Kile on Ubuntu ...
3
votes
1answer
409 views

TeXLive problem with the default MLA package, \ifpdf seems to be undefined

As I'm compiling an example document to a PDF, which worked on the Ubuntu repository's version of TeXLive, but now on the install that I ran last night, things are broken. This is the output I get ...
1
vote
0answers
21 views

error while compiling a thesis template [duplicate]

I use Basic MikteX 2.9 and TeXnicCenter, just updated my MikteX (downloaded all packages), and have just downloaded a thesis template. When I try to compile main.tex, the following error message ...