On Fri, Apr 15, 2011 at 23:42, Clifford Yapp <cliffy...@gmail.com> wrote:
> That's likely to be of some interest - we haven't had to do
...
> The last time I looked the candidates were basically feed it to LaTeX
> and get an image, or try MathML (don't recall how good the support for
> that was).  What did you find workable?

Cliff, I used LibreOffice Math to generate MathML.  Then I used
SVGMath to convert the resulting mml file to SVG (with some tweaking,
taken care of wiith a short bash script).  Then I used Inkscape to
fine tune spacing and scalable brace sizes (SVGMath coud probably be
fixed to handle those better).  Finally, I included the svg files as
media objects in DB and got a numbered equation.

I used xsltproc and Apache Fop to do the grunt work to convert DB 5 to
html and pdf.

The main issue I ran into was choice of fonts that were usable across
all tools.  A subtlety I still don't understand is that Fop uses Batik
in the pdf process and I had to redo my main document fonts to get
consistent results.  I have now settled on the GNU Free Fonts
(FreeSerif, FreeSans, and FreeMono, all in True Type format) as my
fonts of choice.  A major advantage of those is that they have a large
number of glyphs, larger even than the Linux Libertine fonts I thought
were so classy.  And they also look pretty good.

I'm on the hook for generating some DB for BRL-CAD and I'll put
together a sample doc to demo the equations (no forecast time,
though).

Best regards,

-Tom

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to