source/text/swriter/guide/pagenumbers.xhp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)
New commits: commit c3837f2e395c0606a3383a0594b2a6a759e8bac8 Author: Seth Chaiklin <sdc.bla...@youmail.dk> AuthorDate: Tue Jan 21 11:10:52 2020 +0100 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Mon Feb 3 16:08:13 2020 +0100 tdf#128569 improve guide for page numbering Also: - update some <menuitem> and <h2> - update/add <keycode> - update menu commands for manual break and insert page number - add shortcut key for showing field codes (sys-conditional) - update "Default Style" to "Default Page Style" Change-Id: Ieec2be0c48da40f50a1145e8c0a57b190e8c67ba Reviewed-on: https://gerrit.libreoffice.org/c/help/+/87127 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk> Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/swriter/guide/pagenumbers.xhp b/source/text/swriter/guide/pagenumbers.xhp index 99f2c111f..e542f40e6 100644 --- a/source/text/swriter/guide/pagenumbers.xhp +++ b/source/text/swriter/guide/pagenumbers.xhp @@ -22,7 +22,7 @@ <meta> <topic id="textswriterguidepagenumbersxml" indexer="include" status="PUBLISH"> - <title xml-lang="en-US" id="tit">Page Numbers </title> + <title xml-lang="en-US" id="tit">Page Numbers</title> <filename>/text/swriter/guide/pagenumbers.xhp</filename> </topic> </meta> @@ -39,8 +39,8 @@ </variable></paragraph> <paragraph xml-lang="en-US" id="par_id1617175" role="paragraph">In Writer, a page number is a field that you can insert into your text.</paragraph> <paragraph xml-lang="en-US" id="hd_id6091494" role="heading" level="2">To Insert Page Numbers</paragraph> - <paragraph xml-lang="en-US" id="par_id8611102" role="paragraph">Choose <emph>Insert - Field - Page Number</emph> to insert a page number at the current cursor position.</paragraph> - <paragraph xml-lang="en-US" id="par_id6604510" role="tip">If you see the text "Page number" instead of the number, choose <emph>View - Field names</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id8611102" role="paragraph">Choose <menuitem>Insert - Page Number</menuitem> to insert a page number at the current cursor position.</paragraph> + <tip xml-lang="en-US" id="par_id6604510">If you see the text "Page number" instead of the number, choose <menuitem>View - Field Names</menuitem> (<embedvar href="text/shared/00/kbd_shortcuts.xhp#toggleshowfields"/>).</tip> <paragraph xml-lang="en-US" id="par_id2678914" role="paragraph">However, these fields will change position when you add or remove text. So it is best to insert the page number field into a header or footer that has the same position and that is repeated on every page.</paragraph> <paragraph xml-lang="en-US" id="par_id614642" role="paragraph">Choose <item type="menuitem">Insert - Header and Footer - Header - (name of page style)</item> or <item type="menuitem">Insert - Header and Footer - Footer - (name of page style)</item> to add a header or footer to all pages with the current page style.</paragraph> <paragraph xml-lang="en-US" id="hd_id2551652" role="heading" level="2">To Start With a Defined Page Number</paragraph> @@ -50,14 +50,14 @@ <paragraph xml-lang="en-US" id="par_id5757621" role="listitem">Click into the first paragraph of your document.</paragraph> </listitem> <listitem> - <paragraph xml-lang="en-US" id="par_id2632831" role="listitem">Choose <emph>Format - Paragraph - Text flow</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id2632831" role="listitem">Choose <menuitem>Format - Paragraph - Text flow</menuitem> tab.</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_id4395275" role="listitem">In the Breaks area, enable <emph>Insert</emph>. Enable <emph>With Page Style</emph> just to be able to set the new <emph>Page number</emph>. Click <emph>OK</emph>.</paragraph> </listitem> </list> <paragraph xml-lang="en-US" id="par_id1654408" role="note">The new page number is an attribute of the first paragraph of the page.</paragraph> - <paragraph xml-lang="en-US" id="hd_id7519150" role="heading" level="2">To Format the Page Number Style</paragraph> + <h2 xml-lang="en-US" id="hd_id7519150">To Format the Page Number Style</h2> <paragraph xml-lang="en-US" id="par_id9029206" role="paragraph">You want roman page numbers running i, ii, iii, iv, and so on.</paragraph> <list type="ordered"> <listitem> @@ -67,19 +67,19 @@ <paragraph xml-lang="en-US" id="par_id9139378" role="listitem">Select a number format and click <emph>OK</emph>.</paragraph> </listitem> </list> - <paragraph xml-lang="en-US" id="hd_id5051728" role="heading" level="2">Using Different Page Number Styles</paragraph> + <h2 xml-lang="en-US" id="hd_id5051728">Using Different Page Number Styles in Headers and Footers</h2> <paragraph xml-lang="en-US" id="par_id1558885" role="paragraph">You need some pages with the roman numbering style, followed by the remaining pages in another style.</paragraph> <paragraph xml-lang="en-US" id="par_id1541184" role="paragraph">In Writer, you will need different page styles. The first page style has a footer with a page number field formatted for roman numbers. The following page style has a footer with a page number field formatted in another look.</paragraph> <paragraph xml-lang="en-US" id="par_id18616" role="paragraph">Both page styles must be separated by a page break. In Writer, you can have automatic page breaks and manually inserted page breaks.</paragraph> <list type="unordered"> <listitem> <paragraph xml-lang="en-US" id="par_id6138492" role="paragraph">An <emph>automatic page break</emph> appears at the end of a page when the page style has a different "next style".</paragraph> - <paragraph xml-lang="en-US" id="par_id4569231" role="paragraph">For example, the "First Page" page style has "Default" as the next style. To see this, you may press <switchinline select="sys"><caseinline select="MAC">Command+T</caseinline><defaultinline>F11</defaultinline></switchinline> to open the <item type="menuitem">Styles</item> window, click the <item type="menuitem">Page Styles</item> icon, right-click the First Page entry. Choose <item type="menuitem">Modify</item> from the context menu. On the <item type="menuitem">Organizer</item> tab, you can see the "next style".</paragraph> + <paragraph xml-lang="en-US" id="par_id4569231" role="paragraph">For example, the "First Page" page style has "Default" as the next style. To see this, you may press <switchinline select="sys"><caseinline select="MAC"><keycode>Command+T</keycode></caseinline><defaultinline><keycode>F11</keycode></defaultinline></switchinline> to open the <item type="menuitem">Styles</item> window, click the <item type="menuitem">Page Styles</item> icon, right-click the First Page entry. Choose <item type="menuitem">Modify</item> from the context menu. On the <item type="menuitem">Organizer</item> tab, you can see the "next style".</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_id291451" role="paragraph">A <emph>manually inserted page break</emph> can be applied without or with a change of page styles.</paragraph> - <paragraph xml-lang="en-US" id="par_id3341776" role="paragraph">If you just press <item type="keycode">Ctrl+Enter</item>, you apply a page break without a change of styles.</paragraph> - <paragraph xml-lang="en-US" id="par_id5947141" role="paragraph">If you choose <emph>Insert - Manual break</emph>, you can insert a page break without or with a change of style or with a change of page number.</paragraph> + <paragraph xml-lang="en-US" id="par_id3341776" role="paragraph">If you just press <embedvar href="text/shared/00/kbd_shortcuts.xhp#pagebreak"/>, you apply a page break without a change of styles.</paragraph> + <paragraph xml-lang="en-US" id="par_id5947141" role="paragraph">If you choose <menuitem>Insert - More Breaks - Manual Break</menuitem>, you can insert a page break without or with a change of style or with a change of page number.</paragraph> </listitem> </list> <paragraph xml-lang="en-US" id="par_id1911679" role="paragraph">It depends on your document what is best: to use a manually inserted page break between page styles, or to use an automatic change. If you just need one title page with a different style than the other pages, you can use the automatic method:</paragraph> @@ -89,7 +89,7 @@ <paragraph xml-lang="en-US" id="par_id4473403" role="listitem">Click into the first page of your document.</paragraph> </listitem> <listitem> - <paragraph xml-lang="en-US" id="par_id4313791" role="listitem">Choose <emph>View - Styles</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id4313791" role="listitem">Choose <menuitem>View - Styles</menuitem> (<embedvar href="text/shared/00/kbd_shortcuts.xhp#F11"/>).</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_id4331797" role="listitem">In the <emph>Styles</emph> window, click the <emph>Page Styles</emph> icon.</paragraph> @@ -98,15 +98,15 @@ <paragraph xml-lang="en-US" id="par_id4191717" role="listitem">Double-click the "First Page" style.</paragraph> </listitem> </list> - <paragraph xml-lang="en-US" id="par_id2318796" role="paragraph">Now your title page has the style "First Page", and the next pages automatically have the "Default" style.</paragraph> - <paragraph xml-lang="en-US" id="par_id399182" role="paragraph">You can now for example insert a footer for the "Default" page style only, or insert footers in both page styles, but with differently formatted page number fields.</paragraph> + <paragraph xml-lang="en-US" id="par_id2318796" role="paragraph">Now your title page has the style "First Page", and the next pages automatically have the "Default Page Style".</paragraph> + <paragraph xml-lang="en-US" id="par_id399182" role="paragraph">You can now for example insert a footer for the "Default Page Style" only, or insert footers in both page styles, but with differently formatted page number fields.</paragraph> <paragraph xml-lang="en-US" id="hd_id5298318" role="heading" level="3">To Apply a Manually Inserted Page Style Change</paragraph> <list type="ordered"> <listitem> <paragraph xml-lang="en-US" id="par_id7588732" role="listitem">Click at the start of the first paragraph on the page where a different page style will be applied.</paragraph> </listitem> <listitem> - <paragraph xml-lang="en-US" id="par_id95828" role="listitem">Choose <emph>Insert - Manual Break</emph>. You see the <emph>Insert Break</emph> dialog.</paragraph> + <paragraph xml-lang="en-US" id="par_id95828" role="listitem">Choose <emph>Insert - More Breaks - Manual Break</emph>. You see the <emph>Insert Break</emph> dialog.</paragraph> </listitem> <listitem> <paragraph xml-lang="en-US" id="par_id3496200" role="listitem">In the <item type="menuitem">Style</item> list box, select a page style. You may set a new page number, too. Click <item type="menuitem">OK</item>.</paragraph> @@ -121,4 +121,4 @@ <embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/> <embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/> </body> -</helpdocument> +</helpdocument> \ No newline at end of file _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits