MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: TeX -> Mathematica

  • To: mathgroup at
  • Subject: [mg20644] Re: TeX -> Mathematica
  • From: Jens-Peer Kuska <kuska at>
  • Date: Sun, 7 Nov 1999 02:09:52 -0500
  • Organization: Universitaet Leipzig
  • References: <>
  • Sender: owner-wri-mathgroup at

[I asked the author for more detail on his message at the bottom of
this post -moderator]

yes it *is* TeX and you should definetly TeXed it. A nice poem comes

It is the TeX version of a "obfuscated C" contest entry.

The point for "translating TeX -> Mathematica Notebooks" is that
TeX is a programing language that can change it's syntax "on flight"
by changing the catcodes. That's the reason why TeX has no syntax
diagrams and no regular parser can parse TeX. The only program that can pare TeX
is TeX and it destroy all the fancy document structure and make small boxes 
out of it.

As you see from the first part of the TeX code, the first thing it
does it to change the catcode -- than the madness start.


 Kenneth Levasseur wrote:

 Is anyone aware of a utility to convert TeX to Mathematica?

 Ken Levasseur
 Math Sciences
 UMass Lowell


 but it would be nice to see what the converter do with
 TeX code like:

 Fjfi71PAVVFjbigskipRPWGAUU71727374 75,76Fjpar71727375Djifx
 :76jelse&U76jfiPLAKK7172F71l7271PAXX71FVLnOSeL71SLRyadR at oL
 RrhC?yLRurtKFeLPFovPgaTLtReRomL;PABB71 72,73:Fjif.73.jelse
 B73:jfiXF71PU71 72,73:PWs;AMM71F71diPAJJFRdriPAQQFRsreLPAI
 I71Fo71dPA!!FRgiePBt'el@ lTLqdrYmu.Q.,Ke;vz vzLqpip.Q.,tz;
 ;Lql.IrsZ.eap,qn.i. i.eLlMaesLdRcna,;!;h htLqm.MRasZ.ilk,%
 s$;z zLqs'.ansZ.Ymi,/sx ;LYegseZRyal,@i;@ TLRlogdLrDsW,@;G
 LcYlaDLbJsW,SWXJW ree @rzchLhzsW,;WERcesInW qt.'oL.Rtrul;e
 doTsW,Wk;Rri at stW aHAHHFndZPqpa.rtMRrgeLinZ.irLtYer.W,:jbye


  • Prev by Date: Re: $PreRead
  • Next by Date: Re: Intersection and element counts
  • Previous by thread: Re: PolygonIntersections, MeshRange: What do they do?(Amendment)
  • Next by thread: Re: How to Capture the contents of a X window larger then the screen