Class assigned to all titles or titled blocks of a given level

Jeffrey C. Jacobs <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Is there a way to assign a class to every document element at a given 
title level, or is this better at the xml transform level?  For 
instance,

.. class:: doctor

Peter Davison
~~~~~~~~~~~~~

Companion
---------

Adric

Nyssa

Tegan

Turlough

Peri

Colin Baker
~~~~~~~~~~~

Peri

Mel

----------------

Is there a way in other words of writing this such that Colin Baker is 
also doctor class without repeating ".. class:: doctor for every Doctor?

Jeffrey.



------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.