14
SUN/199.12
Starlink Project
Starlink User Note 199.12
P W Draper
A J Chipperfield
M D Lawden
26 January 2009
Copyright © 2000-2004 Council for the Central Laboratory of the Research Councils
Copyright © 2008-2009 Science and Technology Facilities Council
Star2HTML
Converting Starlink Documents to Hypertext
Version 1.6
User’s Manual
Star2HTML lets you write (or convert) a Starlink document so that you can create two versions of it
from a single source file. A paper version is produced by LATEX, and a hypertext version (suitable for
browsing on the web) is produced by LATEX2HTML
. You can tailor each version to its own medium by
marking selected text as LATEX-only or HTML-only.
Star2HTML also includes a set of document templates for producing Starlink documents in a standard style (such as Starlink User Note). They also define new LATEX commands for adding extra links to the hypertext version of your document (without affecting the paper version).
This document explains these new facilities, and gives advice on good practice and on how to deal with some specific formatting problems when converting a document to hypertext. You are assumed to be familiar with LATEX.
The advice in this document, in particular that found in Section 5, covers the LATEX2HTML
-based document
conversion system and not the more modern tex4ht
-based system.
htmladdimg
command to replace figures
star2html
command
xlabel
command