[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: docbook2html



Thanks for the clue, it turns out docbook2html/jw has a --nochunks option I
did not see before.  Next issue: when I use that option, the output goes to
stdout instead of a file.  Is this a bug or a feature?  Just redirecting
stdout to a file does not work because messages like "Using catalogs:
/etc/sgml/catalog" also go to stdout.  Is there another simple switch to
change this?

I ended up using the following command:

jade -V nochunks -i html -t sgml -d
/usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl foo.sgm > foo.html

which works, but it would be much nicer if I could use the same command I use
for all the other output types (dvi, pdf, ps, rtf):

jw -f docbook -b $EXT foo.sgm

to produce foo.$EXT

On May 27, Ian Zimmerman (itz@speakeasy.org) wrote:
 > 
 > Neil> When I run docbook2html, it creates index.html and a set of html
 > Neil> files called x*.html.  Is there a simple way to get it to create
 > Neil> just one html file instead?
 > 
 > I don't know about docbook2html, but if you call jade directly, you
 > can pass it a flag that does what you want.  I believe it is "-Vnochunks".
 > 
 > -- 
 > Ian Zimmerman, Oakland, California, U.S.A.
 > GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
 > EngSoc adopts market economy: cheap is wasteful, efficient is expensive.
 > 
 > 
 > -- 
 > To UNSUBSCRIBE, email to debian-sgml-request@lists.debian.org
 > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 > 

-- 
Neil L. Roeth


-- 
To UNSUBSCRIBE, email to debian-sgml-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: