1 person found this helpful
Did you type in the code?
Or did you copy/paste from somewhere else?
Where is there a description in the Help files for the correct syntax? How would we know if that is correct or not?
Thanks. I actually managed to get it to work by substituting "false" with "0" and by putting "" around the entire code. Bizarre but now it works.
Hi Steve. The code is in the Adobe online documentation. But as you see, in my case, the workaround is what worked.
I'll answer my own question. There is a long Help article which I had never seen:
I was able to replicate the problem when I typed, copied, and pasted the code from a text frame on the page. The quote marks, which should be straight, had been curved closed quotes on the page. That's what's causing the incorrect syntax.
To type the correct dumb quote, type Control-Shift-' (apostrophe) on the Mac. I don't know what it is on Windows.
If you choose Partial from the building blocks to create the x-ref, you will see the correct syntax. However, as I just posted, the original poster may have typed the code outside the field and then pasted into the dialog box. That will cause the problem.
@Sandee – after experimenting a bit with all kinds of quotes, I find the syntax for cross references a bit strange.
Here is a screen shot from my German InDesign CS5.5 v7.5.3. on OSX 10.6.8.
It is showing the code for "Full Paragraph and Page Number" by *default*.
Note the curly opening and closing quotes in German style.
And note, that there are no quotes around:
The code is still correct, if you are not using quotes at all in this example…
You're correct that the quote thing is confusing. There actually are two types of quotes in the Definitions for x-refs.
The quotes around <fullPara/> are ordinary quotes and can be curly, or German, or guillumets, or anything. In fact, they don't have to be quotes.
Those quotes are indicators that you want some characters around the text of the full paragraph.
But the quotes in the building block delim=":" aren't going to insert quotes in the text. They are markers in the code that indicate that whatever is between the markers (quotes) is the item that will stop picking up all the text in the partial paragraph.
It is those quotes that can't be curly.
Does this make sense?
@Sandee – yes, I guess so.
Adobe should make it clear in the help files.
You cannot expect that the ordinary user, who has written no line of code at all, will grasp the difference between an optional statement and a string definition like ":".
I agree that it is not clear at all. But that's why Adobe has set up these forums.