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

30
votes
0answers
1k views

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and I noticed that it takes long to process this part of the file. Today, I came across this website, which proposes ...
7
votes
0answers
284 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 ...
6
votes
0answers
257 views

TexLive: Why compiling in linux is much faster than windows?

I use TexLive in both linux and windows. However, the project compiles very fast (below 1 sec.) in linux while it takes between 10 to 20 seconds on windows (in the same machine). This has happened ...
5
votes
0answers
128 views

LuaLaTeX performance with RAMdisk

This question may seem like it's been asked a million times over, but the relevant questions tackle XeLaTeX or plain LaTeX. What I want to know is if moving any filesystems/file locations to a ...
5
votes
0answers
168 views

What options to use with pdflatex and when

Reading this question arara: show warnings only in the last compilation step made me realize that I can probably save some compile time by changing the options I use with pdflatex. For a "typical" ...
5
votes
0answers
180 views

Automating Error Detection of pfdlatex

Background: I have numerous individual files that need to be compiled, so am using a script to do that with the following options: set PDFLATEX_OPTIONS = "\ --file-line-error \ ...
4
votes
0answers
52 views

Draft compilation without changing code

I usually have my documentclass not in the body file but in a different one, so when I want to switch between draft and final modes I have to change the file I'm working on and look for that line. My ...
3
votes
0answers
242 views

How to compile files with non-ASCII paths?

I cannot compile files with non-ASCII paths. I am using XeLaTeX from MikTex and TexStudio on Windows. Is it possible to read paths as utf8? The specific path contains Chinese. If I change what ...
3
votes
0answers
330 views

How does Latexian's live preview feature work?

In particular, does it use any trick to generate the preview more quickly?
2
votes
0answers
48 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 ...
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
0answers
29 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 ...
2
votes
0answers
93 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
0answers
183 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 ...
2
votes
0answers
62 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
2
votes
0answers
103 views

could not start the command or log file not found

I get the error could not start the command when compiling with Quickstart and I get log file not found when compiling with PDFLaTeX. Can any one help me with this issue? Please, see the screen ...
2
votes
0answers
223 views

Encoding compilation problem with Bibtex Texmaker and LinuxMint

I had absolutely no problem until my last compilation, and I got no idea why I got this error now, because I didn't absolutely touch this line of code nor this page... Here is the error I get : ...
2
votes
0answers
339 views

TeXnicCenter MakeIndex and BibTeX error: Compile not working

This might seem like a duplicate but from what I can tell it's not. I have looked at the prior pages and tried the solutions offered with no change in results. My project works fine on my desk top ...
1
vote
0answers
43 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 ...
1
vote
0answers
23 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 ...
1
vote
0answers
125 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
0answers
42 views

tex file is badly compiled after upgrading windows version

I have been using latex for years, currently I have TexStudio editor and MikTex 2.9 for 64-bits OS. My operating system is Win7. My laptop got morally old, so I decided to get a new one which has ...
1
vote
0answers
39 views

Error compilling with Xindy ?

