From 96053081ddf50ffc6860dd4ff9b019bf0c12df5f Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 22 Mar 2019 20:50:19 +0000
Subject: lwarp (22mar19)

git-svn-id: svn://tug.org/texlive/trunk@50535 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty')

diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
index ac1b3e59d65..2610fb0c7b8 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
@@ -100,6 +100,13 @@
 \define@key{igraph}{class}{\renewcommand*{\LWR@igclass}{#1}}
 \define@key{igraph}{alt}{\renewcommand*{\LWR@igalt}{#1}}
 \define@key{igraph}{scale}{%
+    \ifthenelse{\equal{#1}{1}}{}{%  must expand #1
+        \PackageWarning{lwarp}{%
+            It is recommended to use\MessageBreak
+            [width=xx\protect\linewidth]\MessageBreak
+            instead of [scale=yy],%
+        }%
+    }%
     \renewcommand*{\LWR@igxscale}{#1}%
     \renewcommand*{\LWR@igyscale}{#1}%
 }
-- 
cgit v1.2.3

