[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] RT-linux Documentation via lyx




I'm not sure about how Lyx is supposed to convert to HTML or if it even
does. But if you save your Lyx document as Linuxdoc.dtd SGML, and then use
the SGML-TOOLS function sgml2html there is a way to make it work.
Basically what you have to do is edit the HTML mapping specification file.
This file is located in <install dir>/lib/rep/html  where <install dir> is
the directory where SGML-TOOLS has been installed.  You will need root
permissions, and I suggest backing up the file mapping before you start
making changes.  Find the tag <figure> in the mapping file and replace the
existing mapped-to tags with the 
correct HTML tags.  the "+" indicate whether the tag should be attached to
preceding or following text, or a line break should be generated in the
output.  You should be able to figure things out by looking at how the
other HTML tags are mapped from the SGML tags.

You may also discover later the Tables work well in conversion to DIV,
LATEX, or PS, but don't work correctly in HTML.  You can fix this through
the mapping file also.

I will eventually include all of this in the release source, but have been
real busy at the moment with work and the beginning of summer activities.

						-Brooke
   


At 11:29 PM 5/18/98 -0400, C. W.  Wright wrote:
>
>Greetings!
>
> I'm working on some documentation on my rt-linux project.  I'm trying to
>learn Lyx to do it.  My problem is I don't see how to generate html tags
>for <img> so I can embed inline gif images.   It works fine if you're
>using eps or ps and the destination is paper or xdvi, but I don't see how
>to "pass-thru" any html <img> tags.  Also don't see how to pass <body>
>tags either.   I'd like the thing to use gifs for the web and eps for
>paper.
>
>Anyone know how to do this?
>
>Kind regards,
>
>C. Wayne Wright
>
>--- [rtl] ---
>For more information on Real-Time Linux see:
>http://rtlinux.cs.nmt.edu/
>
>
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/