informalequation

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

Suggestions
Search:
Next: Glossaries glossary.mod.xsl
Previous: equation Up: Formal Objects formal.mod.xsl

Reference Section

## Name

informalequation — Process `informalequation` [2.0.9] elements

## Synopsis

    <xsl:template match="informalequation">
    <xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|mediaobject/textobject[@role='tex' or @role='latex']|mediaobject/textobject/phrase[@role='tex' or @role='latex']"/>
      ...
    </xsl:template>

## A. Description

Formats an untitled, block-style equation.

## B. Pertinent Variables

- latex.alt.is.preferred

## D. DocBook Compliance and LaTeX Notes

The “equation” will be found by searching the `informalequation` for its “most appropriate” child elements. Firstly, this template will search for all `alt` [2.0.9], `mediaobject/textobject` [2.0.9] or `mediaobject/textobject/phrase` [2.0.9] children that have a `role` of “latex” or “tex”. If none were found, the template will search for generic `mediaobject` [2.0.9] or `alt` [2.0.9] children. If latex.alt.is.preferred is set, `alts` will be preferred over `mediaobjects`. If none of these elements was found, the template will format any `graphic` [2.0.9] children.

## E. Samples and Tests

`test_book.pdf` from `test_book/test.xml`

## F. Further Reading

- The DB2LaTeX mapping system latex.mapping.xsl

Prev | Up | Next
equation | Home | Glossaries glossary.mod.xsl