DOCBOOK-APPS: Subtitle

2002-05-21 Thread Lars Bjørndal

Please help me!

I've upgraded my system to Red Hat 7.3. After that, I have problem
with the Subtitle tag. The beginning of my sgml-file is:


!DOCTYPE Article PUBLIC -//OASIS//DTD DocBook V3.1//EN
Article lang=no

ArtHeader

TitleBruksanvisning for Paddy./Title

SUBTITLEDet hendige notatapparatet med talegenerator./SUBTITLE
AuthorGroup
  AUTHOR
FirstNameHandy Tech Norge AS,/FirstName
  affiliation
Address
  Email[EMAIL PROTECTED]/Email
/address
  /affiliation
  /author
/authorgroup


While producing html by isuing the command db2html -u -d
~/ldp.dsl#html file.sgml, i have three problems:

1. The Title and Subtitle-texts are placed on the same line if I use
   lynx as the browser. The line looks like:

   Bruksanvisning for Paddy.Det hendige notatapparatet med
   talegenerator.

   The html-code looks like this:
   H1
CLASS=TITLE
A
NAME=AEN2Bruksanvisning for Paddy./H1
H2
CLASS=SUBTITLE
Det hendige notatapparatet med talegenerator./H2


   How can I solve this problem? Is it a lynx- or a db-problem?

2. I can not get the email-address as a link. What can I do here?
   Please see above.

3. I don't like that the ending greater than sign of the tags are
   placed on a new line, such as:
HTML


   Is there a way around that problem?

Lars

-- 
Lars Bjørndal [EMAIL PROTECTED]
Storetveitåsen 15, 5067 Bergen.
Tlf.: 55 28 87 55  Mobil: 958 37 537  Telefaks: 55 28 40 67




DOCBOOK-APPS: Re: FOP 0.20.3 with 1.50.0 SS problem.

2002-05-21 Thread Norman Walsh

/ Eric Richardson [EMAIL PROTECTED] was heard to say:
| Norman Walsh wrote:
|
| / Eric Richardson [EMAIL PROTECTED] was heard to say:
| | For xhtml/docbook.xsl.
| | [java]
| | file:/home/maxwell/pws/jdocbook/docbook-xsl-1.50.0/common/common.xsl;
| | Line 1385; Column 35; XSLT Error
| | (javax.xml.transform.TransformerException): 5 = 1
| The Xalan folks have some sort of bug.
|
| I ran the xalan -ttc option on the command line and the end of the
| trace has the following. It seems to go over and over this lookup.key
| template.

Yes, that rings a bell. I think Scott said it was key-related.

| I could take this up with the xalan folks but don't really know enough
| to proceed.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063

| BTW, Does the resolver 1.1 have a practical range of verbosity? 0 off,
| to the highest ??

It has a range, I don't know if you'll find the steps practical.
0=off, 1=show a few things, 2=show more, 3=show most, 4=show all.

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | A life, admirable at first sight,
http://www.oasis-open.org/docbook/ | may have cost so much in imposed
Chair, DocBook Technical Committee | liabilities, chores and
   | self-abasement, that, brilliant
   | though it appears, it cannot be
   | considered other than a failure.
   | Another, which seems to have
   | misfired, is in reality a
   | triumphant success, because it has
   | cost so little.--Henry De
   | Montherlant



DOCBOOK-APPS: Re: Subtitle

2002-05-21 Thread Norman Walsh

/ [EMAIL PROTECTED] (Lars Bjørndal) was heard to say:
| 1. The Title and Subtitle-texts are placed on the same line if I use
|lynx as the browser. The line looks like:
[...]
|How can I solve this problem? Is it a lynx- or a db-problem?

Lynx. Try links.

| 2. I can not get the email-address as a link. What can I do here?
|Please see above.

Fixed.

|
| 3. I don't like that the ending greater than sign of the tags are
|placed on a new line, such as:
| HTML
|
|
|Is there a way around that problem?

Run the result through tidy. Or switch to XSLT?

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | A language is a dialect that has
http://www.oasis-open.org/docbook/ | an army and a navy.--Max Weinreich
Chair, DocBook Technical Committee |




Re: DOCBOOK-APPS: SVG in HTML output, XSLT stylesheets

2002-05-21 Thread Steve Ball

Dave Pawson wrote:
 I had occasion today to include an SVG diagram in HTML output.
 Is this a rare beast?

Not at all!  Almost all of the images and diagrams we
use in our course materials are SVG.  We'll soon be
exposing more SVG content (not necessarily images)
on the website.

Of course, the user's browser must support SVG.
Adobe's SVG viewer plugin is popular, and Mozilla
is developing native support.

 Perhaps suggest for inclusion in mediaobject?

I treat them exactly the same way as images, ie. use
imageobject inside a mediaobject.  I note that DocBook
4.1.2+ has provision for SVG.

Cheers,
Steve Ball

-- 
Steve Ball|   XSLT Standard Library   | Training  Seminars
Zveno Pty Ltd | Web Tcl Complete  |   XML XSL Schemas
http://www.zveno.com/ |  TclXML TclDOM| Tcl, Web Development
[EMAIL PROTECTED]  +---+-
Ph. +61 2 6242 4099   |   Mobile (0413) 594 462   | Fax +61 2 6242 4099




DOCBOOK-APPS: numbered lines

2002-05-21 Thread Dennis Grace

I have a developer who wants to print, from a DocBook SGML document, PDFs
with numbered lines so that reviewers can respond with comments by line
number. Anyone know how to do this in the DSSSLs?

Thanks.

Dennis Grace

Information Developer
IBM Linux Technology Center
(512) 838-3937  T/L 678-3937  cell: (512)-296-7830
[EMAIL PROTECTED]

FIAT LUX
STOP
EPISTLE FOLLOWS





DOCBOOK-APPS: Producing fontified C on HTML otuput

2002-05-21 Thread Jaime Irving Dávila Latorre

Hi all:

I would like to include some C source in my docbook document (I know one
can do this by using programlisting) and to produce a fontified html
output, similar to the one produced by c2html (you can see a example on
http://www.geocities.com/shudderfix/c2html/example/rcs.c.html).

Is there a way to tweak the stylesheets to produce this kind of html
output? Is there another way to accomplish this?

Thanks




DOCBOOK-APPS: Re: FOP 0.20.3 with 1.50.0 SS problem.

2002-05-21 Thread Eric Richardson

Norman Walsh wrote:

 / Eric Richardson [EMAIL PROTECTED] was heard to say:
 | Norman Walsh wrote:
 |
 | / Eric Richardson [EMAIL PROTECTED] was heard to say:
 | | For xhtml/docbook.xsl.
 | | [java]
 | | file:/home/maxwell/pws/jdocbook/docbook-xsl-1.50.0/common/common.xsl;
 | | Line 1385; Column 35; XSLT Error
 | | (javax.xml.transform.TransformerException): 5 = 1
 | The Xalan folks have some sort of bug.
 |
 | I ran the xalan -ttc option on the command line and the end of the
 | trace has the following. It seems to go over and over this lookup.key
 | template.
 
 Yes, that rings a bell. I think Scott said it was key-related.
 
 | I could take this up with the xalan folks but don't really know enough
 | to proceed.
 
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063


Okay, I added my two cents and voted. Is there a version of xalan that 
works? I notice that bug is pretty old and placed originally on version 
2.2 and it is still in 2.3.1.


 
 | BTW, Does the resolver 1.1 have a practical range of verbosity? 0 off,
 | to the highest ??
 
 It has a range, I don't know if you'll find the steps practical.
 0=off, 1=show a few things, 2=show more, 3=show most, 4=show all.


Okay thanks, in the index.html that comes with 1.1 just say 0 is off and 
the higher the number the more output.

Eric




DOCBOOK-APPS: Re: numbered lines

2002-05-21 Thread Norman Walsh

/ Dennis Grace [EMAIL PROTECTED] was heard to say:
| I have a developer who wants to print, from a DocBook SGML document, PDFs
| with numbered lines so that reviewers can respond with comments by line
| number. Anyone know how to do this in the DSSSLs?

I don't think you can. Nor do I think you can do it with XSL. The best
you could do, probably, would be tweak the stylesheet(s) so that
paragraphs are numbered or something like that.

Be seeing you,
  norm

P.S. Feel free to prove me wrong, somebody, anybody :-)

