[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Determine if an argument was supplied to a macro
From: |
Gavin Smith |
Subject: |
Re: [help-texinfo] Determine if an argument was supplied to a macro |
Date: |
Thu, 26 Sep 2019 20:03:50 +0100 |
On Tue, Sep 24, 2019 at 9:14 PM Pantxo Diribarne
<address@hidden> wrote:
> Thank you very much for your fast answer, there won't be any @-command in the
> arguments so your solution should work in principle.
>
> Unfortunately, in the mean time I found out that I was unable to generate
> valid tex output with this macro. The @myref macro is used within a
> @deftypefn block environment and, while running texi2dvi, I get an error
> similar to the one mentioned in [1], something like "Paragraph ended before
> @deftypefn was complete".
>
> So this approach for partly aliasing the @*ref macros doesn't look like the
> right one. I guess I'll need to preprocess my texi strings based on the
> output format. Or is there another way?
I don't see why a macro shouldn't work within a @deftypefn block
although appearing on the actual @deftypefn command line might not
work. I'd have to have an example of the input that fails to see if I
can suggest another way that it could be done.