Skip to content

Include column information into synctex? #89

Description

@user202729

I think this is not too difficult, the (1-indexed) column can be computed as loc - start + 1 provided state != token_list.

I already have a proof of concept implementation at user202729/luatex@synctex-column , which appears to work reasonably for simple documents.

I'd like to ask:

  • is there sufficient interest in this idea?

  • while I implement this, I don't really understand the memory layout, which leads to me packing the line and column into a single int like a bit mask. This leads to a limitation of file length less than $2^{24}$ lines and column less than $2^8$.

    How can I modify the memory layout to add an extra field column into the box?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions