Re: Evaluating Latex in Mathematica
- From: rf10@xxxxxxxxxxxx (Robin Fairbairns)
- Date: 28 Apr 2008 08:02:07 GMT
Andrew M <mattare2@xxxxxxxxx> writes:
Hi--I'm relatively new to Latex (I am using Lyx to familiarize
myself), so please bear with me. I would like to be able to evaluate
my LateX output using a mathematics evaluation environment (currently
I am using mathematica). Mathematica allows you to paste LateX
directly into their interface and converts it into their system so
that it can be evaluated. Unfortunately, Mathematica doesn't know
what to do with Macros. Any ideas? Is there a way to convert a LateX
macro into its literal expression? Thanks,
you can't always tell whether a macro is statically convertible into
its expansion. if you're using a macro as a shorthand to save typing
(say, \Z for \mathbb{Z}), then you can convert by a global replace in
your editor. macros like \section do significant computation on their
environment and their arguments to determine what to do; static
conversion is obviously out.
thus a general converter for macros is a pretty hopeless aim: the
program that does it is called latex, and any other that tries (such
as latex2html) is at best a partial solution.
(you confuse me by your reference to lyx: how exactly are you using it
as a familiarisation tool?)
--
Robin Fairbairns, Cambridge
.
- References:
- Evaluating Latex in Mathematica
- From: Andrew M
- Evaluating Latex in Mathematica
- Prev by Date: Re: mirrors are not identical
- Next by Date: Re: using TTF font gives wrong unicode
- Previous by thread: Re: Evaluating Latex in Mathematica
- Next by thread: \providecommand issues
- Index(es):
Relevant Pages
|