[publican-list] Sudden LibXSLT Error
Rob LaMora
roblamora at hotmail.com
Sun Feb 5 13:47:17 UTC 2012
All I had to do was look over the FAQs concerning an improper language attribute ("bash" not "Bash") in a programlisting element to figure this one out. Sorry for not checking that first.
Rob
> From: publican-list-request at redhat.com
> Subject: publican-list Digest, Vol 47, Issue 4
> To: publican-list at redhat.com
> Date: Sat, 4 Feb 2012 12:00:02 -0500
>
> Send publican-list mailing list submissions to
> publican-list at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.redhat.com/mailman/listinfo/publican-list
> or, via email, send a message with subject or body 'help' to
> publican-list-request at redhat.com
>
> You can reach the person managing the list at
> publican-list-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of publican-list digest..."
>
>
> Today's Topics:
>
> 1. Re: Publican 2.9 slight foible (Norman Dunbar)
> 2. Sudden LibXSLT Error (Rob LaMora)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 03 Feb 2012 17:01:15 +0000
> From: Norman Dunbar <Norman at dunbar-it.co.uk>
> To: publican-list at redhat.com
> Subject: Re: [publican-list] Publican 2.9 slight foible
> Message-ID: <4F2C12DB.4080402 at dunbar-it.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Jeff,
>
>
> On 01/02/12 22:46, Jeff Fearn wrote:
> >> PS. Did you know that 2.9 builds on OpenSuse 12.1? I did a test build
> >> yesterday and it works. If I was to write up a set of instructions on
> >> building publican from source on OpenSuse, would you want it for the
> >> User's Guide?
> >
> > Hell yeah :)
> Ok. Consider it done!
>
> > You can either apply for membership of the FAS group to get commit
> > access, or you can open a bug and attach the XML and we'll get it
> > included in 2.9.
> https://bugzilla.redhat.com/show_bug.cgi?id=787243
>
> > Awesome work, thanks :)
> No problem. Just giving a little back.
>
> Anyway, if you are interested, I built a new 12.1 install in a
> VirtualBox VM and followed the instructions in the new chapter. All went
> well, except:
>
> Build test: Cannot build the PDF with FOP. Java Null Pointer Exception.
> This doesn't happen with a large (200 plus pages) pdf of my own, or a
> quick test with publican create --type book - just, so far, the user guide.
>
> publican build cannot build epubs on OpenSuse. It works fine on Fedora
> 16. (I've put a note to this effect in the manual.)
>
> OpenSuse cannot install wkhtmltopdf as the ghostscript-fonts are called
> ghostscript-fonts-std on OpenSuse. I tried to force it in with a nodeps
> check which was fine, but it doesn't create PDfs at all.
>
>
> I also managed to get Publican 2.9 installed on OpenSuse 11.4 - by
> adding a few more modules using cpan, but it's a wee bit flaky.
>
> Had a lot of fun sorting it out though! ;-)
>
> And as for current trunk, let's not go there! :-(
>
>
> Cheers,
> Norm.
>
> --
> Norman Dunbar
> Dunbar IT Consultants Ltd
>
> Registered address:
> Thorpe House
> 61 Richardshaw Lane
> Pudsey
> West Yorkshire
> United Kingdom
> LS28 7EL
>
> Company Number: 05132767
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 4 Feb 2012 08:29:04 -0500
> From: Rob LaMora <roblamora at hotmail.com>
> To: Publican Mailing List <publican-list at redhat.com>
> Subject: [publican-list] Sudden LibXSLT Error
> Message-ID: <SNT108-W163CAF083A89239CD3AB59AC760 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi,
>
> I was building documents with Publican 2.8
> with no problem on my Fedora 15 box (back last fall) and now I cannot
> successfully build/publish at all. I consistently get the following
> LibXSLT error (see below). Anyone have any ideas. The main document
> content has been updated a bit but that's been the only change to this
> system:
>
>
> [rob at fedora RTI_User_Guide]$ publican build --formats=html --langs=en-US
> Setting up en-US
> Processing file tmp/en-US/xml/Common_Content/Conventions.xml -> tmp/en-US/xml/Common_Content/Conventions.xml
> Processing file tmp/en-US/xml/Common_Content/Feedback.xml -> tmp/en-US/xml/Common_Content/Feedback.xml
> Processing file tmp/en-US/xml/Common_Content/Legal_Notice.xml -> tmp/en-US/xml/Common_Content/Legal_Notice.xml
> Processing file tmp/en-US/xml_tmp/Author_Group.xml -> tmp/en-US/xml/Author_Group.xml
> Processing file tmp/en-US/xml_tmp/Book_Info.xml -> tmp/en-US/xml/Book_Info.xml
> Processing file tmp/en-US/xml_tmp/Chapter.xml -> tmp/en-US/xml/Chapter.xml
> Processing file tmp/en-US/xml_tmp/Legal_Notice.xml -> tmp/en-US/xml/Legal_Notice.xml
> Processing file tmp/en-US/xml_tmp/Preface.xml -> tmp/en-US/xml/Preface.xml
> Processing file tmp/en-US/xml_tmp/RTI_User_Guide.xml -> tmp/en-US/xml/RTI_User_Guide.xml
> Beginning work on en-US
> Starting html
> Using XML::LibXSLT on /usr/share/publican/xsl/html.xsl
> undefined language: bash at /usr/share/perl5/vendor_perl/Syntax/Highlight/Engine/Kate.pm line 621.
> LibXSLT: error coming back from perl-dispatcher in pm file.
> 'bash' is not a valid language for highlighting. Language names are case sensitive.
> at /usr/lib/perl5/vendor_perl/XML/LibXSLT.pm line 80
>
> at /usr/share/perl5/vendor_perl/Publican/Builder.pm line 969
> [rob at fedora RTI_User_Guide]$
>
>
> Thanks for any help you can offer.
>
> Rob
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://www.redhat.com/archives/publican-list/attachments/20120204/fcf77586/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> publican-list mailing list
> publican-list at redhat.com
> https://www.redhat.com/mailman/listinfo/publican-list
>
> End of publican-list Digest, Vol 47, Issue 4
> ********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/publican-list/attachments/20120205/f137e1db/attachment.htm>
More information about the publican-list
mailing list