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

Space character

Explorer ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

Hi there,

I have just a little problem but it bothers me pretty much. I have a text that is interrupted by a crossreference. Everytime I close the document and open it again the space character after the crossreference, where the text continues, is gone.

So it looks like:

Click hereto see it.

But it should look like this.

Click here to see it.

My structure is like this:

space.gif

Thanks for tips.

Greetings.

TOPICS
Structured

Views

760
Translate

Report

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
Advocate ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

Dokuteam,

Are you working with FM or XML files?

If XML, is there XSL post/preprocessing involved?

Also, you did not mention any product version.

- Michael

Votes

Translate

Report

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 ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

Hi Michael,

I'm using only XML files, no XSL post or preprocessing. FrameMaker version 10.

Votes

Translate

Report

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
Advocate ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

So it looks like a white-space issue.

If the XML file is not changed externally and definitely not pretty-printed the description in the help may be useful:

Handling Whitespace in XML

HTH,

- Michael

Votes

Translate

Report

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 ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

I do very little roundtripping to XML, so these are just a few thoughts, in addition to Michael's tip.

Is the space character in the XML correctly? If so, then it likely is removed when FrameMaker opens the XML file.

Check your template file to see if you have smart spaces turned ON. Select Format > Document > Text Options. Clear the Smart Spaces check box. I never work with smart spaces turned on, but have worked with outside documents that DO have them turned on. In these cases, inserting spaces as I type does not always work as expected. If smart spaces is turned on, maybe FrameMaker is "seeing" a double space and removing the last one, the one you want to see.

I am concerned that your Xref element is contained inside another element (Verweis) and there appears to be no text inside it, just the Xref element. What is its purpose? Maybe it is doing something that causes the space to disappear.

Van

Votes

Translate

Report

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 ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

LATEST

Hi,

thanks both of you for your tips. Now it works fine, I turned the option like it was discriped in michaels link said.

@Van: The "Verweis" element is just a container that gives me the possibiliy to link it to an characterformat because it is not possible to link an element with the type IDREF to an character or paragraph format in the EDD.

Greetings.

Votes

Translate

Report

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