Your message dated Mon, 23 Jun 2008 23:31:20 +0200
with message-id <[EMAIL PROTECTED]>
and subject line using dblatex to generate pdf from moinmoin wiki pages.
has caused the Debian Bug report #422998,
regarding dblatex fail on docbook table generated by moinmoin
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
422998: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422998
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dblatex
Version: 0.2-2

I discovered this problem when trying to generate a PDF version of a
book the Debian Edu project are editing on a moinmoin wiki.  It proved
to be a problem with a table generated by moinmoin, which dblatex
didn't like.  To test with the original moinmoin instance, do this:

  GET 'http://wiki.skolelinux.no/BugTest?action=format&mimetype=xml/docbook' \
     > BugTest.xml
  dblatex -T simple -o BugTest.pdf BugTest.xml

The raw moinmoin  look like this (indented):

  Utsnitt fra ITIL-dokumentasjonen som ga docbook som dblatex ikke forsto.

  ||||Status Pr. 01.06.05||Behov 2008||||||||||
  ||||  Server status||  Klienter||  Bærbare||Fil 
servere[[BR]]+tynnklientserver:||  Klinter||  Bærbare||
  ||Holumskogen||  1||  25||  5||2||  68||  15||

The generated docbook XML code look like this (indented and
reformatted for easier read):

    <?xml version="1.0"?><article><articleinfo><title>BugTest
  </title>
  </articleinfo><para>Utsnitt fra ITIL-dokumentasjonen som ga docbook som 
dblatex ikke forsto.
  </para><table><caption/><tgroup cols='7'><colspec colname='xxx1'/><colspec 
colname='xxx2'/><colspec colname='xxx3'/><colspec colname='xxx4'/><colspec 
colname='xxx5'/><colspec colname='xxx6'/><colspec 
colname='xxx7'/><tbody><row><entry namest='xxx0' nameend='xxx1'><para>Status 
Pr. 01.06.05
  </para>
  </entry><entry><para>Behov 2008
  </para>
  </entry><entry namest='xxx5' nameend='xxx8'/>
  </row><row><entry namest='xxx0' nameend='xxx1'><para>  Server status
  </para>
  </entry><entry><para>  Klienter
  </para>
  </entry><entry><para>  Bærbare
  </para>
  </entry><entry><para>Fil servere+tynnklientserver:
  </para>
  </entry><entry><para>  Klinter
  </para>
  </entry><entry><para>  Bærbare
  </para>
  </entry>
  </row><row><entry><para>Holumskogen
  </para>
  </entry><entry><para>  1
  </para>
  </entry><entry><para>  25
  </para>
  </entry><entry><para>  5
  </para>
  </entry><entry><para>2
  </para>
  </entry><entry><para>  68
  </para>
  </entry><entry><para>  15
  </para>
  </entry>
  </row>
  </tbody>
  </tgroup>
  </table>
  </article>

When running  dblatex, this is the output, and it fail to generate a PDF:

  % dblatex -T simple -o BugTest.pdf BugTest.xml
  Build the listings...
  XSLT stylesheets DocBook -  LaTeX 2e (0.2-2)
  ===================================================
  This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
  entering extended mode
  pdflatex failed
  /tmp/tmpn-_34N/test_tmp.tex:64: Missing number, treated as zero.
  /tmp/tmpn-_34N/test_tmp.tex:64: leading text: }
  /tmp/tmpn-_34N/test_tmp.tex:65: Missing number, treated as zero.
  /tmp/tmpn-_34N/test_tmp.tex:65: leading text: 
\cline{2-2}\cline{3-3}\cline{4-4}\cline{5-}
  Error: pdflatex compilation failed
  %

I managed to solve it by inserting space between the || in the raw
document.  This gave me docbook code acceptable by dblatex.

Friendly,
-- 
Petter Reinholdtsen


--- End Message ---
--- Begin Message ---
Version: 1.7.0-3
thanks

Hello,

Petter Reinholdtsen wrote :
> I discovered this problem when trying to generate a PDF version of a
> book the Debian Edu project are editing on a moinmoin wiki.  It proved
> to be a problem with a table generated by moinmoin, which dblatex
> didn't like.  To test with the original moinmoin instance, do this:
> 
>   GET 'http://wiki.skolelinux.no/BugTest?action=format&mimetype=xml/docbook' \
>      > BugTest.xml
>   dblatex -T simple -o BugTest.pdf BugTest.xml

I have made some test with moinmoin 1.7 ... I have the impression that
this bug is now fixed, as I could generate the PDF.

Your BugTest page is available at :
http://www.klabs.be/wiki/BugTest/422998
http://www.klabs.be/wiki/BugTest/422998?action=RenderAsDocbook

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Franklin



--- End Message ---

Reply via email to