Helge Hafting schrieb:
You have a point. Note that the people here can change lyx but
not latex, and part of the problem here is how latex works.
no, the point is in which way LyX should support LaTeX
packages, should it be for 100% or is a minimal support
better than no support.
LyX supports the
Angus Leeming schrieb:
Three different macros, two different implementations. Why isn't the second
one based on \InputIfFileExists? I did so and all appears to work.
this depends to the different possibilities of
calling \input. If you are sure, that you use
only one way then you can delete the o
Angus Leeming schrieb:
and now you can call verbatiminput as usual, with a star. too.
Many thanks, Herbert. Could you cast your eye over the attached file and
see what improvements could be made. I'm trying to get the external inset
to output this...
here comes the first try. I tried to use the ol
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