1<?xml version="1.0" encoding="UTF-8"?>
2
3
4
5<!--
6 ***********************************************************************
7 *
8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 *
10 * Copyright 2000, 2010 Oracle and/or its affiliates.
11 *
12 * OpenOffice.org - a multi-platform office productivity suite
13 *
14 * This file is part of OpenOffice.org.
15 *
16 * OpenOffice.org is free software: you can redistribute it and/or modify
17 * it under the terms of the GNU Lesser General Public License version 3
18 * only, as published by the Free Software Foundation.
19 *
20 * OpenOffice.org is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 * GNU Lesser General Public License version 3 for more details
24 * (a copy is included in the LICENSE file that accompanied this code).
25 *
26 * You should have received a copy of the GNU Lesser General Public License
27 * version 3 along with OpenOffice.org.  If not, see
28 * <http://www.openoffice.org/license.html>
29 * for a copy of the LGPLv3 License.
30 *
31 ************************************************************************
32 -->
33
34
35		<helpdocument version="1.0">
36<meta>
37<topic id="textswriter0104120250xml" indexer="include" status="PUBLISH">
38<title id="tit" xml-lang="en-US">Edit Concordance File</title>
39<filename>/text/swriter/01/04120250.xhp</filename>
40</topic>
41</meta>
42<body>
43<bookmark xml-lang="en-US" branch="index" id="bm_id3148768"><bookmark_value>editing; concordance files</bookmark_value>
44<bookmark_value>concordance files; definition</bookmark_value>
45</bookmark>
46<bookmark xml-lang="en-US" branch="hid/SW_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>
47<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>
48<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>
49<paragraph role="heading" id="hd_id3154645" xml-lang="en-US" level="2" l10n="U" oldref="19">To access the Edit Concordance File dialog:</paragraph>
50<list type="ordered">
51<listitem>
52<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>
53</listitem>
54<listitem>
55<paragraph role="listitem" id="par_id3145420" xml-lang="en-US" l10n="U" oldref="21">In the <emph>Type </emph>box, select "Alphabetical Index".</paragraph>
56</listitem>
57<listitem>
58<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>
59</listitem>
60<listitem>
61<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>
62</listitem>
63</list>
64<paragraph role="paragraph" id="par_id3154470" xml-lang="en-US" l10n="U" oldref="24">A concordance file contains the following fields: </paragraph>
65<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>
66<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>
67<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>
68<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>
69<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>
70<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>
71<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>
72<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>
73<list type="unordered">
74<listitem>
75<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>
76</listitem>
77<listitem>
78<paragraph role="listitem" id="par_id3155142" xml-lang="en-US" l10n="U" oldref="26">Commented lines start with #.</paragraph>
79</listitem>
80<listitem>
81<paragraph role="listitem" id="par_id3153354" xml-lang="en-US" l10n="U" oldref="11">Use the following format for the entries:</paragraph>
82</listitem>
83</list>
84<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>
85<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>
86<paragraph role="heading" id="hd_id3145778" xml-lang="en-US" level="3" l10n="U" oldref="27">Example</paragraph>
87<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>
88<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>
89<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>
90<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>
91<paragraph role="paragraph" id="par_id3150116" xml-lang="en-US" l10n="CHG" oldref="18">Beacon Hill;Boston;Cities; </paragraph>
92</body>
93</helpdocument>
94