view doc/wiki2docbook/headingsNormalizer.about.txt @ 1810:c416d099a3dc

GTK marks several functions as deprecated The following functions has been replaced and deprecated by version 2.20: - GTK_WIDGET_CAN_FOCUS - GTK_WIDGET_DRAWABLE - GTK_WIDGET_HAS_FOCUS - GTK_WIDGET_HAS_GRAB - GTK_WIDGET_IS_SENSITIVE - GTK_WIDGET_NO_WINDOW - GTK_WIDGET_REALIZED - GTK_WIDGET_SENSITIVE - GTK_WIDGET_STATE - GTK_WIDGET_TOPLEVEL - GTK_WIDGET_VISIBLE
author mow
date Mon, 10 May 2010 11:32:56 +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).