[dokuwiki] Re: Is there any way to print page content - with no headings, sidebars, etc.?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 13 Apr 2011 17:11:13 +0100

On Wed, Apr 13, 2011 at 02:18:38PM +0200, Paul Bijnens wrote:
> On 2011-04-13 13:22, Chris G wrote:
> >As per subject, I have looked for 'print' in the plugins list but there
> >seems little of use there.
> >
> >Is there any way to extract and print just the page content from a
> >DokuWiki site?  It's surely quite a common requirement for a
> >documentation wiki. Once I have found a particular bit of information
> >and (for whatever reason) I want a printed copy then I want just the
> >page content printed without any sidebar/navigation, without the wiki
> >name at the top, without the breadcrumbs, etc.
> >
> >I *could* print the raw data direct from the .txt file (this is on a
> >home server), that has the information I want, but it loses much of the
> >nice formatting.
> >
> 
> That is handled by the print stylesheet in almost all templates I know.
> Unless you created you own template with styles, and did not provide a
> special  print stylesheet, of course.
> 
> Try a print preview.
> 
Hey, brilliant, thank you.  I'm using roundbox (with slightly modified
CSS) and you're right, Print Preview shows me exactly what I want.  :-)

-- 
Chris Green
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: