Re: texinfo 4.7.90 pretest available

Patrice Dumas <[email protected]> Sat, 4 Dec 2004 23:22:06 +0100
Newsgroups gmane.comp.tex.texinfo.pretest
Message-ID <[email protected]>
Hi,

It might not be a big issue, but in the current html cross refs scheme can
lead to invalid id, in case the first character of the name is something
else than a letter [a-zA-Z]. In the current state, the 2 problematic cases are

- digits
- constructs with _, _xxxx escaping non us ascii letter

I can see 2 possibilities to overcome those issues

1) prefix the problematic cases with an 'impossible' construct, for example
a_q. Therefore

@node .thing
@node 1 piece

become

a_q_002e 
a_q1-piece

2) prefix with a letter and double that letter if it appears in the beginning
of a node. For example with the letter q.

@node .thing
@node 1 piece
@node quote
@node qquasi

become

q_002e
q_1-piece
qquote
qqquasi



Both are ugly, and I don't see any other possibility. Please tell if you see
something better or make your choice...

Pat
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://ff0.org/mailman/listinfo/texinfo-pretest