[tex4ht-commits] [SCM] tex4ht updated: r1287 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Jan 19 14:58:04 CET 2023
Author: michal_h21
Date: 2023-01-19 13:58:04 +0000 (Thu, 19 Jan 2023)
New Revision: 1287
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-ooffice.tex
Log:
Fixed percent escape problem in the ooffice output
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-01-12 21:20:42 UTC (rev 1286)
+++ trunk/lit/ChangeLog 2023-01-19 13:58:04 UTC (rev 1287)
@@ -1,3 +1,9 @@
+2023-01-19 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-ooffice.tex (ooffice.4ht, ooffice-mml.4ht): use \prcnt:ch
+ instead of \% in style declarations, because it would produce extra
+ backslash otherwise (thanks Gareth Walker for the report.
+
2023-01-12 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (embedfile-hooks.4ht, usepackage.4ht): declared
Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex 2023-01-12 21:20:42 UTC (rev 1286)
+++ trunk/lit/tex4ht-ooffice.tex 2023-01-19 13:58:04 UTC (rev 1287)
@@ -841,8 +841,8 @@
style:horizontal-pos="center"
style:horizontal-rel="paragraph-content"
fo:background-color="transparent"
- style:background-transparency="100\%"
- fo:margin-left="5\%"
+ style:background-transparency="100\prcnt:ch"
+ fo:margin-left="5\prcnt:ch"
>
</style:graphic-properties>
</style:style>\Hnewline
@@ -3491,7 +3491,7 @@
draw:style-name="env-frame"
text:anchor-type="as-char"
% fo:min-width="0.14in"
- svg:width="90\%"
+ svg:width="90\prcnt:ch"
draw:z-index="0"
>
<draw:text-box
@@ -4091,9 +4091,9 @@
style:class="text">\Hnewline
<style:paragraph-properties fo:font-size="17.2999992370605pt"
fo:font-weight="bold"
- style:font-size-asian="115\%"
+ style:font-size-asian="115\prcnt:ch%"
style:font-weight-asian="bold"
- style:font-size-complex="115\%"
+ style:font-size-complex="115\prcnt:ch%"
style:font-weight-complex="bold"
fo:margin-top="40pt"
fo:margin-bottom="25pt"
@@ -4165,7 +4165,7 @@
fo:font-weight="bold"
fo:margin-top="0.42cm"
fo:margin-bottom="0cm"
- style:font-size-complex="85\%"
+ style:font-size-complex="85\prcnt:ch%"
style:font-style-complex="italic"
style:font-weight-complex="bold"
/>
@@ -4192,7 +4192,7 @@
fo:font-size="12pt"
fo:font-style="italic"
fo:font-weight="normal"
- style:font-size-complex="85\%"
+ style:font-size-complex="85\prcnt:ch%"
style:font-weight-complex="bold"
fo:text-indent="0cm"
style:auto-text-indent="false"/>
@@ -4211,11 +4211,11 @@
style:parent-style-name="Heading"
style:next-style-name="Text-body"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch%"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch%"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch%"
style:font-weight-complex="bold"/>
</style:style>
\Hnewline |<Heading 6 rtl|>}
@@ -4231,11 +4231,11 @@
style:parent-style-name="Heading"
style:next-style-name="Text-body"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch%"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch%"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch%"
style:font-weight-complex="bold"/>
</style:style>
\Hnewline |<Heading 7 rtl|>}
@@ -4251,11 +4251,11 @@
style:parent-style-name="Heading"
style:next-style-name="Text-body"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch%"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch%"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch%"
style:font-weight-complex="bold"/>
</style:style>
\Hnewline |<Heading 8 rtl|>}
@@ -4272,11 +4272,11 @@
style:parent-style-name="Heading"
style:next-style-name="Text-body"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch%"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch%"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch%"
style:font-weight-complex="bold"/>
</style:style>
\Hnewline |<Heading 9 rtl|>}
@@ -4293,11 +4293,11 @@
style:parent-style-name="Heading"
style:next-style-name="Text-body"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch%"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch%"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch%"
style:font-weight-complex="bold"/>
</style:style>
\Hnewline |<Heading 10 rtl|>}
@@ -5530,7 +5530,7 @@
\<automatic styles\><<<
<style:style style:name="tabular"
style:family="table">\Hnewline
-<style:table-properties style:rel-width="76\%"
+<style:table-properties style:rel-width="76\prcnt:ch%"
fo:margin-left="1cm"
fo:margin-right="1cm"
table:align="margins"/>\Hnewline
@@ -7514,7 +7514,7 @@
fo:font-style="normal"
fo:font-weight="normal"
% fo:font-size="75\%"
- style:text-position="0\% 100\%"
+ style:text-position="0\prcnt:ch 100\prcnt:ch"
/>\Hnewline
</style:style>\Hnewline
>>>
@@ -7680,7 +7680,7 @@
\<framedbox\><<<
\Configure{makeframed}
{\ifvmode\IgnorePar\fi\EndP%
- \HCode{<text:p><draw:frame draw:style-name="framebox" text:anchor-type="as-char" svg:width="100\%">\Hnewline
+ \HCode{<text:p><draw:frame draw:style-name="framebox" text:anchor-type="as-char" svg:width="100\prcnt:ch">\Hnewline
<draw:text-box>}\par\ShowPar%
}
{\ifvmode\IgnorePar\fi\EndP\HCode{</draw:text-box></draw:frame></text:p>}\par\ShowPar}
@@ -7860,7 +7860,7 @@
<style:style style:name="equation"
style:family="table">\Hnewline
<\style:tableproperties
- style:rel-width="88\%"
+ style:rel-width="88\prcnt:ch"
fo:margin-left="1cm"
fo:margin-right="0cm"
fo:margin-top="0.3cm"
@@ -8240,7 +8240,7 @@
\OOstyles{%
<style:style style:name="reference-ref" style:family="text">
<style:text-properties
- style:text-scale = "0\%"
+ style:text-scale = "0\prcnt:ch"
/>
</style:style>
}
@@ -8756,7 +8756,7 @@
style:master-page-name="">\Hnewline
<style:paragraph-properties fo:margin-top="0cm"
fo:margin-bottom="0cm"
- fo:line-height="120\%"
+ fo:line-height="120\prcnt:ch"
fo:text-align="justify"
style:justify-single-word="false"
fo:hyphenate="true"
@@ -8774,7 +8774,7 @@
style:master-page-name="">\Hnewline
<style:paragraph-properties fo:margin-top="0cm"
fo:margin-bottom="0cm"
- fo:line-height="120\%"
+ fo:line-height="120\prcnt:ch"
fo:text-align="justify"
style:justify-single-word="false"
fo:hyphenate="true"
@@ -8847,7 +8847,7 @@
style:distance-before-sep="0.0398in"
style:distance-after-sep="0.0398in"
style:adjustment="left"
- style:rel-width="25\%"
+ style:rel-width="25\prcnt:ch"
style:color="\#000000"/>\Hnewline
</style:page-layout-properties>\Hnewline
<style:header-style/>
@@ -9008,9 +9008,9 @@
fo:margin-right="0in"
fo:text-indent="-0.2in"
style:auto-text-indent="false"/>
- <style:text-properties fo:font-size="85\%"
- style:font-size-asian="85\%"
- style:font-size-complex="85\%" />
+ <style:text-properties fo:font-size="85\prcnt:ch"
+ style:font-size-asian="85\prcnt:ch"
+ style:font-size-complex="85\prcnt:ch" />
</style:style>\Hnewline
<text:notes-configuration text:note-class="footnote"
text:citation-style-name="Footnote_20_Symbol"
@@ -9020,11 +9020,11 @@
text:start-numbering-at="document" />\Hnewline
<style:style style:name="Footnote_20_Symbol"
style:display-name="Footnote Symbol" style:family="text" >\Hnewline
- <style:text-properties style:text-position="super 70\%" />\Hnewline
+ <style:text-properties style:text-position="super 70\prcnt:ch" />\Hnewline
</style:style>
<style:style style:name="Footnote_20_anchor"
style:display-name="Footnote anchor" style:family="text">
- <style:text-properties style:text-position="super 58\%" />\Hnewline
+ <style:text-properties style:text-position="super 58\prcnt:ch" />\Hnewline
</style:style>\Hnewline
}
>>>
@@ -9132,7 +9132,7 @@
{\HCode{</text:span>}}
\OOstyles{%
<style:style style:name="textsuperscript" style:family="text">\Hnewline
- <style:text-properties style:text-position="super 58\%"/>\Hnewline
+ <style:text-properties style:text-position="super 58\prcnt:ch"/>\Hnewline
</style:style>\Hnewline
}
\Configure{textsubscript}
@@ -9140,7 +9140,7 @@
{\HCode{</text:span>}}
\OOstyles{%
<style:style style:name="textsubscript" style:family="text">\Hnewline
- <style:text-properties style:text-position="sub 58\%"/>\Hnewline
+ <style:text-properties style:text-position="sub 58\prcnt:ch"/>\Hnewline
</style:style>\Hnewline
}
>>>
@@ -9163,7 +9163,7 @@
\HLet\TeX\:temp
\OOstyles{\Hnewline
<style:style style:name="TEX" style:family="text">
- <style:text-properties style:text-position="-25 100\%"/>
+ <style:text-properties style:text-position="-25 100\prcnt:ch"/>
</style:style>
\Hnewline}
>>>
@@ -9173,7 +9173,7 @@
\HLet\LaTeX\:temp
\OOstyles{\Hnewline
<style:style style:name="LATEX" style:family="text">
- <style:text-properties style:text-position="15 70\%"/>
+ <style:text-properties style:text-position="15 70\prcnt:ch"/>
</style:style>
\Hnewline}
>>>
@@ -9743,7 +9743,7 @@
<style:style style:name="tabular"
style:family="table"
style:parent-style-name="header-style">\Hnewline
-<\style:tableproperties style:rel-width="46\%"
+<\style:tableproperties style:rel-width="46\prcnt:ch"
fo:margin-left="1cm"
fo:margin-right="0cm"
table:align="margins"/>\Hnewline
@@ -11356,9 +11356,9 @@
style:class="text">\Hnewline
<style:paragraph-properties fo:font-size="17.2999992370605pt"
fo:font-weight="bold"
- style:font-size-asian="115\%"
+ style:font-size-asian="115\prcnt:ch"
style:font-weight-asian="bold"
- style:font-size-complex="115\%"
+ style:font-size-complex="115\prcnt:ch"
style:font-weight-complex="bold"
fo:text-align="end"
style:justify-single-word="false"
@@ -11421,7 +11421,7 @@
fo:font-weight="bold"
fo:margin-top="0.42cm"
fo:margin-bottom="0cm"
- style:font-size-complex="85\%"
+ style:font-size-complex="85\prcnt:ch"
style:font-style-complex="italic"
style:font-weight-complex="bold"
fo:text-align="end"
@@ -11446,7 +11446,7 @@
fo:font-size="12pt"
fo:font-style="italic"
fo:font-weight="normal"
- style:font-size-complex="85\%"
+ style:font-size-complex="85\prcnt:ch"
style:font-weight-complex="bold"
fo:text-indent="0cm"
style:auto-text-indent="false"
@@ -11465,11 +11465,11 @@
style:parent-style-name="Heading-rtl"
style:next-style-name="Text-body-rtl"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch"
style:font-weight-complex="bold"
fo:text-align="end"
style:justify-single-word="false"
@@ -11486,11 +11486,11 @@
style:parent-style-name="Heading-rtl"
style:next-style-name="Text-body-rtl"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch"
style:font-weight-complex="bold"
fo:text-align="end"
style:justify-single-word="false"
@@ -11506,11 +11506,11 @@
style:parent-style-name="Heading-rtl"
style:next-style-name="Text-body-rtl"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch"
style:font-weight-complex="bold"
fo:text-align="end"
style:justify-single-word="false"
@@ -11527,11 +11527,11 @@
style:parent-style-name="Heading"
style:next-style-name="Text-body"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch"
style:font-weight-complex="bold"
fo:text-align="end"
style:justify-single-word="false"
@@ -11547,11 +11547,11 @@
style:parent-style-name="Heading-rtl"
style:next-style-name="Text-body-rtl"
style:class="text">\Hnewline
-<style:paragraph-properties fo:font-size="75\%"
+<style:paragraph-properties fo:font-size="75\prcnt:ch"
fo:font-weight="bold"
- style:font-size-asian="75\%"
+ style:font-size-asian="75\prcnt:ch"
style:font-weight-asian="bold"
- style:font-size-complex="75\%"
+ style:font-size-complex="75\prcnt:ch"
style:font-weight-complex="bold"/>
</style:style>
\Hnewline
@@ -11658,7 +11658,7 @@
style:master-page-name="">\Hnewline
<style:paragraph-properties fo:margin-top="0cm"
fo:margin-bottom="0cm"
- fo:line-height="120\%"
+ fo:line-height="120\prcnt:ch"
style:justify-single-word="false"
fo:hyphenate="true"
fo:hyphenation-remain-char-count="2"
@@ -11677,7 +11677,7 @@
style:master-page-name="">\Hnewline
<style:paragraph-properties fo:margin-top="0cm"
fo:margin-bottom="0cm"
- fo:line-height="120\%"
+ fo:line-height="120\prcnt:ch"
style:justify-single-word="false"
fo:hyphenate="true"
fo:hyphenation-remain-char-count="2"
@@ -12166,7 +12166,7 @@
fo:margin-bottom="0.1cm"
/> \Hnewline
<style:text-properties
- fo:font-size="145\%"
+ fo:font-size="145\prcnt:ch"
fo:font-weight="bold"
/> \Hnewline
</style:style> \Hnewline
@@ -12189,7 +12189,7 @@
fo:margin-bottom="0.2cm"
/> \Hnewline
<style:text-properties
- fo:font-size="130\%"
+ fo:font-size="130\prcnt:ch"
fo:font-weight="normal"
fo:font-style="italic"
/> \Hnewline
@@ -12272,7 +12272,7 @@
style:family="text"
> \Hnewline
<style:text-properties
- fo:font-size="110\%"
+ fo:font-size="110\prcnt:ch"
fo:font-weight="bold"
/> \Hnewline
</style:style> \Hnewline
@@ -12319,7 +12319,7 @@
<style:text-properties
fo:font-weight="normal"
fo:font-style="italic"
- fo:font-size="130\%"
+ fo:font-size="130\prcnt:ch"
/> \Hnewline
</style:style> \Hnewline
}
More information about the tex4ht-commits
mailing list.