source/text/smath/guide/align.xhp | 4 ++-- source/text/smath/guide/attributes.xhp | 6 +++--- source/text/smath/guide/brackets.xhp | 6 +++--- source/text/smath/guide/limits.xhp | 2 +- source/text/smath/guide/parentheses.xhp | 8 ++++---- source/text/smath/guide/text.xhp | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-)
New commits: commit 44b1343d0b1eaf56413ab2baec6b74e59e3a61da Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Tue Dec 25 21:58:12 2018 -0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Wed Dec 26 13:07:27 2018 +0100 Fix mistake in example for smath parentheses + mute l10n of example lines Change-Id: I1db13cbab50dc41378059917a308701e652ca97a Reviewed-on: https://gerrit.libreoffice.org/65613 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/smath/guide/align.xhp b/source/text/smath/guide/align.xhp index 7f424df89..dded2a68c 100644 --- a/source/text/smath/guide/align.xhp +++ b/source/text/smath/guide/align.xhp @@ -18,7 +18,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + <helpdocument version="1.0"> <meta> <topic id="textsmathguidealignxml" indexer="include" status="PUBLISH"> @@ -38,7 +38,7 @@ <paragraph role="heading" id="hd_id3154657" xml-lang="en-US" level="3">How do you align characters in $[officename] Math quickly and easily?</paragraph> <paragraph role="paragraph" id="par_id3150249" xml-lang="en-US">To accomplish this, you must define empty groups and character strings. They do not require any space, but carry information that helps in the alignment process.</paragraph> <paragraph role="paragraph" id="par_id3153912" xml-lang="en-US">To create empty groups, enter curly brackets <emph>{}</emph> in the Commands window. In the following example, the goal is to achieve a line break so that the plus signs are beneath one another, even though one less character is entered in the upper line:</paragraph> -<paragraph role="code" id="par_id3153246" xml-lang="en-US">a+a+a+{} newline {}{}{}{}{}a+a+a+a</paragraph> +<paragraph role="code" id="par_id3153246" xml-lang="en-US" localize="false">a+a+a+{} newline {}{}{}{}{}a+a+a+a</paragraph> <paragraph role="paragraph" id="par_id3143229" xml-lang="en-US">Empty character strings are a simple way to ensure that texts and formulas are left-aligned. They are defined using double inverted commas "" . Make sure you do not use any typographic inverted commas. Example:</paragraph> <paragraph role="code" id="par_id3153809" xml-lang="en-US">"A further example." newline a+b newline ""c-d</paragraph> <embed href="text/shared/00/00000004.xhp#related"/> diff --git a/source/text/smath/guide/attributes.xhp b/source/text/smath/guide/attributes.xhp index a68c30b86..1e0a489c7 100644 --- a/source/text/smath/guide/attributes.xhp +++ b/source/text/smath/guide/attributes.xhp @@ -18,7 +18,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + <helpdocument version="1.0"> <meta> <topic id="textsmathguideattributesxml" indexer="include" status="PUBLISH"> @@ -41,8 +41,8 @@ <paragraph role="heading" id="hd_id3154484" xml-lang="en-US" level="3">Can default formats in $[officename] Math be modified?</paragraph> <paragraph role="paragraph" id="par_id3148870" xml-lang="en-US">Some parts of formulas are always formatted bold or italic by default.</paragraph> <paragraph role="paragraph" id="par_id3150210" xml-lang="en-US">You can remove these attributes using "nbold" and "nitalic". Example:</paragraph> -<paragraph role="code" id="par_id3143231" xml-lang="en-US">a + b</paragraph> -<paragraph role="code" id="par_id3153810" xml-lang="en-US">nitalic a + bold b.</paragraph> +<paragraph role="code" id="par_id3143231" xml-lang="en-US" localize="false">a + b</paragraph> +<paragraph role="code" id="par_id3153810" xml-lang="en-US" localize="false">nitalic a + bold b.</paragraph> <paragraph role="paragraph" id="par_id3149872" xml-lang="en-US">In the second formula, the a is not italic. The b is bold. You cannot change the plus sign by this method.</paragraph> <section id="relatedtopics"> <embed href="text/smath/guide/main.xhp#main"/> diff --git a/source/text/smath/guide/brackets.xhp b/source/text/smath/guide/brackets.xhp index 154115e56..c5083fb58 100644 --- a/source/text/smath/guide/brackets.xhp +++ b/source/text/smath/guide/brackets.xhp @@ -18,7 +18,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + <helpdocument version="1.0"> <meta> <topic id="textsmathguidebracketsxml" indexer="include" status="PUBLISH"> @@ -40,9 +40,9 @@ <paragraph role="heading" id="hd_id3154511" xml-lang="en-US" level="3">Inserting fractions into formulas</paragraph> <paragraph role="paragraph" id="par_id3146971" xml-lang="en-US">In the case of a fraction whose numerator and denominator consist of a product, a sum, and so on, the values that belong together must be bracketed together.</paragraph> <paragraph role="paragraph" id="par_id3149021" xml-lang="en-US">Use the following syntax:</paragraph> -<paragraph role="code" id="par_id3083280" xml-lang="en-US">{a + c} over 2 = m</paragraph> +<paragraph role="code" id="par_id3083280" xml-lang="en-US" localize="false">{a + c} over 2 = m</paragraph> <paragraph role="paragraph" id="par_id3154703" xml-lang="en-US">or</paragraph> -<paragraph role="code" id="par_id3150297" xml-lang="en-US">m = {a + c} over 2</paragraph> +<paragraph role="code" id="par_id3150297" xml-lang="en-US" localize="false">m = {a + c} over 2</paragraph> <section id="relatedtopics"> <embed href="text/smath/guide/parentheses.xhp#parentheses"/> </section> diff --git a/source/text/smath/guide/limits.xhp b/source/text/smath/guide/limits.xhp index b67b15c6e..961baa296 100644 --- a/source/text/smath/guide/limits.xhp +++ b/source/text/smath/guide/limits.xhp @@ -73,7 +73,7 @@ </listitem> <listitem> <paragraph role="paragraph" id="par_id1965697" xml-lang="en-US">Click in the input window and enter the following line:</paragraph> -<paragraph role="code" id="par_id9004486" xml-lang="en-US">int from{a} to{b} f(x)`dx</paragraph> +<paragraph role="code" id="par_id9004486" xml-lang="en-US" localize="false">int from{a} to{b} f(x)`dx</paragraph> <paragraph role="paragraph" id="par_id4651020" xml-lang="en-US">A small gap exists between f(x) and dx, which you can also enter using the Elements pane: select the <emph>Formats</emph> item from the list on the top, then the <emph>Small Gap</emph> icon.</paragraph> </listitem> </list> diff --git a/source/text/smath/guide/parentheses.xhp b/source/text/smath/guide/parentheses.xhp index 286497105..1291fc9f0 100644 --- a/source/text/smath/guide/parentheses.xhp +++ b/source/text/smath/guide/parentheses.xhp @@ -18,7 +18,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + <helpdocument version="1.0"> <meta> <topic id="textsmathguideparenthesesxml" indexer="include" status="PUBLISH"> @@ -38,9 +38,9 @@ </variable></paragraph> <paragraph role="heading" id="hd_id3150751" xml-lang="en-US" level="3">In <item type="productname">%PRODUCTNAME</item> Math, can brackets be shown separately so that the distance between them is freely definable?</paragraph> <paragraph role="paragraph" id="par_id3083281" xml-lang="en-US">You can set individual brackets using "left" and "right", but the distance between the brackets will not be fixed, as they adapt to the argument. Nevertheless, there is a way to display brackets so that the distance between them is fixed. To accomplish this, place a "\" (backslash) before the normal brackets. These brackets now behave like any other symbol and the alignment is the same as with other symbols:</paragraph> -<paragraph role="code" id="par_id3155960" xml-lang="en-US">left lbrace x right none</paragraph> -<paragraph role="code" id="par_id3148489" xml-lang="en-US">size *2 langle x rangle</paragraph> -<paragraph role="code" id="par_id3150344" xml-lang="en-US">size *2 \langle x \rangle</paragraph> +<paragraph role="code" id="par_id3155960" xml-lang="en-US" localize="false">left lbrace x right none</paragraph> +<paragraph role="code" id="par_id3148489" xml-lang="en-US" localize="false">size *2 langle x rangle</paragraph> +<paragraph role="code" id="par_id3150344" xml-lang="en-US" localize="false">size *2 { \langle x \rangle }</paragraph> <section id="relatedtopics"> <embed href="text/smath/guide/brackets.xhp#brackets"/> </section> diff --git a/source/text/smath/guide/text.xhp b/source/text/smath/guide/text.xhp index 4191b482b..ffd78bd43 100644 --- a/source/text/smath/guide/text.xhp +++ b/source/text/smath/guide/text.xhp @@ -39,10 +39,10 @@ <paragraph role="paragraph" id="par_id337229" xml-lang="en-US">Some text strings get interpreted as operators automatically. Sometimes this is not what you want. If you want to write W<emph>*</emph> (a letter with a superscripted asterisk), the asterisk will be interpreted as a multiplication operator. Enclose the direct text within double quotes or add spaceholders.</paragraph> <paragraph role="paragraph" id="par_idN105D0" xml-lang="en-US">Examples:<comment>collected from several issues: i78812, i9167, i21484, i25573</comment></paragraph> <paragraph role="paragraph" id="par_id521866" xml-lang="en-US">An imported MathType formula contains the following string</paragraph> -<paragraph role="code" id="par_id9413739" xml-lang="en-US">W rSup { size 8{*} }</paragraph> +<paragraph role="code" id="par_id9413739" xml-lang="en-US" localize="false">W rSup { size 8{*} }</paragraph> <paragraph role="paragraph" id="par_id755943" xml-lang="en-US">If you have set up Math to convert imported MathType formulas (in <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Load/Save - Microsoft Office), you see the formula with a placeholder instead of the asterisk.</paragraph> <paragraph role="paragraph" id="par_id5988952" xml-lang="en-US">Change {*} to {} * {} as in the following formula:</paragraph> -<paragraph role="code" id="par_id3304544" xml-lang="en-US">W rSup { size 8{} * {} }</paragraph> +<paragraph role="code" id="par_id3304544" xml-lang="en-US" localize="false">W rSup { size 8{} * {} }</paragraph> <paragraph role="paragraph" id="par_id4941557" xml-lang="en-US">You can also use W^"*" to enter the character as direct text.</paragraph> <paragraph role="paragraph" id="par_id9961851" xml-lang="en-US">Some formulas start with an = sign. Use "=" to enter that character as direct text.</paragraph> <section id="relatedtopics"> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits