[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Macros
From: |
Patrice Dumas |
Subject: |
Re: Using Macros |
Date: |
Fri, 13 Nov 2020 20:16:34 +0100 |
On Fri, Nov 13, 2020 at 08:05:46PM +0100, Christopher Dimech wrote:
> Anybody understands what's wrong with the following code.
>
> @macro Startof{entity, label, title}
>
> @ifclear NoLabel
> @* @noindent @strong{\entity\ \label\.} @ \title\
> @end ifclear
>
> @ifset NoLabel
> @* @noindent @strong{\entity\.} @ \title\
> @end ifset
>
> @end macro
>
>
> @macro Defini(lb, tl)
It should be with braces
@macro Defini{lb, tl}
>
> @Startof{Definition, \lb\, \tl\}
>
> @end macro
texi2any error message is quite clear:
testm.texi:18: bad syntax for @macro argument: (lb, tl)
--
Pat
- Using Macros, Christopher Dimech, 2020/11/13
- Re: Using Macros,
Patrice Dumas <=