> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Guys, the attached file works well enough, but it's rather
Angus> inelegant. I have defined a macro, so:
Angus, I am not sure what was the concusion of this thread, but let me
propose a \DoOrWarn variant:
%% Do command #1 if file
Herbert Voß wrote:
> Angus Leeming schrieb:
>
>>>am I right, that it then has only to run without
>>>errors and the tex code is not important, it is
>>>invisible to the outside LyX world??
>>
>>
>> Sorry, but I don't understand what you are asking. If you are asking,
>> "will I, the user, be ab
Herbert Voß schrieb:
[EMAIL PROTECTED]
\renewcommand{\include}[1]{%
[EMAIL PROTECTED]@warnNotFound{#1}}%
}
this is not elegant, because you have a double check for
the existence of the file, but it does what you want ...
here is the whole example, which worked for me.
Herbert
\documentclas
Angus Leeming schrieb:
am I right, that it then has only to run without
errors and the tex code is not important, it is
invisible to the outside LyX world??
Sorry, but I don't understand what you are asking. If you are asking, "will
I, the user, be able to see what latex I'm using?", then the a
Herbert Voß wrote:
> Angus Leeming schrieb:
>
>> see what improvements could be made. I'm trying to get the external
>> inset to output this...
>
> am I right, that it then has only to run without
> errors and the tex code is not important, it is
> invisible to the outside LyX world??
Sorry, bu
Angus Leeming schrieb:
see what improvements could be made. I'm trying to get the external inset
to output this...
am I right, that it then has only to run without
errors and the tex code is not important, it is
invisible to the outside LyX world??
Herbert
Angus Leeming wrote:
> Herbert Voß wrote:
>> Angus Leeming schrieb:
>>> Guys, the attached file works well enough, but it's rather inelegant. I
>>> have defined a macro, so:
>>>
>>> \newcommand*{\verbatiminputOrWarn}[1]{%
>>> \IfFileExists{#1}{\verbatiminput{#1}}{\warnNotFound{#1}}
>>> }
Herbert Voß wrote:
> Angus Leeming schrieb:
>> Guys, the attached file works well enough, but it's rather inelegant. I
>> have defined a macro, so:
>>
>> \newcommand*{\verbatiminputOrWarn}[1]{%
>> \IfFileExists{#1}{\verbatiminput{#1}}{\warnNotFound{#1}}
>> }
> > [...]
>
> I would use the
Angus Leeming schrieb:
Guys, the attached file works well enough, but it's rather inelegant. I have
defined a macro, so:
\newcommand*{\verbatiminputOrWarn}[1]{%
\IfFileExists{#1}{\verbatiminput{#1}}{\warnNotFound{#1}}
}
> [...]
I would use the internal stuff.
\usepackage{verbatim}
\ma
On Fri, Sep 19, 2003 at 03:39:17PM +, Angus Leeming wrote:
> Guys, the attached file works well enough, but it's rather inelegant.
> I have defined a macro, so:
>
> \newcommand*{\verbatiminputOrWarn}[1]{%
> \IfFileExists{#1}{\verbatiminput{#1}}{\warnNotFound{#1}} }
>
> using it within the doc
10 matches
Mail list logo