bug-texinfo
[Top][All Lists]
Advanced

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

Re: allow hyphen etc unescaped in filenames/links


From: Gavin Smith
Subject: Re: allow hyphen etc unescaped in filenames/links
Date: Fri, 7 Aug 2020 22:08:14 +0100
User-agent: Mutt/1.9.4 (2018-02-28)

On Fri, Aug 07, 2020 at 01:25:02PM -0700, Per Bothner wrote:
> The DomTerm/Kawa manuals contain hyphens in node names and anchors.
> The existing (docbook-based) process preserves these hyphens in filenames and 
> links.
> This means that migrating to --html output with texinfo-js will break 
> existing links.
> 
> Breaking existing links is bad enough, but the html link names are really 
> ugly,
> and (compatibility aside) I really don't want such links in my web-site.
> 
> I would like a configuration option to allow at least '-' and '_'
> (hyphen and underscore) to be used without escaping.

You could fix the links by changing the node names.

For example, https://domterm.org/drop-down.html comes from a node called
"drop-down".  texi2any makes this drop_002ddown.html.  If you change the 
node name to "drop down" instead, then the file name will be 
drop-down.html instead.

If you wanted to preserve node names in Info, you could add an anchor at 
the start of the node with the old node name.



reply via email to

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