grantemsley / dokuwiki-plugin-patchpanel

Depreciated in favor of https://github.com/GreenItSolutions/dokuwiki-plugin-switchpanel
6 stars 4 forks source link

problems with the dw2pdf / tools plugin #7

Open B3NG opened 10 years ago

B3NG commented 10 years ago

When I'm doing a PDF export from an article with the "Tool Plugin" (dw2pdf), then I'm getting a fragmented image of the patch panel. (-> screenshot) Has anyone else the same problem? screenshot

astebert commented 9 years ago

Yes, I have. It's because the wiki doaesn't contain an svg image. dW2pdf can't draw the source code of the wiki page.

gLUK00 commented 9 years ago

Hello,

I found or the problem comes. I suggested a correction: https://github.com/grantemsley/dokuwiki-plugin-patchpanel/pull/16

The PDF print function properly with it :)

astebert commented 9 years ago

Your correction works fine but break patchpanel with only 1 row. This patchpanel code doesn't work anymore :

<patchpanel ports=25 name="Salle Info" rows=1 groups=0 rotate=0 switch=0>
# Port Label (#COLOR) Comment
1 Adm #A9BCF5 Administratif
2 Adm #A9BCF5 Administratif
3 libre #000000
4 Adm #A9BCF5 Administratif
5 Adm #A9BCF5 Administratif
6 Adm #A9BCF5 Administratif
7 Adm #A9BCF5 Administratif
8 Etu #BCF5A9 Etudiant
9 Etu #BCF5A9 Etudiant
10 Etu #BCF5A9 Etudiant
11 Etu #BCF5A9 Etudiant
12 Etu #BCF5A9 Etudiant
13 Etu #BCF5A9 Etudiant
14 Etu #BCF5A9 Etudiant
15 Etu #BCF5A9 Etudiant
16 Etu #BCF5A9 Etudiant
17 Etu #BCF5A9 Etudiant
18 Etu #BCF5A9 Etudiant
19 Etu #BCF5A9 Etudiant
20 Adm #A9BCF5 Administratif
21 libre #000000
22 Etu #BCF5A9 Etudiant
23 Etu #BCF5A9 Etudiant
24 Etu #BCF5A9 Etudiant
25 Etu #BCF5A9 Etudiant
</patchpanel>

I obtain this in wiki page : patchpanel-1row

grantemsley commented 9 years ago

@gLUK00 Any ideas how to fix that?

gLUK00 commented 9 years ago

I found, it works :)

capture-2

https://github.com/grantemsley/dokuwiki-plugin-patchpanel/pull/17

astebert commented 9 years ago

Many thanks for your work ! It works fine now. Best regards,