[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Screen and printing Version...



Hello,

I have a page which I want to offer rendered into my page (made with
tables) and also as version plain without the tables, for better
printing without the navigation.

Such a page looks like this:

#include "layout.inc" SELECT="tutor"

<title "Test-Tutorial">
<tutorial ttitle="Test Tutorial" 
          autor="<me>" 
          level="Einsteiger"
          abstract="Dies ist nur ein Test für den
tutorial-tag. Erwarten Sie hier bitte keine sinnvollen Aussagen oder
gar einen Lerneffekt. Dumm geboren, nix dazugelernt, die Hälfte wieder 
vergessen...">

<step title="Test">
Bla Bla Bla. Blub Bla Bla. Bla Bla Bla. Blub Bla Bla. Bla Bla
[···]
</tutorial>


The only change for a printing version has to be a different #include at
the start of the file. This file should be generated automagically
while compiling the screen page. I think it should be a task for perl
but I havn´t a good idea so far....

Any ideas or suggestion here?

Thanks,

Carsten.
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com