Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
> +: #+cite_export: biblatex backend=bibtex,style=numeric
What about something like
#+cite_export: biblatex backend=bibtex,bibstyle=numeric
Just tested on a work document. It generates
\usepackage[backend=bibtex,bibstyle=numeric]{biblatex}
which is a perfectly valid options string for biblatex and yes,
the PDF is generated without errors ;-)
> BTW, I was thinking that maybe "\\`[^=]+=" may be better than matching
> style= anywhere in the options string...
> Open to discuss it...
May you elaborate what exactly will be improved?
IMHO, the current solution of prepending "style=" forces the option string to be
<style>,key=val,key=val,...
I'm adding the possibility of a more general
key=val,key=val,key=val,...
option string, which matches the syntax for the options for the biblatex package.
Go to the biblatex documentation, figure out the mix of options and use them in
your document without needing to fix it.
And BTW, without the patch, the options string generated in the example above is:
style=backend=bibtex,bibstyle=numeric
and that it obviously very wrong ;-)
Best, /PA
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>