You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extracted from #133. We may want to support the following biber-type comments:
@ARTICLE{bla,
author={Fartsy},
%title={Title},
}
I see two options to handle this:
A middleware to filter out fields starting with %
Adapting the splitter with a custom flag to ignore lines starting with % or whitespace followed by %
In either case, for within-entry comments, I don't think we should create a Comment block in the library.
Option one is more in line with v2 architecture, and it prevents from flags on the splitter, but inputs like this will fail to parse if %-comments are only handled in a middleware.
A standalone, validated implementation is available in draft PR #585: #585. It parses line-leading percent comments structurally, keeps them out of active fields, and preserves them explicitly through canonical writes and field edits.
Activity
claell commentedon Jul 16, 2026
A standalone, validated implementation is available in draft PR #585: #585. It parses line-leading percent comments structurally, keeps them out of active fields, and preserves them explicitly through canonical writes and field edits.