[dokuwiki] Re: Name of page as title

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 30 May 2005 20:01:25 +0200

Hi!

> Is it possible to show the name of the page (to which you link) as the
> first title of the page when printing on paper? Because I have 150 
> wiki-pages I have to print (to learn) and I don't want to change them 
> all to add a title. I want neither make the change in the config-file 
> (useheading) because then, I also have to make 150 changes...(and I 
> think a lot more, bewause I also have to change links)

I'm not sure I understood that correct but you should get what you want by 
modifying the print.css file.

Change the last line from

.toc, .footerinc, .header, .bar, .user {display:none}

to something like this

.toc, .footerinc, .bar, .user {display:none}
div.logo {display:none; width:0}
div.pagename {font-size: 160%; 
font-weight: bold;width:100%;text-align:center}

Andi

Other related posts: