Re: DOCBOOK-APPS: Has anyone used java server pages to serve upDocBook XML documents?

2002-04-29 Thread Dave Pawson

At 15:21 29/04/2002 -0700, Lori Wong wrote:
>I'm new and although I've looked through the list archive, I'm not sure 
>that the postings about Java and DocBook XML necessarily address 
>implementing a java server page to serve up DocBook XML as HTML 
>on-the-fly.  Most of the postings appear to address creating HTML output 
>to a file rather than through a web server.  I am just learning about 
>java, so this question may be rather naive. I have a fairly small set of 
>documents which only use a subset of the DocBook DTD (something slightly 
>larger than the Simplified DTD).  Does anyone have an example they might 
>be willing to share that does this type of transformation via a jsp (or is 
>there documentation that might be relevant that I should read)?  Is Norman 
>Walsh's XSLT the preferred stylesheet transformation and can it be 
>customized to only deal with the subset I'm using?

Sorry, no jsp examples, but yes it can be (and is being done).
Try some jsp sites.

If your docbook is a true subset of docbook then the stylesheets should 
work fine for you.

HTH DaveP





DOCBOOK-APPS: Has anyone used java server pages to serve up DocBookXML documents?

2002-04-29 Thread Lori Wong

I'm new and although I've looked through the list archive, I'm not sure 
that the postings about Java and DocBook XML necessarily address 
implementing a java server page to serve up DocBook XML as HTML 
on-the-fly.  Most of the postings appear to address creating HTML output to 
a file rather than through a web server.  I am just learning about java, so 
this question may be rather naive. I have a fairly small set of documents 
which only use a subset of the DocBook DTD (something slightly larger than 
the Simplified DTD).  Does anyone have an example they might be willing to 
share that does this type of transformation via a jsp (or is there 
documentation that might be relevant that I should read)?  Is Norman 
Walsh's XSLT the preferred stylesheet transformation and can it be 
customized to only deal with the subset I'm using?

Thanks in advance!

- Lori 



Re: DOCBOOK-APPS: set-titlepage-verso-elements

2002-04-29 Thread Tammy Fox

Try (define (book-titlepage-verso-elements)
instead of set.

Tammy

On Mon, Apr 29, 2002 at 06:50:05PM +0200, Camille Bégnis wrote:
> Hello,
> 
> I have added the following in my DSSSL customization layer (1.76), but 
> it has o effect (the revision history still shows up on book verso title 
> page). Am I missing something?
> 
> Camille.
> 
> 
> 
> (define (set-titlepage-verso-elements)
>(list (normalize "title")
>  (normalize "subtitle")
>  (normalize "edition")
>  (normalize "pubdate")
>  (normalize "copyright")
>  (normalize "legalnotice")))




DOCBOOK-APPS: multi paras inside listitems

2002-04-29 Thread Tammy Fox

When producing PS from DocBook SGML v4.1 using the DSSSL stylesheets,
I am getting too much space after listitems with multiple paras. The
same as this old thread:

http://lists.oasis-open.org/archives/docbook-apps/200104/msg00216.html

Has anymore found a workaround?

Thanks,
Tammy



DOCBOOK-APPS: Re: Generating with html/chunk.xsl doesn't chunk

2002-04-29 Thread Steinar Bang

> Dominik Kuhn <[EMAIL PROTECTED]>:

> - DocBook XML 4.1.2
> - DocBook XSL Stylesheets 1.5.0
> - Xalan 1.2.2 (Version 2.3.1 didn't work, there were another emails
> about problems with V2, so I switched back to 1.2.2)

> Building a single file html using html/docbook.xsl works. If try to
> build chunked HTML I get one file with all the single pages
> concatenated. What's wrong? (I don't see it ... :-( )

Are you sure you're not seeing an old HTML file generated by
html/docbook.xsl, and that the files generated by chunk.xsl, are
ending up in a different directory?






DOCBOOK-APPS: set-titlepage-verso-elements

2002-04-29 Thread Camille Bégnis

Hello,

I have added the following in my DSSSL customization layer (1.76), but 
it has o effect (the revision history still shows up on book verso title 
page). Am I missing something?

Camille.



(define (set-titlepage-verso-elements)
   (list (normalize "title")
 (normalize "subtitle")
 (normalize "edition")
 (normalize "pubdate")
 (normalize "copyright")
 (normalize "legalnotice")))




Re: DOCBOOK-APPS: The Best Linux Distribution to work with DocBoo k

2002-04-29 Thread Tim Waugh


--3BL0Ng5d1iPP6beU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Apr 29, 2002 at 05:53:22PM +0200, Peter Ring wrote:

> For a while, Mandrake appeared to me to be most up-to-date. But I don't
> think there's much difference now. Anyway, most of the DocBook and jade or
> xslt specific packages can be installed from source without too much hassle.
> I'd pick the distribution based on some other criteria (like how easy is it
> to get passivetex working).

