Mercurial > geeqie
view doc/wiki2docbook/headingsNormalizer.about.txt @ 1777:56c019ed8746
Some systems do not have SA_SIGINFO (siginfo_t), like GNU/Hurd, so just test if defined or not. Patch by Michal iha (Bug ID: 2894271).
author | zas_ |
---|---|
date | Fri, 04 Dec 2009 21:01:11 +0000 |
parents | 2ae81598b254 |
children |
line wrap: on
line source
Credits: Filipe Correia This stylesheet can be applied to xhtml documents. It ensures one one h1 element exists per document. If the input document has only one h1 element it just copies all nodes to the output, otherwise it adds a new top level (h1) heading and depromotes every existing heading to a lower level (ie, h1s turn into h2s, h2s turn into h3s, etc).