Table of Contents into existing text fame?

Hi there,
I'm looking to put a table of contents about halfway down a page that has content on it (paragraph > ToC > another paragraph). I don't want the ToC in its own text frame, because if the copy/layout before it changes, it'll be in the wrong place...
Is there a way to do this without copying/pasting the ToC into the text frame (which doesn't permit me to update the ToC)?
Thanks in advance!
- steve

flossdaily wrote:
Hi there,
I'm looking to put a table of contents about halfway down a page that has content on it (paragraph > ToC > another paragraph). I don't want the ToC in its own text frame, because if the copy/layout before it changes, it'll be in the wrong place...
Is there a way to do this without copying/pasting the ToC into the text frame (which doesn't permit me to update the ToC)?
Thanks in advance!
- steve
The TOC needs to be in a frame that's not threaded to others, but is able to grow and shrink to contain its content, and also resize in relation to frames around it.
Typefi systems' InDesign CS4 free Auto-fit plug-in probably can do what you want, but there's no sign of a CS5 version at this time.
http://www.typefi.com/index.php/typefi-autofit
The commercial Blatner Tools has an autopage component probably can also do what you want.
www.dtptools.com/help.asp?id=108
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices

Similar Messages

  • [Perm] TABLES: import contents into existing format

    I'm creating about 20 tables that have the same complex formatting: row stroke widths, color of strokes, fills, etc. Would like to import the data (from Word tables originally created in excel) . Is there a way to import data without recreating each an every table I import into InDesign?
    I suggested a "table style" to Adobe several months ago; that would be the ideal solution. What can I use now?

    Cherie,
    I have posted a script (it's actually in message 26 of the long topic on pasting unformatted text) that will import the clipboard contents into part of an existing table in such a way that the new contents retains the old formatting.
    You can find the script here:
    Populate Table From Clipboard along with a description of how to use it.
    Basically, you:
    1. Open your Excel worksheet
    2. Copy and paste the range of cells you want to update to the clipboard
    3. Switch to your InDesign document and click in the top left cell where you want the updated data to start.
    4. Run the script.
    The new data replaces the old using the formatting of the old (provided that you have used only paragraph styles to do that formatting: any use of character styles within the cells will be lost).
    Hope this helps.
    Dave

  • How to create, place, format and paste the clipboard contents into a text frame

    I am new to scripting and need help. I have an existing Indesign document. I need to be able to create a text frame on my current page, the width of my margins with the top of the text frame at the top margin and 1" in height, then format it to be 1-column, and then paste the clipboard contents into it and tag the text with a particular paragraph style. I am using Indesign CS4 on a mac, if that makes any difference. Thanks for any help.

    May this will help you. It will create an anchored object with a text what you desired, with object style. You should create an object style before with the x and y co ordinates. You can choose either para style or character style.
    var the_document = app.documents.item(0);
    // Create a list of paragraph styles
    var list_of_paragraph_styles = the_document.paragraphStyles.everyItem().name;
    // Create a list of character styles
    var list_of_character_styles = the_document.characterStyles.everyItem().name;
    // Create a list of object styles
    var list_of_object_styles = the_document.objectStyles.everyItem().name;
    // Make dialog box for selecting the styles
    var the_dialog = app.dialogs.add({name:"Create anchored text frames"});
    with(the_dialog.dialogColumns.add()){
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Make the anchored frames from ..."});
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"This character style:"});
    var find_cstyle = dropdowns.add({stringList:list_of_character_styles, selectedIndex:0});
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Or this paragraph style:"});
    var find_pstyle = dropdowns.add({stringList:list_of_paragraph_styles, selectedIndex:0});
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Leave one dropdown unchanged!"});
    dialogRows.add();
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Delete matches?"});
    var delete_refs = dropdowns.add({stringList:["Yes","No"], selectedIndex:0});
    dialogRows.add();
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Anchored text frame settings:"});
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Object style:"});
    var anchor_style = dropdowns.add({stringList:list_of_object_styles, selectedIndex:0});
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Frame width:"});
    var anchor_width = measurementEditboxes.add({editUnits:MeasurementUnits.MILLIMETERS, editValue:72});
    with(dialogRows.add()){
    staticTexts.add({staticLabel:"Frame height:"});
    var anchor_height = measurementEditboxes.add({editUnits:MeasurementUnits.MILLIMETERS, editValue:72});
    the_dialog.show();
    // Define the selected styles
    var real_find_cstyle = the_document.characterStyles.item(find_cstyle.selectedIndex);
    var real_find_pstyle = the_document.paragraphStyles.item(find_pstyle.selectedIndex);
    var real_anchor_style = the_document.objectStyles.item(anchor_style.selectedIndex);
    // Check if a style is selected
    if(find_cstyle.selectedIndex != 0 || find_pstyle.selectedIndex != 0) {
    // Define whether to search for character styles or paragraph styles
    app.findChangeGrepOptions.includeFootnotes = false;
    app.findChangeGrepOptions.includeHiddenLayers = false;
    app.findChangeGrepOptions.includeLockedLayersForFind = false;
    app.findChangeGrepOptions.includeLockedStoriesForFind = false;
    app.findChangeGrepOptions.includeMasterPages = false;
    if(find_cstyle.selectedIndex != 0) {
    app.findGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.appliedCharacterStyle = real_find_cstyle;
    } else {
    app.findGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.appliedParagraphStyle = real_find_pstyle;
    app.findGrepPreferences.findWhat = "^";
    // Search the document
    var found_items = the_document.findGrep();
    myCounter = found_items.length-1;
    do {
    // Select and copy the found text
    var current_item = found_items[myCounter];
    if(find_pstyle.selectedIndex != 0) {
    var found_text = current_item.paragraphs.firstItem();
    var insertion_character = (found_text.characters.lastItem().index) + 1;
    var check_insertion_character = insertion_character + 1;
    var alt_insertion_character = (found_text.characters.firstItem().index) - 1;
    var the_story = found_text.parentStory;
    app.selection = found_text;
    if(delete_refs.selectedIndex == 0) {
    app.cut();
    } else {
    app.copy();
    } else {
    var found_text = current_item;
    var insertion_character = (found_text.characters.lastItem().index) + 2;
    var check_insertion_character = insertion_character;
    var alt_insertion_character = (found_text.characters.firstItem().index) - 1;
    var the_story = found_text.parentStory;
    app.selection = found_text;
    if(delete_refs.selectedIndex == 0) {
    app.cut();
    } else {
    app.copy();
    // Make text frame from selection
    try {
    app.selection = the_story.insertionPoints[check_insertion_character];
    app.selection = the_story.insertionPoints[insertion_character];
    } catch(err) {
    app.selection = the_story.insertionPoints[alt_insertion_character];
    var the_anchored_frame = app.selection[0].textFrames.add({geometricBounds:["0","0",anchor_height.editContents,anch or_width.editContents],anchoredObjectSettings:{anchoredPosition: AnchorPosition.ANCHORED}});
    app.selection = the_anchored_frame.insertionPoints[0];
    app.paste();
    // Apply the object style now to "force apply" paragraph style set in the object style
    if(anchor_style.selectedIndex != 0) {
    the_anchored_frame.appliedObjectStyle = real_anchor_style;
    myCounter--;
    } while (myCounter >= 0);
    } else {
    alert("No styles selected!");

  • Is there a way to generate table of contents into page links?

    I have created a PDF document from a data modeling tool.  After the document is created I am looking to generate page links en masse from the table of contents to the appropriate referenced page.  I know I can add links one at a time, but that is too time consuming.  Please give me a clue, this is driving me crazy.  Thanks for any help.

    Hi,
    Thanks for the reply. I am new to the adobe and to the javascript.
    I would appreciate if you can guide me as to where can I get the online help on javascript related to Adobe Print and Interactive Forms.

  • Add pages before the table of content into the table of content

    Hey,
    I was wondering if someone can help me. I'm writing my dissertation and I have to include an abstract and acknowledgments before the table of content ( written on pages 1 and 2). How can I get pages to include these pages within the table of contents written on page 3?
    Thanks
    Ordidge

    You can't get it in the TOC automatically. You can do it manually but you'll loose the updating feature of the TOC so do it when you are certain you are finished with the document.
    What you do is copy the whole TOC and paste it in Textedit. Here you can do all the changes you want. Copy it again and paste it back in the Pages document.
    Also read this
    http://support.apple.com/kb/TS2127?viewlocale=en_US

  • Table of contents creation deletes text of entire document

    Every time I try to create a TOC for the document I'm working on, InDesign either tells me the TOC has been updated — in which case the entire text of the document has just disappeared — or else it loads the cursor and gives me nothing but the title "Contents". Am I doing something obviously wrong?
    (I've already done the IDML round-trip and the delete preferences.)
    Thanks! — Jeremy

    Thanks, Uwe.
    When I initially created the TOC, I put it into a separate story, and the TOC was empty — but the main text (which is in another single story) remained. Then when I updated the TOC, the main story was replaced with the word "Conents" (same as the TOC).
    So I have no clue what's going on either! It must be some sort of file corruption not repaired by the IDML round-trip. Your own bafflement suggested that file corruption was the problem rather than some silly mistake I was making.
    However, great news: I made a new document, pasted the main story into it, and now everything seems to be working in this new document.
    Many thanks again for your help, especially since I foolishly posted my question in the wrong forum.

  • Put PHP Content into Dynamic Text Field

    How do I put the contents of a php document into a dynamic
    text field in a Flash document? Thanks.
    G

    Do you mean an html document generated from a PHP script?
    Do you mean the source of a PHP script?
    Probably you mean you want to format a page such as a PHP
    script would do.
    That is done either manually inside a Flash movie or
    dynamically via
    Actionscripting. Then you only send data back and forth
    between PHP and
    Flash using either the LoadVars or the XML Actionscript
    classes. You can use
    HTML inside of Flash TextField objects but again that will be
    data sent from
    the PHP server script.
    Here are some basic examples I use in Flash seminars you can
    look at:
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/LoadVars/LoadVarsEx01.php
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/LoadVars/Ex02/LoadVarsEx02.p hp
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/GenerateFlashObjectsFromPHP/ Ex01/GenerateFlashObjectsFromPHPEx01_Doc.php
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHPEchoEx01_D oc.php
    You also want to look at the docs for LoadVars and XML
    sendAndLoad methods:
    XML
    http://livedocs.macromedia.com/flash/8/main/00002879.html
    LoadVars
    http://livedocs.macromedia.com/flash/8/main/00002336.html
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "gena.wenli" <[email protected]> wrote in
    message
    news:e5g6av$lpv$[email protected]..
    How do I put the contents of a php document into a dynamic
    text field in a
    Flash document? Thanks.
    G

  • Sum of Table column contents into a last row with respect to column

    In a WebDynpro for java application,
      Need to sum up all the table with respect to column, at the last Row of the table with respect to column.
    Only one table should be present for contents as well for the total.
    Please help me.
    Edited by: devender vadithyabadabath on Jan 12, 2008 11:54 AM

    Hi,
    you must add e last element at the end of you Nodeelements.
    I<yourNode>Node node1 = wdContext.node<;yourNode>;
    I<yourNode>Element element = node1.create<;yourNode>element.;
    Iterate over the your node element to build your sum of each and than add this sum to the last row of your table.
    element.set<;yourAttribute>(sum);
    node1.addElement(element);
    I hope this helps
    regards
    Gunter

  • Inserting text into existing text in Powerpoint

    Hi
    I have a text like "I have included xxx in the quote." in a slide. How can I insert text such as '8 items per head' in place of xxx via code?
    Thanks
    Regards

    Hi,
    >> How can I insert text such as '8 items per head' in place of xxx via code .
    You can use Replace () method to replace "xxx" .Here is the sample code for you , which you can refer to replace "XXX" in the textRange in your PowerPoint  
    Set myDocument = ActivePresentation.Slides(2)
    Dim str
    For Each s In myDocument.Shapes
    If s.HasTextFrame And s.TextFrame.HasText Then
      str = s.TextFrame.TextRange.Text
      s.TextFrame.TextRange.Text = Replace(str, "xxx", "8 items per head")
       End If
    Next
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Writing the hashtable content (both keys and values) into a text file

    Hello,
    I have a hashtable which have some keys and respective values in it. Now I want to write all thoses content into a text or log file. Can anyone please tell me how to write it.
    thanks,
    chaitanya

    Properties is a subclass of Hashtable. It'll probably work just fine as a drop-in replacement.
    Otherwise...if all keys and values are text, then loop through the Entry objects in the Map in question (Hashtable is a Map, and you probably shouldn't be using Hashtable anyway), or loop through the keys and grab the corresponding value for the keys. Read the API docs for java.util.Map. It's pretty straightforward.

  • Trying to send copy/pasted content into a mass text message

    I have composed a message (some copied and pasted from an online bible) (and also commentary that I add to it) and saved it as a draft in my yahoo email on my computer. I save it as a draft. I open the draft on my iPhone 4. Then copy/paste content into a text message to send to my congregation. Many of the recipients of the text get duplicate messages with no/or partial content. I have contacted my carrier and I am fully set up to send receive both sms and mms.
    What could be the cause of this?
    How can I fix it so that the receivers of my daily message get it properly?

    When i create a message on my iPhone4 and save it into notes. it goes to my draft ( Mail ) on my computer. That tells me that there is no difference in where i create the message at. But between the copying and pasting i'm losing or something is being changed. Some of my friends are getting multiple messages and some are getting blank pages. We all have different carriers. ( T Mobile, Sprint,Verzion ) I'm waiting on another phone so i can use both of them to see if i can get my messages out

  • Table of contents from lists or character styles

    I have a legal document and I want to create a table of contents that includes, not just Headings (Article I, II, III, etc.) but also the sub headings (eg: Artilcle IV.3) which were created as numbered lists.  If I give the list item a paragraph style it will put the whole text into the TOC.  If I put a carrige return after a List heading it makes the body text as a new number in the list.  Is there some wat to get either lists or character styles into the TOC? Can you have an in-line paragraph style? Here's what the document looks like:
    Article VII Heading
    List Heading.  body text...
    a)   Sublist heading body text
    b)   Sublist heading body text
    List Heading.  body text...
    Is there any way to do this so that the TOC reads something like this:
    Article I   Heading              ....... page 2
              2. List Heading          ....... page 2
                a) Sublist Heading   ....... page 2
                b) Sublist Heading   ....... page 2
              3. List Heading          ....... page 3
    Article II                              ....... page 3
    etc. ??
    I could do this manually, but this is document is being edited now and again and I don't want to have to change the TOC everytime we make a small chage to the document.
    Thanks,
    Brendan

    The numbering and lettering are automatically generated by the List I selected.
    It's been a few months since I did this, so I'm trying to remember exactly how the process went.
    I've edited Bylaws and Constitutions like this several times for several non-profit organizations over the years, first on MS-DOS with floppy-discs using WordPerfect, later Windows and MS-Word, and now Mac OS-X and Pages '09. With each new iteration of software it keeps getting less painful, but it's still not a piece of cake.
    This time, I began with scanned images of the last printed original copy (2008) for a document that no longer existed in any original computer format (1994). I imported the scans into Optical Character Recognition software included with my Canon printer/scanner.
    I was determined NOT to re-type the whole document from scratch, so the editing I describe WAS time-consuming and a bit tedious, but still a bit less painful that starting from scratch. I'm a volunteer and retired. A paid fast(er) touch-typist working in an office (and their supervisor) might strongly disagree!
    After cleaning up a few OCR-generated typos, I was also determined not to manually re-create the outline format and the table of contents if at all possible. Even 1980's WordPerfect on floppy discs could automatically generate an outline and a table of contents from marked text!
    I used Lists to generate the desired outline format similar to the original, in some cases, correcting errors, but as shown in the above example, there are a few A's without B's and so on, because the original document (1994) was formatted that way, and I didn't want to substantially re-write the Bylaws at this time. (Save that for another day!)
    As I edited, with the printed original by my computer, I did delete the original outline I's, A's, 1's a's, and so on as I went through, letting List do the re-numbering, and using Style to format the newly numbered headings.
    Simple shortcuts when auto-generating lists: a [Tab] moves the active heading to the next-lower designation, and [Shift]+[Tab] moves it to the next-higher designation. Occasionally, I have to just use [Delete] to back up over the suggested letter, and start over again with [Return] to force the next letter/number.
    And opening Inspector, Text, Lists, as shown in the example above, might help you more easily 'control' the outcome, as does Inspector, Document, TOC, noted earlier.
    Hope this helps!

  • How do I create a searchable table of contents in a pdf? please help.

    Hi,
    i need to insert a table of contents into a pdf that can be searchable - used for the purpose of clinking on the section and goign to it. Does anyone know how to do this?
    Thank you,
    melissa

    Hi meatmailbox,
    Welcome to the Support Communities!
    The best way to backup your iTunes library is to an external hard drive.  The article below will explain how to do this.   If you want the files on a CD or DVD, you would need to create playlists.  I'll include that information as well.
    iTunes: Back up your iTunes library by copying to an external hard drive
    http://support.apple.com/kb/HT1751
    iTunes 11 for Windows: Create your own CDs and DVDs
    http://support.apple.com/kb/PH12348
    Cheers,
    - Judy

  • Insert Table of Contents?

    Is there a way to insert a table of contents into a PDF (by marking sections, or some other way)? If so, how? Also, if I PDF 2 seperate Word documents, and then combine them into one PDF, is there a way to update the ToC?

    I know, but b/c of certain circumstances, the first part of the document requires a lot of preparation in PDF (inserting many many sound files) and the second part of the document may not be ready for PDFing until right before the deadline. So, is there a way to do it?

  • Upgrading from RH6 to RH7 - table of contents difference

    Hello -
    I created a project in RH6 and I upgraded to RH7. I made a
    copy of the project and opened in RH7 and the table of contents is
    not the same as the one created in RH6. It's missing books I
    created. Can anyone tell me what I might be able to do to get the
    TOC exactly as I had created? Is there a file that I can copy that
    contains this information form my RH6 project?
    I have both verions of the software on my desktop but I only
    run/open 1 version open at a time. Not sure if that has anything to
    do it with it but thought I 'd mention it.
    Thanks in advance -

    Hi Manola
    Assuming you are using RoboHelp HTML, behind the scenes the
    Table of Contents (TOC) exists as a file that uses the same name as
    your project, but with a file extension of .HHC. You could try
    copying the .HHC file from the old location to the new and see what
    happens.
    Normally RoboHelp just uses or points at the same .HHC when
    you upgrade. So your situation is very curious to say the least.
    Cheers... Rick

Maybe you are looking for

  • Is there any way to disable the "converting" process in QT Player?

    Every time I open a movie file in Quicktime Player, it goes through a process of "converting" the movie I opened. WHY??? Apple seems to be on a mission to alienate their creative professional user base. By forcing a conversion to Apple Pro Res, I've

  • Can no longer open my Compuserve email with Firefox

    As of 4 days ago I can no longer open my emails on my laptop. Compuserve helped change my internet explorer settings, disconnect my McAfee firewall, and allow all cookies. They advised the problem was that something in Mozilla was blocking the comple

  • Spry validation problem for long forms

    I used the Spry Validation Widgets for my form validation. It works great, BUT the problem is that if you have a very long form and the user doesn't fill in one of the top required fields, it doesn't scroll the browser back up to the required field,

  • How do I remove an app from the Accessibility tab of Privacy & Security?

    I have a few apps listed in the accessibility section of the Privacy and Security system preference pane. Below you can see there is an app called "update."  I'd like to remove it (and one other higher up on the list), and for the life of me I can't

  • Phase MAIN_SHDCRE/DBCLONE - EHP  upgrade taking long time

    Hi everyone, I'm installing SAP EHP6 and the SUM is on MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE for more than 12 hrs .To be precise it is trying to insert into "DYNPSOURCE~"  table from "DYNPSOURCE" table. The "DYNPSOURCE" table is around 560 MB. In sm5