-- 
Norman Walsh [EMAIL PROTECTED]  | Extinction, n. The raw material
http://www.oasis-open.org/docbook/ | out of which theology created the
Chair, DocBook Technical Committee | future state.--Ambrose Bierce



DOCBOOK-APPS: Re: Producing fontified C on HTML otuput

2002-05-21 Thread Norman Walsh

/ Jaime Irving Dávila Latorre [EMAIL PROTECTED] was heard to say:
[...]
| Is there a way to tweak the stylesheets to produce this kind of html
| output? Is there another way to accomplish this?

Tweak the sourcecode. Run it through some sort of pre-processor that
marks up the things you want highlighted.

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | All along the untrodden paths of
http://www.oasis-open.org/docbook/ | the future, I can see the
Chair, DocBook Technical Committee | footprints of an unseen hand.--Sir
   | Boyle Roche




Re: DOCBOOK-APPS: Re: numbered lines

2002-05-21 Thread Ian Castle

For the TeX output there *may* be some mileage to be had in playing around 
with one of the styles which provide line numbered output (lineno.sty, 
numline.sty)... but the chances are that that will just mess things up...

On Tuesday 21 May 2002 17:41, Norman Walsh wrote:

 / Dennis Grace [EMAIL PROTECTED] was heard to say:
 | I have a developer who wants to print, from a DocBook SGML document, PDFs
 | with numbered lines so that reviewers can respond with comments by line
 | number. Anyone know how to do this in the DSSSLs?

 I don't think you can. Nor do I think you can do it with XSL. The best
 you could do, probably, would be tweak the stylesheet(s) so that
 paragraphs are numbered or something like that.

 Be seeing you,
   norm

 P.S. Feel free to prove me wrong, somebody, anybody :-)




Re: DOCBOOK-APPS: Re: FOP 0.20.3 with 1.50.0 SS problem.

2002-05-21 Thread Dave Pawson

At 06:35 21/05/2002 -0400, Norman Walsh wrote:

| BTW, Does the resolver 1.1 have a practical range of verbosity? 0 off,
| to the highest ??

It has a range, I don't know if you'll find the steps practical.
0=off, 1=show a few things, 2=show more, 3=show most, 4=show all.

And to get it going in the first place, 4 is a very good number.
Extremely helpful!

Regards DaveP





Re: DOCBOOK-APPS: SVG in HTML output, XSLT stylesheets

2002-05-21 Thread Dave Pawson

At 22:57 21/05/2002 +1000, Steve Ball wrote:

Perhaps suggest for inclusion in mediaobject?

I treat them exactly the same way as images, ie. use
imageobject inside a mediaobject.  I note that DocBook
4.1.2+ has provision for SVG.

Might have guessed I'm an era out of date
(How did Motley put it ?:-)

Thanks Steve.

Do the html stylesheets do the right thing?
(just wait till we get inline SVG!)

Regards DaveP





Re: DOCBOOK-APPS: numbered lines

2002-05-21 Thread Dave Pawson

At 09:45 21/05/2002 -0500, Dennis Grace wrote:
I have a developer who wants to print, from a DocBook SGML document, PDFs
with numbered lines so that reviewers can respond with comments by line
number. Anyone know how to do this in the DSSSLs?

?? Deliver the xml to the reviewers?
Then user markup in the xml where it will end up anyway?
I.e. cut out the hard work inbetween.

HTH DaveP





Re: DOCBOOK-APPS: Re: Producing fontified C on HTML otuput

2002-05-21 Thread Vladimir G. Ivanovic

`cat -n' works (on Linux).

--- Vladimir


Vladimir G. Ivanovichttp://leonora.org/~vladimir
2770 Cowper St. [EMAIL PROTECTED]
Palo Alto, CA 94306-2447 +1 650 678 8014

NW == Norman Walsh [EMAIL PROTECTED] writes:

  NW / Jaime Irving Dávila Latorre [EMAIL PROTECTED] was heard to say:
   Is there a way to tweak the stylesheets to produce this kind of html
   output? Is there another way to accomplish this?

  NW Tweak the sourcecode. Run it through some sort of pre-processor that
  NW marks up the things you want highlighted.



DOCBOOK-APPS: Re: Producing fontified C on HTML otuput

2002-05-21 Thread Norman Walsh

/ Vladimir G. Ivanovic [EMAIL PROTECTED] was heard to say:
| `cat -n' works (on Linux).

