update packages and add valign

This commit is contained in:
2026-04-05 20:00:27 +02:00
parent b062fb98e3
commit 03fb00e374
640 changed files with 109768 additions and 39311 deletions

View File

@@ -1,6 +1,6 @@
;;; oc-bibtex.el --- Vanilla citation processor for LaTeX -*- lexical-binding: t; -*-
;; Copyright (C) 2021-2025 Free Software Foundation, Inc.
;; Copyright (C) 2021-2026 Free Software Foundation, Inc.
;; Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
@@ -43,7 +43,35 @@
(declare-function org-element-property "org-element-ast" (property node))
(declare-function org-export-data "org-export" (data info))
(declare-function org-export-data "ox" (data info))
(defcustom org-cite-bibtex-bibliography-style "plain"
"Default BibTeX bibliography style.
BibTeX provides the following default styles:
\"plain\" Sorted numbered entries
\"abbrv\" Sorted numbered entries with abbreviated author name
\"unsrt\" Unsorted numbered entries
\"alpha\" Alphabetized entries with unique short id
\"acm\" ACM Transactions
\"apalike\" APA-like
\"ieeetr\" IEEE Transactions
\"siam\" SIAM"
:group 'org-cite
:package-version '(Org . "9.8")
:type
'(choice
(const :tag "Plain" "plain")
(const :tag "Abbreviated" "abbrv")
(const :tag "Unsorted" "unsrt")
(const :tag "Alphabetic" "alpha")
(const :tag "ACM" "acm")
(const :tag "APA-like" "apalike")
(const :tag "IEEE" "ieeetr")
(const :tag "SIAM" "siam")
(string :tag "Other"))
:safe #'stringp)
;;; Export capability
@@ -51,7 +79,8 @@
"Print references from bibliography FILES.
FILES is a list of absolute file names. STYLE is the bibliography style, as
a string or nil."
(concat (and style (format "\\bibliographystyle{%s}\n" style))
(concat (format "\\bibliographystyle{%s}\n"
(or style org-cite-bibtex-bibliography-style))
(format "\\bibliography{%s}"
(mapconcat #'file-name-sans-extension
files