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

3
votes
4answers
9k views

How to compile a document with EPS images using TeXnicCenter?

I have all my input images in EPS format. I am using TeXnicCenter. When I use latex->dvi output profile, all of the EPS images show up fine. However when I want to take the final output by using ...
20
votes
5answers
1k views

Speeding up minted compilation

I've been looking into speeding up my pdflatex compilation time and it's lighting fast now. Only one thing's still very slow: compiling source code using the minted package. I was wondering if ...
1
vote
0answers
1k views

Beamer compilation error, ps error [closed]

I have a presentation in beamer and I've used the trick with overlays, the one I asked about here. And in other presentation everything worked. I compiled the document, first to dvi, and then to ps, ...
3
votes
1answer
272 views

Is pdflatex a one pass compiler?

I was wondering why pdflatex displays some references in the text as question marks the first time that the file is compiled? For instance, with bibliographies at the end of an article that are ...
2
votes
1answer
18k views

In TeXnicCenter I'm trying to produce a PDF but no output is being created

Very simple really. I installed TeXnicCenter, Adobe Reader X and MiKTeX 2.9. Tried to build a code in the PDF format. I get 4 new files but no .pdf file. Yet another option listed as LaTeX => PS => ...
6
votes
2answers
790 views

Possible to avoid re-compilation of unmodified part of LaTeX document?

I have some TikZ code in my LaTeX document. Whenever I edit other parts in the LaTeX document, I recompile it. But repeating recompiling unmodified TikZ code can be time-consuming. I was wondering ...
1
vote
0answers
1k views

Compilation problem after running bibtex [closed]

I'm having the following problem: My document compiles properly before running bibtex. When I try to recompile after running the bibtex command it gave this compiling error: Runaway argument? ...
16
votes
4answers
5k views

Compiling a LaTeX document manually

I've created LaTeX documents before using 'nice IDEs' such as TeXnicCenter and have a little experience in general with TeX, however, now I'm wondering about creating one "manually". By that, I mean ...
1
vote
1answer
314 views

Passing listing-environment as option to command [duplicate]

I have a simple command which takes one argument. Now I want to pass a small listing-environment to the command. Here is the code: \documentclass{article} \usepackage{listings} \begin{document} \...
2
votes
0answers
2k views

thesis won't compile anymore! [closed]

I opened up my thesis this morning to compile and nothing happens! It worked fine Saturday. LyX hangs and when I exported to .tex and tried to compile with TeX Shop it also hangs. here is the console ...
13
votes
4answers
1k 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. ...
2
votes
2answers
7k views

Easiest way for installing and using pdfLaTeX on Windows

Installing and using pdfLaTeX is straight forward on Linux since you can select an install from the synaptic package manager and then use the command prompt. In Windows it seems a bit more complicated ...
4
votes
2answers
1k views

How to redirect SAS output to LaTeX?

I'm wondering how can the SAS output directly be redirect to LaTeX as we can do by using Sweave with R. Thanks
1
vote
1answer
192 views

Has anyone got a LyX 2 precompiled for Windows?

I've been trying to compile LyX 2 myself but I can't start the resulting executable (the Resources directory is missing a lot of subdirectories). I don't know what the problem is, I exactly followed ...
9
votes
1answer
437 views

Output quality of various compilation methods

I read from the LaTeX WikiBook that in order to achieve the highest quality output we should choose the shortest compilation route. However I found no clear explanation for this, except the vague ...
6
votes
2answers
277 views

Telling LaTeX where to compile to from inside your document?

