I run into several problems using dw2pdf plugin togehter with code plugin.
most urgent: if i use the code plugin together with a language tag, like
<code pyhton> .... some code </code>
i get html entities instead of brackets:
(
I sent an email to the plugin authors but maybe some of you found a solution.
See full description below and test page with pdf to download:
http://pythongamebook.unkompliziert.org/en:resources:people:jens_horst:testing
Dear Dokuwiki plugin coding heroes,
i run into problems when using dw2pdf and code plugin togehter.
Problems:
* brackets are not rendered in pdf inside <code python> blocks
* some graphics are not rendered in pdf
* commands inside a <nowwiki> block are not rendered in pdf
See attachment or
http://pythongamebook.unkompliziert.org/en:resources:people:jens_horst:testing
================= brackets: ======================
As soon as i try to pdf-export an code block with "python" language, i
get html entities instead of brackets ():
pdf export ignore (some?) graphics and replaces all brackets ()[]{}
replaces brackets with html entities:
(
)
[
]
{
}
if selecting "printable version" graphics appear ok, but there is no
linebreak in <code> blocks, resulting in extremly long lines
textonly works fine
no colors
================ graphics ==================
It looks like the pdf exporter has trouble finding the graphic if the
graphic file is not located inside dokuwiki's media manager or if the
graphic file is located at another namespace than the current dokuwiki
page. See pdf attachment and compare with .odt attachment or with this
url:
http://pythongamebook.unkompliziert.org/en:resources:people:jens_horst:testing
================ nowiki ====================
at the beginning of the code blocks, those lines are used in the wiki
first code block:
<nowiki><code>...</code></nowiki>
second code block:
<nowiki><code python>...</code></nowiki>
in pdf, only the 3 dots are rendered.
==============================================
you would make me very happy by providing solutions, most urgent to the
brackets problem or hints how to avoid those problems. i try to write a
free programming-learning book used for kids in schools using dokuwiki.
greetings from Vienna,
-Horst