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
Instead of month = {1}, I would like to see month = jan in my bibtex outputs. I see that write_string and write_file both have some middleware argument, but something like
Thanks for your comment. I don't think this is supported yet in a non-hacky fashion - although it clearly should be.
Hacky way: It should be possible if you did not prepend_middleware but unparse_stack with a custom AddEnclosingMiddleware instance which implements your desired behavior. That's hardly a nice solution, though.
I'll convert this into a feature request: One possible solution: We could implement a way to specify the desired enclosing on a field value. Said value should be set e.g. by the MonthAbbreviationMiddlewareorMonthAbbreviationMiddleware` and - if set - have precedence over the default enclosings set by the writer.
I'm happy to discuss specifics if anyone wants to take over this issue.
MiWeiss
changed the title
[question] How to write months as abbreviations?
✨ Nice way to handle enclosings for months while writing with the default stack
Apr 20, 2024
Instead of
month = {1}
, I would like to seemonth = jan
in my bibtex outputs. I see thatwrite_string
andwrite_file
both have some middleware argument, but something likeonly gives
(with brackets).
Any hints?
The text was updated successfully, but these errors were encountered: