diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-03-13 16:04:19 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-03-16 15:18:10 +0000 |
commit | 77cb682cd1b004e7247560e60f603a4bb0565b8d (patch) | |
tree | 5ff7d8bf5fcc8f9fe162b8ed05ca7eeaf21022ba /source/text/smath/01 | |
parent | 00567a452bb1e270dd2438dcc865359edba56c19 (diff) |
convert plain paragraphs with role="heading" → h<level>
i.e. without child elements and also drop the language that was changed
to implied in the dtd previously/defaults to en-US unless specified.
This change doesn't affect translations, only the content of the
paragraph/headings is extracted.
done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'
(all permutations re order of attributes, and xml-lang="en-US" being
optional / implied)
Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/smath/01')
-rw-r--r-- | source/text/smath/01/03090100.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/03090200.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/03090300.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/03090400.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/03090500.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/03090600.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/03090700.xhp | 6 | ||||
-rw-r--r-- | source/text/smath/01/03090800.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/03091600.xhp | 2 | ||||
-rw-r--r-- | source/text/smath/01/05010100.xhp | 12 | ||||
-rw-r--r-- | source/text/smath/01/05020000.xhp | 18 | ||||
-rw-r--r-- | source/text/smath/01/05040000.xhp | 12 | ||||
-rw-r--r-- | source/text/smath/01/06010000.xhp | 4 | ||||
-rw-r--r-- | source/text/smath/01/06020000.xhp | 4 |
14 files changed, 36 insertions, 36 deletions
diff --git a/source/text/smath/01/03090100.xhp b/source/text/smath/01/03090100.xhp index 5b4ee43329..dd5c78c18d 100644 --- a/source/text/smath/01/03090100.xhp +++ b/source/text/smath/01/03090100.xhp @@ -64,7 +64,7 @@ <embed href="text/smath/00/00000004.xhp#unary_binary"/> </section> <paragraph role="paragraph" id="par_id3146963" xml-lang="en-US">The following is a complete list of the unary and binary operators. The symbol next to the operator indicates that it can be accessed through the Elements pane (choose <emph>View - Elements</emph>) or through the context menu of the Commands window.</paragraph> -<paragraph role="heading" id="hd_id3147405" xml-lang="en-US" level="2">Unary and Binary Operators</paragraph> +<h2 id="hd_id3147405">Unary and Binary Operators</h2> <table id="tbl_id3150392" > <tablerow> <tablecell> diff --git a/source/text/smath/01/03090200.xhp b/source/text/smath/01/03090200.xhp index 3fab028351..7e7b1dd6e7 100644 --- a/source/text/smath/01/03090200.xhp +++ b/source/text/smath/01/03090200.xhp @@ -80,7 +80,7 @@ <embed href="text/smath/00/00000004.xhp#relations"/> </section> <paragraph role="paragraph" id="par_id3147258" xml-lang="en-US">The following is a complete list of the relations. The symbol next to the name of the relation indicates that it can be accessed through the Elements pane (choose <emph>View - Elements</emph>) or through the context menu of the <emph>Commands</emph> window.</paragraph> -<paragraph role="heading" id="hd_id3148827" xml-lang="en-US" level="3">Relations:</paragraph> +<h3 id="hd_id3148827">Relations:</h3> <table id="tbl_id3145414"> <tablerow> <tablecell> diff --git a/source/text/smath/01/03090300.xhp b/source/text/smath/01/03090300.xhp index 9c90ac4f71..a7a1b3760a 100644 --- a/source/text/smath/01/03090300.xhp +++ b/source/text/smath/01/03090300.xhp @@ -50,7 +50,7 @@ <embed href="text/smath/00/00000004.xhp#operators"/> </section> <paragraph role="paragraph" id="par_id3153576" xml-lang="en-US">The following is a list of the available operators. An icon next to the operator name indicates that it can be accessed through the Elements pane (choose <emph>View - Elements</emph>) or through the context menu of the <emph>Commands</emph> window.</paragraph> -<paragraph role="heading" id="hd_id3147516" xml-lang="en-US" level="3">Operator Functions</paragraph> +<h3 id="hd_id3147516">Operator Functions</h3> <table id="tbl_id3154282"> <tablerow> <tablecell> diff --git a/source/text/smath/01/03090400.xhp b/source/text/smath/01/03090400.xhp index 9b861984eb..65ae0a692d 100644 --- a/source/text/smath/01/03090400.xhp +++ b/source/text/smath/01/03090400.xhp @@ -67,7 +67,7 @@ <embed href="text/smath/00/00000004.xhp#functions"/> </section> <paragraph role="paragraph" id="par_id3150760" xml-lang="en-US">The following is a list of all functions that appear in the <emph>Elements</emph> pane. The icon next to the function indicates that it can be accessed through the Elements pane (menu View - Elements) or through the context menu of the <emph>Commands</emph> window.</paragraph> -<paragraph role="heading" id="hd_id3156319" xml-lang="en-US" level="3">List of functions</paragraph> +<h3 id="hd_id3156319">List of functions</h3> <table id="tbl_id3145209"> <tablerow> <tablecell> diff --git a/source/text/smath/01/03090500.xhp b/source/text/smath/01/03090500.xhp index ea835eb894..9e9ca34704 100644 --- a/source/text/smath/01/03090500.xhp +++ b/source/text/smath/01/03090500.xhp @@ -70,7 +70,7 @@ <embed href="text/smath/00/00000004.xhp#brackets"/> </section> <paragraph role="paragraph" id="par_id3154264" xml-lang="en-US">The following is a complete list of all available bracket types. The icon next to the bracket type indicates that it can be accessed through the Elements pane (menu View - Elements) or through the context menu of the <emph>Commands</emph> window.</paragraph> -<paragraph role="heading" id="hd_id3154277" xml-lang="en-US" level="3">Bracket types</paragraph> +<h3 id="hd_id3154277">Bracket types</h3> <table id="tbl_id3150710"> <tablerow> <tablecell> diff --git a/source/text/smath/01/03090600.xhp b/source/text/smath/01/03090600.xhp index 5d0ef87b07..d4a47c1bef 100644 --- a/source/text/smath/01/03090600.xhp +++ b/source/text/smath/01/03090600.xhp @@ -71,7 +71,7 @@ </section> <paragraph id="par_id3155962" role="paragraph">The following is a complete list of all attributes available in <item type="productname">%PRODUCTNAME</item> Math. The symbol next to the attribute indicates that it can be accessed through the Elements pane (choose <emph>View - Elements</emph>) or through the context menu of the <emph>Commands</emph> window.</paragraph> <paragraph id="par_id3149604" role="note">In describing the following attribute functions, the letter "a" in the icon refers to the placeholder that you would like to assign to the respective attribute. You can substitute this character with any other character that you choose.</paragraph> - <paragraph id="hd_id3154650" role="heading" level="3">Attribute Functions</paragraph> + <h3 id="hd_id3154650">Attribute Functions</h3> <table id="tbl_id3153810"> <tablerow> <tablecell> diff --git a/source/text/smath/01/03090700.xhp b/source/text/smath/01/03090700.xhp index 0effd09553..e9124e32bd 100644 --- a/source/text/smath/01/03090700.xhp +++ b/source/text/smath/01/03090700.xhp @@ -63,7 +63,7 @@ </section> <paragraph role="paragraph" id="par_id3154263" xml-lang="en-US">The following is a complete list of all available formatting options in $[officename] Math. The icon next to the formatting option indicates that it can be accessed through the Elements pane (menu <emph>View - Elements</emph>) or through the context menu of the <emph>Commands</emph> window.</paragraph> <paragraph role="note" id="par_id3153536" xml-lang="en-US">The letter "a" refers to the placeholder in your formula which you would like to assign to the respective formatting. You can substitute this character for any other you like.</paragraph> -<paragraph role="heading" id="hd_id3151104" xml-lang="en-US" level="3">Formatting options</paragraph> +<h3 id="hd_id3151104">Formatting options</h3> <table id="tbl_id3154569"> <tablerow> <tablecell> @@ -287,12 +287,12 @@ <paragraph role="paragraph" id="par_id3154004" xml-lang="en-US">they affect each other, which means that typing <emph>{alignl{alignr a}}over{b+c}</emph> aligns <emph>a</emph> on the right.</paragraph> </listitem> </list> -<paragraph role="heading" id="hd_id8036133" xml-lang="en-US" level="3">To align using the "matrix" command</paragraph> +<h3 id="hd_id8036133">To align using the "matrix" command</h3> <paragraph role="smathcode" id="par_id5398419" xml-lang="en-US" localize="false">matrix{</paragraph> <paragraph role="smathcode" id="par_id1456343" xml-lang="en-US" localize="false">alignr sin^2 x + cos^2 x#{}={}#alignl 1 ##</paragraph> <paragraph role="smathcode" id="par_id4572588" xml-lang="en-US" localize="false">alignr cos^2 x #{}={} #alignl 1 - sin^2 x</paragraph> <paragraph role="smathcode" id="par_id2879726" xml-lang="en-US" localize="false">}</paragraph> -<paragraph role="heading" id="par_idN10F70" xml-lang="en-US" level="3">Aligning to the left</paragraph> +<h3 id="par_idN10F70">Aligning to the left</h3> <paragraph role="paragraph" id="par_id3149645" xml-lang="en-US">If a line or an expression begins with text, it is aligned on the left by default. You can change this with any of the <emph>align</emph> commands. An example is <emph>stack{a+b-c*d#alignr "text"}</emph>, where "text" appears aligned to the right. Note that text must always be surrounded by quotation marks.</paragraph> <paragraph role="paragraph" id="par_id3149966" xml-lang="en-US">The standard centralized formulas can be aligned to the left without using the <emph>Format - Align</emph> menu. To do this, place an empty character string, that is, the inverted commas which surround any text "", before the section of formula that you want to align. For example, typing <emph>"" a+b newline "" c+d</emph> results in both equations being left-aligned instead of centered.</paragraph> <paragraph role="warning" id="par_id3145654" xml-lang="en-US">When typing information in the Commands window, note that some formats require spaces for the correct structure. This is especially true when entering values (for example, a lsup{3}) instead of placeholders.</paragraph> diff --git a/source/text/smath/01/03090800.xhp b/source/text/smath/01/03090800.xhp index f19414dd53..e829b03504 100644 --- a/source/text/smath/01/03090800.xhp +++ b/source/text/smath/01/03090800.xhp @@ -61,7 +61,7 @@ <embed href="text/smath/00/00000004.xhp#set_operations"/> </section> <paragraph role="paragraph" id="par_id3149290" xml-lang="en-US">After selecting the <emph>Set Operations</emph> item in the Elements pane, relevant icons will be shown in the lower part of this pane. Simply click a symbol to incorporate the operator in the formula being edited in the Commands window.</paragraph> -<paragraph role="heading" id="hd_id3147258" xml-lang="en-US" level="3">The set operations in detail:</paragraph> +<h3 id="hd_id3147258">The set operations in detail:</h3> <table id="tbl_id3151177"> <tablerow> <tablecell colspan="" rowspan=""> diff --git a/source/text/smath/01/03091600.xhp b/source/text/smath/01/03091600.xhp index 835869d70a..3b55d91e59 100644 --- a/source/text/smath/01/03091600.xhp +++ b/source/text/smath/01/03091600.xhp @@ -70,7 +70,7 @@ <section id="howtoget"> <embed href="text/smath/00/00000004.xhp#others"/> </section> -<paragraph role="heading" id="hd_id3156430" xml-lang="en-US" level="2">Symbols in detail</paragraph> +<h2 id="hd_id3156430">Symbols in detail</h2> <table id="tbl_id3156444"> <tablerow> <tablecell> diff --git a/source/text/smath/01/05010100.xhp b/source/text/smath/01/05010100.xhp index 22c2c7b238..555e56b377 100644 --- a/source/text/smath/01/05010100.xhp +++ b/source/text/smath/01/05010100.xhp @@ -32,20 +32,20 @@ <body> <bookmark branch="hid/modules/smath/ui/fontdialog/@@nowidget@@" xml-lang="en-US" id="bm_@@nowidget@@" localize="false"/> <bookmark branch="hid/modules/smath/ui/fontdialog/FontDialog" xml-lang="en-US" id="bm_id3153144" localize="false"/> - <paragraph role="heading" level="1" id="hd_id3153188" xml-lang="en-US">Fonts</paragraph> + <h1 id="hd_id3153188">Fonts</h1> <paragraph role="paragraph" id="par_id3152598" xml-lang="en-US"><ahelp visibility="visible" hid="modules/smath/ui/fontdialog/FontDialog">Use this dialog to select the font for the respective category in the <emph>Fonts</emph> dialog.</ahelp></paragraph> <section id="howtoget"> <embed href="text/smath/00/00000004.xhp#fmtssa"/> </section> - <bookmark branch="hid/modules/smath/ui/fontdialog/font" xml-lang="en-US" id="bm_id3155064" localize="false"/><paragraph role="heading" level="2" id="hd_id3149124" xml-lang="en-US">Font</paragraph> + <bookmark branch="hid/modules/smath/ui/fontdialog/font" xml-lang="en-US" id="bm_id3155064" localize="false"/><h2 id="hd_id3149124">Font</h2> <paragraph role="paragraph" id="par_id3153713" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontdialog/font" visibility="visible">Select a font from the list.</ahelp></paragraph> - <paragraph role="heading" level="2" id="hd_id3154702" xml-lang="en-US">Example</paragraph> + <h2 id="hd_id3154702">Example</h2> <paragraph role="paragraph" id="par_id3154020" xml-lang="en-US">You can see a preview of the selected font with its attributes.</paragraph> - <paragraph role="heading" level="2" id="hd_id3154656" xml-lang="en-US">Attributes</paragraph> + <h2 id="hd_id3154656">Attributes</h2> <paragraph role="paragraph" id="par_id3150208" xml-lang="en-US">You can assign additional attributes to the selected font.</paragraph> - <bookmark branch="hid/modules/smath/ui/fontdialog/bold" xml-lang="en-US" id="bm_id3148700" localize="false"/><paragraph role="heading" level="3" id="hd_id3154486" xml-lang="en-US">Bold</paragraph> + <bookmark branch="hid/modules/smath/ui/fontdialog/bold" xml-lang="en-US" id="bm_id3148700" localize="false"/><h3 id="hd_id3154486">Bold</h3> <paragraph role="paragraph" id="par_id3148839" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontdialog/bold" visibility="visible">Check this box to assign the bold attribute to the font.</ahelp></paragraph> - <bookmark branch="hid/modules/smath/ui/fontdialog/italic" xml-lang="en-US" id="bm_id3150210" localize="false"/><paragraph role="heading" level="3" id="hd_id3148868" xml-lang="en-US">Italic</paragraph> + <bookmark branch="hid/modules/smath/ui/fontdialog/italic" xml-lang="en-US" id="bm_id3150210" localize="false"/><h3 id="hd_id3148868">Italic</h3> <paragraph role="paragraph" id="par_id3149126" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontdialog/italic" visibility="visible">Check this box to assign the italic attribute to the font.</ahelp></paragraph> </body> </helpdocument> diff --git a/source/text/smath/01/05020000.xhp b/source/text/smath/01/05020000.xhp index d580b423ff..550c572184 100644 --- a/source/text/smath/01/05020000.xhp +++ b/source/text/smath/01/05020000.xhp @@ -34,29 +34,29 @@ </bookmark> <bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/> <bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/FontSizeDialog" id="bm_id3148867" localize="false"/> -<bookmark xml-lang="en-US" branch="hid/.uno:ChangeFontSize" id="bm_id3148866" localize="false"/><paragraph role="heading" id="hd_id3153816" xml-lang="en-US" level="1">Font Sizes</paragraph> +<bookmark xml-lang="en-US" branch="hid/.uno:ChangeFontSize" id="bm_id3148866" localize="false"/><h1 id="hd_id3153816">Font Sizes</h1> <paragraph role="paragraph" id="par_id3150213" xml-lang="en-US"><variable id="schriftgroessentext"><ahelp hid="modules/smath/ui/fontsizedialog/FontSizeDialog">Use this dialog to specify the font sizes for your formula. Select a base size and all elements of the formula will be scaled in relation to this base.</ahelp> </variable></paragraph> <section id="howtoget"> <embed href="text/smath/00/00000004.xhp#fmtsgr"/> </section> <embed href="text/smath/06/screenshots.xhp#fontsizedialog"/> -<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_baseSize" id="bm_id3149873" localize="false"/><paragraph role="heading" id="hd_id3146968" xml-lang="en-US" level="2">Base size</paragraph> +<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_baseSize" id="bm_id3149873" localize="false"/><h2 id="hd_id3146968">Base size</h2> <paragraph role="paragraph" id="par_id3145115" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontsizedialog/spinB_baseSize">All elements of a formula are proportionally scaled to the base size. To change the base size, select or type in the desired point (pt) size. You can also use other units of measure or other <link href="text/shared/00/00000003.xhp#measurement_units">metrics</link>, which are then automatically converted to points.</ahelp></paragraph> <paragraph role="tip" id="par_id3153005" xml-lang="en-US">To permanently change the default size (12 pt) used in $[officename] Math, you must first set the size (for example, 11 pt) and then click the <emph>Default</emph> button.</paragraph> -<paragraph role="heading" id="hd_id3153735" xml-lang="en-US" level="2">Relative Sizes</paragraph> +<h2 id="hd_id3153735">Relative Sizes</h2> <paragraph role="paragraph" id="par_id3145241" xml-lang="en-US">In this section, you can determine the relative sizes for each type of element with reference to the base size.</paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_text" id="bm_id3148768" localize="false"/><paragraph role="heading" id="hd_id3150935" xml-lang="en-US" level="3">Text</paragraph> +<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_text" id="bm_id3148768" localize="false"/><h3 id="hd_id3150935">Text</h3> <paragraph role="paragraph" id="par_id3148774" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontsizedialog/spinB_text">Select the size for text in a formula relative to the base size.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_index" id="bm_id3149022" localize="false"/><paragraph role="heading" id="hd_id3148392" xml-lang="en-US" level="3">Indexes</paragraph> +<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_index" id="bm_id3149022" localize="false"/><h3 id="hd_id3148392">Indexes</h3> <paragraph role="paragraph" id="par_id3149029" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontsizedialog/spinB_index">Select the relative size for the indexes in a formula in proportion to the base size.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_function" id="bm_id3156263" localize="false"/><paragraph role="heading" id="hd_id3155371" xml-lang="en-US" level="3">Functions</paragraph> +<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_function" id="bm_id3156263" localize="false"/><h3 id="hd_id3155371">Functions</h3> <paragraph role="paragraph" id="par_id3153923" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontsizedialog/spinB_function">Select the relative size for names and other function elements in a formula in proportion to the base size.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_operator" id="bm_id3153722" localize="false"/><paragraph role="heading" id="hd_id3147171" xml-lang="en-US" level="3">Operators</paragraph> +<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_operator" id="bm_id3153722" localize="false"/><h3 id="hd_id3147171">Operators</h3> <paragraph role="paragraph" id="par_id3083280" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontsizedialog/spinB_operator">Select the relative size of the mathematical operators in a formula in proportion to the base size.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_limit" id="bm_id3151182" localize="false"/><paragraph role="heading" id="hd_id3154638" xml-lang="en-US" level="3">Limits</paragraph> +<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/spinB_limit" id="bm_id3151182" localize="false"/><h3 id="hd_id3154638">Limits</h3> <paragraph role="paragraph" id="par_id3151189" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontsizedialog/spinB_limit">Select the relative size for the limits in a formula in proportion to the base size.</ahelp></paragraph> -<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/default" id="bm_id3151271" localize="false"/><paragraph role="heading" id="hd_id3156320" xml-lang="en-US" level="2">Default</paragraph> +<bookmark xml-lang="en-US" branch="hid/modules/smath/ui/fontsizedialog/default" id="bm_id3151271" localize="false"/><h2 id="hd_id3156320">Default</h2> <paragraph role="paragraph" id="par_id3145206" xml-lang="en-US"><ahelp hid="modules/smath/ui/fontsizedialog/default">Click this button to save your changes as a default for all new formulas.</ahelp> A security response appears before saving any changes.</paragraph> <embed href="text/smath/06/screenshots.xhp#savedefaultsdialog"/> </body> diff --git a/source/text/smath/01/05040000.xhp b/source/text/smath/01/05040000.xhp index 40b6d0c13f..8081f8ae4b 100644 --- a/source/text/smath/01/05040000.xhp +++ b/source/text/smath/01/05040000.xhp @@ -31,22 +31,22 @@ <bookmark branch="index" xml-lang="en-US" id="bm_id3148730"><bookmark_value>aligning; multi-line formulas</bookmark_value><bookmark_value>multi-line formulas; aligning</bookmark_value></bookmark> <bookmark branch="hid/.uno:ChangeAlignment" xml-lang="en-US" id="bm_id3145596" localize="false"/> <bookmark branch="hid/modules/smath/ui/alignmentdialog/AlignmentDialog" xml-lang="en-US" id="bm_id31455961" localize="false"/> - <paragraph role="heading" level="1" id="hd_id3148730" xml-lang="en-US">Alignment</paragraph> + <h1 id="hd_id3148730">Alignment</h1> <paragraph role="paragraph" id="par_id3152999" xml-lang="en-US"><variable id="ausrichtungtext"><ahelp hid="modules/smath/ui/alignmentdialog/AlignmentDialog" visibility="visible">You can define the alignment of multi-line formulas as well as formulas with several elements in one line.</ahelp> Create multi-line formulas by entering a <emph>NEWLINE</emph> command in the <emph>Commands</emph> window.</variable></paragraph> <section id="howtoget"> <embed href="text/smath/00/00000004.xhp#fmtarg"/> </section> <embed href="text/smath/06/screenshots.xhp#alignmentdialog"/> - <paragraph role="heading" level="2" id="hd_id3153737" xml-lang="en-US">Horizontal</paragraph> + <h2 id="hd_id3153737">Horizontal</h2> <paragraph role="paragraph" id="par_id3148388" xml-lang="en-US">Specifies the type of horizontal alignment for multi-line formulas.</paragraph> - <bookmark branch="hid/modules/smath/ui/alignmentdialog/left" xml-lang="en-US" id="bm_id3156063" localize="false"/><paragraph role="heading" level="3" id="hd_id3148768" xml-lang="en-US">Left</paragraph> + <bookmark branch="hid/modules/smath/ui/alignmentdialog/left" xml-lang="en-US" id="bm_id3156063" localize="false"/><h3 id="hd_id3148768">Left</h3> <paragraph role="paragraph" id="par_id3150566" xml-lang="en-US"><ahelp hid="modules/smath/ui/alignmentdialog/left" visibility="visible">Aligns the selected elements of a formula to the left.</ahelp></paragraph> <paragraph role="tip" id="par_id3149709" xml-lang="en-US">Text is always aligned left. </paragraph> - <bookmark branch="hid/modules/smath/ui/alignmentdialog/center" xml-lang="en-US" id="bm_id3151189" localize="false"/><paragraph role="heading" level="3" id="hd_id3154646" xml-lang="en-US">Centered</paragraph> + <bookmark branch="hid/modules/smath/ui/alignmentdialog/center" xml-lang="en-US" id="bm_id3151189" localize="false"/><h3 id="hd_id3154646">Centered</h3> <paragraph role="paragraph" id="par_id3150762" xml-lang="en-US"><ahelp hid="modules/smath/ui/alignmentdialog/center" visibility="visible">Aligns the elements of a formula to the center.</ahelp></paragraph> - <bookmark branch="hid/modules/smath/ui/alignmentdialog/right" xml-lang="en-US" id="bm_id3147565" localize="false"/><paragraph role="heading" level="3" id="hd_id3145204" xml-lang="en-US">Right</paragraph> + <bookmark branch="hid/modules/smath/ui/alignmentdialog/right" xml-lang="en-US" id="bm_id3147565" localize="false"/><h3 id="hd_id3145204">Right</h3> <paragraph role="paragraph" id="par_id3151264" xml-lang="en-US"><ahelp hid="modules/smath/ui/alignmentdialog/right" visibility="visible">Aligns the elements of a formula to the right.</ahelp></paragraph> - <bookmark branch="hid/modules/smath/ui/alignmentdialog/default" xml-lang="en-US" id="bm_id3153153" localize="false"/><paragraph role="heading" level="2" id="hd_id3150261" xml-lang="en-US">Default</paragraph> + <bookmark branch="hid/modules/smath/ui/alignmentdialog/default" xml-lang="en-US" id="bm_id3153153" localize="false"/><h2 id="hd_id3150261">Default</h2> <paragraph role="paragraph" id="par_id3153622" xml-lang="en-US"><ahelp hid="modules/smath/ui/alignmentdialog/default" visibility="visible">Click here to save your changes as the default settings for new formulas.</ahelp> A security response will appear before saving.</paragraph> <embed href="text/smath/06/screenshots.xhp#savedefaultsdialog"/> </body> diff --git a/source/text/smath/01/06010000.xhp b/source/text/smath/01/06010000.xhp index f22a1072e2..2ac8e447de 100644 --- a/source/text/smath/01/06010000.xhp +++ b/source/text/smath/01/06010000.xhp @@ -52,13 +52,13 @@ </section> <bookmark xml-lang="en-US" branch="hid/modules/smath/ui/catalogdialog/symbolset" id="bm_id3145388" localize="false"/> -<paragraph id="hd_id3150202" role="heading" level="2" xml-lang="en-US">Symbol Set</paragraph> +<h2 id="hd_id3150202">Symbol Set</h2> <paragraph id="par_id3148699" role="paragraph" xml-lang="en-US"><ahelp hid="modules/smath/ui/catalogdialog/symbolset">All symbols are organized into symbol sets. Select the desired symbol set from the list box. The corresponding group of symbols appear in the field below.</ahelp></paragraph> <paragraph id="par_id3153917" role="paragraph" xml-lang="en-US">When a symbol is selected, its command name appears below the symbol list and a magnified version appears in a box to the right. Note that the name must be typed in the <emph>Commands</emph> window exactly as displayed here (case-sensitive).</paragraph> <paragraph id="par_id3149126" role="paragraph" xml-lang="en-US">To insert a symbol, select it from the list and click <emph>Insert</emph>. The corresponding command name appears in the <emph>Commands</emph> window. </paragraph> <bookmark xml-lang="en-US" branch="hid/modules/smath/ui/catalogdialog/edit" id="bm_id3146964" localize="false"/> -<paragraph id="hd_id3154765" role="heading" level="2" xml-lang="en-US">Edit</paragraph> +<h2 id="hd_id3154765">Edit</h2> <paragraph id="par_id3153811" role="paragraph" xml-lang="en-US"><ahelp hid="modules/smath/ui/catalogdialog/edit">Click here to open the <link href="text/smath/01/06010100.xhp">Edit Symbols</link> dialog.</ahelp></paragraph> <embed href="text/shared/00/00000001.xhp#apply"/> </body> diff --git a/source/text/smath/01/06020000.xhp b/source/text/smath/01/06020000.xhp index 1bb19d41ee..e5ac748cea 100644 --- a/source/text/smath/01/06020000.xhp +++ b/source/text/smath/01/06020000.xhp @@ -29,7 +29,7 @@ <bookmark xml-lang="en-US" branch="index" id="bm_id3154659"><bookmark_value>importing; %PRODUCTNAME Math formulas</bookmark_value></bookmark> <bookmark xml-lang="en-US" branch="index" id="bm_id3154660"><bookmark_value>MathML; import from file</bookmark_value></bookmark> <bookmark branch="hid/.uno:ImportFormula" xml-lang="en-US" id="bm_id3150346" localize="false"/> -<paragraph role="heading" level="1" id="hd_id3154659" xml-lang="en-US">Import Formula from File</paragraph> +<h1 id="hd_id3154659">Import Formula from File</h1> <paragraph role="paragraph" id="par_id3150251" xml-lang="en-US"><variable id="formelimportierentext"><ahelp hid=".uno:ImportFormula" visibility="visible">This command opens a dialog for importing a formula.</ahelp></variable></paragraph> <paragraph role="paragraph" id="par_id3153916" xml-lang="en-US">The <emph>Insert</emph> dialog is set up like the <link href="text/shared/01/01020000.xhp"><emph>Open</emph></link> dialog under <emph>File</emph>. Use the <emph>Insert</emph> dialog to load, edit and display a formula saved as a file in the <emph>Commands</emph> window.</paragraph> <paragraph role="paragraph" id="par_id3153917" xml-lang="en-US">You can import MathML files created by other applications as well. The MathML source must have a <item type="code">math</item> element with an <item type="code">xmlns</item> attribute with value "http://www.w3.org/1998/Math/MathML". The languages MathML and StarMath are not fully compatible, therefore you should revise the import result. For details about the language MathML see its <link href="https://www.w3.org/TR/#tr_MathML">specification</link>.</paragraph> @@ -41,7 +41,7 @@ <bookmark xml-lang="en-US" branch="index" id="bm_id3154661"><bookmark_value>MathML; import via clipboard</bookmark_value></bookmark> <bookmark xml-lang="en-US" branch="index" id="bm_id3154662"><bookmark_value>importing; MathML</bookmark_value></bookmark> <bookmark branch="hid/.uno:ImportMathMLClipboard" xml-lang="en-US" id="bm_id3150347" localize="false"/> -<paragraph role="heading" level="1" id="hd_id3154661" xml-lang="en-US">Import MathML from Clipboard</paragraph> +<h1 id="hd_id3154661">Import MathML from Clipboard</h1> <paragraph role="paragraph" id="par_id3150252" xml-lang="en-US"><variable id="mathmlimportierentext"><ahelp hid=".uno:ImportMathMLClipboard" visibility="visible">This command transforms MathML clipboard content to StarMath and inserts it at the current cursor position.</ahelp></variable></paragraph> <paragraph role="paragraph" id="par_id3153918" xml-lang="en-US">If the transformation fails, nothing is inserted.</paragraph> <section id="howtoget"> |