HI,

devil's advocate...

In my case, my default snippet for bibliography is:

# Bibliography
#+bibliography: report.bib
#+cite_export: biblatex backend=bibtex,bibstyle=numeric

so we would also need a default for biblatex ;-)

This apart, if and when any of these defcustoma are defined, remember to include

:safe #string-p

To allow them to be handled as file/directory local variables too.
Once we have the all-tex-fonts integrated, I'd like to have :safe
added to more custom variables.

Best, /PA

On Sun, 5 Oct 2025 at 13:18, Ihor Radchenko <[email protected]> wrote:
>
> Thomas Ingram <[email protected]> writes:
>
> > I've been experimenting with org-cite and bibtex.  I've noticed with
> > bibtex print_bibliography will fail if no citation style is provided.
> > Example:
> >
> > #+CITE_EXPORT: bibtex
> >
> > The resulting TeX file will be missing the \bibliographystyle{} command.
> > My understanding is that is a required command, so I would like to add a
> > default style variable to provide a fallback option.  I propose adding a
> > variable like `org-cite-bibtex-default-style' to oc-bibtex.el:
> >
> > (defcustom org-cite-bibtex-default-style "plain")
> >
> > Please let me know if there are any concerns with this change and I'll
> > work on providing a patch.  Thanks!
>
> Sorry for the late reply.
> I agree that it would be a reasonable change.
> In fact, we already have `org-cite-natbib-bibliography-style' to address
> similar problem for natbib.
>
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> 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>
>


-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Sagen's Paradeiser, write BE!
Year 1 of the New Koprocracy

Reply via email to