[Libreoffice-commits] help.git: 2 commits - help3xsl/default.css source/text

Olivier Hallot olivier.hallot at libreoffice.org
Fri Apr 27 09:04:17 UTC 2018


 help3xsl/default.css              |    5 +++++
 source/text/smath/01/03090901.xhp |    8 ++++----
 source/text/smath/01/03090902.xhp |    8 ++++----
 source/text/smath/01/03090903.xhp |    8 ++++----
 source/text/smath/01/03090904.xhp |    8 ++++----
 source/text/smath/01/03090905.xhp |    8 ++++----
 source/text/smath/01/03090906.xhp |    8 ++++----
 source/text/smath/01/03090907.xhp |    8 ++++----
 source/text/smath/01/03090908.xhp |    8 ++++----
 source/text/smath/01/03090909.xhp |    7 +++----
 source/text/smath/01/03090910.xhp |    6 +++---
 11 files changed, 43 insertions(+), 39 deletions(-)

New commits:
commit e85e3f2847b7d92381f7444ad49694120c356eb2
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date:   Thu Apr 26 18:33:23 2018 -0300

    Restore nice box shadows
    
    Shadows were for tables only. Add shadows to some special tables
    rendered as div's.
    
    Change-Id: If3d6757c27a00598c67e510c5cccb77f89fddb6d
    Reviewed-on: https://gerrit.libreoffice.org/53549
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/help3xsl/default.css b/help3xsl/default.css
index cc380ffbf..693c882ec 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -123,6 +123,9 @@ pre,
     display:flex;
     align-items: center;
     padding:0.3em;
