bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Within `@code`, `@-` and `@/` are handled the same


From: Werner LEMBERG
Subject: Within `@code`, `@-` and `@/` are handled the same
Date: Tue, 06 Dec 2022 07:52:46 +0000 (UTC)

[texinfo.tex 2022-12-04.16]


Consider this example.

```
\input texinfo

This is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word};
this is a @code{Long@-Long@-Word}.

@bye
```

As can be seen in the attached output, there is no hyphen in the split
word.  I consider this a bug, since there is zero reason for such a
surprising (and undocumented) behaviour.

BTW, you get exactly the same output if you replace `@code` with `@t`
– and *this* is definitely a bug :-)


    Werner

PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]