[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

xml, particularly mathml



shr will not handle mathml for you. One option is Chromevox - you
can hand off the url containing MathML to it.
>>>>> "prayner" == prayner  <prayner@xxxxxxxxxxx> writes:
    prayner> One of my most important (and now much beloved)
    prayner> families of scientific journals has just added full
    prayner> texts in xml to pdf as its public formats. A recent
    prayner> example can be found at
    prayner> <http://www.geosci-model-dev.net/7/2867/2014/gmd-7-2867-2014.xml>. This
    prayner> is great but it gets better, they're also using
    prayner> mathml for all the inline and displayed
    prayner> mathematics. At this point I became slightly
    prayner> lightheaded :-) So, what's the smoothest way to
    prayner> access such content in emacspeak? Running
    prayner> (shr-insert-document (libxml-parse-xml-region
    prayner> (point-min) (point-max))) does a half decent job on
    prayner> the inline mathematics, I suspect largely by
    prayner> ignoring all the formatting. It's ignoring other
    prayner> things too, probably because it didn't find the
    prayner> DTD. Still, quite usable after 5 minutes' work. Now
    prayner> the hard bit. I would like to serialize all the mml
    prayner> constructs and include them in the resulting parse
    prayner> tree as text. The serialization seems doable, the
    prayner> python module mathDOM looks like it will do the
    prayner> job. I'd rather not replicate all the functionality
    prayner> of libxml-parse-xml-region so is there a way I can
    prayner> intervene in the process to handle the parsing of
    prayner> certain elements externally? Am I going about this
    prayner> all the wrong way? You'll have to forgive mesome
    prayner> excitement, after 30 years in research this is the
    prayner> first time I've gone to a public site and been
    prayner> guaranteed I can download material with the
    prayner> mathematical content intact. Now I just need to
    prayner> extract it.
    prayner> 
    prayner> 
    prayner> -- Peter Rayner room 343 School of Earth Sciences,
    prayner> University of Melbourne, 3010, Vic, Australia tel:
    prayner> work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761
    prayner> mobile +61 402 752 379, skype: petermorag mail-to:
    prayner> prayner@xxxxxxxxxxx google scholar profile
    prayner> <http://scholar.google.com.au/citations?user=H3up71wAAAAJ&hl=en>
    prayner> 
    prayner> -----------------------------------------------------------------------------
    prayner> To unsubscribe from the emacspeak list or change
    prayner> your address on the emacspeak list send mail to
    prayner> "emacspeak-request@xxxxxxxxxxx" with a subject of
    prayner> "unsubscribe" or "help".



|All Past Years |Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page