Cross reference help needed

Here is the situation:
I create automatic figure number in my document. That is working fine.
In my text, when I want to cross reference the figure (i.e. "FIGURE 3-3"), I click in the location in the text and use "Type"... "Interactive"... "Insert cross reference"...
That all works fine.
The problem I am having is when I move or copy that page to another document wherr, for example it was "fig 3-3" in the original it is "fig 3-19" in the new (pasted into document). The figure auto numbering updates ok for the new document, but in the body text it remains what it was from the original .. that is, the new auto number will update "fig 3-19", but in the text it remains "fig 3-3". It seem to retain the cross reference to the original, and not "follow" or remain with the new.
So is there a fix for this. or is there another way to do this?
Thanks for reading my questions.

You may have to share your XML (partial data is fine too). You should also share the code for <?for-each-group@column:...?>.
Most of the time this mismatch happens when there are some empty data fields. In such cases you may have to add a condition using xpath to populate the data, where in if there is an empty tag or no tag, it puts a zero value or space there.

Similar Messages

  • [AS] How to make cross reference at insertion point

    Hi,
    I have a book ("indb") including several documents with several "anchors"
    (german translation: "Textanker") where cross references from different documents are linked to.
    What I already got is to reference all anchors and collect them in a list.
    Now I would like to make a new cross reference at the insertion point
    in a text frame of the active document - can't get it to run :-(
    Is anybody out there who can post a AS-sample doing this?
    Thanks in advance!
    Here is the reference to an already existing anchor:
    {hyperlink text destination id 44155 of document "kapitel 2.indd" of application "Adobe InDesign CS4"}
    The code I tried to make a new cross reference looks like this - but of course doesn't work:
    tell application "Adobe InDesign CS4"
    tell active document
    make new hyperlink with properties {name:"new hyperlink", destination:hyperlink text destination id 44155 of document "kapitel 2.indd"}
    end tell
    end tell

    Thanks a lot - got it now!
    Maybe it could be helpful for others to look at your answer  
    with the placeholders replaced by "real" strings as it was hard for me
    to figure out the right form:
    tell document 1
    set theDest to make hyperlink text destination with properties {name:"Some name", destination text:<a reference to the relevant text>}
    this line for example looks like this =>
    set theDest to make hyperlink text destination with properties {name:"Some name", destination text:insertion point 902 of story id 44083 of document "kapitel 3.indd" of application "Adobe InDesign CS4"}
    set theSource to make cross reference source with properties {name:"Some name",source text:< reference to the relevant text>}
    this line for example looks like this =>
    set theSource to make cross reference source with properties {name:"Some name", source text:cursorPosition, applied format:cross reference format id 44305 of document "kapitel 1.indd" of application "Adobe InDesign CS4"}
    where "cursorPosition" was defined before by
    set cursorPosition to object reference of selection
    (the cross reference source needs the applied format reference too)
    make hyperlink with properties {source:theSource, destination:theDest, visible:true, highlight:invert, width:thick, border color:dark green, border style:dashed, name:"Whatever" }
    this line for example looks like this =>
    make hyperlink with properties {source:theSource, destination:hyperlink text destination id 44184 of document "kapitel 3.indd" of application "Adobe InDesign CS4", border color:black, highlight:none, border style:solid, hidden:false, visible:true, width:thin}
    end tell

  • Cross-References Broken In RoboHelp 10 Output

    We are using FrameMaker 11 to author our documentation. We have some cross-reference links that do not work when the FrameMaker book is imported into RoboHelp. Upon import, the href information is not included in the link in the HTML code. The text looks like a link, however. When the help is generated, the text is not a link.  The following is an example of a non-functioning link:
    see <a>Link</a>.</p>
    Here is an example of a cross-reference that is functioning correctly:
    <a href="#XREF_90399_Heading_Text">Link</a>
    There are no errors in FrameMaker. The cross-reference is updating correctly in FrameMaker. In addition, when a PDF is made form the same book, the cross-reference works in the PDF.
    Troubleshooting steps I have taken:
    I have tried going to MIF and back for both the source and target documents.
    I have recreated the cross-reference and marker.
    I have tried linking to a heading cross-reference marker, as well as a manually create cross-reference marker.
    I have renamed the file.
    I have renamed the marker.
    I have used different cross-reference formats.
    I recreated the file by copying all the text to Notepad and pasting the text back into a fresh FrameMaker file.
    None of the steps I have attempted have corrected the issue for the cross-reference I focused my troubleshooting on. I hope that someone can point me in the right direction to correct this issue.

    I have been trying everything I can think of to move the files around to resolve the issue. 35 characters is very disappointing. Is this for the file and cross reference or the whole file path? I am not sure how you are going to be able to link from one Framemaker file to another, including a cross-reference name (especially when you can use heading for the cross-reference name) with a limitation like this.  We also have a large library with many directories. We utilize single sourcing, so some files are in completely other directories from the file that is cross-referencing to it. From what you are telling me, it sounds like we no longer have the ability to use cross-references from one file to another in our library structure. Are you saying that all cross references basically need to be in the same file to allow cross references to work properly in RoboHelp? We moved from a WebWorks solution and we never had any issues with our links.
    What I don't understand is the marker is in the destination file in the converted RoboHelp files, but the link is completely missing the <a href="#XREF_name ofmarker"> code in the cross-reference link. When I go in and manually link the cross-reference in RoboHelp, it works. This seems like a bug. I think having a 35 character limit on a filepath, filename, and cross-reference name is not going to work for anyone that has any sort of complex directory structure with multiple authors, sharing content and since it isn't a limitation of HTML, I don't see why this functions this way. Manually linking isn’t a reasonable option for us. We have a publishing system that publishes all of our output. We have hundreds of files that are generated automatically.

  • How to create ebook chapter cross-references with inDesign CS6?

    Hi, I'm creating a fairly technical ebook, and would like the reader to be able to easily link  "See Chapter X for more information" with Chapter X. My problem is that all the "See Chapter X for more information" phrases are set up as a character style... it doesn't seem that I can easily cross-reference because I didn't set these phrases up using paragraph styles (which doesn't make much sense to me as each cross-reference would need to be a new paragraph).
    I think I just need to anchor the "See Chapter X for more information," phrases, but that isn't proving to be easy to position, the text anchor boxes are showing up in crazy places... having a hard time figuring out how to position anchored text.
    Can anyone help?
    Thanks in advance.

    Hi Conrad,
    I'm running CS 5.5 so can't be sure of the differences with your version.
    The problem here is simply one of ID terminology.
    I suspect what you want to do is this:
    1. Select your destination text with the type tool. The destination text is what you want the reference to link to. Then, in the Hyperlinks control menu menu, choose "New Hyperlink Destination" and give it a simple and unique name.
    2. Find the text that you want to connect to the destination text. Select it and in the same control panel choose "New Hyperlink..." You'll have the choice of selecting from (what will ultimately be) a number of text anchors.
    I hope that makes sense. I quickly checked to see if ID exports a working cross-reference in EPUB and it does, although I didn't have time to examine the HTML.

  • Footnotes and Cross references

    Hi all,
    I am using pages v 1.2 and I would like to know how can I insert footnotes (for bibliography purposes) such as in MS Word. I am writing a term paper, and the only way for me to include my book references is to manually writing them. Is there was a way to mark a book reference and then cross-reference it as in MS Word? Any help is appreciated.
    Thanks,
    Victor Gomez.

    Cross references can be created in InDesign beginning (I think) in CS4.
    Google "InDesign cross reference help" for InDesign Help and tutorials in how to use the cross-reference feature.

  • Updating numbered Cross references crashes InDesign in both CS6 and CS4

    I have a large medical journal that has over a hundered references, which I cross-referenced with the thinking that the client may well insert or amend the refernces. I was correct and now the customer has several references to go in I have updated the first in its numbered list at the end and gone to "update cross-refernce" and InDesign crashes. I have tried this in CS6 and CS4 but both crash.  

    This happens often, particularly with cross-references across documents that are managed with an InDesign book file. One common suggestion, in addition to updating the installed software with the latest patches, is to open all the files in the book before updating; this may or may not always succeed. Search this forum for cross-reference crash to see other suggested solutions.
    Some of those posters may mention the commercial third-party Cross-References Plug-in for InDesign, from dtptools.com, and the poster's experience with it. It is reputed to be much more reliable than InDesign's built-in cross-references. It includes an option to convert the ID cross-references to its own, and that's reversible. There's a free trial. There's also a free reader plug-in for users who will need to open and edit documents that contain the plug-in's cross-references. The reader plug-in permits users to edit content in the documents without affecting the cross-references. HOWEVER, to edit or creatge new cross-references, users need the full plug-in.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    mccoole1 wrote:
    I have a large medical journal that has over a hundered references, which I cross-referenced with the thinking that the client may well insert or amend the refernces. I was correct and now the customer has several references to go in I have updated the first in its numbered list at the end and gone to "update cross-refernce" and InDesign crashes. I have tried this in CS6 and CS4 but both crash.  

  • Scripts export  information about cross references

    scripts export  information about cross references in the active document and saves the result to csv/txt file (es: LOIC script Links2CSV; http://www.loicaigon.com/en/solutions-en/downloads/).
    I am working with a multi chapter user manual with many cross references, we need to export cross references before translating document and create it after translation in the same place.
    Thanks,

    Hi,
    Thank you for the suggestion, but our company is world-wide and each subsidiary deals with different staff and editors (who only some use Adobe software, but all use Office). I will pass along the info though.
    This would be a good Feature Request for a future release of InDesign!
    Thanks again.

  • Need to know xml flow cross references, Its Very Urgent Help me

    need to know xml cross references coding and sample files for indesign cs3

    As far as I know, cross references are available in CS4/5, not in CS3. It is possible to write a script that creates hundreds, thousands of them very quickly taking the necessary information, let's say from tagged text. You wrote only one line, so it's difficult to me to imagine what XML structure you have and what your requirements are. But here is a script I wrote a while ago -- probably you need something similar, and here's the source code (not final version, of course) to show the approach I used.
    Kasyan

  • My iPod no longer appears as  folder/file in Itunes when connected.  Library, genius, playlists, etc.  are present, but there is no longer cross reference with the iPod itself.  Help!?

    My iPod no longer appears as  folder/file in Itunes when connected.  Library, genius, playlists, etc.  are present, but there is no longer cross reference with the iPod itself.  Help!?

    I just tried it again and this time a different message showed up "The iPod 'name' cannot be synced. The required folder cannot be found." I have no clue what folder it could be talking about.

  • Please help! Broken internal cross references.

    I'm creating a 20-page PDF from a PowerPoint file. In the source PowerPoint document, I've embedded internal cross references that DO initially carry over when the file is saved out as a PDF. However, whenever I rename the resulting PDF or move it to a new location, all of its internal cross references cease working. I can click on them, and they "flash" once, but they do not take me to a different page. I've been able to replicate the issue on other computers, both inside and outside my organization, and in both Mac and PC environments.
    Is this something to do with relative vs. absolute links? Is the issue likely on Adobe's end? Or on PowerPoint's? Is there some setting I need to change somewhere?
    Thanks in advance for any thoughts. I've spent hours trying to research and diagnose this problem, to no avail.
    For what it's worth, here are some of the tech specs of my system:
    - Acrobat v7.0
    - PowerPoint 2007
    - Windows XP
    - To save the PowerPoint as a PDF, I'm selecting the Windows button from the upper-left corner, hovering over "Save as", selecting "PDF or XPS", selecting "PDF" as the file type, selecting my desktop (or other location) as the destination, and clicking "Publish".

    Some observations.
    Acrobat 7 — PowerPoint 2007
    Office 2007 applications are not supported by Acrobat 7's PDFMaker
    See: http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    MS "Mac Office" — Acrobat 7
    Acrobat 7 supported Office X and Office 2004 only.
    Scroll to the bottom of the link above.
    You'll see that, with contemporary releases of Mac Office and Acrobat there is no PDFMaker support.
    From what you've posted it appears you do not have compatible software combinations on either the Windows or the Mac boxes.
    Be well...

  • Colour confusion in cross-reference format -- help!?

    (FrameMaker version 8.0p277)
    We recently applied revised templates to our documents and I am not having problems with my cross-reference formats.
    When setting an xref to a heading/table/figure on another page, I want it to say (for example) "Figure 2-3 on page 17", where "Figure 2-1" is blue, and "on page 17" is the default text colour (for these docs, that would be black).
    When I insert an xref and choose a display format as described above, the text appears properly (blue, then black).
    However, when I update the book, many of the xrefs (but not all) change to all blue text. (For example, Figure 2-1, 2-2, 2-5 are okay, but 2-3 and 2-4 appear all in blue.)
    Here is the xref format definition for figures:
    <bluetext>Figure\ <$paranumonly><Default ¶ Font> on page\ <$pagenum>
    where <bluetext> is a character format (all 'as-is', except Color is set to Blue).
    So far, I am the only one who has had this problem (three other writers using Frame 8 as well), but I'm the only one working on this particular set of documents.
    Anybody have any hints as to how to resolve this? I have found limited success with copying/pasting the encompassing content (for example, if xrefing to a heading in a cell of a given table row, copy and paste the entire row, then delete the original row fixes the problem. *Sometimes*. Same for table xref (replace entire table), figure xref (replace figure and caption and some surrounding body text), heading (replace heading plus some surrounding body text).
    I'm at a loss.
    Thanks

    And... I think I have it (sorry to have dragged you all along for the ride :-)
    With the Character Designer displayed, moved cursor through text. Found that the Character Tag field changed to <Blue> after the last character of the offending x-refs. <Blue> was an old tag used in the previous template. It does *not* appear in the character font catalog (and does not appear in the drop-down character tag list either).
    Solution (it seems):Select the text section and apply the DefaultFont format (everything goes black). Then update the book. Most of the xrefs display correctly. Some, however, remain all black. Double-click the xref and then click Replace, and it now has the proper format.
    Will go through doc and do updates -- if more problems arise, will let you know!
    (As an aside... if somebody can explain what is actually happening in a clear way, that would be great :-)
    Thanks again.

  • Cross reference not working properly in epub exported from IDCC

    Hi,
    I'm not sure whether this is a known issue within ID so forgive me for bringing it up if it is. I couldn't find any satisfying answer on this forum, hence my question.
    It seems that cross references between the xhtml-docs created from split ID document during the epub export don't work properly. They link to the text anchors specified as relative links. My editor uses software compliant to many e-reader platforms that removes all the relative links between the xhtml files within any epub and replaces them by absolute hyperlinks (http://). The result is... broken links all over. Their specification asks for the the anchor entires in the content.opf file instead of the relative links. Is there a way to work it out in InDesign and have the content.opf file contain the navigation to the anchors in xhtml files within the epub?
    I'm working with IDCC 9.1 btw. Would appreciate any help...
    Kind regards, Kasia

    Hi,
       Not sure exactly where you gone wrong.
       If you want the running sum to start from beginning for each YEAR and each LINES. Use this
               =RunningSum([Sales revenue]; ([Year];[Lines]))   => Need Square brackets around Year and Lines. This forum site doesn't display square bracket correctly
       If you want the running sum to start from beginning only for each LINES (regardless of YEARS). Use this
                =RunningSum([Sales revenue]; ([Lines]))
       Not sure why you added ROW in your functions. Hope this help. Works for me, just tested using my efashion with the same structure are yours.
    Regards,
    Ken
    Edited by: Ken Low on May 9, 2011 8:15 AM
    Edited by: Ken Low on May 9, 2011 8:17 AM

  • Cross reference that diplays only paragraph number

    I need to create cross-references to numbered paragraphs. The auto number for the paragraphs includes not only a number, but a text character that is part of the number format. For example, a numbered list like 1) 2) 3) and so forth, where the cross reference display only the 1, 2, or 3, and not the closing paren.
    FrameMaker has a building block <paranumonly> which ignores any characters other than digits in the auto number. InDesign doesn't seem to be able to do that. That is why I'm posting on the scripting forum. Perhaps there is a script that can do this?

    In support of Niels' response, I'd written almost the same thing, but 1.__AG__,  entered a more objective response (well put, AG!)  before I sent my impressions.
    I agree with Niels that
    The reader might appreciate a more direct numbering system (the milspec standard of 1.2.2.2.2.1 would be the equivalent section to your 1B2b2a example
    The tags used would be easier to navigate if they used a 1List 2List 3List convention, and that the punctuation used in numbering is a bit confounding at first glance
    The xref format is straightforward if all levels are displayed at that point
    Sadly, and as always, we can help with everything but the politics of your situation!
    I do like Niels' suggestion of using the Running H/F to display the current section, if you're forced to use the numbering scheme as-is!
    Best of luck navigating this with the powers that be.
    -Matt

  • Cross Reference Range?

    Need to get a cross-reference to range some pages, say page 16-19
    At the moment I'm creating two text anchors, one for each page, 16 and 19, then inserting the page references as two entities.
    Is there a better way?

    Eugene Tyson wrote:
    Ok - doing the cross-reference range works that way
    The Paragraph Numbers are done with "<paraNum />"
    And I use that for the cross-reference - but sometimes it pulls the entire paragraph in instead of the Para num?
    Capturing a paragraph in a cross-reference when its format is not defined with the <fullPara/> or <paraText/> building blocks, AFAIK is not a known bug.
    To be sure the cross-reference format's building blocks are correct, build the format's expression by clicking the plus sign button in the Cross-Reference Formats dialog box, rather than by typing it or copying it from other defined formats.
    To cross-reference a range of pages, insert a page-number format cross-reference at the beginning and end of the range. When content is added to or removed from between the cross-reference source markers, page number references adjust if needed. Take care not to delete the cross-reference markers when deleting text; it's helpful to work with hidden characters displayed. Moving a page that contains a cross-reference marker, as you'd expect, changes the page number reference.
    InDesign cross-references don't update automatically; you need to click the Update cross-reference button in the cross-references panel, or click the option in the cross-references panel flyout menu,  to fix the yellow warning symbols.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Cross-reference mixup after package

    Hi,
    I've got a question regarding InDesign cross-reference.
    Here's the background:
    The original source is stored in F drive.
    Packaged source is stored in C drive.
    For each of my drafts, I need to attach the packaged source with the PDF.
    I have 10 cross references in a 100 page document.
    The question is this:
    When I package the InDesign files, I assumed that my cross references will be updated to the InDesign files in the packaging directory.
    But when I checked them out, the cross references were still linked to the original source. So I had to manually update each cross reference to the packaging directory.
    Although the PDF works fine, I have some concerns about this situation.
    Does any one else had this problem? If so, are there any solutions to this issue?
    Any help is greatly appreciated.
    Thx.

    Books are funny creatures. Another thing that confuses a lot of users is that if you make a copy of the .indb file and all the component .indd files, the copied .indb does not point to the copied .indds, but retains the links to the original locations.

Maybe you are looking for