What you can do
Document Automation separates research content from output structure and style. One maintained source can produce several PDF editions, and SCons tracks source dependencies for each edition.
Install and activate SIGCLEAR, then check sglicense status before starting.
Quick start
Build an article from a TeX source
Create paper.tex with the document content:
\begin{abstract}
This report summarizes the experiment.
\end{abstract}
\section{Method}
Describe the method and its results here.
Create SConstruct in the same directory:
from document import *
Article(
'paper.pdf',
'paper.tex',
title='Experiment report',
author='Research Team',
maketitle=True
)
Run the build:
scons
SCons creates paper.pdf and rebuilds it when the source or build definition changes.
Essential concepts
Keep the content in TeX source files. Use the SConstruct definition to select the builder, title, style and output options. Article and Slides create a title block by default: supply title, or use maketitle=False.
To build normal and review editions together, define two targets with the same source.
from document import Article
Article('paper.pdf', 'paper.tex', title='Experiment report')
Article('paper-review.pdf', 'paper.tex', title='Experiment report',
option='review')
Run scons to build both PDFs.
Choose your next output
The Document package guide helps you choose Article, Slides, Book or Diary. Use the builder reference for source forms, book structures, metadata and styles. Check a publisher's current submission requirements before selecting a supplied style.