This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: toc frame in slides
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: toc frame in slides
- From: Martin Perina <martin dot perina at ataco dot cz>
- Date: Tue, 06 Nov 2001 08:42:09 +0100
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <20011105154020.B30951@kerberos.ankara.gantek.com>
On Po, 2001-11-05 at 14:40, Baurjan Ismagulov wrote:
> Hi,
>
> I'm trying slides DTD. I can generate HTML output without problems
> (expanding/collapsing TOC menus are great, btw), but can't produce a PDF
> with one slide per page (so that I can use mpage to print it). There are
> many messages on this subject in the list archive, but I couldn't find
> any hint to solve my current problem.
>
> I tried xsltproc 1.0.6 and fop 0.20rc2 with slides 2.0a2 and XSL 1.46e:
>
> $ xsltproc -o z.fo slides-2.0a2/xsl/fo-plain.xsl z.xml
> Making landscape pages on USletter paper (11inx8.5in)
> No template named "slides" exists in the context named "title" in the "en" localization.
The same problem I've solved last night. You need to add line
<l:template name="slides" text="%t"/>
to section
<l:context name="title>
in file common/en.xml in your XSL stylesheets directory.
> listitem encountered, but no template matches.
> <snipped four same messages>
>
> $ JAVA_HOME=/opt/jdk-1.2.2 sh Fop-0.20.2/fop.sh -fo z.fo -pdf z.pdf
> [INFO]: FOP 0.20.2
> [INFO]: building formatting object tree
> [WARN]: property - "alignment-baseline" is not implemented yet.
> [WARN]: property - "font" is not implemented yet.
> <snipped 11 screenfuls of those messages>
> [INFO]: [1]
> <snip>
> [INFO]: [10]
> [ERROR]: >
> <two hours of execution with the same message>
>
I've got same error sometimes, when I've used tables in my document.
But this error is really random, some tables was rendered ok, some
produces this error. But it sure is FOP error.
Martin Perina
________________________________________________________________________
ATACO, spol. s r. o. email: martin.perina@ataco.cz
Lesetinska 676 www: http://www.ataco.cz/
Ostrava - Kuncice phone: +420 (69) 568 28 62
707 02 fax: +420 (69) 568 27 56
Czech Republic
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>