[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH allow explicit style= in #+cite_export: biblatex
|
From: |
Ihor Radchenko |
|
Subject: |
Re: PATCH allow explicit style= in #+cite_export: biblatex |
|
Date: |
Mon, 22 Apr 2024 19:46:51 +0000 |
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>> 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 ;-)
Not for me.
With your latest patch, I tried to export the following to latex
#+cite_export: biblatex backend=bibtex,bibstyle=numeric
#+bibliography: bib.bib
Test [cite:@takemoto2006dissolution]
#+print_bibliography:
bib.bib:
@article{takemoto2006dissolution,
title={Dissolution of stainless steels in molten lead-free solders},
author={Takemoto, Tadashi and Takemoto, Masaharu},
journal={Soldering \& surface mount technology},
volume={18},
number={3},
pages={24--30},
year={2006},
publisher={Emerald Group Publishing Limited}
}
I am getting
\usepackage[style=backend=bibtex,bibstyle=numeric]{biblatex}
>> > 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.
Sounds reasonable.
> 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 ;-)
I am seeing this with the patch as well. So, maybe you are using a
different patch?
--
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>
- PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/13
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Ihor Radchenko, 2024/04/13
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/14
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/14
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/14
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/17
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/17
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/17
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Ihor Radchenko, 2024/04/21
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/21
- Re: PATCH allow explicit style= in #+cite_export: biblatex,
Ihor Radchenko <=
- Message not available
- Message not available
- Message not available
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Ihor Radchenko, 2024/04/24
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Pedro Andres Aranda Gutierrez, 2024/04/25
- Re: PATCH allow explicit style= in #+cite_export: biblatex, Ihor Radchenko, 2024/04/26