Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table of Authorities in sequential order

Status
Not open for further replies.

mintjulep

Technical User
Aug 20, 2004
1,551
JP
Is there any (easy) way to generate a table of authorities in the order that they appear in the document rather than alphabetical order?
 
Forgive my ignorance. What is a "table of authorities"?

Cogito eggo sum – I think, therefore I am a waffle.
 
Can you not number them? Try to see if you can hide the number by changing font color. I've never worked with TOA, so that all I can offer.

A man has only two choices: He can be right or he can be happy.
 
Yes, you can number them.....

Except that TOA is alphabetized, so then you get

1
10
11
12
2
20
21

etc.
 
OK so I had to do some homework. All I can find so far is the ability to sort alphabetically ascending or descending, but no way to "not sort". I'll keep searching. We don't do legal stuff here, but I have an IT pal who does Office apps for a legal firm - I'll tap him this weekend.

Cogito eggo sum – I think, therefore I am a waffle.
 
AFAIK, Word does it alphabetically starting from the first character, with no option otherwise - at least when you are doing it the "easy" way (i.e. automatically).

However......

It is possible (but a major major pain in the butt, and frankly not usually worth the effort) if you VERY carefully use bookmarks and the \b switch. The \b switch creates the TOA for the indicated bookmark.

Example:

Cases
jumps over...........................2
The quick brown fox.................1,2

Even though "The quick brown fox" is on page 1, thus BEFORE "jumps over", it comes AFTER because of the alphabetically sorting.
By doing:

{TOA \b Page1 \c "1" \* MERGEFORMAT}
{TOA \b Page2 \c "1" \* MERGEFORMAT}

you end up with:

The quick brown fox...................1
jumps over............................2


as Page2 (which is page 2 bookmarked) comes AFTER the page1 bookmark.

Ugly and, as stated, a major major pain in the butt. NOT recommended in any production environment unless you are willing to do some serious and careful structuring. It can be done using VBA, but you had better have your logic pristinely accurate.

Further, using the fields in this manner does NOT - repeat not - allow you to use Insert > References and have the Category (e.g. Cases) at the top of the TOA.

What you can do, as "Cases" (or any other Category) is just text with a TOA style attached, is put "Cases" in....as text.

NOTE! As the entries are done by bookmark, if a citation is multiple, it will NOT be indicated a such.

"The quick brown fox jumps" is marked on both page 1 AND page 2, but........because each is a separate bookmark, it comes out as:

The quick brown fox jumps...............1
fox.....................................2
jumps over..............................2
The quick brown fox jumps...............2

rather than:

The quick brown fox jumps...............1, 2


"A little piece of heaven
without that awkward dying part."

advertisment for Reese's Peanut Butter Cups (a chocolate/peanut butter confection)

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top