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

0
votes
1answer
13 views

Extra files when compiling tex

When building a LaTeX file (with Texstudio, if that's important) in addition to the .tex and .pdf files, there are also .aux, .log, and .synctex.gz created. What do these extra files do?
1
vote
1answer
68 views

How to include pdfpages when running pure latex?

This question may be easy, but I am stuck with some PDF pages trying to include them in my document. The normal way for pdflatex is just to insert the lines: \usepackage{pdfpages} % in the preamble ...
1
vote
0answers
32 views

Unknown graphics extension

I have inserted a .wmf (Windows Metafile) into a Scientific Workplace document. Then I tried to convert it to pdf using MikTex 2.9. I am getting this error message: ! LaTeX Error: Unknown graphics ...
2
votes
0answers
18 views

LyX cannot compile correctly my title page

I am trying to make the title page for my master thesis. I found on the internet a template, in which the cover page is given by the following code \begin{titlepage} \begin{center} \textsc{\LARGE ...
1
vote
0answers
27 views

LaTeX: precompile document to reuse inside a C++ program [duplicate]

I've made a C++ program with uses a LaTeX template for creating PDF documents. I open the file, replace some placeholders written inside the .tex document with values of a DB, and then, I compile the ...
0
votes
0answers
48 views

Why do I always have to xelatex twice to make references work properly?

I found that I always have to xelatex at least twice to make references work (referring figures or equations), otherwise I have such wrong reference: The following error message appears when the ...
7
votes
2answers
90 views

Insert a tex file pdf inside another tex file dynamically

Suppose that both tex1.tex and tex2.tex are two independent tex files in the sense that both compile and generate a pdf file independently. I would like to include the output of tex2.tex in the ...
0
votes
0answers
19 views

Installed Lyx and now TexMaker won't compile

I have been using Latex for a while with no problems. I tend to just copy and paste the preamble from past reports into new ones, and that usually works fine (as you'd expect). However, I have a new ...
1
vote
0answers
77 views

Error in pdf2latex compiling

Tell me, please, what is connected with the error? winedt+miktex
2
votes
1answer
46 views

Set up TeXstudio to compile either a *.tex or a *.ltx file

This question is probably not very specific for TeXstudio, since it has to do with command execution on a shell. Anyway, I want to set up TeXstudio to compile documents which either have *.tex or ...
0
votes
0answers
44 views

TexLive compile using Tex and DVI

I'm writing a document which uses an external publishers style file, it will not compile without errors using TexLive (Sublime Text editor). When I compile on a different machine using MacTex (TeXShop ...
12
votes
2answers
148 views

How can I “future-proof” my LaTeX documents so that they can be re-compiled at a later date? [duplicate]

Is there a way to save the "current state" of my TeX installation, the various packages etc. that allow a document to be compiled into a pdf at this moment? In a year or two, I'll probably have a lot ...
1
vote
0answers
33 views

When compiling with XeTeX, why do some letters become stretched and warped?

When compiling with XeTeX using the Helvetica font, some letters become verticaly stretched (e.g: f and capital letters), some become generally bigger (e.g: j), brackets become slightly unaligned from ...
6
votes
2answers
792 views

Why does Java have Eclipse and NetBeans, but TeX cannot?

I faced these questions when I was searching for an intelligent Windows TeX editor: Is there any way to get real-time compilation for LaTeX? Free, "compile and preview as you type" latex ...
3
votes
1answer
98 views

precompile molecules for faster compilation

I have something like one hundred of chemfig-drawn molecules in a single file, that I consider a sort of database. Compiling this file takes approximately five minutes. I'm going to write a report of ...
1
vote
1answer
49 views

When creating the PDF usage of pdflatex is encouraged

I have to send a paper for a IEEE proceeding and, in the instruction, there is this sentences with no other explanations: "When creating the PDF usage of pdflatex is encouraged". The question is: I ...
0
votes
0answers
23 views

PDF document doesn't update after Build (SublimeText & LaTeXing)

I am working on Ubuntu 14.04 writing in SublimeText 3059. I have installed LaTeXing and been using it successfully for a long time now. While working on thesis I've been getting warning about the lack ...
3
votes
1answer
107 views

How to process text but don't print it?

I have, for example, the following document \documentclass[a4paper,10pt]{article} \usepackage{vhistory} \usepackage{ifthen} \newboolean{IncludeVersionHistory} ...
1
vote
1answer
42 views

Problem with LaTeX (Texmaker produces nothing)

I got this problem when I run my code: Package hyperref Warning: Option `pdftex' has already been used, (hyperref) setting the option has no effect on input line 75.
3
votes
1answer
62 views

Pythontex: trying to compile an example I found on TeX

I found a simple example here answered by G. Poore but I cannot get it work. The output to the pdf is ?? PythonTeX ?? ?? PythonTeX ?? What am I missing something? Below you will find the .tex, ...
1
vote
0answers
161 views

Error while compiling: “Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex”

I know that a lot of people have already done this question but, I've tried everything said in the answers but nothing works! I'm trying to use TeXMaker 4.4.1 and MikTeX 2.9 but, when I try to compile ...
0
votes
0answers
21 views

texstudio shows no errors

so when I hit the compile button or even build&view, texstudio will only display the pdf if there are no errors. It will not however, tell me where the errors are, let alone what they are. ...
2
votes
1answer
32 views

Make a new AucTEX command

I'm writing a document using eps graphics so I need to compile with Latex to produce a dvi file. In that file graphics don't show (they're a combination of .tex and .eps files), but if I do dvipdf ...
1
vote
0answers
47 views

Bad math delimiter in Scientific WorkPlace

I have a .tex file that I created in Texshop, but I need to open and compile it into pdf in Scientific Workplace. It can compile no problem in Texshop, but I receive the Bad math delimiter error when ...
0
votes
1answer
53 views

Switch between different output versions compiled from the same LaTeX source

For programming in C, it is quite common to switch between creating debug- and release-versions by passing a command line argument to the compiler. I would like to have something similar for ...
0
votes
0answers
90 views

Building with asymptote: file-2.tex not found, null surface

I keep getting these weird errors when trying to compile with Asymptote. I compile with pdflatex, then asymptote, then pdflatex. The error is as stated in the title. For example, when building ...
1
vote
1answer
84 views

Error compiling code matlab in latex

good morning, someone help me? MWE: \documentclass[preview]{standalone} \usepackage[latin1]{inputenc} \usepackage[spanish]{babel} \usepackage{latexsym,amsmath,amssymb,amsfonts} ...
2
votes
0answers
53 views

Timed out compile unless I delete bibliography

I have a document that won't compile unless I delete the bibliography. All of the subfiles compile individually (but they don't refer to the bibliography file). It was working fine for weeks, and all ...
1
vote
1answer
35 views

Compile only floats

When preparing a document, there are useful ways to limit what gets compiled overall. This is the case with the \includeonly command, and the draft option, that in many classes allows one to not ...
5
votes
1answer
216 views

How to find out why xetex hangs for seconds at innocent pages?

Compiling a 130 pages long report with xelatex takes my PC about 4 seconds, of which at least 1 second is spent at one particular page, and some more time at a later page. The page where most time is ...
2
votes
1answer
49 views

how to combine different tex files to a single file and generate pdf using R

I have three data frames which I would like to put to pdf. I generate tex files for the three dataframes. So I have three tex files. I would like to combine it and generate pdf in R. Right now I use ...
2
votes
1answer
27 views

Suppress TOC in htlatex (compiling with htlatex fails with Undefined control sequence \TocTitle)?

Consider this MWE, test2.tex: \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{times} ...
2
votes
1answer
29 views

Splitting a bibliography-driven Latex document into per-page Open Document ODT files?

I have already seen Can one TeX file output to multiple PDF files?, and I'm aware this is likely to require "external" scripting - but I just wanted to see if anyone has a straightforward approach. ...
2
votes
1answer
52 views

Lyx2.1 - New Empty Float Definition Appeared for Some Reason (cannot compile anymore)

I have used LyX to write my dissertation, and for the most part, it has worked quite well. I am baffled by the current compilation error, however. After adding a couple floats, I now get the ...
0
votes
0answers
24 views

Finding the cause for an overfull vbox [duplicate]

When compiling my document I get the following warning message: Badbox line 1: Overfull \vbox (1.77525pt too high) has occurred while \output is active [] Now from Google I learned that this ...
2
votes
1answer
24 views

How to make a document compile into two different orders of its parts?

I want to set up a diary that compiles in two different orders: One is work by day, the other is work by project according to tags I give to the particular chunks of work I did each day. For ...
1
vote
0answers
42 views

revtex4 - AIP Review of Scientific Instruments template - Abstract does not have right-margin

I am writing a paper for AIP's RSI journal and am using their template (locater here: http://rsi.peerx-press.org/html/rsi/rsi_latex_template.html). In the output, the abstract does have a left margin ...
2
votes
1answer
46 views

Is there a way to put some of my project's files in a separate folder?

My university has provided a thesis project template with tons of files in it. My current working directory looks a bit like this: package1.sty package2.sty package3.sty classFile.bst classFile.cls ...
2
votes
1answer
75 views

LaTeX not compiling after switching computer

I've changed computers recently; my project was compiling just fine previously, and on the new computer it's not compiling at all. The output is stuck at the last version I compiled on the previous ...
1
vote
1answer
114 views

Error invoking LaTeX from within WinEdt

this is my work environment...
0
votes
0answers
35 views

How to change the behavior of pdflatex regarding the creation of auxiliary files (*.aux, *.out, *.log)? [duplicate]

When I run pdflatex on a tex file foo.tex it creates the following files foo.aux foo.log foo.out foo.pdf and it always bothers me that the *.aux, *.out and *.log files mess up my directories. ...
3
votes
1answer
82 views

Tell TeXstudio to compile a particular document with LuaLaTeX

It is not hard to change the default compilation engine in TeXstudio from PDFLaTeX to LuaLaTeX (or any other engine for that matter). But if I only want to use LuaLaTeX for a single document, it gets ...
2
votes
0answers
55 views

Policy to stress preferrable syntax

Question Assume someone wrote a LaTeX document using my package some time ago. I want to let him know that his code should be updated. The idea is to allow outdated syntax by the LaTeX compiler but ...
2
votes
2answers
85 views

Compiling current text block in WinEdt

In WinEdt there is a toolbar button for compiling current selection of the document. But is it possible to compile current text block without manual selection? By text blocks I means parts of text ...
4
votes
1answer
599 views

Why can't I compile the simplest TeX file of only 6 lines?

\documentclass{article} \usepackage[adobefonts]{ctex} \usepackage[os=win]{menukeys} \usepackage{listings} \begin{document} \end{document} The simplest TeX file above cannot be compiled with ...
1
vote
0answers
136 views

How to use LuaLaTeX at WinEdt?

I have a problem " How to use LuaLaTeX at WinEdt ? And my MWE : \documentclass{article} \usepackage{luacode} \usepackage{tikz} \begin{document} \luaexec{ tp=tex.print ...
1
vote
1answer
33 views

What process can generate a new write sequence

While compiling a very large document recently in xelatex and tex4ht I have observed that tex4ht doesn't handle write streams the same as xelatex. I am trying to prepare a MWE to troubleshoot my ...
2
votes
0answers
33 views

Different .dvi file depending on how do I compile .tex file

I'm using TeX Live 2014 with kile as the editor. Usually I compile .tex files using kile's compilation button. There is no errors and no warnings, the output is complete. When I compile the same file ...
0
votes
1answer
92 views

Show error message when using batchmode

Consider the following MWE (in a foo.tex file): \documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[section] \begin{document} \section{Foo} \begin{theorem*} Undefined star ...
0
votes
0answers
32 views

Is it possible to add more compile buttons in the tools toolbar in texmaker?

Hi I've just started using texmaker version 4.41 on Windows 8. I'm used to Kile on Ubuntu and have been told that Texmaker is the most similar editor to kile which is available to windows. In Kile I ...