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