Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
Which css file for changing dw2pdf <code> print output?
Avatar
Spawney #1
Member since Aug 2015 · 25 posts
Group memberships: Members
Show profile · Link to this post
Subject: Which css file for changing dw2pdf <code> print output?
Hi there

I'm now trying for several hours to get this ... work, but it still isn't. I want to change the style of <code> blocks for a dw2pdf print output. I looked at some "solutions" but nothing worked. Can anyone please help me?
If I adjust conf/userstyle.css as I want, everything works perfectly, but those changes are not used a dw2pdf export. So where do I have to make my changes, that it will work?

Cheers

Spawney
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I replied to a similar question just a short while ago with a link that seemed helpful to the poster.  Just search the forum for dw2pdf;  I'm sure you'll find it.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Spawney #3
Member since Aug 2015 · 25 posts
Group memberships: Members
Show profile · Link to this post
Thanks, i've seen a post like that. Unfortunately the thing with the userstyle.css did not work at all...I don't know why... Actually I had to adjust the geshi.less file, but I'm pretty sure this is not the way it is intendet to be done...
The thing is, that I want the changes for a pdf export, not just on the wikipage. I also tried some thing with a userprint.css, but that didn't work either..
Avatar
turnermm (Moderator) #4
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
This is what I had in mind: https://www.dokuwiki.org/doku.php?id=plugin:dw2pdf#styles
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Michaelsy #5
Member since Jun 2015 · 567 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Quote by turnermm on 2015-10-07, 14:07:
This is what I had in mind: https://www.dokuwiki.org/doku.php?id=plugin:dw2pdf#styles

The updated link:  https://www.dokuwiki.org/plugin:dw2pdf:pdftemplate#styles
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2018-09-22, 22:53 by Michaelsy.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-12-14, 04:16:46 (UTC +01:00)