Chris Carlen wrote: > Hi: > > I want to write some web pages with equations and graphics. Some > graphics will be images created by programs with aren't set up well to > export in a format suitable for Lyx. > > But the main question is, if I create a document in Lyx, how might I > convert it to HTML, and in your experience, does this process work well?
The short answer: File->Export->HTML
The long answer: LyX does not produce HTML itself; it uses whatever converters are installed on your computer. The most commonly used is latex2html, but you can specify others such as tth or hevea.
In using latex2html, it's worth learning how to tweak the options that control whether, and at what level, pages are split, navigation tools etc. and specifying those (in Edit->Preferences->Converters). For example
latex2html -no_subdir -split 0 -show_section_numbers $$i
will give you a one-page document, retaining the section numbers from
LyX (the default is to remove them). There is a lengthy documentation supplied with the latex2html package.
Personally I find latex2html is best used in combination with stylesheet tweaking. It is _not_ suitable for sophistiacted website design - you want an HTML editor for that (Bluefish, Quanta+, CoffeeCup ... take your pick).
> At this point I can't fathom how links might be inserted into LyX > documents.
Insert->URL, but I can't work out how to get that to turn into a real hyperlink in 1.3. Used to work fine in 1.2.*
Robin
-- "The raisins may be the best part of a cake, but that doesn't mean that a bag of raisins is better than a cake." - Wittgenstein
Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey
www.bilkent.edu.tr/~robin
