2014-04-23 18:29 GMT+02:00 Simon Paillard <[email protected]>: > The other way I've tried some months ago was using publican for release notes, > for which buxy provided a nice Debian css (publican-debian). > > At that time, I raised #719000 which prevented that use. > I can try publican again.
I tried the demo you provided in your bug report with publican v4.0.0 from testing. The generation works and the files seem to be ok. The 2 generated xml files you talk in the bug report are provided as attachments. Command used: publican build --embedtoc --publish --formats html,html-single,pdf --langs en Simon, could you confirm (or not confirm) the bug prevented using publican has disappeared? For info, I tried to use fop with maint-guide xml files with the xsl from publican. I got an error but I guess the definitions are not compatible so it's normal. Command used: fop -xml maint-guide.en.xml -xsl /usr/share/publican/xsl/pdf.xsl -pdf main-guide.en.pdf Errors start with: file:/usr/share/publican/xsl/pdf.xsl; Line #1640; Column #82; "xsl:use-attribute-sets" attribute is not allowed on the xsl:element element! SystemId Unknown; Line #2511; Column #72; Prefix must resolve to a namespace: sverb SystemId Unknown; Line #2511; Column #72; Expected ), but found: , [...] Cheers -- Imprimez ce message en A2 et en couleur au moins 500 fois! Brûlez des arbres!! -- envoyé depuis ma centrale à charbon Stéphane
<?xml version='1.0' encoding='utf-8' ?> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!ENTITY PRODUCT "Documentation"> <!ENTITY BOOKID "Entity_in_ulink"> <!ENTITY YEAR "2013"> <!ENTITY HOLDER "| You need to change the HOLDER entity in the en/Entity_in_ulink.ent file |"> <!ENTITY url-bts "http://bugs.debian.org/"> ]> <chapter id="chap-Entity_in_ulink-Test_Chapter" lang="en"> <title>Test Chapter</title> <para> This is a test paragraph </para> <section id="sect-Entity_in_ulink-Test_Chapter-Test_Section_1"> <title>Test Section 1</title> <para> Further information is available in bugs on &url-bts; <ulink url="&url-bts;566351">#566351</ulink> and <ulink url="&url-bts;545414">#545414</ulink>. </para> <para> This is a test paragraph in a section </para> </section> <section id="sect-Entity_in_ulink-Test_Chapter-Test_Section_2"> <title>Test Section 2</title> <para> This is a test paragraph in Section 2 <orderedlist> <listitem> <para> listitem text </para> </listitem> </orderedlist> </para> </section> </chapter>
<?xml version='1.0' encoding='utf-8' ?> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!ENTITY % BOOK_ENTITIES SYSTEM "Entity_in_ulink.ent"> %BOOK_ENTITIES; ]> <chapter id="chap-Entity_in_ulink-Test_Chapter"> <title>Test Chapter</title> <para> This is a test paragraph </para> <section id="sect-Entity_in_ulink-Test_Chapter-Test_Section_1"> <title>Test Section 1</title> <para> Further information is available in bugs on &url-bts; <ulink url="&url-bts;566351">#566351</ulink> and <ulink url="&url-bts;545414">#545414</ulink>. </para> <para> This is a test paragraph in a section </para> </section> <section id="sect-Entity_in_ulink-Test_Chapter-Test_Section_2"> <title>Test Section 2</title> <para> This is a test paragraph in Section 2 <orderedlist> <listitem> <para> listitem text </para> </listitem> </orderedlist> </para> </section> </chapter>

