Opening Hyperlinked Cross-References in non-editable XtextEditor

Hi,
I have cross-references in my grammar definition and Xtext Editor creates Hyperlinks for the tokens corresponding to these cross-references. I have some references to elements in other resources. When I use CTRL-click on these tokens then the referenced resource is opened in Xtext Editor but the Xtext Editor is editable. I want to make it non-editable or read-only so that I do not modify these referred elements in other resources.
I need to make XtextEditor non-editable only when I use Hyperlink to open elements present in other resources otherwise it should be editable.
I would appreciate any help or suggestions in achieving this.
Xtext Hyperlinking Reference:
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.xtext.doc%2Fcontents%2F120-heading-UI.html&cp=70_1_4_5&anchor=hyperlinking
Thanks.
Vivek Veera

I saw the entry in your issue tracker and what you are asking for is actually not the real description of your problem.
Of course user-written models should be editable, no matter how I open them (either double clicking or through navigation). Anything else would be confusing.
Your real problem is that models from your standard library are also opened in a writable editor. By default, Xtext will open models from the classpath in a read-only editor. So I suspect some faulty customization in your code base.

Similar Messages

  • Hyperlink cross-references not converted from doc to pdf

    Hi,
    We are having some problems converting word documents to pdf. This is a standard part of our day to day work, we convert docs to pdf all the time. We use acrobat 7 professional and Office Professional 2003. The symptom is that hyperlinks are not all being converted in the pdf. The TOC is fine but after that the links do not always work. Right now i have downgraded a workstation back to adobe 6 professional and i'm running a conversion on that of one of our docs that doesn't convert properly. Otherwise i have tried all the settings in the conversion settings window, i have tried saving the doc as an xml first.
    So i have some docs which convert perfectly and some which convert except for dead hyperlinks. I can't see anything wrong with the hyperlinks. I've also tried different workstations, it's always the same result.
    Has anyone else seen anything like this and if so can you suggest any way forward apart from recreating a million hyperlinks in the converted pdfs?
    thanks

    From Word I select 'convert to Adobe PDF' from the Adobe PDF menu.
    We convert word docs to pdf as part of the daily running of the business.
    We always use PDFMaker and not the adobe pdf printer.
    Before now hyperlinks were converting fine.
    I have tried previously to update acrobat, it seems to be stuck on the 7.1.0 update.
    When I search for new updates it just installs the 7.1.0 update again - i have 3 workstations like this.
    They have been like this for a long time, i had in fact stopped attempting to update them - adobe has worked fine up til now and it is in daily use.
    Maybe this is the root of the problem.
    I will try and get one up to date on 7.1.2 and run a conversion and see what happens.

  • Cross-References/Hyperlink Options Greyed Out (CS5)

    I want to use the Cross References feature in InDesign CS5.
    I go to Type > Hyperlinks & Cross-References. All of the options are always greyed out besides Convert URLs to Hyperlinks...
    I also go to Window > Type & Tables > Cross-References. All options in that panel are always greyed out besides Create new hyperlink.
    Again, I am using InDesign CS5.
    I am on a Macbook Pro with OS X Mountain Lion, version 2.

    The first thing to try is trash your prefs. See Replace Your Preferences

  • Cross Reference Source text options

    Creating a Cross Reference linking to a Paragraph. In the paragraph where the cross-reference source is inserted, may the cross-reference link be applied to existing text in that paragraph so that the cross-reference destination text does not appear? Text anchors can be created to accomplish this, but that is an extra step (I can create a cross reference linking to a paragraph all in one dialog box). Thanks in advance for any suggestions.

    Hi, Seir:
    I agree that it's confusing. Here's how I do it:
    To create a text anchor at the insertion point location:
    * Open the Hyperlinks/Cross-References panel's menu (also called "flyout menu." It's the small icon at the upper-right of the panel, below the double-arrow (>>) icon that collapses the panel.
    * Choose New Hyperlink Destination. THIS SHOULD BE NAMED NEW TEXT ANCHOR!!!
    * Choose Type: Text Anchor
    * Name the anchor as you like Click OK.
    To create a cross-reference to a text anchor:
    * Place the insertion point where you want it.
    * Click the Create new Cross-Reference button on the bottom of the Hyperlinks/Cross-Reference panel.
    * Choose Link To: Text Anchor
    * Choose the target document
    * Choose the text anchor
    * Choose the Cross-Reference format
    * Choose Appearance properties
    * Click OK
    I'm not sure what could cause the straight/curly quotes problem other than perhaps the font doesn't have curly quotes. Have you tried other fonts?
    HTH
    Regards,
    Peter Gold
    KnowHow ProServices

  • Cross-Reference using Text Anchor problems

    I am having problems with creating "New Cross-Reference" using a "Text Anchor" in CS4 Indesign.
    I can mimic what I want using a "Link to Paragraph", selecting the paragraph style and link, and then using the "Partial paragraph and Page Number" options.
    I would prefer doing this using a Text Anchor.
    I've tried creating a text hyperlink, but in whatever I am doing, I never get any "Text Anchor" OPTIONS in the New Cross-Reference menu.
    Adobe should also change the Text Anchor menu item, since there are "Text Anchor" options in InDesign that appear to have nothing to do with Cross-Referencing.
    The other problem I am having is that in defining the open-quote and closed-quotes around the Paragraph Text variable, I wish to have typesetter's quotes instead of the default vertical quotes. If I use the Splat button to choose ^{^} options, then I get funky "G"'s in my reference instead of typesetters quotes -- even if I choose a "Character Sytle for Cross Reference" and force it to my current font choice. What's going on here?
    SC

    Hi, Seir:
    I agree that it's confusing. Here's how I do it:
    To create a text anchor at the insertion point location:
    * Open the Hyperlinks/Cross-References panel's menu (also called "flyout menu." It's the small icon at the upper-right of the panel, below the double-arrow (>>) icon that collapses the panel.
    * Choose New Hyperlink Destination. THIS SHOULD BE NAMED NEW TEXT ANCHOR!!!
    * Choose Type: Text Anchor
    * Name the anchor as you like Click OK.
    To create a cross-reference to a text anchor:
    * Place the insertion point where you want it.
    * Click the Create new Cross-Reference button on the bottom of the Hyperlinks/Cross-Reference panel.
    * Choose Link To: Text Anchor
    * Choose the target document
    * Choose the text anchor
    * Choose the Cross-Reference format
    * Choose Appearance properties
    * Click OK
    I'm not sure what could cause the straight/curly quotes problem other than perhaps the font doesn't have curly quotes. Have you tried other fonts?
    HTH
    Regards,
    Peter Gold
    KnowHow ProServices

  • ID CS4 - How to accurately identify existing cross references?

    Hi there,
    I'd like to know how I can accurately identify an existing cross reference.
    I've assumed responsibility for a large document with many figures and many more to be added. I've been adding cross references that use my "figure" paragraph style. All of my cross references point to locations within the same document.
    I am encountering older formatted text that looks like it might be a cross reference but I can't be certain. I've been using the non-printing visible rectangle to clearly identify cross references I've added. The previous authors did this in one or two locations but apparently not consistently.
    What does it mean when my cursor is placed in a bolded word and when I select the Type>Hyperlinks & Cross-References menu and none of the fly-out menu options are available? Does this mean I've placed my cursor within an existing cross-reference?
    If so, is there any way to change the format of an existing cross-reference so that it uses the visible rectangle?
    Thanks,
    Peter H.

    @Pete47 – you could try the "Wps HyperlinkInspector" by Werner Perplies:
    http://www.weepee.de/forum/indesign/viewtopic.php?f=50&t=59
    Unfortuantely, it's all in German, but ask Werner for an English version…
    I discovered some problems with its UI on Mac OSX, but if you are on Windows it should work fine.
    The trial version is restricted to 25 hyperlinks…
    Since "Wps HyperlinkInspector" is using "nodes" [+] you can expand, expect problems if you are testing with the current version of inDesign CC. There are some severe bugs with ScriptUI right now (e.g. you cannot expand "nodes").
    Uwe

  • Cross References: CS4 to CS3

    Background:
    My company group uses InDesign CS3 on Windows XP for about 5% of our document needs. The small percentage is primarily due to cost and learning curve issues, but we don't push to move more documents (particularly our engineering reports) from Word to InDesign because of page numbering and cross-referencing issues. The documents are graphics heavy, so this is a shame, particularly with our 300+ page documents that end up as pdfs.
    Question:
    I've read that cross-referencing has been extensively beefed up in CS4. If I use CS4 to put in cross references and take my document to my CS3 what happens?

    According to the Help file,
    Delete cross-referencesWhen you delete a cross-reference, the source cross-reference is converted to text.1In the Cross-References section of the Hyperlinks panel, select the cross-reference or cross-references you want to delete.2Click the Delete icon, or choose Delete Hyperlink/Cross-Reference from the panel menu.3Click Yes to confirm.To completely remove a cross-reference, you can also select the cross-reference source and delete it.
    "Deleting" and "completely removing" are different, and the characters composing the xref remain in the text if the xref is "deleted" ("converted to text" would be better terminology). You can select and "delete" all the xrefs in a document simultaneously, so it's a fast operation. I would then imagine that the text of the "deleted" xrefs will survive as text in ID3. You'll just have to try this last bit.
    The above is no good if you have to round-trip. I think you then have to buy DTP Tools' Cross-References Pro plug-in and use it to make xrefs in ID4, ignoring ID4's built-in capacities. These xrefs should survive as xrefs in ID3 (with the same plug-in installed), tho' you might want to check with the DTP people on that to be absolutely sure. If you then go back to editing the doc in ID4, the xrefs should still be there, "live" as opposed to dead text.
    Amazing that your company does tech docs in Word. Upgrading to ID4, or if you're on Windows, switching to FrameMaker, is a better way to go. There are various reports on the Web you can google that contrast Word and FM -- I bet quite a lot is applicable to Word vs ID too. You might be able to put together a persuasive budget request from them.

  • FrameMaker 11 trial version crashing on save and cross-reference insertion

    Hi everyone,
    I've recently started a new position. My prior background was heavily DITA, and I'd describe my FrameMaker experience as late beginner or early intermediate. The new position uses FM exclusively though, so I've been on a steep learning curve lately.
    I'm using the trial version of FrameMaker 11, downloaded about two weeks ago, until the PO for my full FM 11 license is processed. I'm working in book and document files that have been upgraded, I believe, from FM 9 to FM 10 and then from FM 10 to FM 11. All of my colleagues are still using FM 10, with a mind to upgrade to FM 11 in the spring as our new budget comes through (I am, so to speak, the FM 11 guinea pig for the group).
    My workstation is a brand new HP Elitebook laptop running Windows 7 64-bit (I believe our IT department downgraded it from Windows 8). Windows is fully up-to-date. My trial version of FM 11 is 11.0.1.382 and also up-to-date as of this message.
    My issue: FM 11 randomly crashes several times a week, sometimes once a day or so, sometimes when I try any of the following:
    Saving all files in a book (using Shift + the File menu command)
    Saving individual document files (generally using the Save icon in the tool bar)
    Attempting to insert a cross-reference (placing the insertion point within the document, then opening the Cross-Reference tool in the right-hand side bar)
    The crash takes the appearance of FM freezing for several seconds, then the dreaded message window opening with the words "FrameMaker has detected a serious error and must quit", with columns of error codes below.
    I've googled and binged and not found anything for this issue in FM 11, so I thought I'd post here. I have tried the following, based on somewhat similar discussions I've seen for crashes in earlier versions of FM)
    Mif-washing the files
    Working in the Structured FrameMaker interface instead of the Unstructured
    Neither of these has worked. FM 11 trial continues to crash. It doesn't happen often; I'd say that I'm able to successfully able to perform the above tasks 20 times or so, with the crash on the 21st. But on a busy day, that's a few crashes a day.
    To mitigate damage, I have autosave set to every two minutes and gotten in the habit of only having one or two documents open, instead of all in a book, to minimize the number of recovery files I need to process.
    After one of the initial crashes, I did as Adobe asked and forwarded the crash report to them for troubleshooting.
    My colleagues are watching all this very closely, and my troubles might influence our decision to upgrade from FM 10 to FM 11. So any insight into this issue would be appreciated!
    Cheers,
    Eric

    Eric,
    The multitude of unesolved x-refs may due to the font issues when updating the book. During an update, if the files aren't open, FM tries to open them in the background but if it encounters an error like a missing font, it skips the file and then any x-refs to that file are unresolved. This can cascade to make things look really worse than they are.
    What is your default printer when you start FM? It should be the Adobe PDF prnter instance. If not, then you might want to insatll the Sundorne SetPrint utility (http://www.sundorne.com/FrameMaker/Freeware/setPrint.htm) thta will automatically set this for your FM sessions only.
    One other place where fonts can hide is in table definitions. The catalog stores the font information (and not just the explicit paratag) of the cells in the header and first row. As Jeff mentions, you need to check the MIF file in detail. An excellent tool for quickly browsing your MIF is Graham Wideman's Mifbrowse (http://www.wideman-one.com/gw/tech/framemaker/mifbrowse.htm).

  • Successfully importing cross-references from Microsoft Word into InDesign?

    Hello --
    I am laying out a series of long documents (~130 pages each) in InDesign CS5.5.
    The writer for the project has used cross-references in MS Word for areas like the TOC, index and page references ("See page X for more information").
    Is it possible to import these cross-references into InDesign so that the InDesign document functions like the Word document with the cross-references?
    I am thinking no because I am having a ton of trouble with it so far, but wanted to get a definite answer from an expert.
    When I import the text, the cross-references appear in InDesign in the Hyperlinks/cross-reference panel. However, InDesign says they need to be updated based on the way the text flowed in InDesign. And when I click the auto update button, all sorts of funky stuff happens and basically -- the cross-references create a bunch of typos and become junk.
    Thoughts? Knowledge on this topic?
    Thanks in advance!!

    wikiElvis wrote:
    Hello --
    I am laying out a series of long documents (~130 pages each) in InDesign CS5.5.
    The writer for the project has used cross-references in MS Word for areas like the TOC, index and page references ("See page X for more information").
    Is it possible to import these cross-references into InDesign so that the InDesign document functions like the Word document with the cross-references?
    I am thinking no because I am having a ton of trouble with it so far, but wanted to get a definite answer from an expert.
    When I import the text, the cross-references appear in InDesign in the Hyperlinks/cross-reference panel. However, InDesign says they need to be updated based on the way the text flowed in InDesign. And when I click the auto update button, all sorts of funky stuff happens and basically -- the cross-references create a bunch of typos and become junk.
    Thoughts? Knowledge on this topic?
    Thanks in advance!!
    I can't speak to general or specific causes of your cross-reference problems. However, I believe that InDesign x-refs behave a bit differently in CS4, CS5, and CS5.5, and if you have either of these earlier releases, you might try them for comparison.
    Also, you might want to look into the free trial of DTP Tools' cross-references plug-in for InDesign, at dtptools.com, to see if it's more successful than InDesign's built-in x-refs.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Cross reference or hyperlinking not working for InDesign CS5 Book to ePub

    I cannot get hyperlinks or cross reference links to work when generating an ePub from InDesign CS5. (7.0.0.355, Mac OS 10.6.2)
    Here's how to recreate a simple test demonstrating the issue.
    1. Create a new InDesign Book (File -> New -> Book)
    2. Create document one (File -> New -> Document)
    3. Create a text box and type "Table of Contents"
    4. Create document two (File -> New -> Document)
    5. Create a text box in it and type "Story One"
    6. Create a new paragraph style and assign it to the Story One text
    7. Save document 2. I just kept the name Untitled-2.xhtml
    8. Back in document 1, add a cross-reference and select document 2, the style you created, and then "Story One". "Story One" should now appear under the previously typed Table of Contents text, and when highlighed, should show it is an active cross reference in the Hyperlinks panel.
    9. Save document 1. I just kept the name Untitled-1.xhtml
    10. Add both documents to the Book and save the book.
    11. From the Book panel, select Export Book to EPUB...
    12. Save the epub file and open it in Adobe Digital Editions.
    Note that the text "Story One" appears as a hyperlink but when clicked does not switch to the document 2. It does nothing apparent when clicked.
    Looking at the XHTML source for the first document, it is immediately evident why. The filename for document 2.thml is missing.  It looks like this: <a href="#anchor-anchor">
    When it should be : <a href="Untitled-2.xhtml#anchor-anchor">
    The same thing works if you create a hyperlink instead of a cross reference.
    I note then when I use the option to go to the destinate reference in the Cross Link (hyperlink) panel, it does switch to the second InDesign docuemtn. So the cross reference is functioning (in InDesign). But the link is broken in the ePub for the above mentioned reason.
    Bug? Something I'm overlooking?
    Entire source of Untitled-1.xhtml:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Untitled-1.xhtml</title>
    <link href="template.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="untitled-1">
    <div class="generated-style">
    <p class="basic-paragraph" xml:lang='en-us'><span class="no-style-override">Table of Contents</span></p>
    <p class="basic-paragraph" xml:lang='en-us'><span class="no-style-override"><a href="#anchor-anchor">“story one”</a></span></p>
    </div>
    </div>
    </body>
    </html>

    As far as I can tell, it has NOT yet been fixed in CS5.5.  I'm having the same problem.  I have about 90 hyperlinks to fix.
    And the explanation that Teus Dejong gives indicates it's not going to be that helpful:  "we have found that only the links in documents split by the CS5 exporter will be fixed. For books the script does only work for references to earlier documents in the book, not for forward references. This means in practice that for most books the script will not repair the links and should be seen as a means to add the year only. At the moment I see no way to repair this, because the book epub output of InDesign does not contain sufficient information to repair links referencing forward to others documents in a book."
    It's pretty discouraging.

  • Locating and editing cross-references

    Adding cross-references is quite comfortable, but feels like a one-time operation: I can't find out how to
    edit the definition of a cross-reference
    navigate from a cross-reference to its target (in InDesign)
    Can't get to Adobe Help, for some mysterious reason perhaps connected with the client's firewall, and haven't found anything on the 'Net.  Hints and tips welcome!
    CS6, by the way, on Mac and Windows 7

    You can work with Cross-references from Hyperlink Panel. Hyperlink panel is divided into 2 sections i.e. Hyperlinks and Cross-reference.
    Go to Windows-->Interactive-->Hyperlink to open Hyperlink panel.
    All the Cross-reference which were created or will be created will be listed under Cross-References Section.
    edit the definition of a cross-reference
    Double-click on the Cross-Reference in Hyperlink panel to edit it Definition or properties.
    or
    Go to Type-->Hyperlink and Cross-References-->Cross-Reference Options...
    navigate from a cross-reference to its target (in InDesign)
    Select the Cross-Reference in the Hyperlink Panel.
    Go to the Hyperlink panel flyout menu to navigate to the Source or to the Destination of the Cross-reference.

  • Some FM cross-references do not convert to hyperlinks in RH

    Some existing cross-references as well as new cross-references in a specific chapter within a book are not converted into hyperlinks in RH. The cross-references work fine in FM. Cross-references in other chapters in the book are converted correctly.  The problem started after  I killed Robohelp with the UI froze while performing an Update All.
    After re-opening the project and updating the linked files in RH, a different character tag (blue italics) was automatically applied to the cross-references that were not converted to links. We tried deleting and recreating the cross-references, deleting and re-linking the affected chapter and importing the character and cross-reference formats from another book, but nothing has helped. Any ideas on what can we do to fix this problem?

    Hello,
    No, we were never able to solve the issue. We decided to unlink the files
    and use only Robohelp instead of FM-Robohelp.
    Yadira
    Yadira Chaves
    Technical Writer
    Atrion International Inc.
    Tel: +1.514.337.2114
    Fax: +1.514.337.2115
    Mailto:[email protected]
    http://www.atrionintl.com/ & http://www.reachlegislation.com
    Address: 4777 Levy, Montreal, Quebec, H4R 2P9, Canada
    Avis:
    Ce message ainsi que les éventuelles pièces jointes constituent une
    correspondance privée et confidentielle à l'attention exclusive du
    destinataire désigné ci-dessus. Si vous avez reçu ce message par erreur
    nous vous remercions d'en informer l'expéditeur puis d'effacer
    immédiatement ce message de votre système.
    Disclaimer:
    This e-mail and any attachments is a confidential correspondence intended
    only for use of the individual or entity named above. If you have received
    this communication in error, please notify the sender, and then delete
    this message from your system.
    From:
    Pingjing <[email protected]>
    To:
    Yadira Chaves <[email protected]>
    Date:
    08/30/2010 01:34 PM
    Subject:
    Some FM cross-references do not convert to
    hyperlinks in RH
    Did you solve this issue yet? I have the exact same issue.
    Thanks.

  • Word cross references not converting to hyperlinks

    The cross references (i.e. {REF Welcome \h}) to bookmarks in
    my Word document are not converting to hyperlinks in the HTML when
    I have "Convert references into hyperlinks" checked when importing
    the Word document (either in doc or docx format). This did work
    with the older version Robohelp 5. Is there a setting I'm missing?
    Thank you!
    Pat

    You said you've tried mapping styles.
    I solved a similar situation. This involved a FrameMaker book imported by reference to RoboHelp. A cross reference to the paragraph style "Figure Title" was not getting converted.
    I realized that in RoboHelp, I had mapped "Figure Title" to "None" or no output. (I do not want figure titles appearing in the online output, only in print).
    Therefore, since the style was not mapped, the content was excluded and the cross reference did not get converted.
    A different situation, but perhaps it can point you in the right direction.
    Try changing the cross reference in FrameMaker to the next nearest heading, table title, or figure title. See if that makes a difference.
    Make sure all the styles from each of your FrameMaker files is mapped to a RoboHelp style.

  • CS5 Cross references to hyperlinks

    There has been an ongoing discussion in the InDesign forum about how the new native cross referencing in CS5 seriously bogs down the application if you have a lot of references. I usually don't use a lot of cross references, but I'm currently working on converting books into ebooks, and I'm trying to make use of the cross references to make jump links between locations in the ebook.  However, I've noticed that when working with a book file, the document to document cross references do not work in the exported epub file--even when used for something as simple as a TOC. It's a lot easier to create cross references than hyperlinks, but now that I've created hundreds of them in one particular book, I'm wishing I had hyperlinks instead.  I know that Teus de Jong wrote a script that turned hyperlinks into cross refs, and I wonder how hard it would be to do the reverse . . . turn all cross refs in a set of open documents into functional hyperlinks that would work when exported into an ebook.
    http://forums.adobe.com/thread/692546?tstart=0
    http://forums.adobe.com/thread/738512?tstart=90
    http://forums.adobe.com/thread/738452?tstart=120

    The first thing to try is trash your prefs. See Replace Your Preferences

  • Cross-references to hyperlink destinations (text anchors) results in file slowdown

    I'm using text anchors for the first time in a 12-file book (~280 pages) for the table/figure list in the front matter. There are maybe 100 or so total cross-references in the front matter in tables (where one column is the text of the figure title and one column the page number).
    About halfway through the process of adding the cross references, things got reallllly slow, and only in that one document. So slow that reformatting became almost impossible, because of the delays.
    So I went through many of the usual troubleshooting steps, just in case. Trashed preferences, trashed the style, etc. I exported the file to IDML and created a new file from that. It helped, but I can tell that it's still not quite so snappy.
    My question, then, is if this is to be expected with what may be a large number of hyperlinks/text anchors? All the other files in the book act fine, so it's not an InDesign-wide slowdown. Are there any best practices when it comes to using hyperlink destinations?
    As an amusing aside, before I tried the troubleshooting steps I had a clever idea--to insert the cross references into a new, blank document and then paste them into the frontmatter file. Consist and ugly crashes to desktop resulted.

    George Krompacky wrote:
    Peter,
    Thanks for your reply. Yes, the TOC could do this and would be an easier approach. But I hadn't anticipated using it and so didn't have my ducks in a row as far as having the styles consistent for chapter titles, figures and tables. Next time I will do so. I can guess that as a TOC doesn't generate live links, it shouldn't have a performance impact like dozens of cross-references do.
    Yes, the TOC is inert except when it's being generated.
    Regardless of how "creatively chaotic" or "chaotically creative" your chapter, table, and figure title paragraph styles are, as long as all chapter titles are tagged with style names that are not used for figures or tables, and similarly figures and tables are not tagged with styles used for the "other," you can still generate a usable TOC. The idea is to capture all the paragraph styles for each category, and display each category's captured paragraphs as uniform TOC entries - i. e., all chapter title entries are the same, all table title entries are the same, and all table title entries are the same. If you don't want the categories intermixed, create a separate TOC for each category, place each TOC separately, unthreaded to other document frames.
    If you'd like to try a few things to see if it's possible to quickly remake the TOC and regain a responsive working document, before doing anything else, save the whole project to a secure place, and work on the copy. Then:
    * Move the Text tool insertion point to each cross-reference's destination by selecting the reference in the cross-reference panel and clicking  the right-pointing arrow on the panel status bar; then verify that the paragraph is tagged with an appropriate style that doesn't belong to the other category of TOC items.
    * After all the TOC-to-be items are identified and verified that they're tagged correctly, delete the text frame(s) that contain the TOC that's created with cross-references. All the references will break, of course. You've got the secure original project somewhere, right?
    * Set up the TOC roughly; just pick the paragraph styles for each category - chapter, figure, table, and generate a TOC for the book. Drag to place the TOC on a clean new page, and DO NOT THREAD THE TOC TO NON-TOC TEXT FRAMES.
    * If the extracted paragraphs are in their correct categories, you can create new TOC styles for the TOC entries, or, if they exist, assign them in the TOC setup dialog box, and regenerate.
    If this result gives you a sense of what needs fixing, and you have the time, refine the TOC styles so you can get the exact appearance you want. By avoiding changing the source paragraphs in the main document, you'll avoid any risk of reflowing anything. Finally, after the project's completely done and handed off, you can spend time refining the rogue source paragraph styles, IN A COPY, for use going forward.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for