[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: equations questions
Hello -- I'm trying to include some simple equations in a docbook 4.4 document and xsl. I don't think I need MathML since I can do what I want with character entities and <superscript>, et. al. The problem I'm having is that <equation> doesn't seem to work... In the following snippet, the informal equation appears but the formal one doesn't: <informalequation id="pythagoras" xreflabel="Equation 0"> <mediaobject> <textobject> <simpara>x<superscript>2</superscript> + y<superscript>2</superscript> = z<superscript>2</superscript></ simpara> </textobject> </mediaobject> </informalequation> <equation id="three"> <title>Three</title> <mediaobject> <textobject> <simpara>1+1=3</simpara> </textobject> </mediaobject> </equation> The html output has the title for the formal equation, but not its body: <div class="informalequation"><a name="pythagoras"></a><div class="mediaobject"> <p>x<sup>2</sup> + y<sup>2</sup> = z<sup>2</sup></p></div></div> <div class="equation"><a name="three"></a> <p class="title"><b>Equation 1.1. Three</b></p> <div class="mediaobject"></div></div> Is this a bug, or am I doing something dumb? On a related topic, is it possible to put the title of an equation on the same line, but to the right? I'd really like to have an just automatically generated equation number, like this: x^2 + y^2 = z^2 (1.1) and references to it like this: Eq 1.1. I'm using docbook 4.4, saxon, and the latest xsl stylesheets. Many thanks, Steve -- -- EMail: stephen.langer@nist.gov Phone: (301) 975-5423 -- -- WWW: http://math.nist.gov/mcsd/Staff/SLanger/ Fax: (301) 990-4127 -- -- Mail: NIST; 100 Bureau Drive -- Stop 8910; Gaithersburg, Md 20899-8910 -- -- "I don't think this will work. That's why it's science." -- -- Naomi Langer, 17 Feb 2003 --
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]