Name Index and Scripture Index
Posted: 2013-05-16 07:32:53
Can I have two macros? One for Name Index and another one for Scripture Index?
1. Name Index: to have names index that have first and last, or may be more (like Arabic names that go all the way to five or six generations). For locations, animals, plants, etc., the CompleteWordList macro is sufficient, since it lists in alphabetical order AND in uppercase/lowercase order. So, now I need person's name list, and let's call it Name Index.
This can be detected by commas. For example if there is a name and a comma, let the comma be the trigger to the macro to let it know that it is a one name, if there is no comma (or period) then any word with capital initial to be considered a complete name to be together in the list, of course WITHOUT the comma!. And the list the macro will generate to be as follows:
Name, how many times occurrs, on which pages.
2. Scripture Index. (this one is tricky). There are two ways to cite Scripture, the Western and the Armenian way. The Western uses English colon between chapter and verse, The Armenian colon looks like English period! and the period looks like English colon. So, if the macro detects both (for both languages), even better
A suggestion: how the macro to detect a Scripture citation, whether complete name or abbriviated? I think it should detect by looking at:
a. Capital initial of a word to which numbers are followed with colon (or period in the case of Armenian Scripture) in between them.
b. number:number (or for books with single chapter, number), whether single number or more, or even with different verses, like: 1,4,5-9,11
c. in the case of Armenian Scripture citation, the dividing character between chapter and verse is the "English" period, and the dividing character between chapters AND books is the "English" colon. Whereas the dividing character between chapters AND books in English is the semicolon! For example:
English: Exodus 1:2-10; 2:5.
Armenian: Ելից 1.2-10։ 2.5։
Where there is no book name, let the macro consider the numbers after the semicolon (E) or the "colon" (A) as part of the pervious book, so that, say, all the Exodus citings can be listed under Exodus with (of course) numeric order.
For different books, the Scripture citations are done this way: English: Genesis 1:1; Psalm 139:1. Armenian: Ծննդոց 1.1։ Սաղմոս 139.1։
When the issue comes to abbreviated book names, like Gn, or Gen for Genesis (Ծննդ. Armenian abreviation of Genesis), let the macro detect by the initial uppercase and chapter and verse numbers. And in case of more than one book of the same title, like I John, II John, III John, or 1 John, 2 John, 3 John, let the macro detect both the number (arabic or roman) and the initial uppercase of the word as a book title. And the list the macro will generate to be as follows:
Scripture citation, how many times occurrs, on which pages.
thanx,
Windsor
1. Name Index: to have names index that have first and last, or may be more (like Arabic names that go all the way to five or six generations). For locations, animals, plants, etc., the CompleteWordList macro is sufficient, since it lists in alphabetical order AND in uppercase/lowercase order. So, now I need person's name list, and let's call it Name Index.
This can be detected by commas. For example if there is a name and a comma, let the comma be the trigger to the macro to let it know that it is a one name, if there is no comma (or period) then any word with capital initial to be considered a complete name to be together in the list, of course WITHOUT the comma!. And the list the macro will generate to be as follows:
Name, how many times occurrs, on which pages.
2. Scripture Index. (this one is tricky). There are two ways to cite Scripture, the Western and the Armenian way. The Western uses English colon between chapter and verse, The Armenian colon looks like English period! and the period looks like English colon. So, if the macro detects both (for both languages), even better

A suggestion: how the macro to detect a Scripture citation, whether complete name or abbriviated? I think it should detect by looking at:
a. Capital initial of a word to which numbers are followed with colon (or period in the case of Armenian Scripture) in between them.
b. number:number (or for books with single chapter, number), whether single number or more, or even with different verses, like: 1,4,5-9,11
c. in the case of Armenian Scripture citation, the dividing character between chapter and verse is the "English" period, and the dividing character between chapters AND books is the "English" colon. Whereas the dividing character between chapters AND books in English is the semicolon! For example:
English: Exodus 1:2-10; 2:5.
Armenian: Ելից 1.2-10։ 2.5։
Where there is no book name, let the macro consider the numbers after the semicolon (E) or the "colon" (A) as part of the pervious book, so that, say, all the Exodus citings can be listed under Exodus with (of course) numeric order.
For different books, the Scripture citations are done this way: English: Genesis 1:1; Psalm 139:1. Armenian: Ծննդոց 1.1։ Սաղմոս 139.1։
When the issue comes to abbreviated book names, like Gn, or Gen for Genesis (Ծննդ. Armenian abreviation of Genesis), let the macro detect by the initial uppercase and chapter and verse numbers. And in case of more than one book of the same title, like I John, II John, III John, or 1 John, 2 John, 3 John, let the macro detect both the number (arabic or roman) and the initial uppercase of the word as a book title. And the list the macro will generate to be as follows:
Scripture citation, how many times occurrs, on which pages.
thanx,
Windsor