There are several RPM-based distributions (I don't know about
non-RPM-based ones) that have PassiveTeX RPM packages.  PLD, for
instance.  For Red Hat Linux: .

So, for RPM-based distributions at least, setting up PassiveTeX isn't
hard any more. [In theory..]

So, to agree with Peter: pick some other criteria..

Tim.
*/

--3BL0Ng5d1iPP6beU
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8zW3lyaXy9qA00+cRAnHFAJ4+bsEqx28iGMwKQdm5Uv8pI97oaQCfQo8e
3xybFaRk/DvXmk81NdKSU1c=
=m4nX
-END PGP SIGNATURE-

--3BL0Ng5d1iPP6beU--



RE: DOCBOOK-APPS: The Best Linux Distribution to work with DocBoo k

2002-04-29 Thread Peter Ring

For a while, Mandrake appeared to me to be most up-to-date. But I don't
think there's much difference now. Anyway, most of the DocBook and jade or
xslt specific packages can be installed from source without too much hassle.
I'd pick the distribution based on some other criteria (like how easy is it
to get passivetex working).

Kind regards
Peter Ring


-Original Message-
From: SEBASTIÁN VIÚDEZ ORTEGA [mailto:[EMAIL PROTECTED]]
Sent: 29. april 2002 13:49
To: [EMAIL PROTECTED]
Subject: DOCBOOK-APPS: The Best Linux Distribution to work with DocBook



 Between the main Linux distributions - RedHat,
Suse, Mandrake, etc.-, i would need to know, based in
your experience, wich one is the more appropriate to
work with Openjade, Jadetex, LaTex, StyleSheets,
DocBook-DTD's, Graphics, XML Editors, XML Browsers
and other related tools, in order to make pdf's,
HTML's, etc. documents from XML DocBook documents (I want
to say wich distribution is more complet and updated, and
less buggy).

Thank you.
--

Sebastián VIÚDEZ ORTEGA |=> Internet --> [EMAIL PROTECTED]
   |=> Fidonet  --> 2:345/425.40
PGP | Fingerprint: 6301 D212 6721 9659 501F  CC79 B1B0 55C0 2CB1 51A9
| Key ID: 0x2CB151A9






DOCBOOK-APPS: Generating with html/chunk.xsl doesn't chunk

2002-04-29 Thread Dominik Kuhn

Hello

This is my setup

- DocBook XML 4.1.2
- DocBook XSL Stylesheets 1.5.0
- Xalan 1.2.2 (Version 2.3.1 didn't work, there were another emails 
about problems with V2, so I switched back to 1.2.2)

Building a single file html using html/docbook.xsl works. If  try to 
build chunked HTML I get one file with all the single pages 
concatenated. What's wrong? (I don't see it ... :-(  )

Here's my command:

java -cp 
"C:\Programme\xalan-j_1_2_2\xalan.jar;C:\Programme\xalan-j_1_2_2\xerces.jar;C:\Programme\xalan-j_1_2_2\bsf.jar"
 
org.apache.xalan.xslt.Process -in docbook2.xml -xsl 
H:/DocBook/docbook-xsl/html/chunk.xsl

I tried this one with and without a "-out test".

The output of xalan looks ok:
---
= Parsing file:H:/DocBook/docbook-xsl/html/chunk.xsl ==
Parse of file:H:/DocBook/docbook-xsl/html/chunk.xsl took 3915 milliseconds
= Parsing file:h:/Java/Schulung/doc/howto/docbook2.xml ==
Parse of file:h:/Java/Schulung/doc/howto/docbook2.xml took 1533 milliseconds
=
Transforming...
Writing ch01.html for chapter
No template named "title" exists in the context named "title" in the 
"de" localization.
Don't know what gentext to create for xref to: "title", ("linkliste")
Writing ch02s02.html for sect1
Writing ch02.html for chapter
Writing ch03s02.html for sect1(InstallLinux)
Writing ch03.html for chapter
Writing ch04s02.html for sect1
Writing ch04.html for chapter
Writing apa.html for appendix
Writing apbs02.html for sect1
Writing apb.html for appendix
Writing apc.html for appendix
Writing go01.html for glossary
Writing ix01.html for index
Writing index.html for book
transform took 10094 milliseconds
XSLProcessor: done
--