I thought more than line-numbers was desired. If all you want is line numbers,
you can just turn on linenumbering on the programlisting in question.

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | Some people can stay longer in an
http://www.oasis-open.org/docbook/ | hour than others can in a week
Chair, DocBook Technical Committee |



DOCBOOK-APPS: Administrivia: lists posting policy change

2002-05-21 Thread Norman Walsh

Effective immediately, the DocBook and DocBook-Apps lists only accept
messages sent in plain text (using MIME type text/plain). Messages
sent as text/html will be rejected.

In point of fact, I don't think a single legitimate message has ever
been sent to the list in text/html, but I get a dozen spams a day to
each list encoded that way. Or I did. Now I won't. Goodness.

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | One's never alone with a rubber
http://www.oasis-open.org/docbook/ | duck.
Chair, DocBook Technical Committee |



Re: DOCBOOK-APPS: SVG in HTML output, XSLT stylesheets

2002-05-21 Thread Steve Ball

Dave Pawson wrote:
 At 22:57 21/05/2002 +1000, Steve Ball wrote:
 
 Perhaps suggest for inclusion in mediaobject?

 I treat them exactly the same way as images, ie. use
 imageobject inside a mediaobject.  I note that DocBook
 4.1.2+ has provision for SVG.
 
 Do the html stylesheets do the right thing?
 (just wait till we get inline SVG!)

No.  I've had to customise the stylesheets.
When handling an SVG document (identified by the
file extension '.svg') they use an EMBED element
instead of IMG.

Not sure at this stage how Mozilla will change this:-
it will be very difficult to produce portable Web pages
if Mozilla requires IMG and Adobe requires EMBED :-(

Cheers,
Steve Ball

-- 
Steve Ball|   XSLT Standard Library   | Training  Seminars
Zveno Pty Ltd | Web Tcl Complete  |   XML XSL Schemas
http://www.zveno.com/ |  TclXML TclDOM| Tcl, Web Development
[EMAIL PROTECTED]  +---+-
Ph. +61 2 6242 4099   |   Mobile (0413) 594 462   | Fax +61 2 6242 4099




DOCBOOK-APPS: Re: blockquotes/attribution

2002-05-21 Thread Mark Derricutt

This is using SGML and DSSSL 1.76

And I'm starting my own stylesheet like:

!DOCTYPE style-sheet PUBLIC -//James Clark//DTD DSSSL Style Sheet//EN [
!ENTITY dbstyle SYSTEM docbook/dsssl-stylesheets/print/docbook.dsl CDATA 
DSSSL
]

I'm creating my pdf via:

  jw -d poetry.dsl -b pdf poetry.sgm

Mark

--On Monday, May 20, 2002 06:30:27 -0400 Norman Walsh [EMAIL PROTECTED] 
wrote:

 [Follow-ups moved to docbook-apps]

 / Mark Derricutt [EMAIL PROTECTED] was heard to say:
| I notice when using blockquote and the attribution tag to identify the
| quote source, in the HTML rendered version, the attribution is below
| the quote, to the right, with a proceeding --, but in the
| printed/pdf version, the attribution is flush left with the quote,
| above.  Is it possible to get a similar look for the attribution in
| the printed version?

 Which stylesheets (and what version) are you using?

 Be seeing you,
   norm

 --
 Norman Walsh [EMAIL PROTECTED]  | Greatness of soul is never
 http://www.oasis-open.org/docbook/ | apparent, for it conceals itself;
 Chair, DocBook Technical Committee | a little originality is usually
| all that shows. Greatness of soul
| is more frequent than one would
| suppose.--Stendhal




-- \m/ --
  ...if I seem super human I have been misunderstood. (c) Dream Theater
 [EMAIL PROTECTED] - ICQ: 1934853 JID: [EMAIL PROTECTED]




DOCBOOK-APPS: Inserting pagebreaks in pdf output using FOP

2002-05-21 Thread Martin Stemplinger

Hi all,

I have a document with an appendix containing some large tables and graphics and
I'd prefer to see them on a separate page each.

Is there a simple way to customize the fo-stylsheets to insert a pagebreak
before or after an element?

Any hints appreciated!

Martin