MathGroup Archive 2009

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

Search the Archive

Problem with strings and backslashes

  • To: mathgroup at
  • Subject: [mg99735] Problem with strings and backslashes
  • From: LordBeotian <pokipsy76 at>
  • Date: Tue, 12 May 2009 03:11:34 -0400 (EDT)

I'm trying to work with strings wich are LaTeX codes of formulas. I
want to make substitution of particular substrings. The problem is
that Mathematica (5.1) has a strange behaviour with the backslashes.
When it finds "\tau" it removes the "\t" in the output. The same
happen with "\right" which becomes "ight". To make it work properly I
need to manually add on the input an additional backslash  at the
beginning of "\tau" and "\right": "\\tau" becames "\tau". But in this
way my work go on too slowly. What can I do?

  • Prev by Date: Re: Frequency data
  • Next by Date: Re: Re: Getting Workbench to Work
  • Previous by thread: Curated Data : Issues with FiniteGroupData
  • Next by thread: Re: Problem with strings and backslashes