Hello,
I am using InDesign CS5 (Version 7.0.0.355) with Windows XP (SP3) and have a problem: There are two or more text variables in one headline. When generating the table of contents, the text variables will be "destroyed" in the table of contents: The second one is "inserted" in the first one instead of the third letter, independent of the kind of text variable (date, userdefined ...).
> Does anybody know this problem? Is there any workaround?
Explanation of the screenshot: The top line ist the table of contents, the bottom line ist the headline. "oooooo" ist the first text variable, "OOOOOO" the second one.
Thanks in advance
Heiko
htroff wrote:
Hello,
I am using InDesign CS5 (Version 7.0.0.355) with Windows XP (SP3) and have a problem: There are two or more text variables in one headline. When generating the table of contents, the text variables will be "destroyed" in the table of contents: The second one is "inserted" in the first one instead of the third letter, independent of the kind of text variable (date, userdefined ...).
> Does anybody know this problem? Is there any workaround?
Explanation of the screenshot: The top line ist the table of contents, the bottom line ist the headline. "oooooo" ist the first text variable, "OOOOOO" the second one.
Thanks in advance
Heiko
Text variables cannot wrap around line breaks. While there may be enough space in the document for the variables on one line, the width of the TOC entry line is too narrow to contain the variables. When there's not enough room, the text in variables first tries to compress itself to fit, but at some point it crosses a boundary limit and you get the kind of result you're seeing.
Solutions: [EDIT] widen the TOC lines,[/EDIT] shorten the variables' text content, or use a TOC-entry paragraph style that reduces the width of the text by using a smaller point size, or a font that takes up less horizontal space, or both. Probably reducing word- and letter-spacing won't change anything, because the variables seem to try that on their own, before they cross the limit.
Ooops! still using the unwanted login. I tried to get Adobe to kill this account. Still waiting...
HTH
Regards,
Peter
_______________________
Peter Gold
KnowHow ProServices
You can download a sample document from http://www.troff.de/id/textvariables.zip
You night get better service if you send John C a message. Do you need an address?
For what it's worth, I pretty much stopped contributing to this forum when my name changed through some sort of forum software glitch, and my accumulated points went down the drain with the new name!
I was unable to contact anyone who runs the forum. I have limited time, so eventually I just gave up.I mean, it's just points, right?
I think it's pretty shoddy the way the "big boys" sort their problems out for each other by passing private email addresses around, while the little guys can linger on in obscurity.
htroff wrote:
You can download a sample document from http://www.troff.de/id/textvariables.zip
Thanks for the sample file.
You've discovered a real bug!
I tried:
* Change the language to English
* Remove tab character from between entry and page number in the TOC entry format options
* Insert text at beginning of source paragraph to move variables deeper into paragraph
* Create a new file and try two variables in same paragraph, adjacent, separated by space, separated by text
* More than two variables in same paragraph
* Long source paragraph that wraps around to a second line
All failed in the same way - variables inside variables in TOC.
Immediate workaround solution:
* Save file
* Save a copy
* In original file, select all text that contains variables and perform Type > Text Variables > Convert Variable to Text
* Generate TOC
* Perform File > Revert to return to original file
Long-term permanent solution (patience needed):
* File a formal bug report at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
HTH
Regards,
Peter
_______________________
Peter Gold
KnowHow ProServices
Jeremy bowmangraphics wrote:
I think it's pretty shoddy the way the "big boys" sort their problems out for each other by passing private email addresses around, while the little guys can linger on in obscurity.
Jeremy,
I think that comment was totally uncalled for. Did you ever make known to a moderator that you were having a problem? I won't post an email here in public becasue I don't believe it is the proper thing to do, but I'll help anyone who has a problem on the forum if they let me know. I've already managed to get several accounts for "little guys" straightened out in the last year.
I happen to know that Peter G has a lot of contacts at Adobe, so I didn't know if he needed additional help getting to the right person, but he didn't get any sort of "special" attention.
peter at knowhowpro wrote:
Immediate workaround solution:
* Save file
* Save a copy
* In original file, select all text that contains variables and perform Type > Text Variables > Convert Variable to Text
* Generate TOC
* Perform File > Revert to return to original file
I think you left out a step. If you don't copy the TOC story to the clipboard so you can paste it in after reverting you'll lose it entirely and have to repeat the process.
P Spier wrote:
peter at knowhowpro wrote:
Immediate workaround solution:
* Save file
* Save a copy
* In original file, select all text that contains variables and perform Type > Text Variables > Convert Variable to Text
* Generate TOC
* Perform File > Revert to return to original file
I think you left out a step. If you don't copy the TOC story to the clipboard so you can paste it in after reverting you'll lose it entirely and have to repeat the process.
Thanks for keeping me honest, Peter S!
I wrote what I tested, but didn't think ahead to someone needing to do actual production with the file<G>. It's a suggestion. I always get confused when it's necessary to create variant versions of a file for different purposes, especially temporary solutions like this one. Which one is the right one to keep in the workflow? Which one is the one to package? What's the best way to manage this workaround in a production workflow; if the variables need to be converted to text for generating the TOC, should they be kept as text, or should the file be reverted, worked on normally, and the convert-to-text operation be repeated whenever the TOC needs to be updated? Should the whole workaround be deferred until time to hand-off to final production?
***** AND EXTRA BONUS WORKAROUND *****
* Create the required text variables as individual paragraphs with a unique paragraph style
* Create a cross-reference format that captures the unique paragraph-styled text only.
* Store these source text items anywhere - pasteboard, hidden layer, etc.
* Insert cross-references to these source text items wherever you'd need multiple text variables that will be extracted to TOCs.
* Copy an inserted cross-reference to the clipboard.
* Use Find/Replace to find instances of the corresponding text variable and replace with the option that pastes text from the clipboard.
## Because Find can't find a specific text variable, consider converting all variables to text, then find the text and replace all instances from the clipboard. Caution: If the text variable's text also appears in normal text, find/replace all might cause reflow and other problems. It might be useful to create an invisible character style and find all text variables, replace with the character style, then replace all variables with text, then find all instances of text that had been in one variable that also has the character style, and replace that with the corresponding cross-reference, then repeat for the others.
Note that I may have overlooked mentioning some intermediate steps here. After all, it's a FREE extra bonus<G>.
HTH
Regards,
Peter
_______________________
Peter Gold
KnowHow ProServices
Peter,
I think that comment was totally uncalled for. Did you ever make known to a moderator that you were having a problem?
How can I or anyone else identify one of these "moderators"? I see no indication anywhere on the forums of who might or might not be a moderator.
For that matter, although I am a native English speaker, I am not entirely clear what a "moderator" does. The word 'moderator' doesn't seem to appear anywhere on the site. I have have a rough idea what an "administrator" does -- but I can't find the word 'administrator' anywhere either! Every now and again I get a popup window in which Adobe says they want my feedback -- but not the sort of feedback that tells them of failings in their forum software, apparently.
I'll help anyone who has a problem on the forum if they let me know. I've already managed to get several accounts for "little guys" straightened out in the last year.
Is it really your responsibility? I would have thought it is the responsibility of the people who are in charge of these forums if something goes wrong with their software. For what it's worth, I did bring the problem to your attention on January 25th. But I really don't expect other participants to a forum to sort out problems for which they do not have responsibility.
Thanks -- Jeremy
Hi Jeremy,
In general, those of us with Community Professional badges are moderators. Bob Levine and I handle the InDesign forums with some help from Harbs, who also is a moderator, but not currently and ACP. I agree that moderators could be more clearly identified, but I don't have any control over forum structure, and in fact I think mosd have less control now than we did before the change to Jive as far as moving things around. We've never had access to user accounts, but we do have links to forum administration people who do.
Evidently I missed your request last January, or perhaps I referred you to a tech note(?). There were some weeks with general problems early on that seemed to be related to how users logged in, and most of those were fixed by the users themselves following a set of login directions that was posted, I think in the comments forum. I did refer a couple of accounts to admin for action. If you send me the information in a private message about your two identities, what you've done already, and what you'd like, I'll forward it on for you.
Hi Peter,
That's very decent of you -- as long as it is really your responsibility.
It seems to me that ideally, if a recognized technical problem arises, it should be easy to contact a technician whose official job is to fix that sort of thing. I'm a bit uneasy with the idea of contacting someone in a private message, to get them to contact someone else "further in". It has a whiff of "contraband" about it -- like arranging to get some Cuban cigars or beluga caviar or something!
All the same, I'll send the private message -- with many thanks -- Jeremy
I don't know if its my responsiblity as defined in the "Moderators' Handbook," but it's something I feel any good host should do. I agree that it would be nice if there was an easier way to get things taken care of, but believe it or not, there isn't a whole crew of people whose job at Adobe is to make the forums work, just John, and he works his butt off even when he's supposed to be on vacation. If we put his email out here he couldn't handle the volume, so you need to go through some sort of buffer, and for you that's me. Sorry.
I found this discussion when researching the same issue in InDesign 5.5 so I can report that the bug still remains in that version. My testing shows that referencing text with a single text variable works fine in a table of contents but anything with multiple variables gets jumbled. In addition, in my case where I'm using three text variables it also mixes in the page number and the title generated by the table of contents style.
Does anyone know if it's been fixed in version 6?
North America
Europe, Middle East and Africa
Asia Pacific