From: Angus Leeming Date: Thu, 4 Sep 2003 23:09:40 +0000 (+0000) Subject: (Johnathan Burchill): write a message to the latex log file if the X-Git-Tag: 1.6.10~16171 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3b055f124a53cba91ac37c231e7bf3fc1a6f9e53;p=features.git (Johnathan Burchill): write a message to the latex log file if the xfig file cannot be found. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7667 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index bfb9361af1..94828ef471 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-09-05 Johnathan Burchill + + * external_templates: Write a message to the latex log file if the + xfig file cannot be found. + 2003-09-04 Angus Leeming * external_templates: add a new PreambleDef section and use it in the diff --git a/lib/external_templates b/lib/external_templates index 639c5b3533..3dd2a4b126 100644 --- a/lib/external_templates +++ b/lib/external_templates @@ -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