Here is a hypothetical scenario. I want to make a beamer presentation and a handout for that presentation. I start my file as follows: \newif\ifhandout \handouttrue \ifhandout \PassOptionsToClass{...
15
votes
4answers
5k views

Having a LaTeX PDF display the date the document was printed, not compiled…

I have been looking around for quite some time trying to find a way for a PDF (created using XeTeX) to adjust the date accordingly by the date it was printed - not compiled. I am familiar with \date, \...
8
votes
1answer
951 views

Compiling partial documents (without document tags)

I am getting some colleagues to migrate from Word to LaTeX for technical documents, but old habits die hard. I am looking for a way to compile each LaTeX document partially without document tags, so ...
3
votes
2answers
1k views

Make use of two BibTeX libraries in one document

I am trying to make use of two bibtex libraries in the same document for my thesis: one for books (filename: literatur.bib) one for internet resources (filename: internetquellen.bib) but on ...
19
votes
3answers
4k views

How to disable the prompt on error?

When pdflatex can't compile a file, it drops me to a prompt. I've never used it and always try to get away from there as quickly as possible, usually generating a q.log file in the process. Is there ...
3
votes
1answer
2k views

LaTeX doesn't pick up changes to style file

I installed the widetext package and was happily using it until I decided to edit the style file widetext.sty. Happily, LaTeX immediately picked up the changes and compiled correctly. I then decided ...
13
votes
2answers
6k views

How to makeglossaries with TeXworks?

I am using TeXworks to edit my LaTeX files. I currently use the pdfLatex+MakeIndex+BibTeX which calls the texify (it is the standard configuration). How to configure this option to call the ...
4
votes
1answer
881 views

What could cause repeated NULL characters in an .aux file? [closed]

I have a LaTeX document that was compiling fine until this evening. I was playing around with synctex and latexmk when I noticed the error, but I'm not sure what is causing it. There are over 100 of ...
21
votes
5answers
5k views

How do I run bibtex after using the -output-directory flag with pdflatex, when files are included from subdirectories?

When I have master pdflatex file which includes one or more child documents using something like \include{include/childdoc}, and I call pdflatex on it using pdflatex -output-directory=out parent.tex, ...
5
votes
2answers
490 views

TeX compilers/wrappers and robustness

Please see this post for context. We can use texi2dvi to get LaTeX to compile the correct number of times, and to insert a bibtex call into the loop if necessary. rubber is another wrapper script ...
7
votes
1answer
858 views

Conditional compilation of beamer slides

I'm preparing a beamer slideshow, and I will have to print slides. I would rather use landscape mode slides, but it is possible that I need to use portrait mode ones. Sadly, I won't know until a few ...
4
votes
2answers
1k views

texify: how to invoke bibtex8 instead of bibtex?

Suppose that I need to run bibtex8.exe -B -c cp1251.csf or something like that in order to produce correct bibliography list; cp1251.csf comes with the gost package but it makes no difference in the ...
9
votes
1answer
12k views

TeXworks can't compile any .tex document

I've just installed TeXworks on new computer (with ubuntu 10.4). It seems all required texlive packages are installed, in any case I can compile .tex documents using terminal. But in TeXworks while ...
14
votes
3answers
3k views

Generating PDF without any intermediary files (stdin/stdout)

I am programmatically generating PDF's from a template and would like to avoid hitting the hard-drive all the time. Not so much for optimization but because I run parallell threads on all the cores ...
12
votes
2answers
2k 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 ...
16
votes
1answer
5k views

Compile using latexmk in emacs

In the accepted answer in for the question it is suggested how to add latexmk support to emacs. If I get it right, compiling the .tex file should be assigned to C-c C-c. However this doesn't work for ...
2
votes
1answer
8k views

compile a .tex file to Word document? [duplicate]

Possible Duplicate: Workflow for converting LaTeX into Open Office / MS Word Format Are there any solutions to this? I know that's probably not the most favorable thing to do... But I really ...
6
votes
2answers
2k views

Conditional Compiling and \documentclass

I am quite new to latex and don't quite get it how to compile different versions of my presentation. If this is important: I am using pdflatex and beamer. There are three documentclasses I am ...
1
vote
2answers
270 views

How to multiply compile according to selected tags?

I would like to do the following, by I am not sure how. Say I have a LaTeX file with series of annotations, each with zero or more "tags" (say, about their contents or the project they are related to)...
9
votes
1answer
740 views

File size savings

This is a question just out of curiosity; I hope someone familiar with the "under-the-hood" parts of TeXLive can answer my question. I have a LaTeX source file for a presentation using Beamer, which ...
2
votes
2answers
12k views

Configuring Texmaker to find latex and other compilation tools / commands

I've installed latest releases of MiKTeX, GhostScript and Texmaker, but I can't compile anything. The error message "Could not run the command" appears. How do I configure it?
118
votes
13answers
26k 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. ...
10
votes
2answers
1k views

How to pass options to latex compiler using rubber?

Gedit with latex plugin is a great tool for working with latex. However I need to modify standard tool which is is just a call of rubber. I would like to have possibility to to use inverse search. To ...
1
vote
1answer
2k views

How to make a PS file form a TeX document with graphics ?

Could someone explain me how to generate a PS file from a TeX file. I have included some graphics in my TeX file. I used graphicx package. I am using TeXLive Thank you.
8
votes
1answer
753 views

Why cannot I compile `\documentclass{minimal}\document . \enddocument` ?

Why cannot I compile the most minimal code below? \documentclass{minimal}\document . \enddocument
9
votes
2answers
2k views

Typeset single chapter from book

I am working on a multi-chaptered document, tied together with a main tex file that pulls the chapters in via \include. To build the entire document, in its current draft form, can take upwards of 15-...
19
votes
3answers
52k 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 ...
2
votes
1answer
857 views

How to manage a document with a huge number of PSTricks figures?

I am writing a mathematics book that makes use of a huge number of PSTricks pictures. For the sake of re-usability and maintaining separation of concern, I always put the self-contained PSTricks code ...
0
votes
1answer
148 views

KDE Template Header not displaying

The KDE template won't display the .png image file. I haven't changed anything from the stock settings. I wanted to give the template a whirl, but all I see is a label called oxygen-header for a ...
13
votes
3answers
5k views

How do I choose which sections to compile from a LaTeX document?

Is it possible to compile a LaTeX document but only include one section and its associated tables and figures? I have two cases for which this would be useful: I would like to provide the Methods ...
3
votes
2answers
7k views

Some strange errors when moving from MikTex on windows to Ubuntu TeX.

I have some tex code that I used to compile successfully (actually, with some 3 non-important warnings) on Windows using MikTex. When I try to compile it on Ubuntu using: tex composition-body.tex I ...
9
votes
1answer
7k views

Compile LaTeX with BibTeX and glossaries

i need a little of help here. Till now wat I now is that to compile a latex into a pdf with bibtex references i need to execute the next sequence: 1. pdflatex document.tex 2. bibtex document.tex 3. ...
2
votes
1answer
3k views

Tikz problem - compilation seems to go on forever!

I am trying to compile this not-too-complicated figure, but pdflatex and latex both seem to be taking forever. They have never completed successfully even after multiple attempts and waiting for upto ...
8
votes
2answers
3k views

Should I always specify -sPAPERSIZE=a4 when invoking ps2pdf for paper size other than A4?

When I compile a document with paper size other than A4 as follows: \documentclass{scrbook} \usepackage[A6paper]{geometry} \begin{document} something \end{document} using latex-dvips-ps2pdf steps,...
15
votes
2answers
2k views

What are the pros and cons pertaining to “latex -> dvipdfm” versus “latex -> dvips -> ps2pdf”?

There is another option to produce PDF actually, i.e., using pdftex. But let's omit it in this topic. I usually do "latex -> dvips -> ps2pdf" to get pdf output. My LaTeX input file contains eps ...