inlineequation

- SourceForge
- Home Page
- Samples

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

Suggestions
Search:
Next: Verbatim verbatim.mod.xsl
Previous: latex[@fileref] tex[@fileref] Up: LaTeX only Commands texmath.mod.xsl

Reference Section

## Name

inlineequation — Process `inlineequation` [2.0.9] elements

## Synopsis

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

## A. Description

Process inline equations.

## B. Pertinent Variables

- latex.alt.is.preferred

## D. DocBook Compliance and LaTeX Notes

This template can accommodate raw LaTeX mathematics. If the element has a `role` with a value of “latex” or “tex”, or contains an `inlinemediaobject` [2.0.9]/`textobject` [2.0.9] or an `inlinemediaobject` [2.0.9]/`textobject` [2.0.9]/`phrase` [2.0.9] with such as attribute, then it will typeset then in preference to all other content.

If such elements were not found, the template will search for generic `inlinemediaobject` [2.0.9] or `alt` [2.0.9] children. If latex.alt.is.preferred is set, `alts` will be preferred over `inlinemediaobjects`. 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

- alt
- phrase

Prev | Up | Next
latex[@fileref]|tex[@fileref] | Home | Verbatim verbatim.mod.xsl