[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.23 prints some strange error
From: |
Walter Alejandro Iglesias |
Subject: |
Re: 1.23 prints some strange error |
Date: |
Mon, 11 Sep 2023 19:45:30 +0200 |
On Mon, Sep 11, 2023 at 07:18:59PM +0200, Walter Alejandro Iglesias wrote:
> Dear groff users and developers,
>
> I normally use OpenBSD in my desktop, which still comes with groff
> 1.22.4. Today I booted an old laptop with Debian testing (Devuan to be
> more precise) and, after updating it, I could finally test groff 1.23.
>
> Lately, as I mentioned in this same list months ago, instead of the
> conventional hyphenation method (my documents are in UTF-8 Spanish),
> I've been using an application I wrote myself to generate a file with
> entries like this:
>
> .hw a-ba-co
> .hw ár-bol
> .hw ca-ba-ña
> [...]
>
> Also UTF-8 encoded.
>
> I save those entries to a file called "hyphen.tr" and I source it from
> my groff document:
>
> .mso hyphen.tr
>
> 1.23 output (under Debian) seems to be identical to 1.22 (under
> OpenBSD), I see no issue in the PDF, both have the same words broken in
> the same syllables, that's why I don't understand why 1.23 throws me
> hundreds of lines of error like the following:
>
> troff:/home/morlock/Documents/Roquesor/Groff/tmac/hyphen.tr:8777: error:
> expected ordinary or special character, got an escaped '%'
>
> I took a look to the hyphen.tr file and didn't find no '%' character.
>
> Someone have any idea what happens here?
If instead of sourcing hyphen.tr from my macros with .mso I source it
directly from the roff document with .so those error messages desapear.
--
Walter