-
1. Re: Space character following some user variables disappearing
Error7103 Nov 4, 2011 4:04 AM (in response to tetard911)I assume this trailing blank is in the Variable Definition, and not the Name.
I don't have FM10 to test with, and have never needed to do this in the earlier versions I use, but I can think of one hack that might work-around the behavior:
Put a <Default ¶ Font> after the space.
-
2. Re: Space character following some user variables disappearing
tetard911 Nov 4, 2011 4:18 AM (in response to Error7103)No the weird thing is that the space is not part of the either the variable definition or the name, it's just a simple space character following the variable in the document. I'd already tried the putting <Default ¶ Font> as the last part of the variable because I too thought it might be something to do with that. I'm at a total loss to know what to do now! I'd stay with FM 7.2 but we need to use conditional expressions, which of course were not available in that version.
-
3. Re: Space character following some user variables disappearing
Error7103 Nov 4, 2011 4:31 AM (in response to tetard911)... the space is not part of the either the variable definition or the name, it's just a simple space character following the variable in the document.
Yep, that's wierd. I've never seen anything like that. It would be interesting to study before-and-after MIFs,
Try defining a Variable named "char.punc.space" with a definition of just a normal space.
Insert it where the spaces have been disappearing.
______
... wondering if this is a Unicode thing.
-
4. Re: Space character following some user variables disappearing
Russ Ward Nov 4, 2011 4:43 AM (in response to Error7103)Nick,
Any chance that these files are being opened from XML format? If so, maybe take a look at this thread, which explains a new whitespace normalization "feature" in FM10 that can be disabled:
http://forums.adobe.com/thread/908010
Russ
-
5. Re: Space character following some user variables disappearing
tetard911 Nov 4, 2011 5:01 AM (in response to Russ Ward)Hi Russ,
Yep, that's got to be it because they're xml files, which were round-tripping without problem in with FM7.2!
It's certainly very frustrating because we've wasted a lot of time trying to fix it.
I do some tests and report back.
Many thanks,
Nick
-
6. Re: Space character following some user variables disappearing
Error7103 Nov 4, 2011 5:50 AM (in response to tetard911)I do some tests and report back.
Using my space-as-variable hack probably works, but is not a real solution, because it's hard to find all the spaces at risk (and you're just compensating for an Adobe defect). Switch the [mis]feature off instead.
This is clearly happening to spaces following variables and xrefs.
I wouldn't be surprised if it's also happening to spaces following other tagged elements like anchored frames and insets.
And, of course, it's probably killing any deliberate instances of multiple spaces, which normally only result in complaints from the spell checker.
-
7. Re: Space character following some user variables disappearing
tetard911 Nov 4, 2011 7:52 AM (in response to tetard911)Okay, I've tested all the files and my whitespace after variable problem is now fixed using the very helpful solution provided by Russ. Due to present time constrains I had to use the quick solution of disabling the new whitespace normalization "feature" of FM10 in the maker.ini file. However, I'll spend some time fixing it properly with the "xml:space" attribute in the elements when I can. Thanks again Russ!

