[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using a macro makes pdfetex quits and exits with bad status
From: |
Christopher Dimech |
Subject: |
Using a macro makes pdfetex quits and exits with bad status |
Date: |
Tue, 22 Jun 2021 20:41:16 +0200 |
That would make the use of macros very limited. I have many working macros
except for the
multi-line situation. I am pushing the functionality requirements quite a bit,
but I feel
it is for the better, using realistic scenarios.
I wonder what Gavin think about this.
> Sent: Wednesday, June 23, 2021 at 6:23 AM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: pertusus@free.fr, help-texinfo@gnu.org
> Subject: Re: Using a macro makes pdfetex quits and exits with bad status
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Date: Tue, 22 Jun 2021 19:52:52 +0200
> > Cc: help-texinfo gnu <help-texinfo@gnu.org>
> >
> > @macro usubsec {label, titl}
> >
> > @set lb \label\
> > @set tl \titl\
> > @ifclear usubsec-no-label
> > @unnumberedsubsec @value{lb} @ @value{tl}
> > @end ifclear
> >
> > @ifset usubsec-no-label
> > @unnumberedsubsec @value{tl}
> > @end ifset
> >
> > @end macro
>
> IME, it's better to have 2 different variants of this macr instead of
> having @ifclear/@ifset inside the macro. IOW, move the
> @ifset/@ifclear outside of the macro, and have each condition define
> the @macro differently, but without any conditionals inside it.
>
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/22
- Re: Using a macro makes pdfetex quits and exits with bad status, Patrice Dumas, 2021/06/22
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/22
- Re: Using a macro makes pdfetex quits and exits with bad status, Eli Zaretskii, 2021/06/22
- Using a macro makes pdfetex quits and exits with bad status,
Christopher Dimech <=
- Re: Using a macro makes pdfetex quits and exits with bad status, Eli Zaretskii, 2021/06/22
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/22
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/22
- Re: Using a macro makes pdfetex quits and exits with bad status, Leo Butler, 2021/06/22
- Re: Using a macro makes pdfetex quits and exits with bad status, Gavin Smith, 2021/06/22
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/22
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/22
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/22
- Re: Using a macro makes pdfetex quits and exits with bad status, Gavin Smith, 2021/06/23
- Using a macro makes pdfetex quits and exits with bad status, Christopher Dimech, 2021/06/23