|
|
|
Here’s the
skeleton for layer-3.dsl. You still
have to define the output.html and output.print entities here (if you’re
going to be using this mechanism) but notice how you don’t need to have two
different definitions for parent-stylesheet.
This is because I’ve assumed that whatever parent-stylesheet points to
will use the same output.html and output.print mechanism. Remember that layer-2.dsl can’t do this,
because Norm’s stylesheets are in physically different files.
|
|
|
|
Now, when you
use this stylesheet, you must list it on the Jade command line. Right now, all our changes have been
non-intrusive
|
|
|
|
Also, of course,
notice that parent-stylesheet now points to the layer2.dsl file
directly. So
|