Skip to main content
brunolimax
Inspiring
March 6, 2018
Answered

MT-Script for InDesign - How can I use Unicode in Find/Change?

  • March 6, 2018
  • 1 reply
  • 1452 views

Hi,

I'm trying to change the whitespace and replacement character (black diamond with a white question mark �) to other characters on Find/Change - MT-SCRIPT.

Is there any way to do this? I've tried to put between "<>", "%%" or "$$".. But it didn't work.

(U+0020) - Space

(U+FFFD) - Replacement

Thank you!

This topic has been closed for replies.
Correct answer brunolimax

Hi Bruno,

thank you for clarification. Missed that MT might mean MathType.


Come back if the developer responded.
It might be useful for other MathType users.

Thanks,

Uwe


Hey, i have an answer.

Hello Bruno,

Thank you for your email.

MathType doesn't support unicode. It uses default or user created encoding table to match special characters to ASCII code. As the result your national (for example) character may have different code in equation depending on your encoding. My find-change script just read these code and change to another. It doesn't know about all encodings of MathType. It can work only with ASCII characters plus math symbols which have default encoding embeded in MathType.

About this character -  �

This is so called replacement character.

All cyrillic charactes (for example) are changed into this character in all equations exported to EPS or WMF (are changed BY MATHTYPE).

The right way to overcome this substitution is to use custom encoding for cyrillic characters. This is special file where it is written a position of each using character in correspondence with default MathType code table.

Yes, it is possible to peep the code of  � in default MathType code table and write it in Symbols table of MT-Script.

But are you sure that (for example) character � on page 9 and character � on page 10 corresponts to the same needed character?

Thank you,

Vladislav

1 reply

Adobe Expert
March 6, 2018

Hi Bruno,

will MT-Find-Change work with GREP expressions?

Then you could try GREP syntax like:

\x{0020}

EDIT: Why not using InDesign's GREP Find/Change ?

Regards,
Uwe

brunolimax
Inspiring
March 6, 2018

Uh, good try!

But unfortunately it didn't work
I don't use GREP because I'm editing a MathType equation, this is the function of this script / plugin.

I've sent an email to the developer and I'm waiting for the response ...

Anyway, thanks!

Adobe Expert
March 6, 2018

Hi Bruno,

thank you for clarification. Missed that MT might mean MathType.


Come back if the developer responded.
It might be useful for other MathType users.

Thanks,

Uwe