summaryrefslogtreecommitdiff
path: root/source/text/swriter
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2020-09-01 21:59:41 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2020-09-02 12:31:11 +0200
commitbe1d676ede16a062fcb2d557856df8ab8481e179 (patch)
tree9beea4e4f38a4e8cf458e9760cbccda7e9e2f7e3 /source/text/swriter
parentba9b2f07f4ad9e49c4b390513d7c68a96393b3fe (diff)
tdf#136320 more on concordance files
Change-Id: I5eefaef62aa06ca917caea3e24fe5feb26a78b28 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/101903 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/swriter')
-rw-r--r--source/text/swriter/01/04120250.xhp82
1 files changed, 69 insertions, 13 deletions
diff --git a/source/text/swriter/01/04120250.xhp b/source/text/swriter/01/04120250.xhp
index f4342d174e..9ba60bb2b0 100644
--- a/source/text/swriter/01/04120250.xhp
+++ b/source/text/swriter/01/04120250.xhp
@@ -35,11 +35,13 @@
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/createautomarkdialog/CreateAutomarkDialog" id="bm_id3147169" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/createautomarkdialog/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/>
-<paragraph id="hd_id3148768" role="heading" level="1" xml-lang="en-US">Edit Concordance File</paragraph>
+<h1 id="hd_id3148768">Edit Concordance File</h1>
<paragraph id="par_id3151180" role="paragraph" xml-lang="en-US"><ahelp hid="modules/swriter/ui/createautomarkdialog/CreateAutomarkDialog">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 id="par_id837427" role="paragraph" xml-lang="en-US">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 you to enter every word just once, then use the list many times.<comment>i61650</comment></paragraph>
-<paragraph id="hd_id3154645" role="heading" level="2" xml-lang="en-US">To access the Edit Concordance File dialog:</paragraph>
+<note id="par_id771599006446118">The default filter for creating or opening concordance files is <literal>*.sdi</literal>. However, the file format of the concordance file is plain text.</note>
+
+<h2 id="hd_id3154645">To access the Edit Concordance File dialog:</h2>
<list type="ordered">
<listitem>
@@ -56,14 +58,68 @@
</listitem>
</list>
<paragraph id="par_id3154470" role="paragraph" xml-lang="en-US">A concordance file contains the following fields:</paragraph>
-<paragraph id="par_id3152953" role="paragraph" xml-lang="en-US">"Search term" refers to the index entry that you want to mark in the document.</paragraph>
-<paragraph id="par_id3155896" role="paragraph" xml-lang="en-US">"Alternative entry" refers to the index entry that you want to appear in the index.</paragraph>
-<paragraph id="par_id3154194" role="paragraph" xml-lang="en-US">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 id="par_id3155184" role="paragraph" xml-lang="en-US">"Match case" means that uppercase and lowercase letters are considered.</paragraph>
-<paragraph id="par_id3143282" role="paragraph" xml-lang="en-US">"Word only" searches for the term as a single word.</paragraph>
-<paragraph id="par_id3147220" role="note" xml-lang="en-US">To enable the "Match case" or "Word only" options, click in the corresponding cell, and then select the check box.</paragraph>
+<table id="tab_id131599005949274">
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id91599005949275" role="tablehead" xml-lang="en-US">Term</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id461599005949276" role="tablehead" xml-lang="en-US">Meaning</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id291599005949278" role="paragraph" xml-lang="en-US">Search term</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3152953" role="tablecontent" xml-lang="en-US">"Search term" refers to the index entry that you want to mark in the document.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id811599006053151" role="tablecontent" xml-lang="en-US" >Alternative entry</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155896" role="tablecontent" xml-lang="en-US">"Alternative entry" refers to the index entry that you want to appear in the index.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id661599006090921" role="tablecontent" xml-lang="en-US" >1st and 2nd Keys</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3154194" role="tablecontent" xml-lang="en-US">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>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id521599007507727" role="tablecontent" xml-lang="en-US" >Comment</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id981599007507728" role="tablecontent" xml-lang="en-US" >Add a comment line above the entry. Commented lines start with #.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id441599006128506" role="tablecontent" xml-lang="en-US" >Match case</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3155184" role="tablecontent" xml-lang="en-US">"Match case" means that uppercase and lowercase letters are considered.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph id="par_id361599006161460" role="tablecontent" xml-lang="en-US" >Word only</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph id="par_id3143282" role="tablecontent" xml-lang="en-US">"Word only" searches for the term as a single word.</paragraph>
+ </tablecell>
+ </tablerow>
+</table>
+
+<note id="par_id3147220">To enable the "Match case" or "Word only" options, click in the corresponding cell, and then select the check box.</note>
-<paragraph id="hd_id3153629" role="heading" level="2" xml-lang="en-US">To create a concordance file without the Edit Concordance File dialog:</paragraph>
+<h2 id="hd_id3153629">To create a concordance file without the Edit Concordance File dialog:</h2>
<paragraph id="par_id3153644" role="paragraph" xml-lang="en-US">Use the following format guidelines when you create a concordance file:</paragraph>
<list type="unordered">
@@ -76,15 +132,15 @@
<listitem>
<paragraph id="par_id3153354" role="listitem" xml-lang="en-US">Use the following format for the entries:</paragraph>
</listitem></list>
-<paragraph id="par_id3149172" role="paragraph" xml-lang="en-US">Search term;Alternative entry;1st key;2nd key;Match case;Word only</paragraph>
+ <paragraph id="par_id3149172" role="paragraph" xml-lang="en-US"><literal>Search term;Alternative entry;1st key;2nd key;Match case;Word only</literal></paragraph>
<paragraph id="par_id3156270" role="paragraph" xml-lang="en-US">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 id="hd_id3145778" role="heading" level="3" xml-lang="en-US">Example</paragraph>
+<h3 id="hd_id3145778">Example</h3>
<paragraph id="par_id3155907" role="paragraph" xml-lang="en-US">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 id="par_id3151370" role="paragraph" xml-lang="en-US">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 id="par_id3151370" role="paragraph" xml-lang="en-US"><literal>Boston;Boston;Cities;;0;0</literal> <comment>UFI: translate this with same name as in par_id3155907. Pay attention to the following paras also</comment></paragraph>
<paragraph id="par_id3151383" role="paragraph" xml-lang="en-US">This also finds "Boston" if it is written in lowercase letters.</paragraph>
<paragraph id="par_id3155866" role="paragraph" xml-lang="en-US">To include the "Beacon Hill" district in Boston under the "Cities" entry, enter the following line:</paragraph>
-<paragraph id="par_id3150116" role="paragraph" xml-lang="en-US">Beacon Hill;Boston;Cities;</paragraph>
+<paragraph id="par_id3150116" role="paragraph" xml-lang="en-US"><literal>Beacon Hill;Boston;Cities;</literal></paragraph>
</body>
</helpdocument>