mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
(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
This commit is contained in:
parent
e9c209c298
commit
3b055f124a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user