DOCBOOK-APPS: How do you %indent-programlisting-lines for an externalfile?

2001-05-29 Thread Brian Dellert
When I convert my docbook to PDF, I want to have all the lines in blocks indented 8 spaces. To do this, I added this line to my custom stylesheet. (define %indent-programlisting-lines% "") This works fine if the is embedded in the sgml, like this: #!/usr/bin/perl print "Hello "; p

Re: DOCBOOK-APPS: probs with grafics in docbook-xml and passivetex

2001-05-29 Thread Ingo Bruell
Hi Juan, JRM> I have found that when pdftex can't find a graphics file, it send a JRM> message about "unknown grphic extension", but it's not true: it's just JRM> that it can't find the file. JRM> Make sure the path to the graphic is relative to the main document you JRM> are converting, and tha

Re: DOCBOOK-APPS: probs with grafics in docbook-xml and passivetex

2001-05-29 Thread Sebastian Rahtz
Ingo Bruell writes: > I have checked and jpg extension is included. > > I wonder that the following syntax is used in latec: > 0:src = "url(file:images/xforms_presentation.jpg)" I am sorry, but PassiveTeX does not grok the "url(...)" stuff. Its just too depressing that its in the spec. I s

Re[2]: DOCBOOK-APPS: probs with grafics in docbook-xml and passivetex

2001-05-29 Thread Ingo Bruell
Hi Sebastian, SR> Ingo Bruell writes: SR> > I have checked and jpg extension is included. SR> > SR> > I wonder that the following syntax is used in latec: SR> > 0:src = "url(file:images/xforms_presentation.jpg)" SR> I am sorry, but PassiveTeX does not grok the "url(...)" stuff. Its just t

Re: DOCBOOK-APPS: How do you %indent-programlisting-lines for anexternal file?

2001-05-29 Thread Lane Stevens
On Mon, May 28, 2001 at 06:36:07PM -0500, Brian Dellert wrote: > When I convert my docbook to PDF, I want to have all the lines in > blocks indented 8 spaces. To do this, I added this > line to my custom stylesheet. > > (define %indent-programlisting-lines% "") > > This works fine if

DOCBOOK-APPS: < in saxon

2001-05-29 Thread Kunath, Marcel
I am getting this error. xml: C:\bootcd1> mkisofs.exe -N -l -no-iso-translate -relaxed-filenames -v -o C:\cd.iso disk1 C:\bootcd1> mkbootcd.exe C:\cd.iso - < mkbootcd.txt (<---line 150) java com.icl.saxon.StyleSheet -o inde

Re: DOCBOOK-APPS: < in saxon

2001-05-29 Thread Jirka Kosek
"Kunath, Marcel" wrote: > java com.icl.saxon.StyleSheet -o index.html mydoc.xml > ..\emacs\sgml\stylesheets\dbx129\docbook\html\docbook.xsl > Fatal error reported by XML parser: name expected (found " ") > URL:file:mydoc.xml > Line: 150 > Column: 42 > Error > org.xml.sax.SAXParseExce

Re: Re[2]: DOCBOOK-APPS: probs with grafics in docbook-xml andpassivetex

2001-05-29 Thread Sebastian Rahtz
Ingo Bruell writes: > SR> depressing that its in the spec. I suppose I had better fix it... > > Is there a way to convert it in the proper format with pdflatex before > PassiveTeX it get ? if you edit the fo file, and change "url(file:foo.jpg)" to "foo.jpg", it might have a better chance of

Re[4]: DOCBOOK-APPS: probs with grafics in docbook-xml and passivetex

2001-05-29 Thread Ingo Bruell
Hi Sebastian, SR> Ingo Bruell writes: SR> > SR> depressing that its in the spec. I suppose I had better fix it... SR> > SR> > Is there a way to convert it in the proper format with pdflatex before SR> > PassiveTeX it get ? SR> if you edit the fo file, and change "url(file:foo.jpg)" to "foo.

DOCBOOK-APPS: Margins

2001-05-29 Thread Chris Riddoch
Hi, everyone. In an attempt to save paper on drafts, I've tried to squeeze a little whitespace out of Norm's Docbook stylesheets: (define %left-margin% 1in) (define %right-margin% 1in) (define %paper-type% "USletter") (define %body-start-indent% 0in) (define %footer-margin% 0in) There's still t

Re: DOCBOOK-APPS: probs with grafics in docbook-xml and passivetex

2001-05-29 Thread Dave Pawson
At 07:19 AM 5/29/01, Juan R. Migoya wrote: >I have found that when pdftex can't find a graphics file, it send a >message about "unknown grphic extension", but it's not true: it's just >that it can't find the file. > >Make sure the path to the graphic is relative to the main document you >are conve

Re[2]: DOCBOOK-APPS: probs with grafics in docbook-xml and passivetex

2001-05-29 Thread Ingo Bruell
Hi Dave, DP> Scenario. (problem matches your description). DP> /root Where I call passivetex from. DP> /part1 (includes a reference to a graphic, in /root/graphics) DP> So in the docbook file in directory /root/part1/chapter1.xml DP> whats the reference to graphics1.jpg? DP>is it ../

Re: DOCBOOK-APPS: Margins

2001-05-29 Thread Jirka Kosek
Chris Riddoch wrote: > There's still two inches of whitespace at the bottom of each page. > I'd like the text to stop one inch from the bottom of the page, and > the page number to be just below that, but I'll settle for anythng > that'll give me less than two inches of dead space on every page.

DOCBOOK-APPS: XML equivalent of (o)nsgmls?

2001-05-29 Thread Dan York
Folks, I'm starting to play a little bit with XML/XSL versus SGML/DSSSL and one thing I can't seem to find yet is the answer to this: - with current XML tools, is there an equivalent to 'nsgmls' or 'onsgmls' that will validate the XML code? I use onsgmls all the time to validate the SGML co

Re: DOCBOOK-APPS: XML equivalent of (o)nsgmls?

2001-05-29 Thread Jirka Kosek
Dan York wrote: > I'm starting to play a little bit with XML/XSL versus SGML/DSSSL and > one thing I can't seem to find yet is the answer to this: > > - with current XML tools, is there an equivalent to 'nsgmls' or >'onsgmls' that will validate the XML code? You can use nsgmls to validate

DOCBOOK-APPS: EntityResolver?

2001-05-29 Thread ben
Hello, I try to have the XML DocBook DTD path resolved not by providing the path in the doc to translate, but by using the catalog mechanisms. To do this, I've downloaded the classes from http://www.arbortext.com/Customer_Support/Updates_and_Technical_Notes/java_form.html that provides mechanism

Re: DOCBOOK-APPS: How do you %indent-programlisting-lines for anexternal file?

2001-05-29 Thread Brian Dellert
> tried this, but I believe that it will work. > > > ]> > It works if source.pl does not contain anything that looks like markup. However, if source.pl contains < and > signs, jade errors out. I've attached a new source.pl that demos this. >From what I've read, Normal Walsh put together the

Re: DOCBOOK-APPS: How do you %indent-programlisting-lines for anexternal file?

2001-05-29 Thread Lane Stevens
On Tue, May 29, 2001 at 07:02:57PM -0500, Brian Dellert wrote: > > > tried this, but I believe that it will work. > > > > > > > ]> > > > > It works if source.pl does not contain anything that looks like > markup. However, if source.pl contains < and > signs, jade errors out. > I've attached a