[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: No Subject
Jirka -- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 13:50:17 +0100 From: Gour <gour@mail.inet.hr> Subject: Re: DOCBOOK-APPS: DTD vs. XML Schema In-reply-to: <3E71CACA.34DC6C2D@kosek.cz> To: docbook-apps@lists.oasis-open.org Reply-to: Gour <gour@mail.inet.hr> Message-id: <20030314125017.GA27775@mail.inet.hr> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <DACCA4896985294DBE0C8B33ABB8B0B7B72C7C@ITTSYSEMAILHQ1.systems.de.ittind.com> <3E71A7BF.EA97FC64@kosek.cz> <20030314110320.GA15320@mail.inet.hr> <3E71CACA.34DC6C2D@kosek.cz> List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> Jirka Kosek (jirka@kosek.cz) wrote: > From theoretical point of view RNG is cool schema language especially > for grammar-based document types like DocBook. AFAIK there is zero > support for RNG in XML content creation tools (editors). And you will > have same problem with entities as in XML schemas. But I hope that more > tools will adapt RNG in a future. Afaik, the upcoming version of epcEdit will have support for RNG. Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493 --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 14:55:21 +0100 From: Claus Rasmussen <clr@interse.com> Subject: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo To: docbook-apps@lists.oasis-open.org Message-id: <F9E9A54B74B6D6419730A3C30865BFF4535141@Mail01.interse.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-Topic: Wrap text around images in PDFs, using xsl:fo Thread-Index: AcLqMVrDODfxezXqTHyH7hn5ZtOWPA== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> Is subj. possible at all? I can create inline graphics, but only that one line of text will wrap around it. I'm looking for a look like what happens in HTML when you align an image to the left or to the right, and the surrounding text wraps around it, like: +---------+ | | blah, blah, text, blah, blah, | image | wrap..wrap..blah, blah, blah, | | blah, blah, clah, ajsldf alksdf +---------+ lakjsdf ljks sdlfjk lsjdfs kjsdf lkjsf slkdfj sdflkjsdf slfdkjsf lsdj ljk ljk sdf lksjdf sldjfls sljkfdsf lkjl Anyone? Best, Claus --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Content-return: allowed Date: Fri, 14 Mar 2003 09:30:19 -0500 From: Jeff Beal <jeff.beal@ansys.com> Subject: RE: DOCBOOK-APPS: Tables do not appear in fo To: 'Jeroen Alblas' <jeroena@infosupport.com>, docbook-apps@lists.oasis-open.org Message-id: <E08C8F26F6901D42B1201763D125853815B5F5@ntdevexc.win.ansys.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> Which XSLT processor are you using? Which FO formatter are you using? The adjustColumnWidths function is an extension function Norm wrote. It is not implemented in XSL, but relies on different processor-specific mechanisms. If you're using Saxon, for example, you need to include docbook-xsl-1.60.1/extensions/saxon65.jar in your java CLASSPATH. If you're using Xalan, you need to put xalan2.jar in your CLASSPATH. If you're using XSLTProc, you should not be using extensions. Norm is working on writing these extension functions in Python (at least the adjustColumnWidths function), but that isn't done yet. I have found that for HTML output, losing the adjustColumnWidths function is a bad thing, but both Xep and FOP have good enough support for FO tables that they don't need it. Jeff -----Original Message----- From: Jeroen Alblas [mailto:jeroena@infosupport.com] Sent: Friday, March 14, 2003 7:13 AM To: docbook-apps@lists.oasis-open.org Subject: DOCBOOK-APPS: Tables do not appear in fo Hello, When I have this option turned on in my docbook customization layer: <!-- Use Extensions --> <xsl:param name="use.extensions" select="'1'"/> tables don't appear in the XSLFO file and I read: "No adjustColumnWidths function available." When I turn extensions off, they're back! What's the problem? Greetings, Jeroen Alblas * [mailto:jeroena@infosupport.com] * + 31-(0) 318 55 20 20 (office) Info Support, Our know-how, your competitive edge Einsteinstraat 22-1 3902 HN Veenendaal Tel : + 31 (0) 318 55 20 20 Fax: + 31 (0) 318 55 23 55 [http://www.infosupport.com] Disclaimer http://www.infosupport.com *********************************************************************** This E-Mail Message is intended exclusively for the addressee. If the E-Mail was sent to you in error, please notify the sender immediately by replying to this E-mail. We would then request you to destroy the E-Mail and neither to use nor disclose the contents in any manner to third parties, as the message could contain confidential information which may be protected by the professional secrecy act. This footnote also confirms that this E-mail message has been swept for computer viruses. *********************************************************************** --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Content-return: allowed Date: Fri, 14 Mar 2003 09:32:54 -0500 From: Jeff Beal <jeff.beal@ansys.com> Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo To: 'Claus Rasmussen' <clr@interse.com>, docbook-apps@lists.oasis-open.org Message-id: <E08C8F26F6901D42B1201763D125853815B5F6@ntdevexc.win.ansys.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain Content-transfer-encoding: 7BIT List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> You'll need to place the image inside of a <fo:float/> element. -----Original Message----- From: Claus Rasmussen [mailto:clr@interse.com] Sent: Friday, March 14, 2003 8:55 AM To: docbook-apps@lists.oasis-open.org Subject: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo Is subj. possible at all? I can create inline graphics, but only that one line of text will wrap around it. I'm looking for a look like what happens in HTML when you align an image to the left or to the right, and the surrounding text wraps around it, like: +---------+ | | blah, blah, text, blah, blah, | image | wrap..wrap..blah, blah, blah, | | blah, blah, clah, ajsldf alksdf +---------+ lakjsdf ljks sdlfjk lsjdfs kjsdf lkjsf slkdfj sdflkjsdf slfdkjsf lsdj ljk ljk sdf lksjdf sldjfls sljkfdsf lkjl Anyone? Best, Claus --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 15:36:59 +0100 From: Claus Rasmussen <clr@interse.com> Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo To: docbook-apps@lists.oasis-open.org Message-id: <F9E9A54B74B6D6419730A3C30865BFF4535142@Mail01.interse.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-Topic: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo Thread-Index: AcLqNp0ntiOvVJFQSUGpDGZGhZTkXgAAD6xQ content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> Jeff, Thanks for your snappy reply. I should have been clearer in my question - I actually meant, whether such behavior is supported by the docbook xsl style sheets for fo, because that's where I can't get it to work. I'm using FOP - is that the sinner here, or is it not supported at the style sheet level? /claus > -----Original Message----- > From: Jeff Beal [mailto:jeff.beal@ansys.com] > Sent: 14. marts 2003 15:33 > To: Claus Rasmussen; docbook-apps@lists.oasis-open.org > Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo > > You'll need to place the image inside of a <fo:float/> element. > > -----Original Message----- > From: Claus Rasmussen [mailto:clr@interse.com] > Sent: Friday, March 14, 2003 8:55 AM > To: docbook-apps@lists.oasis-open.org > Subject: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo > > > Is subj. possible at all? I can create inline graphics, but only that > one line of text will wrap around it. I'm looking for a look like what > happens in HTML when you align an image to the left or to the right, and > the surrounding text wraps around it, like: > > +---------+ > | | blah, blah, text, blah, blah, > | image | wrap..wrap..blah, blah, blah, > | | blah, blah, clah, ajsldf alksdf > +---------+ lakjsdf ljks sdlfjk lsjdfs kjsdf > lkjsf slkdfj sdflkjsdf slfdkjsf lsdj > ljk ljk sdf lksjdf sldjfls sljkfdsf lkjl > > Anyone? > > Best, > Claus --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Content-return: allowed Date: Fri, 14 Mar 2003 10:11:39 -0500 From: Jeff Beal <jeff.beal@ansys.com> Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo To: 'Claus Rasmussen' <clr@interse.com>, docbook-apps@lists.oasis-open.org Message-id: <E08C8F26F6901D42B1201763D125853815B5F8@ntdevexc.win.ansys.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain Content-transfer-encoding: 7BIT List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> Oh. In that case, I think you can quite legitimately point fingers at both DocBook and FOP. I just checked FOP's website, and they do not suppor the <fo:float/> formatting object. However, there's also nothing in the DocBook DTD or in Norm's stylesheets to output an <fo:float/>. It certainly seems that with your particular tool chain, floats are at the moment impossible. If you were to switch FO formatters, I could envision a stylesheet customization along the lines of <xsl:template match="inlinemediaobject[@role='floatleft']"> <fo:float float="left"> <xsl:apply-imports/> </fo:float> </xsl:template> that would work. For now, though, there's nothing in DocBook to support floating images. (It might make a nice RFE, though.) Jeff -----Original Message----- From: Claus Rasmussen [mailto:clr@interse.com] Sent: Friday, March 14, 2003 9:37 AM To: docbook-apps@lists.oasis-open.org Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo Jeff, Thanks for your snappy reply. I should have been clearer in my question - I actually meant, whether such behavior is supported by the docbook xsl style sheets for fo, because that's where I can't get it to work. I'm using FOP - is that the sinner here, or is it not supported at the style sheet level? /claus > -----Original Message----- > From: Jeff Beal [mailto:jeff.beal@ansys.com] > Sent: 14. marts 2003 15:33 > To: Claus Rasmussen; docbook-apps@lists.oasis-open.org > Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo > > You'll need to place the image inside of a <fo:float/> element. > > -----Original Message----- > From: Claus Rasmussen [mailto:clr@interse.com] > Sent: Friday, March 14, 2003 8:55 AM > To: docbook-apps@lists.oasis-open.org > Subject: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo > > > Is subj. possible at all? I can create inline graphics, but only that > one line of text will wrap around it. I'm looking for a look like what > happens in HTML when you align an image to the left or to the right, and > the surrounding text wraps around it, like: > > +---------+ > | | blah, blah, text, blah, blah, > | image | wrap..wrap..blah, blah, blah, > | | blah, blah, clah, ajsldf alksdf > +---------+ lakjsdf ljks sdlfjk lsjdfs kjsdf > lkjsf slkdfj sdflkjsdf slfdkjsf lsdj > ljk ljk sdf lksjdf sldjfls sljkfdsf lkjl > > Anyone? > > Best, > Claus --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 16:40:49 +0000 From: Dave Pawson <dpawson@nildram.co.uk> Subject: Re: DOCBOOK-APPS: DTD vs. XML Schema In-reply-to: <20030314125017.GA27775@mail.inet.hr> X-Sender: dpawson@pop3.Nildram.co.uk To: Gour <gour@mail.inet.hr>, docbook-apps@lists.oasis-open.org Message-id: <5.2.0.9.2.20030314164026.00a90fb8@pop3.Nildram.co.uk> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT References: <3E71CACA.34DC6C2D@kosek.cz> <DACCA4896985294DBE0C8B33ABB8B0B7B72C7C@ITTSYSEMAILHQ1.systems.de.ittind.com> <3E71A7BF.EA97FC64@kosek.cz> <20030314110320.GA15320@mail.inet.hr> <3E71CACA.34DC6C2D@kosek.cz> List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> At 13:50 14/03/2003 +0100, Gour wrote: >Jirka Kosek (jirka@kosek.cz) wrote: > > > From theoretical point of view RNG is cool schema language especially > > for grammar-based document types like DocBook. AFAIK there is zero > > support for RNG in XML content creation tools (editors). And you will > > have same problem with entities as in XML schemas. But I hope that more > > tools will adapt RNG in a future. > >Afaik, the upcoming version of epcEdit will have support for RNG. And Rick Jelliffe's editor from topologi. regards DaveP --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 19:45:07 +0300 From: Vitaly Ostanin <vyt@vzljot.ru> Subject: DOCBOOK-APPS: Re: XIncludes In-reply-to: <3E6F01AA.ABDC3EDE@enea.se> To: docbook-apps@lists.oasis-open.org Message-id: <20030314194507.332f64cc.vyt@vzljot.ru> MIME-version: 1.0 X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i586-alt-linux-gnu) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <3E6F01AA.ABDC3EDE@enea.se> List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> On Wed, 12 Mar 2003 10:45:14 +0100 Stefan Bylund <steby@enea.se> wrote: > Hi Damian, > > I first tried xincluder but I soon found out that xmllint is > more fully featured. I use the following command to resolve all > xincludes before invoking the XSLT processor (Saxon): > > xmllint --xinclude --catalogs document.xml > resolved.xml > > Note that xmllint uses the SGML_CATALOG_FILES environment > variable to find the catalog(s). > > The xmllint tool is part of libxml2 which is located at > http://xmlsoft.org/. It is also a very good validating XML > parser; I use it the following way: > > xmllint --xinclude --postvalid --noout --catalogs document.xml If your document uses entities which declared in external DTD (like DocBook), you should add --loaddtd <skipped/> -- Regards, Vyt mailto: vyt@vzljot.ru JID: vyt@vzljot.ru --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 10:26:31 -0800 From: Bob Stayton <bobs@sco.com> Subject: Re: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo In-reply-to: <"from jeff.beal"@ansys.com> To: Jeff Beal <jeff.beal@ansys.com> Cc: 'Claus Rasmussen' <clr@interse.com>, docbook-apps@lists.oasis-open.org Message-id: <20030314102631.D4337@sco.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.2.5i References: <E08C8F26F6901D42B1201763D125853815B5F8@ntdevexc.win.ansys.com> List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> On Fri, Mar 14, 2003 at 10:11:39AM -0500, Jeff Beal wrote: > Oh. In that case, I think you can quite legitimately point fingers at both > DocBook and FOP. I just checked FOP's website, and they do not suppor the > <fo:float/> formatting object. However, there's also nothing in the DocBook > DTD or in Norm's stylesheets to output an <fo:float/>. It certainly seems > that with your particular tool chain, floats are at the moment impossible. > > If you were to switch FO formatters, I could envision a stylesheet > customization along the lines of > > <xsl:template match="inlinemediaobject[@role='floatleft']"> > <fo:float float="left"> > <xsl:apply-imports/> > </fo:float> > </xsl:template> > > that would work. For now, though, there's nothing in DocBook to support > floating images. (It might make a nice RFE, though.) Actually, the DocBook Technical Committee approved RFE 615473 on 19 November 2002 to extend 'float' in the DTD. In 4.2, there is just a 'float = yes|no' attribute on figure. We added a 'floatstyle' attribute to figure, example, table, and equation, of type CDATA with the documentation saying that it is expected to be a keyword that a stylesheet could act upon. Once that change is released in a new DTD version, the stylesheets can be modified to work with it. Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Content-return: allowed Date: Fri, 14 Mar 2003 13:32:02 -0500 From: Jeff Beal <jeff.beal@ansys.com> Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo To: 'Bob Stayton' <bobs@sco.com> Cc: docbook-apps@lists.oasis-open.org Message-id: <E08C8F26F6901D42B1201763D125853815B5FB@ntdevexc.win.ansys.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain Content-transfer-encoding: 7BIT List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> Apparently I need to pay more attention to the latest versions of the DTD. ;) (I really need to upgrade ours some day -- still using 3.something.) -----Original Message----- From: Bob Stayton [mailto:bobs@sco.com] Sent: Friday, March 14, 2003 1:27 PM To: Jeff Beal Cc: 'Claus Rasmussen'; docbook-apps@lists.oasis-open.org Subject: Re: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo On Fri, Mar 14, 2003 at 10:11:39AM -0500, Jeff Beal wrote: > Oh. In that case, I think you can quite legitimately point fingers at both > DocBook and FOP. I just checked FOP's website, and they do not suppor the > <fo:float/> formatting object. However, there's also nothing in the DocBook > DTD or in Norm's stylesheets to output an <fo:float/>. It certainly seems > that with your particular tool chain, floats are at the moment impossible. > > If you were to switch FO formatters, I could envision a stylesheet > customization along the lines of > > <xsl:template match="inlinemediaobject[@role='floatleft']"> > <fo:float float="left"> > <xsl:apply-imports/> > </fo:float> > </xsl:template> > > that would work. For now, though, there's nothing in DocBook to support > floating images. (It might make a nice RFE, though.) Actually, the DocBook Technical Committee approved RFE 615473 on 19 November 2002 to extend 'float' in the DTD. In 4.2, there is just a 'float = yes|no' attribute on figure. We added a 'floatstyle' attribute to figure, example, table, and equation, of type CDATA with the documentation saying that it is expected to be a keyword that a stylesheet could act upon. Once that change is released in a new DTD version, the stylesheets can be modified to work with it. Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 13:52:02 -0500 From: Kevin Dunn <kdunn@hsc.edu> Subject: Re: DOCBOOK-APPS: page numbers in dsssl xrefs X-Sender: <kdunn@hsc.edu> To: Adam DiCarlo <adam@onshored.com> Cc: docbook-apps@lists.oasis-open.org Reply-to: kdunn@hsc.edu Message-id: <200303141352.AA62784116@hams-hsc.hsc.edu> MIME-version: 1.0 X-Mailer: <IMail v7.13> Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> ---------- Original Message ---------------------------------- From: Adam DiCarlo <adam@onshored.com> Date: Thu, 13 Mar 2003 03:14:53 -0600 >Kevin Dunn <kdunn@hsc.edu> writes: > >> The problem is that the page numbers are occasionally wrong when a >> floating figure or equation is bumped to the next page. The mandrake >> documentation project solved this problem for the LOT by printing >> the page number of, for example, the title of an equation rather >> than of the equation itself. > >I don't get it. Wouldn't it be a bug if the equation title is on a >different page than the equation itself? Or are these deliberately >multi-page equations? > This is a LONGSTANDING bug in the dsl stylesheets, dating back to before they moved to sourceforge. When the tex backend bumps a formal object (figure, eqn, etc.) to the start of a new page, the object itself starts at the bottom of, say page 7, but the figure and its title actually appear at the top of page 8. The result is that hyperlinks to those objects work fine in both html and pdf. But the page number listed as page 7 in the TOC. The mandrake customization gets around this by linking LOT entries to the object titles rather than to the objects themselves. I solved my page reference problem in the same way. I made a few minor changes to common/dbl1en.dsl and now I can get correct page references simply by xref to a title or anchor. >Hmm, I believe we can adjust where the actual anchor for the link is >placed. > >Is is possible to provide a sample generic DocBook (XML or SGML, XML >preferred) document showing the problem? > I'll do that and send you my customizations. I'm sure that they are crude, but they solve my problems. BTW, thanks for your work on dsssl 1.78. It is much appreciated. -- Kevin M. Dunn Professor of Chemistry Hampden-Sydney College -- --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 14:01:03 -0500 From: Kevin Dunn <kdunn@hsc.edu> Subject: Re: DOCBOOK-APPS: dsl + jadetex font tweaking X-Sender: <kdunn@hsc.edu> To: kdunn@hsc.edu, Adam DiCarlo <adam@onshored.com> Cc: docbook-apps@lists.oasis-open.org Reply-to: kdunn@hsc.edu Message-id: <200303141401.AA656605658@hams-hsc.hsc.edu> MIME-version: 1.0 X-Mailer: <IMail v7.13> Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> >Kevin Dunn <kdunn@hsc.edu> writes: > >> I have an almost insignificant problem that I have had little >> success in understanding--the degree symbol in my generated pdf has >> extra whitespace at the end. I have looked in the .tex output from >> openjade and jadetex and there is no extra whitespace there. I can >> only suspect that tex itself thinks that the symbol is wider than it >> acutally is. > >Woah, no idea. Submit as a bug against jadetex, though it might be a >TeX issue... > It looks like a stylesheet issue, though I have no idea at what point in the chain it could be fixed. The dsl stylesheet writes the ascii code for the degree symbol into the tex file. TeX understands the symbol and prints it, but stupidly, with too much space between the symbol and the next character. TeX actually has a smart degree symbol, \textdegree. Currently I run my tex through a sed script to change all the ascii degrees into textdegrees. It looks just like it should, but I have no idea how to massage the stylesheets into outputting \textdegree for ° I will include an example in the one I am creating for the "page number" problem. -- Kevin M. Dunn Professor of Chemistry Hampden-Sydney College -- --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q) Date: Fri, 14 Mar 2003 15:50:33 -0600 From: Adam DiCarlo <adam@onshored.com> Subject: Re: DOCBOOK-APPS: dsl + jadetex font tweaking In-reply-to: <200303141401.AA656605658@hams-hsc.hsc.edu> Sender: adam@gopher.onshored.com To: kdunn@hsc.edu Cc: docbook-apps@lists.oasis-open.org Message-id: <86bs0dr51y.fsf@gopher.onshored.com> Organization: onShore Development, Inc MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Lines: 19 References: <200303141401.AA656605658@hams-hsc.hsc.edu> List-Owner: <mailto:docbook-apps-help@lists.oasis-open.org> List-Post: <mailto:docbook-apps@lists.oasis-open.org> List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=subscribe> List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>, <mailto:docbook-apps-request@lists.oasis-open.org?body=unsubscribe> List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/> List-Help: <http://lists.oasis-open.org/elists/admin.shtml>, <mailto:docbook-apps-request@lists.oasis-open.org?body=help> List-Id: <docbook-apps.lists.oasis-open.org> "Kevin Dunn" <kdunn@hsc.edu> writes: > It looks like a stylesheet issue, though I have no idea at what > point in the chain it could be fixed. The dsl stylesheet writes the > ascii code for the degree symbol into the tex file. TeX understands > the symbol and prints it, but stupidly, with too much space between > the symbol and the next character. TeX actually has a smart degree > symbol, \textdegree. Currently I run my tex through a sed script to > change all the ascii degrees into textdegrees. It looks just like it > should, but I have no idea how to massage the stylesheets into > outputting \textdegree for ° > > I will include an example in the one I am creating for the "page number" problem. I don't really see how this could be a stylesheet issue. It's either an OpenJade TeX backend issue or a JadeTeX issue. -- ...Adam Di Carlo...<adam@onshored.com>.......<URL:http://www.onshored.com/> --Boundary_(ID_QVweG6fYjb+yuA4Kay811Q)-- --Boundary_(ID_Jr921EFAp+YExA1I4A6m5A)--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Powered by ezmlm-idx