On Tue, 28 Aug 2001, Paul Lussier wrote:
-
- Hi all,
-
- For quite some time now, my colleague and I have been using LyX to
- write our internal documentation. However, we now need to place this
- documentation on the internal website. We've tried latex2html, and
- it works great as far as I can tell. The problem is it's really ugly.
-
- For our internal web pages, we have look 'n' feel that we want to
- perpetuate throughout all our pages, documentation included. Most of
- our other pages are hand-crafted, so we just manually include all the
- header information that provides the look we want.
-
- Is there any way to do this with LyX/latex2html? Is there a way to
- have latex2html use cascading style sheets, etc.? Currently our
- websites all have a table at the top with certain text centered, and
- some images on both the left and right. Obviously we don't want this
- to carry over to the printed versions, so we need some way of having
- latex2html include either a css or some other chunk of html code at
- the top of each generated page.
-
- Anyone doing this type of thing? Or should I start looking at SGML?
After a fashion.
I do not use CSS but I embed a header in the title page of each
document. In the preamble add
\usepackage{html}
\usepackage{url}
Then I put something like (single paragraph labeled as LaTex):
\begin{rawhtml}
<center><a href='/index.html'>
<img src='/icons/noc-logo.png'></a>
</center>
<hr>
\end{rawhtml}
This doed not show in the printed output.
Inline links can be added as (inlined TeX):
\htmladdnormallink{Link Text}{http://URL}
Only "Link Text" appears in the printed output.
If you use:
\htmladdnormallinkfoot{Link Text}{http://URL}
"http://URL" will be added as a footnote to "Link Text"
--
-- Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
==============================================================
Government is like burning witches: After years of burning young
women failed to solve any of society's problems, the solution was to
burn more young women.
==============================================================