0
votes
0answers
48 views

Auto-Compile after any modification in WinEdt

Is there any way to make WinEdt to automatically re-compile after any modification in TeX file? I know that it is possible to do it using third-party codes like it is explained here: Why can Bakoma ...
3
votes
1answer
70 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 ...
2
votes
2answers
101 views

Create a service using Automator to compile .tex file in Mac

I'm using Mac OS 10.9.3, TeXLive-2013 and Scrivener to write my papers. I'd like to use Apple's Automator in order to create a service (available from the Finder's right-click menu over a file) called ...
2
votes
1answer
164 views

How to use arara with TeXShop

I try to use arara with TeXShop on my Mac, but I don't understand some steps either javascript, probably because of my english & my programer level. I create first the arara.engine in the ...
5
votes
1answer
106 views

Possibility of extending LaTeX capabilities given technology advancements?

As countless questions/answers have noted in the past, LaTeX requires you to compile at least twice when there are references, TOC/LOF, etc. Many of these situations have been documented in the ...
10
votes
4answers
349 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 ...
5
votes
0answers
127 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 \ ...
2
votes
1answer
1k views

How can I do the 'latex bibtex latex latex' compiling using Windows without the command line? [duplicate]

I'm using LaTeX and JabRef on Windows. I set up my bibliography database and cited references in my LaTeX document. However, I do not know how to use the command line on Windows to do the 'latex ...
3
votes
1answer
165 views

Robust processing of autogenerated LaTeX files that contain many errors

I use knitr to generate pretty reports, with pdflatex as backend. Everything works fine if the R code runs without error. However, if the R code fails, the autogenerated file is sometimes invalid in ...
8
votes
1answer
3k views

TeXstudio: how to automate LaTeX biber sequence of compilation

I'm a bit confused about how to configure TeXstudio to use biber. It's not that I can't find a way, I'm just wondering what is the intended way, i.e. coming from WinEdt I'm used to that "Build" or ...
1
vote
1answer
1k views

Run multiple commands in TeXShop typeset [duplicate]

I am a user of biblatex-mla and I wish to run the whole bibliography generation workflow with a single click of "Typeset" in TeXShop. pdflatex filename.tex bibtex filename pdflatex filename.tex How ...
1
vote
0answers
61 views

Building LaTeX files by one command [duplicate]

Possible Duplicate: Tools for automating document compilation Is there a single command which would run bibtex, makeglossary (pdflatex x N ...) etc. automatically? I could create Makefile ...
8
votes
1answer
192 views

Is there a macro telling which OS we're using?

I got some LaTeX documents that I have to compile them under different TeX Live, such as MacTeX or TeX Live. But in different OS, the font seems different too, for example, while in Windows, I prefer ...
20
votes
1answer
2k views

ultrafast pdflatex with precompiling

I try to improve the time pdflatex needs to compile my book. Really working example book.tex %&preamble \begin{document} Hi \end{document} and preamble.tex \documentclass{article} I run ...
16
votes
2answers
534 views

Avoid linebreaks in LaTeX console / log output

Is it possible to tell the LaTeX command not to use line breaks in its console / log output? This would make it easier to automate the processing of the log file, e.g. extracting the names of missing ...
11
votes
1answer
550 views

Running several latex processes in parallel

I am working on an experiment running LaTeX on server to compile some documents on the fly. Assuming I want to have several workers waiting for documents to be compiled, are there any access issues in ...
16
votes
1answer
1k views

texify or latexmk?

MiKTeX 2.9 comes with both and they apparently do the same thing. I was wondering what the difference between them is (if any) and which one is preferable for large documents.
11
votes
5answers
1k views

Cross Platform LaTeX Build System

I am on Windows 7 Professional (64 bit) and would like to be able to execute one command to completely compile a PDF from source .tex files (including all required runs to get the table of contents, ...
6
votes
1answer
756 views

Latexmk can't see a dependency on a .fmt format file

I'm using latex on a small netbook, and with average-sized files (~150 pages at the moment) compilation is already pretty slow. So I am looking for every way to speed up the compilation. In this ...
2
votes
1answer
229 views

Using checksums to determine completion of compilation

Before preparing a document for printing, I use a BASH script, like the following: #!/bin/sh xelatex document.tex % compile 1 makeglossaries document xelatex document.tex % compile 2 xelatex ...
7
votes
1answer
1k views

How to programmatically detect if a LaTeX package is installed?

I am writing a program, and I want it to do different things depending on which LaTeX packages have been installed. My current solution is to automatically generate simple .tex files that \usepackage ...
16
votes
3answers
3k views

How can I avoid compiling twice?

Sometimes I need to run compile twice (eg when I use lastpage). Is there a way to set things so TeX knows that there is need for second run and do it automatically? I use Texmaker.
14
votes
2answers
2k views

Replacement for MiKTeX's texify in TeX Live

I used to use the texify command in MiKTeX on Windows. I would, for example, run a command like: texify --pdf --run-viewer file.tex which, as I understand it, would produce a pdf, automatically ...
34
votes
10answers
5k 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 ...
5
votes
4answers
2k views

Dropbox & LaTeX compiling automation

I'm in the middle of a "drop a file here and compile it using LaTeX" project. I have a Dropbox and I would like to drop a .tex file in a specific folder and have a script that compiles it for me. I'm ...
32
votes
5answers
4k 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 ...
101
votes
24answers
10k views

Tools for automating document compilation

A lot of people write makefiles that say something like paper.pdf: paper.tex pdflatex paper bibtex paper pdflatex paper pdflatex paper To handle re-running TeX to ...