Skip to content

latexmain specifier does not work unless the mainfile includes the current file? #2831

@user202729

Description

@user202729

Description

When I try to use .latexmain file as mentioned in "File .latexmain specifier" section of the documentation,

  • if the corresponding mainfile.tex includes the current file, that file is correctly detected.
  • otherwise, it will not be detected.

This is according to the behavior in the source code:

if s:file_reaches_current(l:cand)

The corresponding documentation:

File .latexmain specifier ~

I think this is mostly a documentation bug (nevertheless, would it be preferable to edit the source code instead to use that file as main regardless?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions