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

4
votes
1answer
2k views

TeXworks and Command Line Compilation ok, But TeXShop yields different result

Background: As per my earlier question, Can't get real currfile if used in precompiled .fmt file, I am trying to speed up compilation by generating a .fmt file. The example below tests that the ...
1
vote
1answer
6k views

Texmaker / TeXstudio does not compile XeLaTeX with MiKTeX portable

I am trying to migrate from TeXworks to Texmaker (just for the fact that it is better for handling multi-files projects). I am using portable versions of both MiKTeX and Texmaker, so, in Texmaker I ...
25
votes
2answers
665 views

Programming TeX macros so that they output instructions to rerun the compilation

This question is motivated by the behavior of the tikzmark macro created by Andrew Stacey, and a recent discussion with David Carlisle on chat. I have noticed that LaTeX code using tikzmark typically ...
3
votes
1answer
178 views

Compile directive via an included file

Background: For one project, I store all my header .tex/.sty files in ../../../Templates, and all the files need to be at a particular relative directly location so using this relative hierarchy ...
8
votes
1answer
173 views

Avoid infinite compiler passes with biblatex ibid citation styles?

I've run into a problem when using both gb4e and the authoryear-icomp style of biblatex. [I mistakenly thought gb4e had something to do with this, so this question was originally named Avoid clash of ...
11
votes
1answer
7k views

How to use symbols such as \delta and \lambda

I'm trying to use symbols such as \lambda and \delta but for some reason it's not compiling. I've reproduced the problem in the following code: \documentclass[12pt,a4paper,oneside]{article} ...
3
votes
1answer
5k views

Biblatex/biber - no citation, bibdata, or bibstyle found in .aux file

Yo peeps - sorry for the long post, trying to be thorough. I'm having a bit of an issue with biblatex/biber. I was having trouble implementing the acro package which I believed was due to old ...
1
vote
0answers
41 views

Determine OS in which the TeX compilation is taking place [duplicate]

Possible Duplicate: Print ‘system information’ in LaTeX doc Is there any way to determine whether the TeX document is compiling in Windows, Linux or Mac OS?
10
votes
2answers
292 views

Equivalent to graphicx draft/demo option for tables

I am looking for a way to exclude tables from compilation when I am in draft mode (technically I want to create a boolean such as drafttables that would exclude tables when active). Usually I have ...
5
votes
1answer
645 views

Weird problem with LaTeX/excel2latex

I try to use excel2latex for converting excel tables into LaTeX. Here is the simple code I am using: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
0
votes
0answers
67 views

Question about using the package exceltex [duplicate]

Possible Duplicate: Installing/Using Exceltex I have installed Spreadsheet::ParseExcel and downloaded the zip file from link and unzipped the folder. Then what? I'm trying to compile the ...
25
votes
1answer
2k views

ultrafast pdflatex with precompiling

I try to improve the time pdflatex needs to compile my book. Really working example book.tex %&preamble \begin{document} Hi \end{document} and preamble.tex \documentclass{article} I run ...
2
votes
2answers
91 views

bashrc export TEXEDIT emacs

If PDFLaTeX fails to compile with See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. I want to press e to get an instance of Emacs. The cursor should be on ...
11
votes
1answer
211 views

Dual compatibility of TeX sources

Consider the following situation. You enjoy TeXing on your local machine, having fun with the latest versions of various packages. For example, exploiting the benefits of TikZ/externalize... or ...
8
votes
1answer
812 views

Compilation taking too long when including svg

This is a general question. I have been very happy when using inkscape for my LaTeX files. Now I am preparing a presentation using beamer and I am trying to include svg files into my presentation ...
5
votes
0answers
605 views

How to make compilation faster? [closed]

I have a rather large document (about 150~200 pages) with plenty of cross-references. I can, of course, use \include and \includeonly, but I do not only have new chapters, I also use \input for ...
16
votes
3answers
424 views

Print 'system information' in LaTeX doc

I've used TeX quite a bit before but am getting back into it at the moment. I want to print a document details page with info such as: Compiled on: Compiled by: OS version: LaTeX version: ...
66
votes
4answers
3k 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 ...
2
votes
0answers
232 views

Compilation error when plot and subplot are inserted [closed]

I am trying to add subtables inside tables. To achieve that I add the following packages: \usepackage[format=plain,labelfont=bf,up,textfont=it,up]{caption} \usepackage{subcaption} After adding ...
12
votes
2answers
978 views

Not recompile unchanged pgfplots graph

I'm writing a document with something like 30 graphs with a lot of points in each. The graphs are almost ok and I don't need to change them for now. I'm improving the text, so I need to recompile ...
1
vote
2answers
1k views

\ref and \cite stopped working

My WinEdt version had to be reinstalled and now I can't use PDFTexify or Texify. That wouldn't be a problem since I still can use PDFLaTeX. So I try that, what happens? Now, all \cite{} show [?] and ...
4
votes
1answer
136 views

Is the parsing of --translate-file in the first line disabled by default?

I couldn't find any information in either MikTeX nor TeXlive docs. AFAIR, the parsing of the first line (with --translate-file etc.) is disabled by default in modern TeX distros; am I right?
1
vote
1answer
1k views

Compilation of LaTex in Windows? With TeXnicCenter or other software?

I am forced to use Windows -machine during certain classes, software provided by this party here. I have earlier compiled things through SSH but now trying to use Tex -softwares built for Windows ...
5
votes
6answers
1k views

Automatically create two PDF output files from one tex file [duplicate]

Possible Duplicate: Can one TeX file output to multiple PDF files? Let's say I have a tex file foo.tex. Now, I want to achieve that pdflatex does not only create a file foo.pdf but ...
2
votes
0answers
3k views

Problem with quick build [closed]

I just started using texmaker and have now faced a problem with viewing the made file as a pdf-file. I have selected the PdfLaTex + View PDF setting from the Quick Build Command -list. And next to the ...
6
votes
1answer
318 views

Arbitrary text parsing from a separate file

I'm still very new to the world of TeX, so please bear with me if this question is unclear or has been asked before. I'm starting to figure my way through TeX and the millions of plugins and ...
1
vote
1answer
195 views

Parts of XeLaTeX doesn't work after moving to LinuxMint

I one of my headerfiles, I used the command \setmathfont[]{XITS Math}, once I tried to compile the document as always with xelatex, I get the following error: ! Undefined control sequence. l.87 ...
6
votes
2answers
171 views

What is a function f(n) returning LaTeX code requiring exactly n compilations to yield stable output?

Is there a (simple) recipe for producing LaTeX code requiring exactly n compilations? (That is, I'm looking for an algorithm/function f(n) with domain {1, 2, 3, ...} and LaTeX code as its range.) If ...
8
votes
1answer
111 views

What types of code patterns will increase the number of required runs of the latex command?

It is known that references require an additional run of LaTeX and that these references may depend on BibTeX, which in turn depends on at least one previous compilation of the document source. I have ...
5
votes
1answer
469 views

How to precisely tell from log-file whether to rerun LaTeX

There is a bit of discussion in related questions about automated LaTeX (re)compilation (e.g., here and here) and elsewhere on the web on rerunning the latex command in order to resolve all ...
2
votes
0answers
181 views

no output with \usepackage{emp} [closed]

I'm trying to embed MetaPost graphics inside a LaTeX file using the emp package, with pdflatex. When I include the line: \usepackage{emp} %part 1 pdflatex doesn't produce any output (it says 0 ...
7
votes
3answers
283 views

Expanding a minted command inside a macro

I am currently trying to speed up the compile time of a document that uses minted. I would like to be able to have certain language features (and style) appear the same in both a minted environment ...
6
votes
1answer
192 views

Why would two apparently identical TeX installations produce different results?

I have XeLaTeX with TeXShop installed on two different machines. One compiles documents without a problem. The other throws weird errors. As far as I can tell they're set up identically, so I don't ...
6
votes
1answer
79 views

How to temporarily suppress image insertion when compiling?

There are some big images in my document and compiling is taking substantial amount of time. When compiling a tex file to a dvi (and subsequently ps and pdf), is there any way I can temporarily ...
2
votes
0answers
137 views

non centered slides with Prosper [closed]

I use MixTeX 2.9 with Windows. I have a problem when compiling with the Prosper document class. My code begins as follows: \documentclass[pdf,distiller]{prosper} \usepackage{amsmath} ...
0
votes
0answers
36 views

Biber Compilation Error, Redux [duplicate]

Possible Duplicate: Engines of Tex-Editors and Biber/Biblatex Encountering a problem discussed a few months ago (see Dummies Guide to Biber) but this time unable to resolve. MWE as follows, ...
3
votes
1answer
4k views

Using Terminal to run LaTeX commands

Since I always used TeXShop to compile my tex-files I did not have to run LaTeX commands via terminal (many macros like BibTeX, MakeIndex etc. are included in TeXShop). Now that I want to include an ...
5
votes
2answers
2k views

Why can't I get pstricks with auto-pst-pdf (and cropping) running on MikTeX?

\documentclass{minimal} \usepackage[pdf]{pstricks} \begin{document} \begin{pspicture}(-5.25,-5.25)(5.25,5.25)% \pscircle*[linecolor=cyan]{5} ...
14
votes
4answers
6k views

How to automate using biber in MiKTeX-TeXworks

I have MikTeX 2.9, 32-bit, Windows 7, all the latest updates are there. I'm using TeXworks ( pdflatex + makeindex + bibtex). When I use biblatex package with option [backend=biber] I have no ...
22
votes
1answer
1k views

Write to logfile

I want to write some things to the log file. What is the best practice for this? Is it \message{} or \typeout{} or what?
12
votes
2answers
2k views

Compiling a document with PGFplots processing only every x-th data point? [duplicate]

Possible Duplicate: How to select a finite number of samples from the file when plotting using pgfplot Compiling my document with many PGF Plots, each containing thousands of data points ...
6
votes
1answer
756 views

(La)TeX Web browser [closed]

I had an idea this morning and would like to share and to know if someone has already developed it somewhere! A Mozilla group is currently building a JavaScript Application able to transform any PDF ...
10
votes
2answers
422 views

latexmk / imakeidx interoperational efficiency

imakeidx and latexmk are two of my favorite utilities of all TeX-time, especially in the face of book-size compilations (super thanks @egreg and @John Collins!). Apart from ease of producing multiple ...
4
votes
1answer
264 views

How to compile a file in ConTeXt, but output the results to a text file?

I have some files which contains data with ConTeXt syntax, e.g. containing macros and instructions for special symbols, but no preamble, sections, or other features tying the data to any particular ...
0
votes
0answers
57 views

How to compose and compile separate .tex files into a single article/book? [duplicate]

Possible Duplicate: How can I divide my book into different project without repeating myself? I want to compose and compile separate .tex files without repeat the preamble in every source ...
4
votes
2answers
903 views

TeXworks + pdflatex + PSTricks autopp suffix problem

I have managed to make PSTricks work with TeXworks. However after compilation it adds -autopp to the basename of the pdf file, e.g. report.pdf becomes report-autopp.pdf. As a result TeXworks is not ...
2
votes
1answer
364 views

Easy way to find the location of a compilation error?

When I compile my project with pdflatex, I get to see at which line the error has occurred, but the file is it claims the error has occurred in is incorrect since it always just says that it has ...
2
votes
1answer
202 views

Homework generation [duplicate]

Possible Duplicate: Conditional typesetting / build I have a database of LaTeX homework questions like this: question1 question2 question3 etc Is it possible to create a flag to ...
3
votes
2answers
431 views

Beamer conditional pdf file generation

I would like to know if there is a method to generate beamer pdf presentation based on conditions. For example: -Main Beamer presentation: Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 -For the first ...
6
votes
1answer
2k views

Multibib with TeXworks: how to parse second .aux file?

I need to use the multibib package to create a double bibliography document. I am currently working with TeXworks 0.4.3 (on Windows 7), but I cannot make the double bibliographies system work. The ...