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

1
vote
0answers
69 views

Can I reduce the timeout for compilation?

I'm writing a document with many pictures using the tikz package. A small error in these often do not make compilation fail outright, but rather time out. (Example from ...
0
votes
0answers
29 views

Always creating a second document with slightly different configuration [duplicate]

I work on a document, and I would like to create, simultaneously, another document which has the 'doublespacing' tag on. Until now, every time I needed it, I just copied the TEX file to a ...
2
votes
0answers
97 views

Eps file looks funny in compiled pdf

I'm trying to include an eps file in my tex file. The tex file compiles fine, but the image in the pdf is only a small part of the actual image. The strange thing is that there are other eps files ...
2
votes
2answers
44 views

Pattern to detect need for recompilation from auxfile

I am using an auxfile to access the results of some computations which I need before they can actually be computed. Since this requires two runs when something changes the result I would like to have ...
4
votes
4answers
608 views

Why is LaTeX always divided in two programs?

If we want to write a document using LaTeX, whatever is our operational system, we need to download two programs, for example, WinShell and TexWorks. Why can't we use one single program?
0
votes
0answers
16 views

Problems with texstudio (New computer) [duplicate]

I just got a new computer today, its an inspiron 3542, which runs on windows 8.1 and a 64-bit OS. After which i download texstudio to edit some documents, everything works fine until i try to build ...
57
votes
26answers
16k views

Real Time LaTeX? [duplicate]

Possible Duplicate: Is there any way to get real-time compilation for LaTeX? I'm looking for an application in which I can write pure LaTeX in one half of the screen and on the other half ...
1
vote
1answer
75 views

Extracting text from variable

I am trying to work out a special document that through a seed generates a test for my students. I have gotten quite alot to work but I have the issue that when I try to add my answers into an array ...
3
votes
1answer
68 views

Problem with 'feyn' package for 11pt font size

I need to draw several Feynman diagrams and I found the feyn package suitable enough for this purpose. I use MiKTeX to compile the tex-file. The problem is that for some strange reason it does not ...
1
vote
0answers
20 views

Where do I put custom packages in a directory structure for a large document? [duplicate]

I am writing a large document (thesis proposal) that I would like to break into separate files, with the following directory structure: . |-- ch/ | |-- chapter1.tex | |-- chapter2.tex | |-- ...
5
votes
1answer
69 views

Compile a document as “draft” for the first few times and then non-draft in the final round

I'm working on a big document in which there are many images. Usually, I compile it with latexmk and it works quite well. But: with all these images it's quite slow when compiling. Is it somehow ...
0
votes
2answers
98 views

Listing in Beamer Frame - halts after warning

This minimal example does not compile and I don't know why. There is a package warning Package Listings Warning: Text dropped after begin of listing on input line 8. And then there is no output ...
0
votes
0answers
211 views

package babel causes compilation error after OS X 10.10 Yosemite installation

I had TeX Live installed when I recently installed Yosemite. The progress bar was stalled for hours at the "2 minutes remaining" stage, which led me to think that the computer was not responding. Thus ...
3
votes
1answer
276 views

Missing \begin{document} and auxiliary files

I'm a "noobish" TeX/LaTeX user and I was getting the Missing \begin{document} error. I've tried pdflatex, xelatex, xetex, luatex... nothing worked. Actually I SOLVED this (turned around at least) by ...
2
votes
0answers
207 views

Tex Writer on iPad

I've just purchased Tex Writer for an iPad Air, I synced it with my Dropbox account, downloaded a .tex file, hit the play button (which I assumed is for compiling) and nothing happened. Am I missing ...
0
votes
0answers
25 views

Save button doesn't work and cannot compile

I am having trouble saving (and therefore compiling) files build with Texmaker (with Miktex also installed). When I try to save in Texmaker, the "Save" button is greyed out (and thus unusable). I can ...
7
votes
0answers
292 views

Why php exec() fails .tex→xelatex→.pdf, but succeed .tex→xelatex→.xdv→xdvipdfmx→.pdf?

