bug-texinfo
[Top][All Lists]
Advanced

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

Re: Improving standalone info usability


From: Gavin Smith
Subject: Re: Improving standalone info usability
Date: Sun, 9 Mar 2014 19:37:18 +0000

I have implemented adjustment of anchor offsets. (For example, the
entry for "makeinfo" in the dir file is a link to an anchor.)

Attached patches apply against SVN version 5419. First patch can be
applied with "patch -p3" and the others with "patch -p1" in the "info"
subdirectory. Some of the changes require still require some polish,
but at least they should be more understandable split up.

The "copy_input_to_output" function introduced in the last patch would
be a good place to put charset conversion, as anchor offset correction
could be done at the same time. When I get time, I will try to
implement this and try to tidy up the changes I have already made.

On Sat, Mar 1, 2014 at 7:41 PM, Gavin Smith <address@hidden> wrote:
> Here is the current state of my work. Manpages are supported now. Even
> with a change to regexp_search, it was intolerably slow for the mysql
> manual I have installed (it's 14 megabytes unzipped), so I've changed
> to only process nodes as they are actually opened (using the
> content_cache field the way was already done if a node contained image
> tags.)
>
> The main feature that I know doesn't work properly is anchors - if
> preprocess-nodes=On, following a link to an anchor will put you in the
> right node, but you'll be at the wrong position in the node. I know
> how to fix this but it would take some work and I thought I'd better
> get comments on the changes before making them even bigger.
>
> If preprocess-nodes=Off, there should be no noticeable difference in 
> behaviour.

Attachment: 01-merge-TAG-and-NODE.patch
Description: Text Data

Attachment: 02-new-fields.patch
Description: Text Data

Attachment: 03-scan-node-contents.patch
Description: Text Data

Attachment: 04-call-scan-node-contents.patch
Description: Text Data

Attachment: 05-use-data-from-new-fields.patch
Description: Text Data

Attachment: 06-delete-unused-functions.patch
Description: Text Data

Attachment: 07-miscellaneous.patch
Description: Text Data

Attachment: 08-split-initialize_info_session.patch
Description: Text Data

Attachment: 09-adjust-anchors.patch
Description: Text Data


reply via email to

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