Re: One for the LaTeX masters

2003-09-22 Thread Jean-Marc Lasgouttes
> "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

Re: One for the LaTeX masters

2003-09-21 Thread Angus Leeming
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

Re: One for the LaTeX masters

2003-09-20 Thread Herbert Voß
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

Re: One for the LaTeX masters

2003-09-20 Thread Herbert Voß
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

Re: One for the LaTeX masters

2003-09-20 Thread Angus Leeming
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

Re: One for the LaTeX masters

2003-09-19 Thread Herbert Voß
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

Re: One for the LaTeX masters

2003-09-19 Thread Angus Leeming
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}} >>> }

Re: One for the LaTeX masters

2003-09-19 Thread Angus Leeming
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

Re: One for the LaTeX masters

2003-09-19 Thread Herbert Voß
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

Re: One for the LaTeX masters

2003-09-19 Thread Andre Poenitz
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