The call of command: $dir = "/path/to/source/file"; exec("cd $dir;xelatex filesource.tex", $output_array[0]); always fails, but: $dir = "/path/to/source/file"; exec("cd $dir;/usr/texbin/xelatex ...
5
votes
1answer
929 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 ...
0
votes
0answers
62 views

Why is something like Latexmk needed or why do we sometimes need to compile a file multiple times?

It was my intention to use a makefile or a script to built my latex files when I do a git commit. When looking up for some best practices I came upon this site a few times and was frequently ...
3
votes
1answer
112 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 ...
1
vote
1answer
3k views

Error : Package inputenc Error: Keyboard character used is undefined

I was adding references to my .bib file and everything was just working fine. I came acroos a document ...
10
votes
4answers
446 views

How can I automate the workflow for producing multiple versions of a document? [duplicate]

Say you have two versions of the same LaTeX document. For instance, you have one version of your lecture slides for actually delivering a lecture: as you're really not a big fan of the "wall of ...
2
votes
2answers
67 views

TeXnicCenter: Copying compilation errors [to google]

When a compilation error occurs in TeXnicCenter 2.02, I would like to copy it from the "Build Output" window [to google] So far I'm failing to do so, having to type manually the error description. ...
2
votes
1answer
69 views

Problem compiling Tikz automaton library example

This doesn't compile for me (adapted from p.521 of the Tikz manual, v3.0.0): \documentclass{article} \usepackage{tikz} \usetikzlibrary{automata} \begin{document} \begin{tikzpicture}[shorten ...
20
votes
1answer
4k views

Why does Latex/Bibtex need three passes to clear up all warnings?

As explained by Andy Roberts, if you need to compile a new document with bibtex citations, then you need to run latex three times, and bibtex once: latex document bibtex document latex document latex ...
2
votes
1answer
406 views

Beamer not working at all!

Suddenly I am getting the cryptic "Text line contains an invalid character" errors (100 of them) on all my beamer files. Even this MWE doesn't work right: \documentclass{beamer} \begin{document} ...
1
vote
0answers
90 views

Add timestamp to generated document

Is it possible to add timestamp to the pdf file generated from the latex or lyx file ? To clarify, let us assume we have a file named demo.tex . When we compile , it should compile a pdf labelled ...
0
votes
0answers
55 views

Compiler arguments from tex file

I have several times, in different lines of investigation, seen insinuations that adding something along the lines of %& -output-directory=../output \documentclass{...} in the very beginning ...
0
votes
0answers
142 views

Error Asymptote when compilling file ?

I try install program Asymptote at My computer and i follow all instructions from this, when i am compile my file like this : \documentclass[12pt]{article} % Use this form to include EPS (latex) or ...
45
votes
11answers
8k views

Passing parameters to a document

I compile most of my documents via Makefiles which take care of the bibliography, indexes, etc. Often I'd like to compile different versions from the same TeX file changing only small things (e.g. a ...
1
vote
1answer
51 views

Compiling a file with two document classes [duplicate]

Just out of curiosity: Is there a way to compile latex document with two document classes at once? Suppose that I have a paper which start with line: ...
1
vote
0answers
83 views

How to make listing program ConTeXt at LaTeX ?

I want make listing program Context at LaTeX, my MWE like this : \documentclass[]{article} \usepackage{listings} \usepackage[dvipsnames]{xcolor} \lstset { frame=single, framesep=\fboxsep, ...
0
votes
0answers
47 views

Error again, Simplesildes at Context after updated 2014.10.16?

I have a problem again with Simpleslides at ConText after updated modules. I have MWE like this : \usemodule[simpleslides] [style=BottomSquares] \setupTitle [ title={Title of the ...
3
votes
2answers
5k 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 ...
0
votes
0answers
19 views

Each page as a separate .ps file [duplicate]

Typography requires that each page as a separate .PS file. For example, a three-page document was sent in three files, one page per file. Like foo-001.ps, foo-002.ps, foo-003.ps. Is there a way to do ...
1
vote
0answers
1k 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 ...
3
votes
0answers
127 views

pdfLaTeX produces different outputs from the same file [closed]

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 ...
18
votes
3answers
1k views

Hiring someone to help me with LaTeX for my PhD thesis

I do not know whether this is an appropriate question, but I was carrying it around for quite some weeks and now it just has to come out. I am working on my PhD thesis. My thesis will include a long ...
2
votes
2answers
124 views

How to make a font available for ALL system users

I'm developing a webpage and I'm interested in calling pdflatex to compile a .tex file in order to generate a PDF report. I test the command in the directory where the .tex is, then there is no ...
4
votes
1answer
119 views

Unexpected ‘Undefined control sequence’ in XeTeX, but not in TeX

When trying to do grid typesetting in plain TeX I stumbled upon old upages, which looks very promising (see also this introduction). So I opened upages-20001214.tar.gz and put everything in ...
0
votes
0answers
130 views

document with string having ff and fi converting to null or empty characters

I have a small document with string starting with ff and fi and they are converting to null or empty characters.. Doing HTML looks good but when I convert to latex it shows empty characters. I'm on ...
0
votes
1answer
90 views

Daggers compilation PDF [closed]

I have a problem with my latex code. I ve been using it for several years, but it is the first time that it happens. My problem is that when I compil the PDF, I have daggers almost everywhere mostly ...
1
vote
2answers
92 views

Compile error due to tex file having a UNC path

I'm trying to compile a LaTex document using the LaTeXing package in ST3. If the file is on my local disk 'C:*' it compiles fine, but I have to keep it on a networked drive '\[company_site]*' which I ...
1
vote
1answer
318 views

TeXworks stopped creating pdf's

I just installed TeXworks on my MacBook pro and I created a simple .tex file. It worked just fine and created the PDF any time I ran 'pdfLaTeX'. Now that I've created a new file it doesn't create the ...
5
votes
1answer
191 views

pdflatex: How to automatically quit on compile error?

See also this question on Reddit. I want to automate running pdflatex over and over with make and guard. However, when pdflatex encounters a syntax error, it hangs, preventing guard from being able ...
1
vote
0answers
80 views

eps image not identical to original after compiling [closed]

I have created an eps image with gnuplot (terminal postscript enhanced eps), that is just what I wanted But when I put this image in a tex document and compile a pdf with latex dvips andps2pdf, I ...
0
votes
1answer
114 views

Can't Get Any LaTeX Editor To Run

I just build a desktop and seem to be having issues getting LaTeX to run. Important Information: Windows 7 (64-bit) Asus Radeon R9 290 All LaTeX-related software is saved on the non-OS drive ...
1
vote
2answers
4k views

Fatal error, "Can't write on file 'test.pdf' [closed]

I am not the most experienced latex user, so I hope I can describe the problem accurately. When I compile my tex document I get following message: ! I can't write on file `test.pdf'. Please type ...
65
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 ...
4
votes
5answers
23k views

TeXstudio Compile: Error: Could not start the command: pdflatex.exe

I'm trying write a report in LaTeX but TeXstudio won't let me. All I have is this: \documentclass[a4paper,11pt]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...