Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Using the HTML BASE Element

Sometimes it is useful to have one web-page pose as another. That is, a web page at one URL is a link to a web page in a different directory, and the links in that page use relative path specifications. The BASE element of HTML 4 is useful for this purpose. However, it must appear within the <HEAD>! tag before any relative path-names are used, and not merely in the <BODY>. There is a variable in latex2html called BASE for this purpose. I set it in my standard procedure for setting the $ADDRESS variable:

	$BASE = &make_josdocdir_url . "/index.html";


Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download webpub.pdf
[Comment on this page via email]

``Tools for Publishing LaTeX Documents on the Web'', by Julius O. Smith III.
Copyright © 2017-06-24 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA