diff options
author | Karl Berry <karl@freefriends.org> | 2017-05-15 21:14:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-05-15 21:14:35 +0000 |
commit | 9345b56051808302edacfac91556f8a11d4d7fbe (patch) | |
tree | 8f8c7d6ba280b5a64eb7a80f788c361ac5dff730 /Master/texmf-dist/tex/latex/lwarp | |
parent | dd2663ca8384b982816cfb456c4d53e7a3f17536 (diff) |
lwarp (15may17)
git-svn-id: svn://tug.org/texlive/trunk@44369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty | 19 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp.sty | 4 |
4 files changed, 31 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty index 7052b3081ec..dc14571e023 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatflt.sty @@ -16,7 +16,7 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackageDrop{floatflt} -\DeclareDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +\NewDocumentEnvironment{KFLTfloatflt@marginfloat}{O{-1.2ex} m} {% start \LWR@maybeincthisfloat% \LWR@forcenewpage @@ -30,12 +30,12 @@ } \DeclareDocumentEnvironment{floatingfigure}{o m} - {\begin{KFLT@marginfloat}{figure}} - {\end{KFLT@marginfloat}} + {\begin{KFLTfloatflt@marginfloat}{figure}} + {\end{KFLTfloatflt@marginfloat}} \DeclareDocumentEnvironment{floatingtable}{o +m} - {\begin{KFLT@marginfloat}{table}#2} - {\end{KFLT@marginfloat}} + {\begin{KFLTfloatflt@marginfloat}{table}#2} + {\end{KFLTfloatflt@marginfloat}} \endinput %% %% End of file `lwarp-floatflt.sty'. diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty index 693af547883..a30e33a9074 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty @@ -46,6 +46,25 @@ \LWR@htmldivclassend{div} } +\DeclareDocumentEnvironment{marginfigure}{o} + {\begin{KFLT@marginfloat}{figure}} + {\end{KFLT@marginfloat}} + +\DeclareDocumentEnvironment{margintable}{o} + {\begin{KFLT@marginfloat}{table}} + {\end{KFLT@marginfloat}} + +\DeclareDocumentEnvironment{keywrap}{m +m} +{% +\begin{BlockClass}{marginblock} +\setlength{\linewidth}{#1} +#2% +\end{BlockClass} +} +{% +} + + }% AtBeginDocument \endinput diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty index fe8918afff3..64696f9f855 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty @@ -36,7 +36,7 @@ } \LWR@startpars } -\DeclareDocumentEnvironment{KFLT@marginfloat}{O{-1.2ex} m} +\NewDocumentEnvironment{KFLTsidenotes@marginfloat}{O{-1.2ex} m} {% start \LWR@maybeincthisfloat% \LWR@forcenewpage @@ -50,12 +50,12 @@ } \RenewDocumentEnvironment{marginfigure}{o} - {\begin{KFLT@marginfloat}{figure}} - {\end{KFLT@marginfloat}} + {\begin{KFLTsidenotes@marginfloat}{figure}} + {\end{KFLTsidenotes@marginfloat}} \RenewDocumentEnvironment{margintable}{o} - {\begin{KFLT@marginfloat}{table}} - {\end{KFLT@marginfloat}} + {\begin{KFLTsidenotes@marginfloat}{table}} + {\end{KFLTsidenotes@marginfloat}} \renewenvironment{figure*} {\@dblfloat{figure}} {\end@dblfloat} diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty index 4edb7a40a24..6e15502dd1d 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{lwarp} - [2017/04/29 v0.30 Allows LaTeX to directly produce HTML5 output.] + [2017/05/15 v0.31 Allows LaTeX to directly produce HTML5 output.] @@ -2286,7 +2286,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX- -- Print the usage of the lwarpmk command: -printversion = "v0.30" +printversion = "v0.31" function printhelp () print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ; |