`@anchor` improvement

2025-02-10 Thread Werner LEMBERG
Folks, I suggest to add a second, optional argument to `@anchor` that gives the default printed label. Rationale: The `@node` command is tightly bound with a section command like `@chapter`; this gets reflected by the command `@xrefautomaticsectiontitle`, which makes `@xref` and friends actual

Re: Self-test fail on OS X: test_scripts/encoded_non_ascii_*

2025-02-10 Thread Daniel Macks
On 2/10/25, 5:43 PM, "Patrice Dumas" wrote: > On Fri, Feb 07, 2025 at 10:34:47AM +, Gavin Smith wrote: > > On Wed, Feb 05, 2025 at 05:05:33PM -0500, Daniel Macks wrote: > > > For the first one, test-suite.log has: > > > > > > FAIL: test_scripts/encoded_non_ascii_command_line.sh > > >

Re: normalization problem with `@anchor` targets

2025-02-10 Thread pertusus
On Mon, Feb 10, 2025 at 04:54:24PM +, Gavin Smith wrote: > On Mon, Feb 10, 2025 at 03:46:27PM +, Werner LEMBERG wrote: > > > > >> And Japanese people are probably even offended because, as it > > >> currently happens, almost all Japanese characters are represented > > >> with Chinese sylla

Re: normalization problem with `@anchor` targets

2025-02-10 Thread pertusus
On Mon, Feb 10, 2025 at 03:46:27PM +, Werner LEMBERG wrote: > > >> And Japanese people are probably even offended because, as it > >> currently happens, almost all Japanese characters are represented > >> with Chinese syllables... > > > > In addition to --no-transliterate-file-names, it is al

Re: normalization problem with `@anchor` targets

2025-02-10 Thread pertusus
On Mon, Feb 10, 2025 at 05:25:19PM +, Gavin Smith wrote: > Users could do transliteration of node names in the Texinfo source > if they wanted. Instead of writing > > @node garçonnière > > they could write > > @node garconniere > > (I searched Google for a French word with accents in it.)

Re: htmlxref.cnf line numbers are wrong in error messages

2025-02-10 Thread pertusus
On Mon, Feb 10, 2025 at 07:22:45PM +, Gavin Smith wrote: > While playing with this I found a bug. Line numbers in htmlxref.cnf may > not be correctly reported. > > I note that the edition of htmlxref.cnf I am using has exactly 801 lines > so it is as if the line counter for htmlxref.cnf is no

Re: Self-test fail on OS X: test_scripts/encoded_non_ascii_*

2025-02-10 Thread Patrice Dumas
On Fri, Feb 07, 2025 at 10:34:47AM +, Gavin Smith wrote: > On Wed, Feb 05, 2025 at 05:05:33PM -0500, Daniel Macks wrote: > > For the first one, test-suite.log has: > > > > FAIL: test_scripts/encoded_non_ascii_command_line.sh > > > It is not

htmlxref.cnf line numbers are wrong in error messages

2025-02-10 Thread Gavin Smith
On Mon, Feb 10, 2025 at 03:11:03PM +0100, pertu...@free.fr wrote: > However, any customization of transliteration bears the risk of > cross-references across manuals being non-functional. That's why it is > necessary to settle on a choice that is good enough but that cannot be > perfect for all th

Re: normalization problem with `@anchor` targets

2025-02-10 Thread Gavin Smith
On Mon, Feb 10, 2025 at 03:11:03PM +0100, pertu...@free.fr wrote: > On Fri, Feb 07, 2025 at 02:10:57PM +, Werner LEMBERG wrote: > > > Likewise, Finnish speakers strongly protest if "ä" is rendered as > > > "ae". > > > > And Japanese people are probably even offended because, as it > > currentl

Re: normalization problem with `@anchor` targets

2025-02-10 Thread Gavin Smith
On Mon, Feb 10, 2025 at 03:46:27PM +, Werner LEMBERG wrote: > > >> And Japanese people are probably even offended because, as it > >> currently happens, almost all Japanese characters are represented > >> with Chinese syllables... > > > > In addition to --no-transliterate-file-names, it is al

Re: normalization problem with `@anchor` targets

2025-02-10 Thread Werner LEMBERG
>> And Japanese people are probably even offended because, as it >> currently happens, almost all Japanese characters are represented >> with Chinese syllables... > > In addition to --no-transliterate-file-names, it is also possible to > set the customization variable USE_UNIDECODE to 0, [...]

Re: Self-test fail on OS X: test_scripts/encoded_non_ascii_*

2025-02-10 Thread Patrice Dumas
On Fri, Feb 07, 2025 at 10:34:47AM +, Gavin Smith wrote: > On Wed, Feb 05, 2025 at 05:05:33PM -0500, Daniel Macks wrote: > > For the first one, test-suite.log has: > > > > FAIL: test_scripts/encoded_non_ascii_command_line.sh > > > > > > D:

Re: normalization problem with `@anchor` targets

2025-02-10 Thread pertusus
On Fri, Feb 07, 2025 at 02:10:57PM +, Werner LEMBERG wrote: > > Likewise, Finnish speakers strongly protest if "ä" is rendered as > > "ae". > > And Japanese people are probably even offended because, as it > currently happens, almost all Japanese characters are represented with > Chinese sylla

Re: pod2texi in @direntry with a manual not existing

2025-02-10 Thread Gavin Smith
On Mon, Feb 10, 2025 at 10:53:02AM +0100, Patrice Dumas wrote: > On Thu, Feb 06, 2025 at 09:37:14PM +0100, Patrice Dumas wrote: > > Hello, > > > > This was reported in Debian: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012612 > > > > The pod2texi @direntry is > > > > * pod2texi: (pod

Re: pod2texi in @direntry with a manual not existing

2025-02-10 Thread Patrice Dumas
On Thu, Feb 06, 2025 at 09:37:14PM +0100, Patrice Dumas wrote: > Hello, > > This was reported in Debian: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012612 > > The pod2texi @direntry is > > * pod2texi: (pod2texi)Invoking pod2texi. > > But there is no pod2texi manual as it is included i