Skip to main content
Inspiring
August 26, 2011
Question

Space character

  • August 26, 2011
  • 1 reply
  • 860 views

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:

Thanks for tips.

Greetings.

This topic has been closed for replies.

1 reply

Michael_Müller-Hillebrand
Legend
August 26, 2011

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

Dokuteam1Author
Inspiring
August 26, 2011

Hi Michael,

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

Van Kurtz
Inspiring
August 26, 2011

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


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