1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3cdf0e10cSrcweir
4cdf0e10cSrcweir
5*82a1df74SAndrew Rist<!--***********************************************************
6cdf0e10cSrcweir *
7*82a1df74SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
8*82a1df74SAndrew Rist * or more contributor license agreements.  See the NOTICE file
9*82a1df74SAndrew Rist * distributed with this work for additional information
10*82a1df74SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
11*82a1df74SAndrew Rist * to you under the Apache License, Version 2.0 (the
12*82a1df74SAndrew Rist * "License"); you may not use this file except in compliance
13*82a1df74SAndrew Rist * with the License.  You may obtain a copy of the License at
14*82a1df74SAndrew Rist *
15*82a1df74SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
16*82a1df74SAndrew Rist *
17*82a1df74SAndrew Rist * Unless required by applicable law or agreed to in writing,
18*82a1df74SAndrew Rist * software distributed under the License is distributed on an
19*82a1df74SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20*82a1df74SAndrew Rist * KIND, either express or implied.  See the License for the
21*82a1df74SAndrew Rist * specific language governing permissions and limitations
22*82a1df74SAndrew Rist * under the License.
23*82a1df74SAndrew Rist *
24*82a1df74SAndrew Rist ***********************************************************-->
25*82a1df74SAndrew Rist
26*82a1df74SAndrew Rist
27cdf0e10cSrcweir
28cdf0e10cSrcweir
29cdf0e10cSrcweir		<helpdocument version="1.0">
30cdf0e10cSrcweir<meta>
31cdf0e10cSrcweir<topic id="textswriter0104120250xml" indexer="include" status="PUBLISH">
32cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Edit Concordance File</title>
33cdf0e10cSrcweir<filename>/text/swriter/01/04120250.xhp</filename>
34cdf0e10cSrcweir</topic>
35cdf0e10cSrcweir</meta>
36cdf0e10cSrcweir<body>
37cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3148768"><bookmark_value>editing; concordance files</bookmark_value>
38cdf0e10cSrcweir<bookmark_value>concordance files; definition</bookmark_value>
39cdf0e10cSrcweir</bookmark>
40cdf0e10cSrcweir<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>
41cdf0e10cSrcweir<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>
42cdf0e10cSrcweir<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>
43cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154645" xml-lang="en-US" level="2" l10n="U" oldref="19">To access the Edit Concordance File dialog:</paragraph>
44cdf0e10cSrcweir<list type="ordered">
45cdf0e10cSrcweir<listitem>
46cdf0e10cSrcweir<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>
47cdf0e10cSrcweir</listitem>
48cdf0e10cSrcweir<listitem>
49cdf0e10cSrcweir<paragraph role="listitem" id="par_id3145420" xml-lang="en-US" l10n="U" oldref="21">In the <emph>Type </emph>box, select "Alphabetical Index".</paragraph>
50cdf0e10cSrcweir</listitem>
51cdf0e10cSrcweir<listitem>
52cdf0e10cSrcweir<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>
53cdf0e10cSrcweir</listitem>
54cdf0e10cSrcweir<listitem>
55cdf0e10cSrcweir<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>
56cdf0e10cSrcweir</listitem>
57cdf0e10cSrcweir</list>
58cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154470" xml-lang="en-US" l10n="U" oldref="24">A concordance file contains the following fields: </paragraph>
59cdf0e10cSrcweir<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>
60cdf0e10cSrcweir<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>
61cdf0e10cSrcweir<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>
62cdf0e10cSrcweir<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>
63cdf0e10cSrcweir<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>
64cdf0e10cSrcweir<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>
65cdf0e10cSrcweir<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>
66cdf0e10cSrcweir<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>
67cdf0e10cSrcweir<list type="unordered">
68cdf0e10cSrcweir<listitem>
69cdf0e10cSrcweir<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>
70cdf0e10cSrcweir</listitem>
71cdf0e10cSrcweir<listitem>
72cdf0e10cSrcweir<paragraph role="listitem" id="par_id3155142" xml-lang="en-US" l10n="U" oldref="26">Commented lines start with #.</paragraph>
73cdf0e10cSrcweir</listitem>
74cdf0e10cSrcweir<listitem>
75cdf0e10cSrcweir<paragraph role="listitem" id="par_id3153354" xml-lang="en-US" l10n="U" oldref="11">Use the following format for the entries:</paragraph>
76cdf0e10cSrcweir</listitem>
77cdf0e10cSrcweir</list>
78cdf0e10cSrcweir<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>
79cdf0e10cSrcweir<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>
80cdf0e10cSrcweir<paragraph role="heading" id="hd_id3145778" xml-lang="en-US" level="3" l10n="U" oldref="27">Example</paragraph>
81cdf0e10cSrcweir<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>
82cdf0e10cSrcweir<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>
83cdf0e10cSrcweir<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>
84cdf0e10cSrcweir<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>
85cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150116" xml-lang="en-US" l10n="CHG" oldref="18">Beacon Hill;Boston;Cities; </paragraph>
86cdf0e10cSrcweir</body>
87cdf0e10cSrcweir</helpdocument>
88