source/text/swriter/guide/indices_enter.xhp   |    6 +++---
 source/text/swriter/guide/indices_userdef.xhp |   11 ++++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

New commits:
commit 29aa6b53e0e674e5ccb75515ed7a45a4be8324d3
Author:     Seth Chaiklin <sdc.bla...@youmail.dk>
AuthorDate: Sat Mar 4 12:35:59 2023 +0000
Commit:     Seth Chaiklin <sdc.bla...@youmail.dk>
CommitDate: Sat Mar 4 13:43:59 2023 +0000

    tdf#153549  Chapter -> Heading
    
      swriter/guide/indices_enter.xhp
    
      swriter/guide/indices_userdef.xhp
      - refactor <h1>,<h2>,<relatedtopics>
      - remove irrelevant paragraph
    
    Change-Id: I2f6961ee8afebc681e4722dc4755c4bf76cdd6d1
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148220
    Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk>
    Tested-by: Jenkins

diff --git a/source/text/swriter/guide/indices_enter.xhp 
b/source/text/swriter/guide/indices_enter.xhp
index befd9317fd..875f26d94d 100644
--- a/source/text/swriter/guide/indices_enter.xhp
+++ b/source/text/swriter/guide/indices_enter.xhp
@@ -59,19 +59,19 @@
   </listitem></list>
 
 <h2 id="hd_id3147119">To Define Table of Contents Entries</h2>
-<paragraph id="par_id3147132" role="paragraph" xml-lang="en-US">The best way 
to generate a table of contents is to apply the predefined heading paragraph 
styles, such as "Heading 1", to the paragraphs that you want to include in your 
table of contents.</paragraph>
+<paragraph id="par_id3147132" role="paragraph" xml-lang="en-US">The best way 
to generate a table of contents is to apply the predefined “Heading N” 
paragraph styles, such as “Heading 1”, to the paragraphs that you want to 
include in your table of contents.</paragraph>
 
 <h3 id="hd_id3150230">To Use a Custom Paragraph Style as a Table of Contents 
Entry</h3>
 
 <list type="ordered">
   <listitem>
-    <paragraph id="par_id3150933" role="listitem" xml-lang="en-US">Choose 
<item type="menuitem">Tools - Chapter Numbering</item> and click the 
<emph>Numbering</emph> tab.</paragraph>
+    <paragraph id="par_id3150933" role="listitem" xml-lang="en-US">Choose 
<menuitem>Tools - Heading Numbering</menuitem> and click the 
<emph>Numbering</emph> tab.</paragraph>
   </listitem>
   <listitem>
     <paragraph id="par_id3150964" role="listitem" xml-lang="en-US">Select the 
paragraph style that you want to include in your table of contents in the 
<emph>Paragraph Style</emph> box.</paragraph>
   </listitem>
   <listitem>
-    <paragraph id="par_id3150523" role="listitem" xml-lang="en-US">In the 
<emph>Level</emph> list, click the hierarchical level that you want to apply 
the paragraph style to.</paragraph>
+    <paragraph id="par_id3150523" role="listitem" xml-lang="en-US">In the 
<emph>Level</emph> list, click the level for the paragraph style.</paragraph>
   </listitem>
   <listitem>
     <paragraph id="par_id3153730" role="listitem" xml-lang="en-US">Click 
<emph>OK</emph>. You can now apply the style to headings in your document and 
include them in your table of contents. </paragraph>
diff --git a/source/text/swriter/guide/indices_userdef.xhp 
b/source/text/swriter/guide/indices_userdef.xhp
index 911cc10dbd..94adc0b453 100644
--- a/source/text/swriter/guide/indices_userdef.xhp
+++ b/source/text/swriter/guide/indices_userdef.xhp
@@ -33,10 +33,10 @@
 </bookmark>
 
 
-<paragraph id="hd_id3154896" role="heading" level="1" 
xml-lang="en-US"><variable id="indices_userdef"><link 
href="text/swriter/guide/indices_userdef.xhp">User-Defined 
Indexes</link></variable></paragraph>
+<h1 id="hd_id3154896" xml-lang="en-US"><variable id="indices_userdef"><link 
href="text/swriter/guide/indices_userdef.xhp">User-Defined 
Indexes</link></variable></h1>
 <paragraph id="par_id3155184" role="paragraph" xml-lang="en-US">You can create 
as many user-defined indexes as you want.</paragraph>
 
-<paragraph id="hd_id3155915" role="heading" level="2" xml-lang="en-US">To 
Create a User-Defined Index</paragraph>
+<h2 id="hd_id3155915" xml-lang="en-US">To Create a User-Defined Index</h2>
 
 <list type="ordered">
   <listitem>
@@ -59,7 +59,7 @@
   </listitem>
 </list>
 
-<paragraph id="hd_id3150231" role="heading" level="2" xml-lang="en-US">To 
Insert a User-Defined Index</paragraph>
+<h2 id="hd_id3150231" xml-lang="en-US">To Insert a User-Defined Index</h2>
 
 <list type="ordered">
   <listitem>
@@ -81,8 +81,8 @@
     <paragraph id="par_id3146897" role="listitem" xml-lang="en-US">Click 
<emph>OK</emph>.</paragraph>
   </listitem>
 </list>
-<paragraph id="par_id3150720" role="paragraph" xml-lang="en-US">If you want to 
use a different paragraph style as a table of contents entry, select <item 
type="menuitem">Additional styles</item>, and then click the <item 
type="menuitem">Assign styles</item> button next to the box. Click the style in 
the list, and then click the <item type="menuitem">&gt;&gt;</item> or the <item 
type="menuitem">&lt;&lt;</item> button to define the chapter level for the 
paragraph style.</paragraph>
-<embed href="text/shared/00/00000004.xhp#related"/>
+
+  <section id="relatedtopics">
 <embed href="text/swriter/guide/indices_toc.xhp#indices_toc"/>
 <embed href="text/swriter/guide/indices_enter.xhp#indices_enter"/>
 <embed href="text/swriter/guide/indices_edit.xhp#indices_edit"/>
@@ -91,6 +91,7 @@
 <embed href="text/swriter/guide/indices_index.xhp#indices_index"/>
 <embed href="text/swriter/guide/indices_literature.xhp#indices_literature"/>
 <embed href="text/swriter/guide/indices_multidoc.xhp#indices_multidoc"/>
+</section>
 </body>
 
 </helpdocument>
\ No newline at end of file

Reply via email to