]> git.lyx.org Git - features.git/commitdiff
(Johnathan Burchill): write a message to the latex log file if the
authorAngus Leeming <leeming@lyx.org>
Thu, 4 Sep 2003 23:09:40 +0000 (23:09 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 4 Sep 2003 23:09:40 +0000 (23:09 +0000)
xfig file cannot be found.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7667 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/external_templates

index bfb9361af15974ef964eb5590c3f55fedda420cd..94828ef471ff4bb375246899e8cb4c833933ede6 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-05  Johnathan Burchill  <jkerrb@shaw.ca>
+
+       * external_templates: Write a message to the latex log file if the
+       xfig file cannot be found.
+
 2003-09-04  Angus Leeming  <leeming@lyx.org>
 
        * external_templates: add a new PreambleDef section and use it in the
index 639c5b35334e7ffe39a110aa441605f7c277230b..3dd2a4b1263d25be835527e019d5169ec3680395 100644 (file)
@@ -5,11 +5,13 @@ PreambleDef XFigInput
        %% encased in an fbox.
        \def\stripprefix#1>{}
        \newcommand*{\xfiginput}[1]{%
-               \edef\tempfilename{#1}%
-               \InputIfFileExists{#1}{}{%
-                       \fbox{Could not find
-                       \ttfamily\expandafter\stripprefix\meaning\tempfilename
-               !}}}
+           \edef\tempfilename{#1}%
+           \InputIfFileExists{#1}{}{%
+               \fbox{Could not find
+                   \ttfamily\expandafter\stripprefix\meaning\tempfilename!}
+               \typeout{xfiginput: Could not find \tempfilename!}
+           }
+       }
 PreambleDefEnd
 
 Template XFig