Skip to content

TeX-like comments (for use with biber) #132

@igneus

Description

@igneus

I only use biber, never bibtex, and frequently make use of TeX-like comments (% and anything up to the end of line) just anywhere:

% outside of an entry
@book{ book,
% inside, separate line
author = "John Doe" % inside, after a field
}

biber is ok with that, bibtex-ruby crashes just like bibtex would. I usually strip comments before parsing the database:

BibTeX.parse(File.read(bib_path).gsub(/%.+?$/, ''))

My question is: do you find it desirable to handle bibtex-incomplatible biber-style comments in the gem? (Another question would be how - silently and always? optionally?) Or do you prefer to support only standard bibtex features?

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