Skip to content

Off-by-one in treatment of Tex line numbers? #69

Description

@pnb

Potential issue: some off-by-1 errors with LaTeX comment line numbers vs. line numbers in the array of Tex lines?

Seems like find_image_line_num subtracts 1 whereas get_tex_environment does not?

That should usually be fine because the line number + 1 will likely not be the \end{} command?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions