Stefan Schimanski writes:
>> I think that \global\newcommand works in any case.
>
> It does? I think I tried and it did not.
I might be wrong. I cannot find reference to that right now.
> A second requirement: the distinction between \newcommand and
> \renewcommand is very fragile. It is far fro
Am 07.01.2009 um 22:45 schrieb Jean-Marc Lasgouttes:
xargs is only needed if you have macros with optional arguments. Of
course, \newcommand could handle the case with one optional. But,
what we need in fact is something equivalent to \global\def for
this case. Is there a way to do this wi
Am 07.01.2009 um 22:45 schrieb Jean-Marc Lasgouttes:
xargs is only needed if you have macros with optional arguments. Of
course, \newcommand could handle the case with one optional. But,
what we need in fact is something equivalent to \global\def for
this case. Is there a way to do this wi
On Jan 7, 2009, at 2:05 PM, Stefan Schimanski wrote:
Updating your MacTex to the latest version will solve the problem.
Updating MacTex did the job. Thank you!
James
xargs is only needed if you have macros with optional arguments. Of
course, \newcommand could handle the case with one optional. But,
what we need in fact is something equivalent to \global\def for
this case. Is there a way to do this with \newcommand?
Why \global?
I think that \global\new
Am 06.01.2009 um 16:58 schrieb James C. Sutherland:
I have been using macros in 1.6.1, and recently tried to use a macro
with an optional argument. I have attached a trivial LyX file that
shows this macro and an example of its use. This compiles through
LyX just fine.
The problem is th
Am 07.01.2009 um 10:59 schrieb Jean-Marc Lasgouttes:
[cc:ing to lyx-devel]
"James C. Sutherland" writes:
Okay, I think that I found the problem: I am missing the "xargs"
package. The exported LaTeX file actually had a line:
\usepackage{xargs}[2008/03/08]
which I discarded. This is
[cc:ing to lyx-devel]
"James C. Sutherland" writes:
> Okay, I think that I found the problem: I am missing the "xargs"
> package. The exported LaTeX file actually had a line:
> \usepackage{xargs}[2008/03/08]
> which I discarded. This is presumably where the "\newcommandx" tag is
> define
Okay, I think that I found the problem: I am missing the "xargs"
package. The exported LaTeX file actually had a line:
\usepackage{xargs}[2008/03/08]
which I discarded. This is presumably where the "\newcommandx" tag is
defined. The problem is that when I run LaTeX on the file, I ge
I have been using macros in 1.6.1, and recently tried to use a macro
with an optional argument. I have attached a trivial LyX file that
shows this macro and an example of its use. This compiles through LyX
just fine.
The problem is that if I export the file to LaTeX and then try to
comp
10 matches
Mail list logo