{automation} is about automating certain tasks when creating a (La)TeX document, e.g., with the help of {packages}, custom {macros} or {tools} for {compiling}.

learn more… | top users | synonyms

10
votes
2answers
3k views

Where to put a custom macros file?

I have a bunch of common commands I put in document preambles. I don't always use them all, but it makes the preamble too long for my tastes. I want to put them all in an external file (preferably in ...
15
votes
4answers
329 views

Using the filename in the document?

I have a bunch of documents called wk01.tex wk02.tex and so on up to (eventually) 20. These are weekly handouts for a course I TA. Currently, each document starts with a \def\classweek{5} or whatever. ...
4
votes
2answers
144 views

Command to display free-text answers from a survey, eliminating ascii control chars

I'd like to create a report from a survey with free-text answers that is collected in a database. For each question there are typically many answers which I could present in an itemize environment, ...
8
votes
1answer
450 views

Auto-generating a small book?

I'm considering a dive into TeX, but first want to determine if it makes sense for my particular project. I've inherited responsibility for a roster book with names, addresses, etc. for a club with ...
3
votes
2answers
129 views

Automatically Adding Potentially Referenced Macros From Auxillary File

In this question someone asked if there was any way to eliminate user defined macros from a TeX document and replace them with the appropriate primitives. The answer seemed to be that while some ...
11
votes
4answers
968 views

Can small-caps be automated for abbreviations and acronyms?

Is there a way to force LaTeX to automatically use small-caps for abbreviations and acronyms (or more specifically, strings of two or more uppercase letters)?
2
votes
1answer
2k views

How to include all files within a directory relative to the edited *.tex-file?

I am writing my reports which need to reference complete *.java files with latex. I am using the Texlipse Eclipse plugin to do the editing. Right now I am referencing the complete path to each ...
8
votes
2answers
543 views

A tool for creating bibtex entries from MARC tags?

My library provides citation information for books in several formats, but not as bibtex entries. One standard format is the so-called MARC manual tags, which are human incomprehensible, but at least ...
22
votes
3answers
502 views

How to compute the remaining space on the current page

Is there a way to compute the remaining space on the current page and issue an optional command?
5
votes
2answers
5k views

Automatic missing package download on the Mac

Is there a LaTeX distribution for the Mac which has or comes close to MiKTeX's ability to download missing packages automatically?
24
votes
5answers
3k views

Intelligent paragraph reflowing in vim?

I'm not sure whether this is an appropriate question for tex.SE. If you think questions like this should not be asked here, please voice you concern. If necessary I'll open a question on meta. For ...
4
votes
1answer
207 views

is there an unlog.sh script for pdflatex?

I'm tired of manually creating the tarfiles I need for uploading articles to the arxiv. The process involves creating a tarfile of all the (non-standard) source files. So naturally it needs the .tex ...
33
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 ...
26
votes
4answers
5k views

Script to automate externalizing TikZ graphics

Is there a script to automate externalizing TikZ graphics? (As suggested by Scott here)
4
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 ...
31
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 ...
12
votes
7answers
3k views

Is there an automatic process to create index creation?

Certainly, there must be some way to somewhat create a list of words suggested to be included in an index.
17
votes
2answers
487 views

Automatically numbering constants

I would like to somehow use LaTeX to automatically number constants. Some background As a mathematician, in my daily work there are a lot of throw-away constants which are not extremely important ...
91
votes
12answers
6k views

LaTeX packages for use with revision control

I use revision control (Subversion, to be exact) to keep track of the edits to my LaTeX documents. Is there a LaTeX package that interfaces with revision control? Specifically, it would be nice to see ...
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 ...