Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

17 Converting to DocBook XML > 17.4 Configuring DocBook elements > 17.4.2 Mapping paragraph formats to DocBook elements > 17.4.2.4 Overriding element mapping for paragraph formats


17.4.2.4 Overriding element mapping for paragraph formats

To override the element-name mapping for a given paragraph, insert a DocBookTag marker in the paragraph, with content the desired element name.

If mapping (or overriding mapping) does not suffice, and you do not need to specify a required ancestry for the element, use the following instead:

[HTMLParaStyles] CodeBefore and CodeAfter properties for the format

[ParaStyleCodeBefore] and [ParaStyleCodeAfter] sections to specify the element tags to surround the text.

See §28.9.3 Surrounding or replacing text with code or macros.

Another alternative would be to bracket the text with Config markers, with content such as [ParaStyleCodeBefore]=<element> and [ParaStyleCodeAfter]=</element>; see §33.2.2 Overriding settings with configuration markers

Note:  Mappings provided via [ParaStyleCode*] settings or markers do not participate in any ancestry you specify for the element in question; see §17.5 Nesting DocBook block elements.



17 Converting to DocBook XML > 17.4 Configuring DocBook elements > 17.4.2 Mapping paragraph formats to DocBook elements > 17.4.2.4 Overriding element mapping for paragraph formats