Gabriel wrote:
> does the XXE-Editor in the professional version also support the MathML 
> schema?

The MathML DTD/Schema is supported by XXE (like all DTDs/Schemas) but we 
don't have a ``mathematical formula editor'' yet.




> If not , can you suggest me an another way to write mathematical 
> formula. I am looking for a docbook editor to write my thesis but till 
> now I haven't found any one with the ability to edit MathML.

Write them in TeX with one external file per formula.

See that in <XXE_install_dir>/demo/docbook-image.xml.

---
       <equation>
         <title>An equation specified using the TeX notation
         requires the TeX
         Math image toolkit plug-in)</title>

         <mediaobject>
           <imageobject>
             <imagedata fileref="equations/eq2.tex" />
           </imageobject>
         </mediaobject>
       </equation>
---

You'll need to ``install'' this image toolkit plug-in if you want to see 
something:

---
   <!-- =================================================================
     The following software is required: latex, dvips, Ghostscript 8+
     (for -dEPSCrop).

     The texmathtoimg.bat batch file (the texmathtoimg
     shell script on Unix)
     must be copied to the directory containing
     this XXE configuration file.

     If the latex, dvips, gs and ps2pdf12 programs are not
     in your PATH, you'll
     need to slightly edit the texmathtoimg.bat batch file
     (the texmathtoimg shell script on Unix).

     Tested on Windows using:
     * MiKTeX 2.4, an up-to-date TeX implementation for the Windows
       operating system. See http://www.miktex.org/.
     * Ghostscript 8.14, an interpreter for the PostScript
        language and for PDF.
       See http://www.cs.wisc.edu/~ghost/.
   ================================================================== -->

   <imageToolkit name="TeX Math">
     <description>Converts TeX mathematics to PNG, EPS, PDF.
Important: requires Ghostscript 8+.</description>

     <converter>
       <!-- First line of the TeX file must be "%tex"
            if you want to be able
            to embed base64-encoded ``TeX images'' in your documents. -->

       <input extensions="tex" magicStrings="%tex"/>
       <output extensions="png eps ps pdf"/>

       <shell command='"%C%Stexmathtoimg" "%I" "%O"' platform="Unix"/>

       <shell command='call "%C%Stexmathtoimg.bat" "%I" "%O"'
              platform="Windows"/>
     </converter>
   </imageToolkit>
---

For example, copy the above snippet (and the attached texmathtoimg shell 
script) in your ~/.xxe2/config/customize.xxe (C:\Documents and 
Settings\user\xxe2\config\customize.xxe on Windows).
Also copy the attached texmathtoimg shell script to ~/.xxe2/config/ and 
run "chmod a+x texmathtoimg".

More info in 
http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch06s11.html 
and in <XXE_install_dir>/docs/configures/samples2/.

I don't know if the suggested approach is really convenient to use, but 
it works (conversion to HTML and to PDF also works fine).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: texmathtoimg
Url: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20050107/f16547e9/attachment.bat
 

Reply via email to