| From | Sent On | Attachments |
|---|---|---|
| Eliot Landrum | Jan 8, 2000 6:30 am | |
| Stef...@studserv.uni-stuttgart.de | Jan 8, 2000 2:37 pm | |
| Eliot Landrum | Jan 9, 2000 1:35 pm | |
| Stephane Bortzmeyer | Jan 10, 2000 6:29 am | |
| Norman Walsh | Jan 10, 2000 12:47 pm | |
| Chris Nettleton | Jan 11, 2000 4:28 am | |
| Steffen Maier | Jan 11, 2000 4:30 am | |
| Gregory Leblanc | Jan 11, 2000 4:30 am | |
| Steve Greenland | Jan 11, 2000 4:31 am | |
| Mark W. Eichin | Jan 11, 2000 4:32 am |
| Subject: | Re: DOCBOOK: Quick Questions.. | |
|---|---|---|
| From: | Eliot Landrum (eli...@landrum.cx) | |
| Date: | Jan 9, 2000 1:35:51 pm | |
| List: | org.oasis-open.lists.docbook | |
Hey!
Thanks so much for the tip. A friend of mine pointed out to me that I can use your "nochunks" option on the commandline with Jade using the -V option. (jade -V nochunks).. it works almost perfectly except now the HTML looks bad:
<HTML
<HEAD <TITLE Jabber FAQ</TITLE <META
NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.49"></HEAD
<BODY
I know it is just a minor thing to pick at, but that is some nasty looking HTML. Might anyone have a suggestion?
Thanks!!
I'm still waiting on an answer to that first question I posted.. I still haven't found any answer myself.
Eliot Landrum eli...@landrum.cx
On Sat, 8 Jan 2000 Stef...@studserv.uni-stuttgart.de wrote:
Hello Eliot,
On Fri, 7 Jan 2000, Eliot Landrum wrote:
The other questions is really for the project I'm working on. We would like to have our documents all one page instead of spread out across several .html files. With LinuxDoc we would just do sgml2html -s 0 file.sgml and it would put out a nice file.html with all of the content on one page. With DocBook and Jade I haven't been able to figure out many options for the output file.
You have to derive an own stylesheet and modify it according to the docs coming with the modular docbook stylesheets. Use the following as your stylesheet for jade (jade -t sgml -d the-following-stylesheet) and it should give you a single html-page as output without any chunks:
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> ;; your stuff goes here... (define nochunks #t) ;; for one big single html output file </style-specification-body> </style-specification> <external-specification id="docbook" document="dbstyle"> </style-sheet>
There are lots of other defines, all quite well documented. So you can tweak almost anything. It's just until you found the one you're searching for ;-)





