summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/01/04120250.xhp
blob: aa72e7fa2a0bc713b5165a153b1147d6eadccf58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="UTF-8"?>



<!--
 ***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************
 -->


		<helpdocument version="1.0">
<meta>
<topic id="textswriter0104120250xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Edit Concordance File</title>
<filename>/text/swriter/01/04120250.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3148768"><bookmark_value>editing; concordance files</bookmark_value>
<bookmark_value>concordance files; definition</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/HID_DLG_CREATE_AUTOMARK" id="bm_id3147169" localize="false"/><paragraph role="heading" id="hd_id3148768" xml-lang="en-US" level="1" l10n="U" oldref="1">Edit Concordance File</paragraph>
<paragraph role="paragraph" id="par_id3151180" xml-lang="en-US" l10n="CHG" oldref="2"><ahelp hid="HID_DLG_CREATE_AUTOMARK">Create or edit a list of words to include in an Alphabetical Index.</ahelp> A concordance file lists words that should be referenced in an alphabetical index, together with the page number(s) where they appear in the document.</paragraph>
<paragraph role="paragraph" id="par_id837427" xml-lang="en-US" l10n="NEW">You can use the Find All button on the Find &amp; Replace dialog to highlight all places where a word appears, then open the Insert Index Entry dialog to add that word and places to the alphabetical index. However, if you need the same set of alphabetical indexes in multiple documents, the concordance file allows to enter every word just once, then use the list many times.<comment>i61650</comment></paragraph>
<paragraph role="heading" id="hd_id3154645" xml-lang="en-US" level="2" l10n="U" oldref="19">To access the Edit Concordance File dialog:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3149292" xml-lang="en-US" l10n="U" oldref="20">Choose <emph>Insert - Indexes and Tables - Indexes and Tables - Index/Table</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145420" xml-lang="en-US" l10n="U" oldref="21">In the <emph>Type </emph>box, select "Alphabetical Index".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154107" xml-lang="en-US" l10n="U" oldref="22">In the <emph>Options </emph>area, select the <emph>Concordance file</emph> check box.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153668" xml-lang="en-US" l10n="U" oldref="23">Click the <emph>File</emph> button, and then choose <emph>New</emph> or <emph>Edit</emph>.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3154470" xml-lang="en-US" l10n="U" oldref="24">A concordance file contains the following fields: </paragraph>
<paragraph role="paragraph" id="par_id3152953" xml-lang="en-US" l10n="U" oldref="3">"Search term" refers to the index entry that you want to mark in the document.</paragraph>
<paragraph role="paragraph" id="par_id3155896" xml-lang="en-US" l10n="U" oldref="4">"Alternative entry" refers to the index entry that you want to appear in the index.</paragraph>
<paragraph role="paragraph" id="par_id3154194" xml-lang="en-US" l10n="U" oldref="5">The 1st and 2nd Keys are parent index entries. The "Search term" or the "Alternative entry" appears as a subentry under the 1st and 2nd Keys.</paragraph>
<paragraph role="paragraph" id="par_id3155184" xml-lang="en-US" l10n="U" oldref="6">"Match case" means that uppercase and lowercase letters are considered.</paragraph>
<paragraph role="paragraph" id="par_id3143282" xml-lang="en-US" l10n="U" oldref="7">"Word only" searches for the term as a single word.</paragraph>
<paragraph role="note" id="par_id3147220" xml-lang="en-US" l10n="U" oldref="8">To enable the "Match case" or "Word only" options, click in the corresponding cell, and then select the check box.</paragraph>
<paragraph role="heading" id="hd_id3153629" xml-lang="en-US" level="2" l10n="U" oldref="25">To create a concordance file without the Edit Concordance File dialog:</paragraph>
<paragraph role="paragraph" id="par_id3153644" xml-lang="en-US" l10n="U" oldref="9">Use the following format guidelines when you create a concordance file:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3152770" xml-lang="en-US" l10n="U" oldref="10">Each entry in the concordance file is on a separate line.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3155142" xml-lang="en-US" l10n="U" oldref="26">Commented lines start with #.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153354" xml-lang="en-US" l10n="U" oldref="11">Use the following format for the entries:</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3149172" xml-lang="en-US" l10n="U" oldref="12">Search term;Alternative entry;1st key;2nd key;Match case;Word only</paragraph>
<paragraph role="paragraph" id="par_id3156270" xml-lang="en-US" l10n="U" oldref="13">The entries "Match case" and "Word only" are interpreted as "No" or FALSE if they are empty or zero (0). All other contents are interpreted as "Yes" or TRUE.</paragraph>
<paragraph role="heading" id="hd_id3145778" xml-lang="en-US" level="3" l10n="U" oldref="27">Example</paragraph>
<paragraph role="paragraph" id="par_id3155907" xml-lang="en-US" l10n="U" oldref="14">For example, to include the word "Boston" in your alphabetical index under the "Cities" entry, enter the following line in the concordance file:</paragraph>
<paragraph role="paragraph" id="par_id3151370" xml-lang="en-US" l10n="CHG" oldref="15">Boston;Boston;Cities;;0;0 <comment>UFI: translate this with same name as in par_id3155907. Pay attention to the following paras also</comment></paragraph>
<paragraph role="paragraph" id="par_id3151383" xml-lang="en-US" l10n="U" oldref="16">This also finds "Boston" if it is written in lowercase letters.</paragraph>
<paragraph role="paragraph" id="par_id3155866" xml-lang="en-US" l10n="U" oldref="17">To include the "Beacon Hill" district in Boston under the "Cities" entry, enter the following line:</paragraph>
<paragraph role="paragraph" id="par_id3150116" xml-lang="en-US" l10n="CHG" oldref="18">Beacon Hill;Boston;Cities; </paragraph>
</body>
</helpdocument>