[OT?] error building subversion book from XML on f11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  perhaps a docbook-related issue but anyone who wants to build the
latest version of the "subversion" book can follow along.

  grab the source, and cd into the correct subdir:

$ svn co http://svnbook.googlecode.com/svn/trunk/
$ cd trunk/src/en

  and build the HTML for the current version:

$ make all-html

which works as long as you have the docbook-style-xsl package
installed.  so far, so good.  now let's try to build the PDF.
assuming i selected java development during installation, we still
need to install FOP:

# yum install fop

  and build:

$ make all-pdf
if ! test -e "../tools/xsl"; then ../tools/bin/find-xsl.py; fi
xsltproc --param fop.extensions 1 --output book/svn-book.fo \
	  `[ -d stylesheets ] && echo stylesheets || echo
../tools`/fo-stylesheet.xsl book/book.xml
Making portrait pages on USletter paper (8.5inx11in)
../tools/bin/run-fop.sh -fo book/svn-book.fo -pdf book/svn-book.pdf
(Using '/usr/bin/fop' for FOP)
Jun 11, 2009 10:39:46 AM org.apache.fop.cli.InputHandler error
SEVERE: javax.xml.transform.TransformerException:
file:/home/rpjday/svn/book/trunk/src/en/book/svn-book.fo:2:29113:
Error(2/29113): No element mapping definition found for (Namespace
URI: "http://xml.apache.org/fop/extensions";, Local Name:
"destination")
Jun 11, 2009 10:39:46 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException:
org.apache.fop.apps.FOPException:
file:/home/rpjday/svn/book/trunk/src/en/book/svn-book.fo:2:29113:
Error(2/29113): No element mapping definition found for (Namespace
URI: "http://xml.apache.org/fop/extensions";, Local Name:
"destination")
	at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
	at
org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
	at org.apache.fop.cli.Main.startFOP(Main.java:166)
	at org.apache.fop.cli.Main.main(Main.java:196)

---------
... big snip ...

  not being a java expert, is this a fedora configuration error on my
part?  if anyone else wants to try it, i just gave you the recipe.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Linked In:                             http://www.linkedin.com/in/rpjday
Twitter:                                       http://twitter.com/rpjday
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux