{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
0answers
19 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
24 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 ...
136
votes
17answers
33k 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 ...
7
votes
3answers
403 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
26 views

Biblatex compilation ignoring recompile [on hold]

I'm using the latest version of TexShop on a Mac and have decided to start using biblatex. I have overwritten the bibtex command in preferences with the following: biber --output_safechars This ...
0
votes
0answers
17 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 ...
101
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
62 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 ...
13
votes
2answers
25k 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
92 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
29 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 ...
2
votes
1answer
57 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 ...
1
vote
1answer
72 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
95 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
665 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
382 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
30 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
203 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
40 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
34 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
85 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 ...
73
votes
11answers
11k 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
47 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
60 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
395 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 ...
4
votes
2answers
74 views

Produce pdf of selected sections

I'm writing a commissioned chapter for a handbook and I want to produce a pdf of three specific sections of my document to send to a colleague who is writing a different chapter for the same handbook ...
21
votes
1answer
455 views

What are the main differences between AutoLaTeX and LaTeXMk?

I stumbled upon AutoLaTeX today and it seems to be very similar to LaTeXMk indeed. Can you summarise the main differences, which might help me choose between the two tools?
7
votes
0answers
135 views

ConTeXt vs LaTeX compilation time

In the past I used ConTeXt only when some font was not available in LaTeX -- I may probably be wrong -- but my impression is that ConTeXt is compiling faster than LaTeX. For a document that compiles ...
4
votes
1answer
56 views

Compilation sequence with lualatex

I'm looking to make automatised table using lualatex (I just want to make some conversion and be able to modify the input easily). But I can't find how the code would be parsed and compile by ...
0
votes
1answer
37 views

How can I compile a beamer presentation with pauses in same page?

I want to compile my presentation, but as I have the pauses codes, \begin{itemize} \item <1- | alert@1> \item <2- | alert@2> \end{itemize} I wanted to do it in the same page. I was looking for ...
2
votes
1answer
32 views

Compilation of bibliography

I have a latex document which is compiling properly. The message on compiling is Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "template_Book_23June2014_V2".tex This is ...
5
votes
0answers
86 views

TexLive: Why compiling in linux is much faster than windows?

I use TexLive in both linux and windows. However, the project compiles very fast (below 1 sec.) in linux while it takes between 10 to 20 seconds on windows (in the same machine). This has happened ...
1
vote
0answers
15 views

Disable printing of fonts/packages during compilation - from the compiled file

I just read this: Disable printing of fonts/packages to STDOUT and I was wondering whether the same could be effected somehow from the .tex file being compile (probably you would want to do this ...
0
votes
1answer
521 views

Biber/BibLaTeX \printbibliography causes “undefined control sequence” in the proceeding line

I'm using biblatex with biber as the backend to write my document. Without \printbibliography, all the citations work perfectly well, and appear in the document, so I assume that my bibliography.bib ...
0
votes
0answers
28 views

Error R Sweave and Knitr Plugins at WinEdt 8.0?

I try a simple example document .rnw at WinEdt with R Sweave Plugin like this : \documentclass{article} \begin{document} \SweaveOpts{concordance=TRUE} \textbf{hello world} ...
0
votes
0answers
34 views

Error PracTeX Jurnal Modules at ConTeXt

I have the same problem like My Way Module from question before (My Way Modules), i try to compile example PracTeX Jurnal document like this \usemodule[pracjourn] % Replace the text inside <+ ...
0
votes
0answers
43 views

Error My Way Modules at ConteXt ?

I want to make a document from My Way Modules at ConTeXt, like this example : \usemodule[mag-01] \setvariables [magazine] [title={Introduction}, author=Hans Hagen, affiliation=PRAGMA ADE, ...
1
vote
1answer
31 views

Index printing issue

I am writing an article with an index, and I'm using the makeidx package to do so. I have made sure to include the \makeindex command in my preamble, and I have included a \printindex command near ...
1
vote
0answers
32 views

Unable to include chapter

I'm using \input command to compile six different chapters in one pdf file. But the output shows five chapters and sixth chapter is not at all compiled. ....preamble \begin{document} ...
2
votes
1answer
46 views

Force latex to finish compiling regardless of error? (xelatex)

I have a reoccurring problem. I want to be able to force latex to finish compiling regardless of an error. I know that this error will occur several times in my script and it is a result of the ...
0
votes
0answers
15 views

Problem Update Module at ConTeXt? [duplicate]

From my question before : ERROR After Updated Modules at ConTeXt? Since I updated third party modules at ConTeXT, i get problem can't use modules at My ConTeXt document and I always get a message like ...
1
vote
0answers
79 views

ERROR After Updated Modules at ConTeXt?

I have problem after update modules at ConTeXt and I can’t use module at my document before I can. My MWE from this link : http://downloads.ziddu.com/download/23836664/Vektor.rar.html You can see my ...
3
votes
1answer
29 views

Minus sign disappears in lstlisting if I import the semantic package

I am using the lstlisting package and the semantic package. Now whenever I write a - (minus) inside a lstlisting it disappears after the compilation. Here is a minimal example: ...