[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-
From: |
Edgar Lux |
Subject: |
Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite |
Date: |
Sat, 21 Jan 2023 21:25:49 +0100 (CET) |
For the very silly reason that I was not aware of it >.< . Thank you, Ihor.
For the uninformed: evaluate this as a lisp expression (require 'oc-biblatex) .
Also, you can use either #+LaTeX_HEADER: \usepackage... (like shown in this
thread) or style options with #+cite_export: biblatex (read the documentation
for oc-biblatex.el). I tested like this (and with the \usepackage line too):
#+cite_export: biblatex
#+bibliography: your_file.bib
This:
#+cite_export: biblatex "bibstyle=numeric-comp,sorting=none,
hyperref=true,backref=true,url=true,backend=biber,natbib=true"
will create
\usepackage[style=bibstyle=numeric-comp,sorting=none,
hyperref=true,backref=true,url=true,backend=biber,natbib=true]{biblatex}
(note the style=bibstyle=)
I would suggest that the org-info pages mention (require 'oc-biblatex) and show
an example of how one can use extra options (with the #+latex_header as well).
Further, may be it would be better to allow something like this:
#+cite_export: biblatex "bibstyle=numeric-comp,sorting=none,
hyperref=true,backref=true,url=true,backend=biber,natbib=true"
#+bibliography: your_file.bib
For which one can use the appended patch, which may break other things, of
course :P . The gain is control over biblatex options without resorting to
#+latex_header: \usepackage[...]{biblatex}
Cheers! Thanks.
January 21, 2023 at 9:37:18 AM CET Ihor Radchenko <yantar92@posteo.net>
wrote:Edgar Lux <edgarlux@mailfence.com> writes:
I now looked at the patch and I have one general question. What you
don't just use oc-biblatex in the above?
--
Sent with https://mailfence.com
Secure and private email
oc-biblatex.patch.gz
Description: File Attachment: oc-biblatex.patch.gz
oc-biblatex-postpatch-tests.txt.gz
Description: File Attachment: oc-biblatex-postpatch-tests.txt.gz
- Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite, Edgar Lux, 2023/01/19
- Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite, Ihor Radchenko, 2023/01/20
- Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite, Ihor Radchenko, 2023/01/21
- Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite,
Edgar Lux <=
- Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite, Edgar Lux, 2023/01/22
- Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite, Ihor Radchenko, 2023/01/23
- Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite, Edgar Lux, 2023/01/23
- [BUG] #+cite_export: ... bibstyle citestyle cannot be universally used as global defaults (was: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite), Ihor Radchenko, 2023/01/24