diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-13 22:09:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-13 22:09:01 +0000 |
commit | 9628a8d2cedc5d4275e7701d8eb63258e1175c1d (patch) | |
tree | 106a26cb0c234481862a054d59e73953987e9027 /Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht | |
parent | 752063103091903583253275e807591ffb019ed4 (diff) |
biblatex,ooffice,css fixes, tex4ht r525-531
git-svn-id: svn://tug.org/texlive/trunk@50378 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht | 175 |
1 files changed, 154 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht index b53bf1d661b..b62c80fc955 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht @@ -1,4 +1,4 @@ -% ooffice.4ht (2019-01-18-15:18), generated from tex4ht-ooffice.tex +% ooffice.4ht (2019-03-13-15:06), 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-01-18-15:18} +\immediate\write-1{version 2019-03-13-15:06} \exit:ifnot{Preamble,% algorithmicx,% @@ -72,6 +72,7 @@ tabularx,% tex4ht,% ulem,% url,% +verse,% wrapfig,% xcolor} @@ -452,11 +453,13 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew \Configure{HEAD}{}{} \def\svg:width{0.0pt}\def\svg:height{0.0pt} \Configure{IMG} - {\ht:special{t4ht>\PictureFile.4og}% + {% \ht:special{t4ht>\PictureFile.4og}% +\ht:special{t4ht>\Gin@base\Gin@ext.4og}% \ht:special{t4ht*>}% -\ht:special{t4ht<\PictureFile.4og}% +% \ht:special{t4ht<\PictureFile.4og}% +\ht:special{t4ht<\Gin@base\Gin@ext.4og}% \OOmanifest{<manifest:file-entry - manifest:full-path="Pictures/\PictureFile>"/>\Hnewline + manifest:full-path="Pictures/\PictureFile"/>\Hnewline }% % \ht:special{t4ht=<draw:frame @@ -464,6 +467,10 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew text:anchor-type="as-char" % "paragraph" % svg:width="...pt" % svg:height="...pt" + % \ifx\noBoundingBox\UnDefined + \string svg:width="\the\Gin@req@width" + svg:height="\the\Gin@req@height" + % \fi draw:z-index="0" >% <draw:image\Hnewline @@ -472,10 +479,6 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" - \ifx\noBoundingBox\UnDefined - \string svg:width="\the\Gin@req@width" - svg:height="\the\Gin@req@height" - \fi /><!--draw:name="}} {" } {\ht:special{t4ht=" }} @@ -6853,7 +6856,6 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{graphics} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -6914,6 +6916,29 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew \fi }} +\NewConfigure{Ghostscript}{1} +\NewConfigure{PdfConvert}{2} +\Configure{Ghostscript}{rungs} +\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 \ifx\Gin@page\@empty\else -dFirstPage='\Gin@page' -dLastPage='\Gin@page'\fi\space -sOutputFile='\Gin@base-\Gin@page.\a:PdfConvert' \Gin@base.pdf"} +\Configure{graphics*} + {pdf} + {\ifdefined\Gin@page\else\def\Gin@page{1}\fi% + \edef\svg:filename{\Gin@base-\Gin@page.\a:PdfConvert}% + % test for existence of the converted file + \openin15=\svg:filename\relax + \ifeof15 + \Needs{\b:PdfConvert}% + \fi + \closein15 + \def\Gin@ext{.\a:PdfConvert}% fix to get correct extension for the generated png file + \expandafter\getImgFile\expandafter{\Gin@base-\Gin@page}{\a:PdfConvert}% + \edef\Gin@base{\Gin@base-\Gin@page}% the generated file contains page number + \Picture[IMG]{{\imgBase.\a:PdfConvert} \ifx\noBoundingBox\UnDefined + svg:width="\the\Gin@req@width" + svg:height="\the\Gin@req@height" +\fi +}} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty @@ -6922,7 +6947,6 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{footnote-dw} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8334,6 +8358,7 @@ Y{0178}\i{00EF}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{german} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8356,7 +8381,6 @@ Y{0178}\i{00EF}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fancyvrb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8386,6 +8410,7 @@ Y{0178}\i{00EF}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{color} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8514,7 +8539,6 @@ Y{0178}\i{00EF}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{xcolor} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8570,6 +8594,110 @@ Y{0178}\i{00EF}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{verse} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureEnv{verse} + {\ifvmode \IgnorePar\fi \EndP +\ifnum \BegEnd:D=0 + \gHAdvance\BegEnd:N by 1 +\HCode{<text:section + text:style-name="begin-end-env" + text:name="begin-end-env-\BegEnd:N" + >% + <text:p text:style-name="begin-env-p" ></text:p>}% +% +\else + \gHAdvance\BegEnd:N by 1 +\hbox{\HCode{<text:p><draw:frame + draw:name="begin-end-env-\BegEnd:N" + draw:style-name="env-frame" + text:anchor-type="as-char" +% fo:min-width="0.14in" + svg:width="90\%" + draw:z-index="0" + > + <draw:text-box +% fo:min-height="0.14in" + >}}% +% +\fi +\gHAdvance\BegEnd:D by 1 +% + \HCode{<!--start verse-->}% + \bgroup +\Configure{HtmlPar} + {\ifvmode \IgnorePar\fi \EndP\end:verseln + \HCode{<text:p text:style-name="verse-stanza" >}} + {\ifvmode \IgnorePar\fi \EndP\end:verseln + \HCode{<text:p text:style-name="verse-stanza" >}} + {\HCode{</text:p>}\let\end:verseln\empty} + {\HCode{</text:p>}\let\end:verseln\empty}% + \let\end:verseln\empty + } + {\egroup + \ifvmode \IgnorePar\fi \EndP\HCode{<!--end verse-->}\gHAdvance\BegEnd:D by -1 +\ifvmode \IgnorePar\fi\EndP +\ifnum \BegEnd:D=0 + \HCode{<text:p text:style-name="end-env-p" ></text:p></text:section>}% +% +\else + \hbox{\HCode{</draw:text-box> +</draw:frame></text:p> }}% +% +\fi + + \par\ShowPar} + {}{} + +\ConfigureList{verse} + {} {\ifvmode \IgnorePar\fi \EndP \end:verseln} + {\parindent=\z@} {} + +\Configure{verseline} + {\ifvmode \IgnorePar\fi \EndP \end:verseln + \HCode{<text:p text:style-name="verse">}\def\end:verseln{\HCode{</text:p>}}} + {\ifvmode \IgnorePar\fi \EndP \end:verseln + \HCode{<text:p text:style-name="verse">}% + \def\end:verseln{\HCode{</text:p>}}} + +\ConfigureOO{verse}{\Hnewline +<style:style style:name="verse" + style:family="paragraph" + style:parent-style-name="Text-body" + style:next-style-name="Text-body"> +<style:paragraph-properties fo:margin-left="1.499cm" + fo:margin-right="1cm" + fo:margin-top="0cm" + fo:margin-bottom="0cm" + fo:text-indent="-0.499cm" + style:auto-text-indent="false"> + <style:tab-stops/> +</style:paragraph-properties > +</style:style> +\Hnewline} + +\NewConfigureOO{verse-stanza} +\ConfigureOO{verse-stanza}{\Hnewline +<style:style style:name="verse-stanza" + style:family="paragraph" + style:parent-style-name="Text-body" + style:next-style-name="Text-body"> +<style:paragraph-properties fo:margin-left="1.499cm" + fo:margin-right="1cm" + fo:margin-top="0.5cm" + fo:margin-bottom="0cm" + fo:text-indent="-0.499cm" + style:auto-text-indent="false"> + <style:tab-stops/> +</style:paragraph-properties > +</style:style> +\Hnewline} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -8606,6 +8734,7 @@ Y{0178}\i{00EF}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{apacite} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -13265,6 +13394,7 @@ Y{0178}\i{00EF}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{slides} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -13371,7 +13501,6 @@ Y{0178}\i{00EF}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{foils} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -13574,6 +13703,7 @@ Y{0178}\i{00EF}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{pst-all} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -13863,6 +13993,7 @@ Y{0178}\i{00EF}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{enumerate} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -13968,7 +14099,6 @@ Y{0178}\i{00EF}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{linguex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -14052,6 +14182,7 @@ Y{0178}\i{00EF}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{covington} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -14161,18 +14292,19 @@ Y{0178}\i{00EF}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{pst-jtree} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{jtree} {\bgroup \Configure{IMG} - {\ht:special{t4ht>\PictureFile.4og}% + {% \ht:special{t4ht>\PictureFile.4og}% +\ht:special{t4ht>\Gin@base\Gin@ext.4og}% \ht:special{t4ht*>}% -\ht:special{t4ht<\PictureFile.4og}% +% \ht:special{t4ht<\PictureFile.4og}% +\ht:special{t4ht<\Gin@base\Gin@ext.4og}% \OOmanifest{<manifest:file-entry - manifest:full-path="Pictures/\PictureFile>"/>\Hnewline + manifest:full-path="Pictures/\PictureFile"/>\Hnewline }% % \ht:special{t4ht=<draw:frame @@ -14319,6 +14451,7 @@ Y{0178}\i{00EF}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{ulem} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -14385,6 +14518,7 @@ Y{0178}\i{00EF}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{paralist} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -14679,7 +14813,6 @@ Y{0178}\i{00EF}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{listings} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -14804,6 +14937,7 @@ Y{0178}\i{00EF}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{lineno} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -15089,6 +15223,5 @@ Y{0178}\i{00EF}% - \endinput |