OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: DOCBOOK-APPS: PassiveTeX broken under 1.52.2?

Has anybody had any luck at all with PassiveTeX and 1.52.2 of the
stylesheets?  I have yet to be able to produce the most miminal
document using PassiveTeX.  I'm using:

xsltproc (libxml2 2.4.19/ libxslt 1.0.15)
passivetex (1.12)

From Norm's changelog, I've noticed a considerable amount of changes
(to the "pagesetup.xsl" template, in particular), that seems to break
PassiveTeX completely.

I am aware of the font family problem (as reported earlier on the
list), in that PassiveTeX can't handle the fallbacks, and I have a
stylesheet that handles that, text.xsl:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 

 <!-- override these because PassiveTeX doesn't handle fallback fonts

 <xsl:param name="body.font.family">Helvetica</xsl:param>
 <xsl:param name="title.font.family">Helvetica</xsl:param>
 <xsl:param name="monospace.font.family">Courier</xsl:param>
 <xsl:param name="sans.font.family">Helvetica</xsl:param>
 <xsl:param name="dingbat.font.family">Times Roman</xsl:param>


So I can workaround that particular PassiveTeX quirk.  But PassiveTeX
barfs on the most simple of XML files, (after producing the .fo file),
e.g. "test.xml":

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
<article condition="main">

   <para>Some problem</para>


After producing the FO file:

$ xsltproc test.xsl test.xml > test.fo

(which incidentally looks well-formed according to "xmllint")

I get errors that look like this:

$ xmlto pdf test.fo

[... elided output ...]

         <5:block  > 
        Grabbed content 
         <5:block  > 
        End Grabbed content
! Missing \endgroup inserted.
<inserted text> 
l.2 ...y></fo:list-item></fo:list-block></fo:flow>

! Emergency stop.
<inserted text> 
l.2 ...y></fo:list-item></fo:list-block></fo:flow>

No pages of output.
Transcript written on test.log.

I would attach the test.fo, but it's 400 lines long (after
reindenting), which interesting enough, compares with only 118 for the
test.fo file under 1.51.1.  The FO output with 1.52.2 seems
considerably more verbose.

Did anybody have a chance to test PassiveTeX support for 1.52.2 on the
most minimal DocBook file, or is it (as I'm hoping) a simple problem
at my end.  In any case, is there a simple workaround?

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC