Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ID and Mathmagic : batch equation conversion by scripting ?

Explorer ,
Nov 21, 2013 Nov 21, 2013

Hello,

My configuration : MacOS X + ID 6 + Mathmagic

In ID, I have a text document with LaTex expressions, between \[ and \] tags.

With a shortcut, I can convert these expressions in Mathmagic equation, one by one, when cursor is placed between tags.

I have more than 800 expressions to convert, so I'm looking for a scripting solution to batch convert.

I'd like to know if it is possible to write a script to process these actions on the document:

1. Find  Latex expression between tags and place the cursor within (possibly by finding opening tag \[ and placing cursor after)

2. activate  Mathmagic shortcut to convert the expression in Mathmagic equation

I tried to use Rorohiko Action Recorder, but I didn't managed to record actual "Find" action after recording "opening Find menu" action.

Any advice welcome

TIA

Nicolas

TOPICS
Scripting
890
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 25, 2013 Nov 25, 2013

Hi Nicolas

Your task can be automated using applescript. Since I dont have mathmagic in my computer I am not able to test right now. Try with applescript. Or mail me @ olvela.arul@gmail.com so that we can use teamviewer or something else to make it.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 28, 2013 Nov 28, 2013
LATEST

Hello Nicolas,

It is not possible to script directly MathMagic with AppleScript or JavaScript because it does not support them.

Regards.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines