Re: link handling in js-reader

2021-03-03 Thread Jacob Bachmeyer
Per Bothner wrote: [...] Ideally, one could determine which links are internal by checking for an entry in the table-of-contents. However, that is bit complicated, mainly because sub-pages don't have access to the ToC, so it would have to involve message sending between JavaScript contexts (no b

update on js-info

2021-03-03 Thread Per Bothner
I think the js-info-based version of the DomTerm manual is now ready to replace the docbook-based version. (Through probably not until after the texinfo release.) Old (docbook-based): https://domterm.org/ New: https://per.bothner.com/tmp/DomTerm-txjs Of the issues mentioned in my email "Re: upc

Re: definition styling

2021-03-03 Thread Per Bothner
On 3/3/21 2:00 PM, Gavin Smith wrote: On Tue, Feb 16, 2021 at 03:46:46PM -0800, Per Bothner wrote: * Hide "Script license information" link or move it to "Help" page. It's clutter that I don't want on my website, though I might be ok with it in the help page. It could be hidden with CSS as it

definition styling

2021-03-03 Thread Gavin Smith
On Tue, Feb 16, 2021 at 03:46:46PM -0800, Per Bothner wrote: > * Hide "Script license information" link or move it to "Help" page. > It's clutter that I don't want on my website, though I might be > ok with it in the help page. It could be hidden with CSS as it has the "rel" attribute to identify

Re: link handling in js-reader

2021-03-03 Thread Per Bothner
On 3/3/21 9:07 AM, Gavin Smith wrote: On Wed, Mar 03, 2021 at 08:09:01AM -0800, Per Bothner wrote: The JavaScript info reader calls the fix_links function to convert cross-references to special "magic" links that load a different page (or scroll within the current one). "External" references are

Re: link handling in js-reader

2021-03-03 Thread Gavin Smith
On Wed, Mar 03, 2021 at 08:09:01AM -0800, Per Bothner wrote: > The JavaScript info reader calls the fix_links function to convert > cross-references to special "magic" links that load a different page > (or scroll within the current one). "External" references are unchanged, > except the 'target' a

link handling in js-reader

2021-03-03 Thread Per Bothner
The JavaScript info reader calls the fix_links function to convert cross-references to special "magic" links that load a different page (or scroll within the current one). "External" references are unchanged, except the 'target' attribute is set so they open in a new tab. This logic is rather bro