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

Non-breaking hyphen in a paragraph format (numbering)

Explorer ,
Nov 21, 2011 Nov 21, 2011

Is it possible to insert a non-breaking hyphen in a paragraph format (in the autonumbering). This is what I have now:

F:Figure <$chapnum>-<n+>.\sn

But when I use a cross reference to this tag, and the x-ref falls at the end of a sentence, I get this:

ScreenShot00108.jpg

Of course, I can insert a soft return, but I'd rather treat the illness than the symptom.

Thanks!

Karen

TOPICS
Formatting and numbering
4.6K
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

Guide , Nov 21, 2011 Nov 21, 2011

Or replace the hyphen with \+, the backslash sequence for a nonbreaking hyphen.

Translate
Community Expert ,
Nov 21, 2011 Nov 21, 2011

Replace the simple hyphen in the xref format paragraph numbering definition with \x15

(Esc Hyphen h on some platforms).

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
Guide ,
Nov 21, 2011 Nov 21, 2011

Or replace the hyphen with \+, the backslash sequence for a nonbreaking hyphen.

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
Explorer ,
Nov 21, 2011 Nov 21, 2011

Thanks Van Kurtz! That worked like a dream!

Karen

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 ,
Nov 21, 2011 Nov 21, 2011

Or replace the hyphen with \+, the backslash sequence for a nonbreaking hyphen.

On what FM version and platform?

If I use that on FM7.1/Unix, I get a "+" in the Flow text.

I might add that \x15 and <Esc><-><h> may get converted to \<not>,

where <not> is the "logicalnot" symbol, a flipped and tipped capital L.

You may not see this until you apply or re-open the dialog.

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
Guide ,
Nov 21, 2011 Nov 21, 2011

On what FM version and platform?

If I use that on FM7.1/Unix, I get a "+" in the Flow text.

FrameMaker 9 on Windows XP.

The backslash sequences are for use in FrameMaker dialog boxes, including the autonumbering in the paragraph dialog (now pod, but still a dialog underneath). They are listed in the FrameMaker user manual and have been around since I can remember (v 5), but I do not know whether the Unix versions used them or not.

I would assume that the Esc - h sequence would not work in a dialog box on any version of FrameMaker.

Van

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 ,
Nov 21, 2011 Nov 21, 2011

\x15 and <Esc><-><h> both work in FM7.1/Unix, in every dialog box that accepts \notation.

They get converted to \<logicalnot>

\+ yields a plus on this platform.

\x15 and \+ work in FM9/Win7-64 Pgf Designer at least.

They get converted to \+

<Esc><-><h> does not work (becomes -h)

I did not test any Unicode non-breaking hyphens on FM9.

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 ,
Nov 23, 2011 Nov 23, 2011
LATEST

Interestingly, regardless of how entered, converted-in-place (or not) and displayed to the user, the standard NBH character is stored as \x15 in both MIF7 and MIF9.

The Unicode non-breaking hypen is u+2011

If the body Unicode font has that code point populated,

it appears to work just like \x15.

The MIF, however appears as "a"(caret) and a couple of apparent spaces.

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