[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Texinfo error: need help for debugging
From: |
David Kastrup |
Subject: |
Re: Texinfo error: need help for debugging |
Date: |
Tue, 11 Jan 2022 09:04:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Werner LEMBERG <wl@gnu.org> writes:
> Hello Federico,
>
>> I'm testing a translation patch and I cannot understand which
>> mistake is causing the following error:
>
> AFAIK, the problematic error message is the following:
>
>> .../Documentation/out-www/it/it/usage/updating.texi:14: This command
>> can appear only outside of any environment, not in environment
>> @raggedright.
>
> This means that somewhere before line 14 of `updating.texi` – most
> certainly in another file – the `raggedright` environment wasn't
> properly closed.
>
> We don't use the `raggedright` environment directly. Instead, we use
> the `@raggedRight` and `@endRaggedRight` macros.
>
> Note that `@endRaggedRight` isn't normally used directly either;
> instead, they are part of the `@endmorerefs` and `@endpredefined`
> macros.
>
> My conclusion: In a file included before `updating.texi`, you are
> missing either `@endmorerefs` or `@endpredefined`.
Or it means that @chapter sets its argument in @raggedright (possibly in
a table-of-contents diversion) and does not allow @command to be used
inside of its argument.
--
David Kastrup