texlive[50591] Master/texmf-dist/tex/generic/tex4ht: footnote fixes,

commits+karl at tug.org commits+karl at tug.org
Mon Mar 25 21:49:27 CET 2019


Revision: 50591
          http://tug.org/svn/texlive?view=revision&revision=50591
Author:   karl
Date:     2019-03-25 21:49:27 +0100 (Mon, 25 Mar 2019)
Log Message:
-----------
footnote fixes, \reversemarginpar support, tex4ht r545-546

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=545

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2019-03-25 20:48:12 UTC (rev 50590)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2019-03-25 20:49:27 UTC (rev 50591)
@@ -1,4 +1,4 @@
-% html4.4ht (2019-03-13-15:05), generated from tex4ht-html4.tex
+% html4.4ht (2019-03-25-13:44), generated from tex4ht-html4.tex
 % Copyright 2009-2019 TeX Users Group
 % Copyright 1997-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-03-13-15:05}
+\immediate\write-1{version 2019-03-25-13:44}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -3236,13 +3236,15 @@
 \fi
 \let\^^_\v
 \Configure{marginpar}
-   {\ifvmode
-      \IgnorePar\EndP\HCode{<div class="marginpar">}%
+   {%
+     \def\marginpar:class{marginpar}%
+     \if at reversemargin\def\marginpar:class{reversemarginpar}\fi%
+     \ifvmode\IgnorePar\EndP\HCode{<div class="\marginpar:class">}%
       \def\end:margp{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}%
       \par
     \else
       \SaveEndP
-      \HCode{<span class="marginpar">}%
+      \HCode{<span class="\marginpar:class">}%
       \bgroup
          \Configure{HtmlPar}{\HCode{<br />}}{\HCode{<br />}}{}{}%
       \def\end:margp{\egroup\HCode{</span>}\RecallEndP}%
@@ -3249,10 +3251,11 @@
     \fi
    }
    {\end:margp}
-\Css{.marginpar {width:20\%; float:right; text-align:left;
+\Css{.marginpar,.reversemarginpar {width:20\%; float:right; text-align:left;
   margin-left:auto; margin-top:0.5em; font-size:85\%;
   text-decoration:underline;}}
-\Css{.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}}
+\Css{.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;}}
+\Css{.reversemarginpar{float:left;}}
 \:CheckOption{fonts} \if:Option
   \Configure{textbf}{\Protect\HCode{<span class="textbf">}\NoFonts}
                     {\EndNoFonts\Protect\HCode{</span>}}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht	2019-03-25 20:48:12 UTC (rev 50590)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht	2019-03-25 20:49:27 UTC (rev 50591)
@@ -1,4 +1,4 @@
-% ooffice.4ht (2019-03-21-16:01), generated from tex4ht-ooffice.tex
+% ooffice.4ht (2019-03-25-13:45), generated from tex4ht-ooffice.tex
 % Copyright 2009-2019 TeX Users Group
 % Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2019-03-21-16:01}
+\immediate\write-1{version 2019-03-25-13:45}
 
   \exit:ifnot{Preamble,% 
 algorithmicx,% 
@@ -2523,6 +2523,20 @@
                   style:font-size-asian="85\%"
                   style:font-size-complex="85\%" />
 </style:style>\Hnewline
+<text:notes-configuration text:note-class="footnote"
+    text:citation-style-name="Footnote_20_Symbol"
+    text:citation-body-style-name="Footnote_20_anchor"
+    style:num-format="1" text:start-value="0"
+    text:footnotes-position="page"
+    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: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:style>\Hnewline
 }
 \Configure{textsuperscript}
   {\HCode{<text:span text:style-name="textsuperscript">}}



More information about the tex-live-commits mailing list