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

Colon in index marker text

New Here ,
May 18, 2011 May 18, 2011

I have a mif file from which I need to create a 1 level index.

I have numerous data which contains a colon; so the MText tag looks something like this - <MText `Accredited: Representative'>

Now, I know that the function of a colon is "Separates levels in an entry"

I also read "Note: To enter a backslash or any special character used in these building blocks—colon, semicolon, bracket, or angle bracket—as regular characters, precede it with a backslash (\)."

I can make the MText look like this - <MText `Acccredited\: Representative'>

But this does not work; I still get a 2 level entry in my index. What am I missing?

Any help is greatly appreciated.

610
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

correct answers 1 Correct answer

Community Expert , May 18, 2011 May 18, 2011

Entering:

colon\: test

in the normal Special > Marker > Marker Text: field


then saving the file as MIF, and searching for it, finds:

<MText `colon\\: test'>

Apparently the rule is single-escape for dialogs, double-escapes in MIF.

Translate
Community Expert ,
May 18, 2011 May 18, 2011

Entering:

colon\: test

in the normal Special > Marker > Marker Text: field


then saving the file as MIF, and searching for it, finds:

<MText `colon\\: test'>

Apparently the rule is single-escape for dialogs, double-escapes in MIF.

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
New Here ,
May 18, 2011 May 18, 2011
LATEST

Thanks so much! That works for me.

Thanks to Jeff too.

I appreciate the promptness of both answers.

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
Community Expert ,
May 18, 2011 May 18, 2011

You may have use the backslash within the marker text while in FM, not the MIF file. It might get expressed differently when saved out as MIF. Try a sample file and see what the resulting MIF text looks like.

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