Results 1 to 11 of 11
  1. #1
    New Lounger
    Join Date
    Feb 2003
    Location
    St. Louis, Missouri, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    I have created a style named "tag" which is bold, red, "New Times Roman"
    I have created a autoText named "tag_text" which is defined as
    FW:ID:LD:{SEC index * MERGEFORMAT }{ XE "FW:ID:LD:{SEQ index)" }

    If I do "Insert->AutoText->tag_text" three times in various places in the document, I get as expected the entrys "FW:ID:LD:1", "FW:ID:LD:2", "FW:ID:LD:3" inserted where I wish them to be inserted.

    My problem occurs when I use use "Insert->Index and Tables->OK" to build a table from text I just inserted at three locations. The table creation is using the "FW:ID:LD:{SEQ text}" string used to create the text "FW:ID:LD:1"

    any suggestions would be appreciated.

    By the way, the reason I am doing this is so I can insert sequential tags of various kinds into a document and automatically mark them for later use in creating an index of where all the tags in the document are located. I have hundreds of pages of documents I that need to have tags inserted into. Just trying to minimize my work load. Thanks for the help

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    I'm a little confused because you refer to SEC index, SEQ index, and SEQ text. Are these really all the same thing?

    I have to say, though, I do too little indexing to know whether you are running into a limitation of the way SEQ fields are "calculated," or something fixable.

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    If I understand you correctly, I think you're missing a c switch in the XE field. Try:

    FW:ID:LD:{ SEQ index * MERGEFORMAT }{ XE "FW:ID:LD:{ SEQ index c }" }

    Hope this helps.

  4. #4
    New Lounger
    Join Date
    Feb 2003
    Location
    St. Louis, Missouri, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    I tried using

    FW:ID:LD:{ SEQ index * MERGEFORMAT }{ XE "FW:ID:LD:{ SEQ index c }" }

    The results is that I get an entry in my index that is "FW:ID:LD:{SEQ index c}, 11"

    I tried with

    FW:ID:LD:{ SEQ index * MERGEFORMAT }{ XE "FW:ID:LD:"{ SEQ index c } }

    and I get an entry that is:

    "FW:ID:LD:,11"

  5. #5
    New Lounger
    Join Date
    Feb 2003
    Location
    St. Louis, Missouri, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    sorry... should be "SEQ"

  6. #6
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    I'm not sure what is it that you're trying to get. What result is it that you want? (I'm not sure that I'll have time before Monday to get back here.)

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    I think your AutoText approach should work, but you need to manually edit the number in the XE field to make sure it is an SEQ field an not a static number. This graphic illustrates how it can work with the c parameter:
    Attached Images Attached Images

  8. #8
    New Lounger
    Join Date
    Feb 2003
    Location
    St. Louis, Missouri, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    When I use:

    FW:ID:LD:{ SEQ index }{XE "FW:ID:LD:{SEQ index c }" }

    and create an index at the end of my document I get...

    FW:ID:LD:{SEQ index c}, 11

    in my index

    My document shows "FW:ID:LD:1" on page 11, but the index does not show "FW:ID:LD:1,11" but rather "LW:ID:LD:{SEQ index c},11"

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    See if you get the correct code after pressing Alt+F9 (maybe twice). I've tried doing it & I get what I think you want. By using autotext entries of:

    FW:ID:LD:{ SEQ index }{ XE " FW:ID:LD:{ SEQ index c }" }

    I scattered them throught a short document. When I created the index, my field codes for the index were:
    { INDEX c "2" }

    and the result was:

    FW:ID:LD:1, 1
    FW:ID:LD:2, 1
    FW:ID:LD:3, 2
    FW:ID:LD:4, 3

    If this doesn't work for you, post a portion of your document that includes the index & a few index entries.
    Cheers,

  10. #10
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    I guess all I can offer is the attached sample document. Does it look right? Can you find the difference?
    Attached Files Attached Files

  11. #11
    New Lounger
    Join Date
    Feb 2003
    Location
    St. Louis, Missouri, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: help - style, index and autotext (Word 2000 (9.0.6926 sp-3))

    That did the trick.

    Thanks a lot. I don't really see what I was doing wrong, but after doing a copy/paste from your document things are working as needed.

    :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •