DOCBOOK-APPS: Mac fonts and PDF

2002-03-29 Thread Christopher J. Graham

Does the PDF generation include the fonts in the document? The PDFs I
generate on linux look real good on windows, but on the Mac OS 9.x they look
like crap.



Christopher Graham
[EMAIL PROTECTED]

PGP Fingerprint: F765 CCB5 B9CF 1285 7E3E  8CB0 0B1B 8454 9D66 D411




DOCBOOK-APPS: Re: mirror margins and two-pages

2002-03-29 Thread Christopher J. Graham

I am not sure what I am missing.

I have built the latest of openjade and opensp, and I still am not seeing
the margins mirrored. This is a real show stopper for me. The headers and
footers are mirroring correctly, for two page document, but not the margins.

I need to have margins mirrored correctly in order to have the document
hole-punched and placed into a binder.

I am now using 
OpenJade version 1.4devel
OpenSP version 1.5pre7
dsssl 1.76

is anyone able to do this, or is it just me?



on 3/20/2002 6:38 AM, Norman Walsh at [EMAIL PROTECTED] wrote:

 [ Follow-ups to docbook-apps, please ]
 
 / Christopher J. Graham [EMAIL PROTECTED] was heard to say:
 | I am new to docbook (such a cool technology) and I cannot figure out how to
 | get a two sided document with margins mirrored.
 
 You need to use either a recent version of OpenJade or XSL.
 
   Be seeing you,
 norm



Christopher Graham
[EMAIL PROTECTED]

PGP Fingerprint: F765 CCB5 B9CF 1285 7E3E  8CB0 0B1B 8454 9D66 D411




RE: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Glass, Eric

Add something like:

xsl:strip-space elements=quote footnote/

to the stylesheet.  Similarly, if you want to strip space as a default with
specified exceptions you could say something like:

xsl:strip-space elements=*/
xsl:preserve-space elements=para/

These are top-level elements (children of xsl:stylesheet) -- I'm not yet
that familiar with the layout of the stylesheets, so I'm not sure where it
would be most appropriate to add this.  Anyone have a suggestion?

-Original Message-
From: Josef Karthauser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 8:20 PM
To: [EMAIL PROTECTED]
Subject: DOCBOOK-APPS: How to remove surplus spaces.


Is there an easy way to remove surplus spaces in things like:

quote something /quote?

I'd like to have the stylesheet automatically remove the leading and
trailing white space.

Also in cases like:

   some text footnote  /footnote

I'd like to have all the white space before the opening footnote
gobbled up.

I'm using openjade and the DSSSL stylesheets.

Joe
 
**
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.



Re: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread murray

Uhm, he specified that this was for DSSSL.

Joe, I think you want the strip function in dblib.dsl.

 - Murray

On Fri, Mar 29, 2002 at 04:56:48AM -0500, Glass, Eric wrote:
 Add something like:
 
 xsl:strip-space elements=quote footnote/
 
 to the stylesheet.  Similarly, if you want to strip space as a default with
 specified exceptions you could say something like:
 
 xsl:strip-space elements=*/
 xsl:preserve-space elements=para/
 
 These are top-level elements (children of xsl:stylesheet) -- I'm not yet
 that familiar with the layout of the stylesheets, so I'm not sure where it
 would be most appropriate to add this.  Anyone have a suggestion?
 
 -Original Message-
 From: Josef Karthauser [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 28, 2002 8:20 PM
 To: [EMAIL PROTECTED]
 Subject: DOCBOOK-APPS: How to remove surplus spaces.
 
 
 Is there an easy way to remove surplus spaces in things like:
 
 quote something /quote?
 
 I'd like to have the stylesheet automatically remove the leading and
 trailing white space.
 
 Also in cases like:
 
some text footnote  /footnote
 
 I'd like to have all the white space before the opening footnote
 gobbled up.
 
 I'm using openjade and the DSSSL stylesheets.
 
 Joe
  
 **
 The information transmitted herewith is sensitive information intended only
 for use by the individual or entity to which it is addressed. If the reader
 of this message is not the intended recipient, you are hereby notified that
 any review, retransmission, dissemination, distribution, copying or other
 use of, or taking of any action in reliance upon this information is
 strictly prohibited. If you have received this communication in error,
 please contact the sender and delete the material from your computer.



RE: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Dave Brooks, BCS Systems

This is for XSL - Joe is using DSSSL style sheets

At 04:56 29/03/2002 -0500, Glass, Eric wrote:
Add something like:

xsl:strip-space elements=quote footnote/

to the stylesheet.  Similarly, if you want to strip space as a default with
specified exceptions you could say something like:

xsl:strip-space elements=*/
xsl:preserve-space elements=para/

These are top-level elements (children of xsl:stylesheet) -- I'm not yet
that familiar with the layout of the stylesheets, so I'm not sure where it
would be most appropriate to add this.  Anyone have a suggestion?

-Original Message-
From: Josef Karthauser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 8:20 PM
To: [EMAIL PROTECTED]
Subject: DOCBOOK-APPS: How to remove surplus spaces.


Is there an easy way to remove surplus spaces in things like:

 quote something /quote?

I'd like to have the stylesheet automatically remove the leading and
trailing white space.

Also in cases like:

some text footnote  /footnote

I'd like to have all the white space before the opening footnote
gobbled up.

I'm using openjade and the DSSSL stylesheets.

Joe




Re: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Jirka Kosek

Glass, Eric wrote:
 
 Add something like:
 
 xsl:strip-space elements=quote footnote/

This won't help, this instruction controls only removal of
whitespace-only text nodes.

Jirka

-- 
-
  Jirka Kosek
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz



Re: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Jirka Kosek

Josef Karthauser wrote:
 
 Is there an easy way to remove surplus spaces in things like:
 
 quote something /quote?
 
 I'd like to have the stylesheet automatically remove the leading and
 trailing white space.

Stylesheet can do this, but it isn't as easy as you can expect (you can
play with normalize-spaces() function if you want). And in fact
stylesheet shouldn't remove these spaces as they are significant, you
should change your markup to correct form:

quotesomething/quote

Jirka

-- 
-
  Jirka Kosek
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz



DOCBOOK-APPS: DTD-customizer draft specs available

2002-03-29 Thread ydirson

The DTD customizer project's goal is to produce a tool that will
easily allow to customize an SMGL or XML DTD (or shema or whatever),
in such a way that it is easy for the author to write and maintain
this customisation.

A first early draft for the specifications is available at
http://www.freesoftware.fsf.org/dtd-cust/doc/, for public comments.

Please direct comments to [EMAIL PROTECTED]

Project homepage: http://www.freesoftware.fsf.org/dtd-cust/


There is no code yet, and there probably won't be in the near future,
but I hope the formalism can already be useful, although it is
incomplete - as shown by the attempt below to formalize the AlcoveBook
customisation of DocBook, in which I've used the old (non-xml) syntax
still described in the specs, which I've freely enhanced for my ad-hoc
needs:

https://savannah.gnu.org/cgi-bin/viewcvs/alcovebook/alcovebook-sgml/dtd/v0.1/alcovebook.dtdcust?rev=1.1content-type=text/vnd.viewcvs-markup

-- 
Yann Dirson [EMAIL PROTECTED] http://www.alcove.com/
Technical support managerResponsable de l'assistance technique
Senior Free-Software Consultant  Consultant senior en Logiciels Libres
Debian developer ([EMAIL PROTECTED])Développeur Debian




DOCBOOK-APPS: Rendering footnotes on the same page in the printversions.

2002-03-29 Thread Josef Karthauser

Is it possible to render footnotes on the same pages at they occur
in the text, instead of at the end of each chapter?

I'm using openjade, and the DSSSL stylesheets.

Joe

p.s. thanks for the answers on removing surplus spaces.  I'll stick
to removing them in the source sgml files, and take away cookies
from my authors if they get it wrong ;).



msg04851/pgp0.pgp
Description: PGP signature


Re: DOCBOOK-APPS: Rendering footnotes on the same page in the printversions.

2002-03-29 Thread Peter Eisentraut

Josef Karthauser writes:

 Is it possible to render footnotes on the same pages at they occur
 in the text, instead of at the end of each chapter?

(define bop-footnotes #t)

You also have to set

(define tex-backend #t)

and of course you actually have to use the TeX backend.

-- 
Peter Eisentraut   [EMAIL PROTECTED]




DOCBOOK-APPS: bursting PDFs

2002-03-29 Thread Christopher J. Graham

Is there any way to burst a pdf file to be per chapter? I guess I can
process each chapter one at a time to get it. but I thought that it might be
a capability in DocBook.


Christopher Graham
[EMAIL PROTECTED]

PGP Fingerprint: F765 CCB5 B9CF 1285 7E3E  8CB0 0B1B 8454 9D66 D411