{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
36 views

Warning refers to unrecognized command, but file can still be compiled

Good afternoon everyone, I am using a master document in TeXstudio which imports several separate .tex-files and contains the following code: \documentclass[11pt]{article} \usepackage{packBWR} ...
1
vote
2answers
27 views

smcaps.sty file not found

New to TeX. Using TeXnicCenter with MiKTeX. Attempting to compile an existing .tex file and get the error LaTeX error: File smcaps.sty not found. Is this file part of an uninstalled package? I ...
94
votes
1answer
14k views

Biblatex/biber fails with a strange error about missing recode_data.xml file

I'm trying to use biblatex and when I compile my document I get an error like the following: Windows data source C:\Users\<username>\AppData\Local\Temp\par-5061756c\ ...
0
votes
0answers
31 views

Error Floatrow package? [duplicate]

I have problem with floatrow package after updated package and you can see like this : Command Line: xelatex.exe --interaction=errorstopmode --synctex=-1 "msb.tex" Startup Folder: D:\Tutorial ...
8
votes
1answer
109 views

When (La)TeX says “some message on input line XYZ” - where's that line?

I'm sure this is a dupe, but I'll go ahead anyway: LaTeX relates many of its messages to lines in files. For example: LaTeX Font Info: Try loading font information for OT1+lmtt on input line 81. ...
2
votes
1answer
69 views

How do LaTeX macros interact with the TeX engine? [duplicate]

From wiki on LaTeX the basic requirement is to have a TeX compiler (which is used to generate output files from source), fonts, and the LaTeX macro set. Assuming I have a TeX engine and I ...
0
votes
1answer
105 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 ...
2
votes
0answers
29 views

Does latex fix double whitespaces? [duplicate]

I'm copy-editing a long text with lots of double whitespaces in between words and am wondering whether the latex compiler will remove these automatically, or whether I'll need to replace them with ...
2
votes
1answer
69 views

XeLaTeX with fontspec is slow every time, not just the first time

I am running XeLaTeX (distributed as part of MikTeX) on Windows 7 Service Pack 1 64-bit. The following test file takes a long time to compile: \documentclass{article} \usepackage{fontspec} ...
1
vote
0answers
34 views

LaTex Error: Can only be used in preamble [closed]

I have been asked to make some edits on a book that was written in LaTex. When I compile the main page, it compiles correctly up to one of the chapters, but then I get the following error ! LaTeX ...
1
vote
1answer
79 views

Partial compilation commands/environment?

In the interest of speeding up compilation times of large documents, I got interested in partial compilation. (I'm already aware of "pre-compiling" preamble format fmt files and intend to use that as ...
4
votes
3answers
136 views

Speed up compilation of a document with a table created with siunitx

I have this table that I want to include in my document: \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[utf8]{inputenc} % kodovani ...
0
votes
0answers
45 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 ...
1
vote
0answers
13 views

texnicCenter custom build

is there a possibility to setup custom build for texnicCenter? Now all compilation is done using custom make/build cmd bat, however it would be much more convenient to have all this in texnicCenter.
0
votes
0answers
15 views

TeX4ht aliasing on equations' images

I am compiling a .tex file to html using TeX4ht induced by the htlatex command. When TeX4ht compiles a document and turns equations into images, however, it produces low-quality images with little ...
7
votes
3answers
857 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 ...
2
votes
1answer
62 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 ...
0
votes
1answer
77 views

Windows API error 4350

I am rather new to Latex. When compiling my latex file using Texmaker I suddenly get the error: Windows API error 4350: This file is currently unavailable for use on this computer. pdflatex: Data: ...
1
vote
0answers
28 views

xelatex my_file.tex is not working through php's exec (no pdf)

I've tried everything from using xelatex on it's own: xelatex my_file.tex , to using both: xelatex -no-pdf my_file.tex xdvipdfmx my_file.xdv and also creating a .sh file with the same commands ...
1
vote
0answers
22 views

include picture with output directory option pdflatex

I'm trying to compil latex files from an external directory using output-dir option because some *.sty files are in my LaTeX directory but not in my current directory. The command I use is like this ...
1
vote
0answers
79 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
0answers
41 views

Slow compilation without sudo

With any *.tex file, even with almost empty template, tex, latex, pdflatex commands takes ages to compile it. strace shows excessive amount of stat calls to all the files in my home directory, which ...
1
vote
1answer
44 views

How to load precompiled preamble from a specific folder?

According to this line How to speed up pdflatex for a very large document on MacOS X? . Precompile preamble significantly speed up pdflatex compilation. The method is to generate a precompile.fmt ...
1
vote
1answer
58 views

Packages causes my code not to compile

The code runs fine until I add the two packages `\usepackage{tikz} \usepackage{pgfplots}` I am using TeXstudio 2.9.4. Here is a screen shot right after I run with the two packages. ...
4
votes
1answer
142 views

Print high-quality documents using system rather than embedded fonts?

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 ...
2
votes
1answer
28 views

Help locating conflicting options error

I have a conflicting options error message, and I can't figure out what is causing it. Please see my set-up below. I realise this a pretty complex set-up, so I'm not looking for a full analysis of it; ...
1
vote
1answer
49 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.
0
votes
0answers
5 views

precompile ctex package result in missing font

I want to use ctex package to write Chinese documents. The ctex package provide ctexart documentclass. In order to speed up the compilation, I decided to make a precompile file. The minimal working ...
3
votes
1answer
113 views

How can I ignore pdflatex missing package errors while compiling (pdflatex)?

My question is related to How can I ignore latex error while compiling?. I have a document (for testing purposes) which uses mathbx package. Unfortunately my Miktex distribution is old (but I am happy ...
66
votes
8answers
12k views

What is the practical difference between latex and pdflatex?

I understand that some packages (like PSTricks) can't be used with pdflatex. Are there any other differences between these tools? Can we say that pdflatex is better if we don't care about ps?
1
vote
0answers
65 views

No pdf in Latex compilation even though the encoding is correct

EDIT 2: LINK TO DOWNLOAD THE tex FILE: http://www.mediafire.com/download/a2aaczrqzobv1q2/send.zip I have a .tex file whose preamble is this: EDIT: ...
0
votes
0answers
40 views

The text on some lines on printed document appear bolder or darker

As the attached picture illustrates, some lines in my document appear darker or more bold than the rest. I've marked the lines with a red line. The PDF document seems all fine. Is there something in ...
0
votes
1answer
25 views

Extra files when compiling tex [duplicate]

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
0answers
41 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
29 views

LyX cannot compile correctly my title page [duplicate]

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 ...
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 ...
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 ...
1
vote
0answers
153 views

Error in pdf2latex compiling [closed]

Tell me, please, what is connected with the error? winedt+miktex
0
votes
0answers
56 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
105 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 ...
2
votes
1answer
54 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
40 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 ...
0
votes
0answers
58 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
4answers
943 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. ...
11
votes
4answers
1k views

Producing different versions of a document

I am writing a documentation for a software environment which will be composed of several subfile put together using the \include command. The thing is, I would like to be able to output different ...
3
votes
2answers
77 views

Environment which sends text conditionally to an appendix?

I am writing a paper and would like an environment that has the following property. If some flag is set to "true" in the preamble, all text wrapped in that environment is sent to the appendix. If the ...
168
votes
18answers
78k views

Is there any way to do a correct word count of a LaTeX document?

Often assignments (or even papers) have a word count limit. That is not a big deal when using Word, but I don't know how to do that using LaTeX. My solution has been so far to compile the document and ...
12
votes
2answers
156 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 ...
37
votes
6answers
5k views

How to make Latexmk use makeglossaries?

Is there a way to make Latexmk invoke makeglossaries (part of the glossaries package)? Specifically I want to use latexmk to compile a LaTeX document that uses the glossaries package to produce a ...
1
vote
0answers
38 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 ...