diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-25 20:51:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-25 20:51:39 +0000 |
commit | e6ef624d41c49a62e8b2d8e051b4d2cb8dc1ff46 (patch) | |
tree | 8cb484f86ed4e60635b18880d91e3290648b21fc /Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty | |
parent | b3f874e11dec455061f4a2eee43b3992c83a19ad (diff) |
lwarp (25apr20)
git-svn-id: svn://tug.org/texlive/trunk@54877 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty index 83fbf2a8b3a..9a0fbfeec0e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-forest.sty @@ -18,7 +18,9 @@ \LWR@ProvidesPackagePass{forest}[2017/07/14] -\BeforeBeginEnvironment{forest}{\begin{lateximage}[forest]} +\BeforeBeginEnvironment{forest}{% + \begin{lateximage}[-forest-~\PackageDiagramAltText]% +} \AfterEndEnvironment{forest}{\end{lateximage}} @@ -26,8 +28,9 @@ \forest@config{#2}% \IfBooleanTF{#1}{% \PackageError{lwarp-forest}% - {Starred \Forest is not supported}% - {Lwarp uses an environment for images, but \Forest* cannot work in an environment.}% + {\protect\Forest* is not supported}% + {Lwarp uses an environment for images,\MessageBreak + but \protect\Forest* cannot work in an environment.}% \let\forest@next\forest@env% }{\let\forest@next\forest@group@env}% \begin{lateximage}[-forest-~\PackageDiagramAltText]% lwarp |