Please help me (thanks a lot in advance!)

- Dominik -





Re: DOCBOOK-APPS: Re: The Best Linux Distribution to work with DocBook

2002-04-29 Thread Daniel Veillard

On Mon, Apr 29, 2002 at 09:02:43AM -0300, Jorge Godoy wrote:
> SEBASTIÁN VIÚDEZ ORTEGA <[EMAIL PROTECTED]> writes:
> 
> >  Between the main Linux distributions - RedHat,
> > Suse, Mandrake, etc.-, i would need to know, based in
> > your experience, wich one is the more appropriate to
> > work with Openjade, Jadetex, LaTex, StyleSheets,
> > DocBook-DTD's, Graphics, XML Editors, XML Browsers
> > and other related tools, in order to make pdf's,
> > HTML's, etc. documents from XML DocBook documents (I want
> > to say wich distribution is more complet and updated, and
> > less buggy).
> 
> I don't think anyone can answer this without some tendency on the
> answer. You should also check which distribution has an active person
> on these packages, how often they are updated, how many DTDs are
> available, etc.

  Well I will expose my bias. I am the main author of libxml2 and
libxslt (xsltproc), I am paid by Red Hat, and as such I will give 
priority to Red Hat customers when I'm under time pressure. Tim Waugh
also helps a lot on making sure our distribution will work for most
documentation needs. That said I think it's well known I tend to
process bugs from whoever raises them, even from Windows users.

Daniel

-- 
Daniel Veillard  | Red Hat Network https://rhn.redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




DOCBOOK-APPS: Re: The Best Linux Distribution to work with DocBook

2002-04-29 Thread Jorge Godoy

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


SEBASTIÁN VIÚDEZ ORTEGA <[EMAIL PROTECTED]> writes:

>  Between the main Linux distributions - RedHat,
> Suse, Mandrake, etc.-, i would need to know, based in
> your experience, wich one is the more appropriate to
> work with Openjade, Jadetex, LaTex, StyleSheets,
> DocBook-DTD's, Graphics, XML Editors, XML Browsers
> and other related tools, in order to make pdf's,
> HTML's, etc. documents from XML DocBook documents (I want
> to say wich distribution is more complet and updated, and
> less buggy).

I don't think anyone can answer this without some tendency on the
answer. You should also check which distribution has an active person
on these packages, how often they are updated, how many DTDs are
available, etc.

I was going to say to you to use XX distribution but I'm
suspicious since I work for them and I've made their packages (and
this same phrase fits well for others here, so it doesn't apply just
to me). But, there was a standardization process and Mandrake,
Conectiva, SuSE, RH, Debian, etc. were all participating of it and
using the same tools. So, what you will find is almost the same
environment.

Plus, what you will really like to look at are all the features of the
distribution. Don't choose it based only in one package and in today's
status. Take a carefull look at it.


Choosing a distribution is more of what you like than what we
say. This is the topic of very inflamated flamewars.

- -- 
Godoy. <[EMAIL PROTECTED]>

Escritório de Projetos  --Conectiva S.A.
Projects Office --Conectiva Inc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8zTZnEzC+baSjBiURAgJjAKCRGYX79w2Cd7Mhc4a6T9L0r5kLAwCgpYDj
eVOVW/y4O8A3xMYXz2PGXZw=
=O4CZ
-END PGP SIGNATURE-



DOCBOOK-APPS: The Best Linux Distribution to work with DocBook

2002-04-29 Thread SEBASTIÁN VIÚDEZ ORTEGA


 Between the main Linux distributions - RedHat,
Suse, Mandrake, etc.-, i would need to know, based in
your experience, wich one is the more appropriate to
work with Openjade, Jadetex, LaTex, StyleSheets,
DocBook-DTD's, Graphics, XML Editors, XML Browsers
and other related tools, in order to make pdf's,
HTML's, etc. documents from XML DocBook documents (I want
to say wich distribution is more complet and updated, and
less buggy).

Thank you.
--

Sebastián VIÚDEZ ORTEGA |=> Internet --> [EMAIL PROTECTED]
   |=> Fidonet  --> 2:345/425.40
PGP | Fingerprint: 6301 D212 6721 9659 501F  CC79 B1B0 55C0 2CB1 51A9
| Key ID: 0x2CB151A9