+    box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;
+    border-bottom: 1px solid #E8E8E8;
+    background: #fefefe;
 }
 .noteicon {
     padding:0.3em;
@@ -135,6 +138,8 @@ pre,
 
 /* Special case of table with one cell*/
 .onecell{
+    box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;
+    border-bottom: 1px solid #E8E8E8;
 }
 /* Special case of icon table*/
 .icontable {
commit 489a27e54a4671ac4dc7c2af5f67e898d9d6d100
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date:   Thu Apr 26 17:57:29 2018 -0300

    Mute l10n on some Math formulas
    
    + Review alt text
    + set right images size
    + make formula copiable to clipboard for immediate usage in
       Math commands window
    
    Change-Id: Ic6a99876367acd26e2155a520ce45ee14d678a38
    Reviewed-on: https://gerrit.libreoffice.org/53546
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/smath/01/03090901.xhp b/source/text/smath/01/03090901.xhp
index 1131c596a..1d5125461 100644
--- a/source/text/smath/01/03090901.xhp
+++ b/source/text/smath/01/03090901.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="textsmath0103090901xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3150301" xml-lang="en-US">The following example explains how to create symbols with indexes in <emph>$[officename] Math</emph>. You can copy this example to the <emph>Commands</emph> window by using the clipboard and use it in your own formula.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3153818" xml-lang="en-US">
-<image id="img_id3148870" src="media/helpimg/smzb1.png" width="3.217cm" height="2.939cm"><alt id="alt_id3148870" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3150051" xml-lang="en-US" localize="false">D_mn^ size /2 LEFT(3 OVER 2 RIGHT)</paragraph>
+    <image id="img_id3148870" src="media/helpimg/smzb1.png" width="95px" height="80px"><alt id="alt_id3148870" xml-lang="en-US">Symbols with Indices</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3150051" xml-lang="en-US" localize="false"><item type="input">D_mn^ size /2 LEFT(3 OVER 2 RIGHT)</item></paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090902.xhp b/source/text/smath/01/03090902.xhp
index dde8c59f1..2ddd62693 100644
--- a/source/text/smath/01/03090902.xhp
+++ b/source/text/smath/01/03090902.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="textsmath0103090902xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3150300" xml-lang="en-US">Here is another example of creating symbols with indexes in <emph>$[officename] Math</emph>. You can copy this example to the <emph>Commands</emph> window using the clipboard and use it in your own formula.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3153912" xml-lang="en-US">
-<image id="img_id3149126" src="media/helpimg/smzb2.png" width="3.387cm" height="2.882cm"><alt id="alt_id3149126" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3154766" xml-lang="en-US">%SIGMA_g^{{}+{}}lsup 3</paragraph>
+    <image id="img_id3149126" src="media/helpimg/smzb2.png" width="95px" height="80px"><alt id="alt_id3149126" xml-lang="en-US">Symbols with Indices</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3154766" xml-lang="en-US" localize="false"><item type="input">%SIGMA_g^{{}+{}}lsup 3</item></paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090903.xhp b/source/text/smath/01/03090903.xhp
index b3efeedf0..dd208fd5c 100644
--- a/source/text/smath/01/03090903.xhp
+++ b/source/text/smath/01/03090903.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="textsmath0103090903xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3150300" xml-lang="en-US">A third example of how to use <emph>$[officename] Math</emph> to create symbols with indexes is shown below. You can copy the example into the clipboard and use it in your own formula in the <emph>Commands</emph> window.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3148866" xml-lang="en-US">
-<image id="img_id3153246" src="media/helpimg/smzb3.png" width="5.673cm" height="2.997cm"><alt id="alt_id3153246" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3153808" xml-lang="en-US">%PHI^{i_1 i_2 dotsaxis i_n}_{k_1 k_2 dotsaxis k_n}</paragraph>
+    <image id="img_id3153246" src="media/helpimg/smzb3.png" width="175px" height="80px"><alt id="alt_id3153246" xml-lang="en-US">Symbols with Indices</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3153808" xml-lang="en-US" localize="false"><item type="input">%PHI^{i_1 i_2 dotsaxis i_n}_{k_1 k_2 dotsaxis k_n}</item></paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090904.xhp b/source/text/smath/01/03090904.xhp
index 8721e8f44..22bc9259a 100644
--- a/source/text/smath/01/03090904.xhp
+++ b/source/text/smath/01/03090904.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="textsmath0103090904xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3154656" xml-lang="en-US">Here is an example of how to create a matrix with varying font sizes in <emph>$[officename] Math</emph>. You can copy this example to the <emph>Commands</emph> window using the clipboard and use it in your own formula.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3153915" xml-lang="en-US">
-<image id="img_id3150213" src="media/helpimg/smzb5.png" width="16.51cm" height="4.971cm"><alt id="alt_id3150213" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3146965" xml-lang="en-US">func G^{(%alpha" ," %beta)}_{ x_m x_n} = left[ matrix { arctan(%alpha) # arctan(%beta) ## x_m + x_n # x_m - x_n }right]</paragraph>
+    <image id="img_id3150213" src="media/helpimg/smzb5.png" width="550px" height="135px"><alt id="alt_id3150213" xml-lang="en-US">Matrix with Varying Font Sizes</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3146965" xml-lang="en-US" localize="false"><item type="input">func G^{(%alpha" ," %beta)}_{ x_m x_n} = left[ matrix { arctan(%alpha) # arctan(%beta) ## x_m + x_n # x_m - x_n }right]</item> </paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090905.xhp b/source/text/smath/01/03090905.xhp
index 80698557a..250cb876c 100644
--- a/source/text/smath/01/03090905.xhp
+++ b/source/text/smath/01/03090905.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="textsmath0103090905xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3150344" xml-lang="en-US">Here is an example of how to create a matrix with <emph>$[officename] Math</emph>. If you want to use the example in your own formula, you can copy it to the <emph>Commands</emph> window using the clipboard.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3153912" xml-lang="en-US">
-<image id="img_id3149126" src="media/helpimg/smzb4.png" width="10.839cm" height="6.479cm"><alt id="alt_id3149126" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3153808" xml-lang="en-US" localize="false">font sans bold size *2 A =left[matrix{A_11#A_12#dotsaxis#A_{1n}##A_21#{} #{}#A_{2n}##dotsvert#{}#{}#dotsvert##A_{n1}#A_{n2}#dotsaxis#A_nn}right]</paragraph>
+    <image id="img_id3149126" src="media/helpimg/smzb4.png" width="345px" height="190px"><alt id="alt_id3149126" xml-lang="en-US">Matrix</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3153808" xml-lang="en-US" localize="false"><item type="input">font sans bold size *2 A =left[matrix{A_11#A_12#dotsaxis#A_{1n}##A_21#{} #{}#A_{2n}##dotsvert#{}#{}#dotsvert##A_{n1}#A_{n2}#dotsaxis#A_nn}right]</item> </paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090906.xhp b/source/text/smath/01/03090906.xhp
index fa7727b30..03532856e 100644
--- a/source/text/smath/01/03090906.xhp
+++ b/source/text/smath/01/03090906.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="textsmath0103090906xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3150342" xml-lang="en-US">Here is an example of how to create a bold font matrix in <emph>$[officename] Math</emph>. You can copy this example to the <emph>Commands</emph> window using the clipboard and use it in your own formula.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3148866" xml-lang="en-US">
-<image id="img_id3150210" src="media/helpimg/smzb6.png" width="9.511cm" height="7.99cm"><alt id="alt_id3150210" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3154763" xml-lang="en-US">bold { f(x", "y) = left [ stack { x + y over z + left lbrace matrix { 2 # 3 # 4 ## 4 # 5 # 6 ## 6 # 7 # 8} right rbrace # {y + sin (x)} over %alpha # z + y over g } right ]}</paragraph>
+    <image id="img_id3150210" src="media/helpimg/smzb6.png" width="300px" height="245px"><alt id="alt_id3150210" xml-lang="en-US">Matrix in Bold Font</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3154763" xml-lang="en-US" localize="false"><item type="input">bold { f(x", "y) = left [ stack { x + y over z + left lbrace matrix { 2 # 3 # 4 ## 4 # 5 # 6 ## 6 # 7 # 8} right rbrace # {y + sin (x)} over %alpha # z + y over g } right ]}</item></paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090907.xhp b/source/text/smath/01/03090907.xhp
index 3b8a5e910..09edc9c6c 100644
--- a/source/text/smath/01/03090907.xhp
+++ b/source/text/smath/01/03090907.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="textsmath0103090907xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3148489" xml-lang="en-US">Here is an example of how to create functions with <emph>$[officename] Math</emph>. If you want to use the example in your own formula, copy it to the <emph>Commands</emph> window using the clipboard.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3153912" xml-lang="en-US">
-<image id="img_id3148871" src="media/helpimg/smzb7.png" width="7.987cm" height="2.768cm"><alt id="alt_id3148871" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3154764" xml-lang="en-US" localize="false">func f(x","y)={x sin x~ tan y} over {cos x}</paragraph>
+    <image id="img_id3148871" src="media/helpimg/smzb7.png" width="255px" height="60px"><alt id="alt_id3148871" xml-lang="en-US">Functions</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3154764" xml-lang="en-US" localize="false"><item type="input">func f(x","y)={x sin x~ tan y} over {cos x}</item> </paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090908.xhp b/source/text/smath/01/03090908.xhp
index d81e5ee09..f823c2de7 100644
--- a/source/text/smath/01/03090908.xhp
+++ b/source/text/smath/01/03090908.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="textsmath0103090908xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3145790" xml-lang="en-US">Here is an example of how to create a square root with <emph>$[officename] Math</emph>. If you want to use the example in your own formula, copy it to the <emph>Commands</emph> window using the clipboard.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3148870" xml-lang="en-US">
-<image id="img_id3153917" src="media/helpimg/smzb8.png" width="9.567cm" height="3.597cm"><alt id="alt_id3153917" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3153914" xml-lang="en-US">%LAMBDA_{deg","t}=1 + %alpha_deg SQRT {M_t over M_{(t=0)}-1}~"."</paragraph>
+    <image id="img_id3153917" src="media/helpimg/smzb8.png" width="303px" height="83px"><alt id="alt_id3153917" xml-lang="en-US">Square Root</alt></image>
+</paragraph>
+<paragraph role="code" id="par_id3153914" xml-lang="en-US" localize="false"><item type="input">%LAMBDA_{deg","t}=1 + %alpha_deg SQRT {M_t over M_{(t=0)}-1}~"."</item></paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090909.xhp b/source/text/smath/01/03090909.xhp
index 1c5a06a12..7f4fae7a9 100644
--- a/source/text/smath/01/03090909.xhp
+++ b/source/text/smath/01/03090909.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="textsmath0103090909xml" indexer="include" status="PUBLISH">
@@ -41,8 +41,7 @@
 <paragraph role="paragraph" id="par_id3145791" xml-lang="en-US">Here is an example of how to use various fonts and font sizes within a formula in <emph>$[officename] Math</emph>.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3151243" xml-lang="en-US">
-<image id="img_id3148871" src="media/helpimg/smzb9.png" width="9.257cm" height="3.196cm"><alt id="alt_id3148871" xml-lang="en-US">Icon</alt>
-	</image></paragraph>
-<paragraph role="code" id="par_id3150052" xml-lang="en-US" localize="false">f(t)=int from size*1.5 0 to 1 left[g(t')+sum from i=1 to N h_i(t')right]</paragraph>
+    <image id="img_id3148871" src="media/helpimg/smzb9.png" width="300px" height="90px"><alt id="alt_id3148871" xml-lang="en-US">Integral and Sum Ranges, Font Size</alt></image></paragraph>
+<paragraph role="code" id="par_id3150052" xml-lang="en-US" localize="false"><item type="input">f(t)=int from size*1.5 0 to 1 left[g(t')+sum from i=1 to N h_i(t')right]</item> </paragraph>
 </body>
 </helpdocument>
diff --git a/source/text/smath/01/03090910.xhp b/source/text/smath/01/03090910.xhp
index cf1293c73..96e0feff3 100644
--- a/source/text/smath/01/03090910.xhp
+++ b/source/text/smath/01/03090910.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="textsmath0103090910xml" indexer="include" status="PUBLISH">
@@ -35,8 +35,8 @@
 <paragraph role="paragraph" id="par_id3150301" xml-lang="en-US">This section contains an example of how you can use different attributes in a formula in <emph>$[officename] Math</emph>.</paragraph>
 </section>
 <paragraph role="paragraph" id="par_id3148703" xml-lang="en-US">
-<image id="img_id3151242" src="media/helpimg/smzb10.png" width="8.975cm" height="2.198cm"><alt id="alt_id3151242" xml-lang="en-US">Icon</alt>
+<image id="img_id3151242" src="media/helpimg/smzb10.png" width="295px" height="40px"><alt id="alt_id3151242" xml-lang="en-US">Icon</alt>
 	</image></paragraph>
-<paragraph role="code" id="par_id3150048" xml-lang="en-US">%rho(font sans bold q","%omega) = int func e^{i %omega t}%rho(font sans bold q","t)"d"t</paragraph>
+<paragraph role="code" id="par_id3150048" xml-lang="en-US" localize="false"><item type="input">%rho(font sans bold q","%omega) = int func e^{i %omega t}%rho(font sans bold q","t)"d"t</item></paragraph>
 </body>
 </helpdocument>


More information about the Libreoffice-commits mailing list