Skip to content

Field properties for context menu, cleanup actions, and integrity checker #59

@oscargus

Description

@oscargus

The current integrity checkers are executed based on a hard-coded file name. I was thinking that maybe it makes sense to add methods and variables in BibtexFields such that one can set which integrity checkers should be used for specific fields.

The background is that I tried this approach for checking numeric fields, based on isNumeric, but it turns out that "author" is set in the default preferences to be numeric, so that branch will never show up as a PR... Part of the reason is also that the IEEEtranBSTCTL type has some rather well specified fields, but I do not want to clutter IntegrityCheck with those hardcoded...

Looking at a bigger picture, for a Biblatex article there are fields like "translator", "annotator", "commentator", "editora", "editorb", "editorc" for which the AuthorNameChecker should be run, but one do not really want to have eight (with author and editor) if statements. There's "subtitle", "titleaddon", "maintitle", "mainsubtitle", "maintitleaddon" for the TitleChecker.

It's not really clear how BibtexFields relate to Biblatex though, but it may become clearer...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions