Issue 94565 - Alphabetical index: allow marking pages as entry range even if the keyword doesn't appear on every page
Summary: Alphabetical index: allow marking pages as entry range even if the keyword do...
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.0
Hardware: PC Linux, all
: P3 Trivial with 11 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo, oooqa
Depends on:
Reported: 2008-10-02 08:06 UTC by nicklevinson
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---

Native OOo Writer 2.4.0 file with indexes. (42.53 KB, application/vnd.oasis.opendocument.text)
2008-10-03 03:06 UTC, nicklevinson
no flags Details
a quick idea (138.69 KB, image/png)
2010-07-31 01:02 UTC, mr80
no flags Details
an idea :-) (40.17 KB, image/png)
2010-08-08 01:42 UTC, nicobo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description nicklevinson 2008-10-02 08:06:49 UTC
I selected a paragraph, turned it into an index entry, and created an index. I
inserted a page break into the middle and recreated the index. What I hoped for
is that the index would update itself so that what was on page 1 was now indexed
as being on pages 1-2. But it cited only page 1.

Passage-oriented is appropriate for indexing discussions or topics. Perhaps what
you've written in a biography includes medical background, and what you've
written about kidneys stretches from p. 32 to p. 35 even though you use the word
"kidney" only once.

Editing has to be accommodated. You may rethink your biography and add pages to
the front. The index should automatically reflect that change when you create a
new index from the existing entries.

Thus, Writer 2.4 > Insert menu > Indexes and tables > Entry dialog should have a
way to recognize the beginning and the end of a passage that should define an
index entry. E.g., with page breaks as indicated,

We [p. 2:] the people in order [p. 3:] to form a more [p. 4:] perfect union

should support an index entry such as

people ................ 1-4

as readily as it would support

people .................. 2

(I don't know if indexers call it "passage-oriented"; maybe there's a term of
art for the entry type.)


Comment 1 michael.ruess 2008-10-02 11:58:47 UTC
Reassigned to ES.
Comment 2 eric.savary 2008-10-02 12:17:26 UTC
Please attach a sample document describing what you wish.
Comment 3 nicklevinson 2008-10-03 03:06:58 UTC
Created attachment 56991 [details]
Native OOo Writer 2.4.0 file with indexes.
Comment 4 eric.savary 2008-10-03 11:33:26 UTC
Short said:
It can be useful to force the display of a page range ("4-10") for an
alphabetical index entry which does not appear on every page of the range.

Provided the word "apple" appears at p1 in the introduction of the document.
The main chapter about apples starts at page 4 and ends at page 10.
But the word "apple" itself only appears on pages 4,5,7,9 and 10.

Curently, the index will display:
Apple.............................1, 4, 5, 7, 9, 10

It should be possible to add for some entries a stop and end mark to mark a main
Apple.............................1, 4-10

Comment 5 helmut_lothar 2010-06-19 23:32:32 UTC
nicklevinson said: << I don't know if indexers call it "passage-oriented"; maybe
there's a term of art for the entry type. >>

The correct term is "Page ranges".

Page ranges give the reader a sense of how much material is discussed in a
particular reference. Some indexers only enter page ranges when they are three
pages in length or longer. Three schemes are typically used for coding index ranges:

1) Concatenation. The indexer enters an index marker on each page that discusses
a specific topic and the software automatically calculates the range (Scheme
used by OOo Writer).

2) Index markers at the beginning and end of a range. Only two index markers are
required, a “start” marker at the beginning of the range and an “end” marker at
the end of the range.

3) Bookmarks. Create a bookmark for the range and then link the index marker to
the bookmark (Scheme used by Ms Word).

When many pages are covered in a range, the concatenation method is very slow
because index markers have to be entered on every page. And then if you need to
edit the index heading, finding and changing each of the index markers in the
range can become exceedingly tedious. 

Bookmarks work well, but require an extra step to setup the bookmark. Some
software packages offer concatenation along with options 2 and 3.

The simplest solution might be the number 2


Start marker: CTRL + Command button [Insert]

Text boxes keep inserted text.

End markers: ALT + Command button [Insert]


Command button [Delete] remove index entry

CTRL + Command button [Delete] remove Start marker

CTRL + Command button [OK] insert new Start marker

ALT + Command button [Delete] remove End marker

ALT + Command button [OK] insert new End marker

Perhaps should be a particular field of shading to range page, so you can locate
range page more easily.

Comment 6 renebartez 2010-06-20 11:49:46 UTC
I prefer the solution number 3 (Bookmarks).

Although we must redesign the UI, is the solution used by Microsoft Word:
- Facilitates migration to Writer.
- Simplifies the solution for Issue 24250

Comment 7 nicklevinson 2010-06-24 17:19:32 UTC
To helmut_lothar: It's a page range only after pagination is applied to a 
document. Before that, we need a different term for the content in question, 
since we can never be sure that it can't fit on one page until someone 
specifies page size, font dimensions, etc., while just the word "purple" might 
spread over two pages, as "pur-"/"ple". The term might be "prepagination range".

I like the start-stop framing idea; bookmarking could be adapted so, to the 
user, it seems to be part of the indexing process. In the absence of that for 
any particular passage, normal word boundaries would define an entry; and the 
page number in the index could be wherever the word range begins, essentially 
as happens now.

Concatenation is a problem when adjacent pages use the same index word but 
they're really to be indexed separately.
Comment 8 vovorban 2010-07-27 01:19:25 UTC
*** Issue 94565 has been confirmed by votes. ***
Comment 9 mr80 2010-07-31 01:02:01 UTC
Created attachment 70895 [details]
a quick idea
Comment 10 mr80 2010-07-31 01:05:12 UTC
With Microsoft Word in addition to marking words and phrases for inclusion in
your index, you can also mark blocks of text that span multiple pages.
To mark text that spans multiple pages, you’ll first need to bookmark it in your

1. Select the text you want to index. Open the Insert ribbon and click Bookmark
in the Links section. Add a name in the Bookmark name box. Click Add.

2. Open the References tab and click Mark Entry in the Index section.
Enter the index entry for the marked text in the Main entry box. Click Page
range under options. Enter the bookmark name in the Bookmark box. Click Mark.

I proposed a similar solution, but to use the Navigator window to insert an
index entry on a block of text marked with a bookmark.
When you edit this type of Index Entry, should be highlighted the block of text
marked with the bookmark.
It would help to resolve the Issue 24250
Should not change the UI.

Greetings to all

See Attachment
Comment 11 nicobo 2010-08-08 01:42:54 UTC
Created attachment 71007 [details]
an idea :-)
Comment 12 nicobo 2010-08-08 01:44:10 UTC
I presented a possible user interface for Issue 104691, with minor modifications
can be adapted to this issue.