← Prev in month ← Prev in thread

Re: [docbook-apps] looking for advice on how to support "exercises"... argh

From
Joachim Ziegler <>
Date
2003-05-16T12:20:55+00:00
ID
Thread
Re: [docbook-apps] looking for advice on how to support "exercises"... argh
hello,

i have nearly the same problem as you. i remember that we had some 
discussion here some time ago about why there is no <exercise>-element 
in DocBook.

what i need is a markup for exercises. exercises usually come in 
an"exercise-section".


in HTML and PDF output, every exercise should be numbered. the numbers 
should simply increase from the beginning of the text to the end, no 
matter where the corrsp. exercise  occurs.

so it should look like


Exercises:

   17. Proof that P != NP.


   18. Proof that 1+2+..+n = 1/2*n*(n-1)



does anybody know how to markup this and/or how to adapt the stylesheets 
for exercises?

greetings,
joachim
← Prev in month ← Prev in thread