13
votes
1answer
318 views

Leveraging a dynamic preamble to generate multiple output formats

Background The diagram below shows an architecture for generating books using a dynamic preamble. The top part of the image shows the database relations between a book theme and its preamble. The top ...
5
votes
2answers
296 views

Error using Minted for syntax highlighting in custom document class

I am writing Master thesis in LaTeX and want to use minted package for source code syntax highlighting. I have installed it successfully and minimal example from minted documentation works just fine. ...
4
votes
1answer
390 views

Making a stand-alone image with gastex

I want to do the following: Make an image using gastex. Compile the image to a stand-alone pdf image. I.e., at the end of this stage I'll have a myImage.pdf file. Include my image in a large latex ...
2
votes
1answer
192 views

Trouble with latex and dvips with an FSTTCS documentclass

Following from my other question Which DVI viewer on linux?, now that I can easily view DVI files I came to the conclusion that the unusual document class I used for my document defines some ...
8
votes
1answer
443 views

How do I configure fonts and package options for different engines?

I would like to be able to rely on the code in my document class to respond correctly to whether it is being rendered using pdfLaTeX or XeTeX engines. The editor I'm using (LyX) does this using ...
6
votes
1answer
628 views

Temporarily changing document class in LaTeX/resetting pdfLaTeX

How can I temporarily cause pdfLaTeX to forget everything that I've told it and start with a new document class? I've modified the example environment from the lshort document: ...