{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
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
191 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
435 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 ...
14
votes
4answers
4k 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
876 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 ...
18
votes
3answers
3k 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
1answer
5k 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 ...
3
votes
1answer
848 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 ...
17
votes
5answers
4k 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
472 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
833 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 ...
8
votes
1answer
11k 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 ...
13
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 ...
15
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 ...
5
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
263 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 ...
9
votes
1answer
730 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
11k 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?
100
votes
12answers
21k 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. ...
9
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.
7
votes
1answer
745 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 ...
16
votes
2answers
43k 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
809 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
4k 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 ...
2
votes
2answers
6k 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 ...
8
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. ...
1
vote
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 ...
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 ...
4
votes
1answer
733 views

Can I compile .tex to .html from within AUCTeX?

Can I compile .tex to .html from within AUCTeX? What are the keybindings? Thanks!
8
votes
2answers
2k views

Is there any way to build a LaTeX document from a parent directory?

I've written a makefile for my current project which produces all deliverables (executable, written in C, and report, written in LaTeX). I have a directory structure whereby the Makefile and outputs ...
9
votes
2answers
4k views

Exit codes of pdfLaTeX

In the script I presented in this question I encountered the following problem. In case of a compilation error, I have to cancel the execution of pdflatex 3 times. This can be very annoying. I would ...
7
votes
1answer
3k views

Ignore compile errors

How can I set up a permanent compile loop that keeps trying even when there are errors? I'm using latexmk with a remote compile setup as discussed here and here. However, if I save a document with a ...
14
votes
1answer
751 views

Getting “You have to run LaTeX again to get the references right ” over and over again

on Ubuntu 10.04 with Emacs 23.1.1 and TexLive, writing a book (scrbook) spread over different files, I have the following problem: Doing C-c C-c in Emacs (the usual cycle LaTeX BibTeX LaTeX LaTeX) I ...
81
votes
9answers
12k 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 ...
0
votes
3answers
339 views

Is there a site where I can enter a latex expression, and it shows me an image of the compiled expression? [duplicate]

Possible Duplicate: Compiling documents online Hi, So I'm preparing a powerpoint slideshow and would like to add in some math expressions without creating a new latex document, copying the ...
2
votes
1answer
332 views

using easybmat and tikz packages together?

In continuation to this question, I was looking for a way to add nice diagonal lines inside a BMAT matrix to express a band structure of the matrix. However, a LaTeX file with both TikZ and easybmat ...
30
votes
3answers
6k views

Is there any way to generate custom errors/warnings in LaTeX?

I want something like \ifmmode\else\GenerateWarning{The command \backslash uzuka is supported only in math mode.}\fi, which is supposed to generate a warning "The command \uzuka is supported only in ...
5
votes
7answers
1k views

Is it possible to compile a *TeX document with a single command?

Let's say I have a document that uses cross-references and also bibtex/biblatex to manage the bibliography. Currently I need to run pdflatex + bibtex/biber + pdflatex to generate the final document. ...
11
votes
2answers
2k views

'Dummy' LaTeX environment

I have a big LaTeX file which I would like to compile so that certain environments like figure are not shown. To that end I wanted to make use of the renewenvironment command. But the facilities of ...
3
votes
1answer
522 views

How to use the amsmidx package to include multiple indices

I am using the gsm-l class file to write a small text. I want to have two indices at the end, one for names, and one for subjects. So, as instructed in the AMS instructions, I include then line ...