I try compilling Xindy document at LaTeX and my MWE like this : \documentclass{article} \usepackage[xindy]{glossaries} \makeglossaries \newglossaryentry{gloss}{ ...
1
vote
0answers
64 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 ...
1
vote
0answers
82 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 ...
1
vote
0answers
80 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, ...
1
vote
0answers
84 views

Upgraded to Mavericks, Changed PATH, Still Not Working

I'm using Sublime Text 2 to compile and am receiving this error: Attempted command:latexmk -cd -e $pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %S %O' -f -pdf mentorship program.tex ...
1
vote
0answers
49 views

Convert .tex to .tex, but replace \ref{} with actual numbers

I use Pandoc a lot to go between .tex, .markdown, and .docx. Everything works well enough for me in the .tex to .docx conversion, but the table and section references show \ref{my_label} rather than ...
1
vote
0answers
47 views

No errors after copying

While i am editing a .tex file , when i compiles it is showing error . At that time when copy the same code in to a different named .tex file , then new .tex file is showing no errors on ...
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 ...
1
vote
0answers
21 views

Disable printing of fonts/packages during compilation - from the compiled file

I just read this: Disable printing of fonts/packages to STDOUT and I was wondering whether the same could be effected somehow from the .tex file being compile (probably you would want to do this ...
1
vote
0answers
124 views

Error R Sweave and Knitr Plugins at WinEdt 8.0?

I try a simple example document .rnw at WinEdt with R Sweave Plugin like this : \documentclass{article} \begin{document} \SweaveOpts{concordance=TRUE} \textbf{hello world} ...
1
vote
0answers
40 views

Unable to include chapter

I'm using \input command to compile six different chapters in one pdf file. But the output shows five chapters and sixth chapter is not at all compiled. ....preamble \begin{document} ...
1
vote
0answers
110 views

ERROR After Updated Modules at ConTeXt?

I have problem after update modules at ConTeXt and I can’t use module at my document before I can. My MWE from this link : http://downloads.ziddu.com/download/23836664/Vektor.rar.html You can see my ...
1
vote
0answers
32 views

Strange error when compiling in texmakerE

Recently I've started getting a weird error in Texmaker I can't understand. To make it worse, it seems to disappear at the slightest change. On the good side, it doesn't prevent compilation. On the ...
1
vote
0answers
84 views

Texmaker does not compile but indicates success

I am using a Texmaker-Miktex setup. Usually everything is working fine. My code is okay, I know that. But sometimes, if I click on compile, in the log file window, the success-indicating blue lines ...
1
vote
0answers
63 views

texi2dvi runs forever if the document contains references not in the .bib file

If I run the example below with texi2dvi (GNU Texinfo 5.2) 5381 [texlive 2012], it never stops. How can this be avoided? It's somehow strange. I used to have a lot of references in my files which were ...
1
vote
0answers
184 views

TeX Live not compiling from TeXnicCenter

Due to problems with psfragfig and MiKTeX I wanted to switch to TeX Live and TeXnicCenter instead (on Windows 8). However it does not compile even the smallest MWE in TeXnicCenter. I always get the ...
1
vote
0answers
148 views

Set up vim, latex for AGU template

On a Mac, I have been using vim-latex for a while and had set it up a while ago to output pdfs via the :ll command in vim (using pdflatex if I'm correct) and viewing the output via the :lv command ...
1
vote
0answers
781 views

Run Bibtex on aux files in subfolders, multiple OS

I have a complete framework for my PhD thesis based on classicthesis/arsclassica. Single chapters are located in Subfolders like this. main.tex Chapters/project1/project1.tex ...
1
vote
0answers
100 views

How to use StyleSlide at Simpleslides ? (ConTeXt)

I am very interesting use Simpleslides and My MWE like this : \usemodule[visualcounter] \usemodule[simpleslides][style=Swoosh] \setupTitle [ title={Simple Slides?}, author={Hirwanto}, ...
0
votes
0answers
52 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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
41 views

Recover .tex file after computer crash

I was working on my .tex file and had just saved it right before the incident happened, then BOOM my computer says something about iqrl. This has been going on for a while and its really ...
0
votes
0answers
53 views

Comments in preamble causing errors in build with “pre-compiled” format file using mylatexformat?

Consider the following MWE - nearly the same as in Failure with [greek] babel and lastpage, \frontmatter?, but not exactly - where I have a large document, for which I wanted to generate "precompiled ...
0
votes
0answers
39 views

TeXwork bibliography does not produce any output nor error

I'm writing my thesis, both main.tex and Bibliography.bib are in the same folder. I'm using Windows 7 and the TeXwork Latex enviroment. \documentclass[11pt, oneside]{Thesis} % The default font size ...
0
votes
0answers
32 views

Problems in Output pages

When I compiled my file with LaTeX, there are no Errors, 2 warnings, 7 bad boxes, and there are 8 pages of output, but when I open it there is just one page output! so, how to solve this problem? ...
0
votes
0answers
31 views

How to compile creating externalized figures files from pgfplots in a given folder?

I'm working on a project on LaTeX which includes heavy externalization of pgfplots figures, so I've hidden everything in a tex subfolder of the main one and work only there. Every time, though, I have ...
0
votes
0answers
69 views

URL hyphenation

I need to hyphenate an URL —I'm the using \url{ } command)—. I've found that one solution is to add the hyphen option to the url package. I've added it but the compilation doesn't work. I get the ...
0
votes
0answers
157 views

texstudio in ubuntu: gensymb.sty not found

I recently switched to Linux with Ubuntu and installed Texstudio. When I try to compile, it says that the gensymb and tikz-cd packages are not found, but I already had them installed. I have them ...