| Server IP : 217.160.0.212 / Your IP : 216.73.216.15 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/org/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311\312DD\313\314\315\316\317\320\321\322\323&\210\306\324\310\311\325DD\326\314\315\316\327\320\330\322\331&\210\306\332\310\311\333DD\334\314\315\316\335\320\336\322\337&\210\306\340\310\311\341DD\342\314\315\316\343\320\336\322\337&\210\306\344\310\311\345DD\346\314\315\316\347\320\330\322\331&\210\306\350\310\311\351DD\352\314\315\316\353\320\354\322\355&\207" [require bibtex json map oc seq custom-declare-variable org-cite-basic-sorting-field funcall function #[0 "\300\207" [author] 1 #1=""] "Field used to sort bibliography items as a symbol, or nil." :group org-cite :package-version (Org . "9.5") :type symbol :safe symbolp org-cite-basic-author-year-separator #[0 "\300\207" [", "] 1 #1#] "String used to separate cites in an author-year configuration." (Org . "9.5") string stringp org-cite-basic-max-key-distance #[0 "\300\207" [2] 1 #1#] "Maximum (Levenshtein) distance between a wrong key and its suggestions." (Org . "9.5") integer integerp org-cite-basic-author-column-end #[0 "\300\207" [25] 1 #1#] "Column where author field ends in completion table, as an integer." (Org . "9.5") org-cite-basic-column-separator #[0 "\300\207" [" "] 1 #1#] "Column separator in completion table, as a string." (Org . "9.5") org-cite-basic-mouse-over-key-face #[0 "\300\207" [highlight] 1 #1#] "Face used when mouse is over a citation key." (Org . "9.5") face facep] 12)
#@336 Cache for parsed bibliography files.
This is an association list following the pattern:
(FILE-ID . ENTRIES)
FILE-ID is a cons cell (FILE . HASH), with FILE being the absolute file name of
the bibliography file, and HASH a hash of its contents.
ENTRIES is a hash table with citation references as keys and fields alist as
values.
(defvar org-cite-basic--bibliography-cache nil (#$ . 1558))
#@59 Cache for key completion table.
This is an a hash-table.
(defvar org-cite-basic--completion-cache (make-hash-table :test 'equal) (#$ . 1959))
#@124 Parse JSON entries in the current buffer.
Return a hash table with citation references as keys and fields alist as values.
(defalias 'org-cite-basic--parse-json #[0 "\302\303\304\"\305\306\307 \211\203# \211@\310\311\236A\312\313\"#\210A\266\202\202\n \210*\207" [json-key-type json-array-type make-hash-table :test equal list symbol json-read puthash id mapcar #[257 "\211\242\243\300\267\202` \301\302\303\304#B\207\305\306\"\206$ \305\307\"\206$ \305\310\"\311:\203M @@\211\247\2038 \312!\202H \211;\203A \211\202H \313\314\315!#\262\202^ ;\203Z \316\317\320#\202^ \313\321\"B\207B\207" [#s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (author 10 issued 18)) author mapconcat #[257 "\300\301\"\302\300\303\"Q\207" [alist-get family " " given] 6 "\n\n(fn ALIST)"] " and " alist-get date-parts literal raw year number-to-string error "First element of CSL-JSON date-parts should be a number or string, got %s: %S" type-of replace-regexp-in-string "[^z-a]*?\\(?1:[[:digit:]]\\{4\\}\\)[^z-a]*" "\\1" "Unknown CSL-JSON date format: %S"] 10 "\n\n(fn ARG0)"]] 8 (#$ . 2109)])
#@199 Parse BibTeX entries in the current buffer.
DIALECT is the BibTeX dialect used. See `bibtex-dialect'.
Return a hash table with citation references as keys and fields alist as values.
(fn DIALECT)
(defalias 'org-cite-basic--parse-bibtex #[257 "\301\302\303\"\304\305\304\"\210\306\307\310\"!\210)\207" [bibtex-sort-ignore-string-entries make-hash-table :test equal t bibtex-set-dialect bibtex-map-entries make-closure #[385 "\301\302\303\304\"\305\306!\"\300#\207" [V0 puthash mapcar make-closure #[257 "\211\242\243\301\267\202 \302\300B\207\303B\207\304\227!\305\306\307#B\207" [V0 #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 purecopy t data ("=key=" 10 "=type=" 14)) id type intern replace-regexp-in-string "[ \n]+" " "] 8 "\n\n(fn ARG0)"] bibtex-parse-entry t] 8 "\n\n(fn KEY &rest _)"]] 6 (#$ . 3250)])
#@41 Hash table linking files to their hash.
(defvar org-cite-basic--file-id-cache nil (#$ . 4106))
#@390 List all entries available in the buffer.
Each association follows the pattern
(FILE . ENTRIES)
where FILE is the absolute file name of the BibTeX file, and ENTRIES is a hash
table where keys are references and values are association lists between fields,
as symbols, and values as strings or nil.
Optional argument INFO is the export state, as a property list.
(fn &optional INFO)
(defalias 'org-cite-basic--parse-bibliography #[256 "\302!\204 \303\304\305\"\306\307\"\203 \310\307\"\207\311\312 \211\203\225 \211@\313!\203\216 \314\315\316\"r\211q\210\317\320\"\216\321!\204@ \322\"\204K \323!\210\324\325 #\210\322\"B\326 \"A\206\202 \327!\211\330\267\202s \331 \202w \332\333!\202w \332\334!\202w \335\336\"\262B B\211\262BB\262\266*\210A\266\202\202 \210\203\240 \337\307#\210\207" [org-cite-basic--file-id-cache org-cite-basic--bibliography-cache hash-table-p make-hash-table :test equal plist-member :cite-basic/bibliography plist-get nil org-cite-list-bibliography-files file-readable-p generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] org-file-has-changed-p gethash insert-file-contents puthash org-buffer-hash assoc file-name-extension #s(hash-table size 3 test equal rehash-size 1.5 rehash-threshold 0.8125 purecopy t data ("json" 98 "bib" 103 "bibtex" 109)) org-cite-basic--parse-json org-cite-basic--parse-bibtex biblatex BibTeX user-error "Unknown bibliography extension: %S" plist-put] 10 (#$ . 4208)])
#@101 Return number associated to cited KEY.
INFO is the export state, as a property list.
(fn KEY INFO)
(defalias 'org-cite-basic--key-number #[514 "\301\"\302#\207" [org-cite-basic-sorting-field org-cite-basic--field-less-p org-cite-key-number] 7 (#$ . 5739)])
#@50 List all keys available in current bibliography.
(defalias 'org-cite-basic--all-keys #[0 "\300\301\302 \"\207" [seq-mapcat #[257 "\211\243\300!\207" [map-keys] 4 "\n\n(fn ARG0)"] org-cite-basic--parse-bibliography] 3 (#$ . 6008)])
#@139 Return BibTeX entry for KEY, as an association list.
When non-nil, INFO is the export state, as a property list.
(fn KEY &optional INFO)
(defalias 'org-cite-basic--get-entry #[513 "\3002( \301!\211\203% \211@\211\243\302\"\211\203 \303\300\"\210\266A\266\202\202 \210\3040\207" [:found org-cite-basic--parse-bibliography gethash throw nil] 9 (#$ . 6247)])
#@466 Return FIELD value for ENTRY-OR-KEY, or nil.
FIELD is a symbol. ENTRY-OR-KEY is either an association list, as returned by
`org-cite-basic--get-entry', or a string representing a citation key.
Optional argument INFO is the export state, as a property list.
Return value may be nil or a string. If current export back-end is derived
from `latex', return a raw string instead, unless optional argument RAW is
non-nil.
(fn FIELD ENTRY-OR-KEY &optional INFO RAW)
(defalias 'org-cite-basic--get-field #[1026 ";\203
\300\"\202 :\203 \202 \301\302\"\236A\211\2032 \2042 \303\304\305\"\306\"\2032 \307!\207\207" [org-cite-basic--get-entry error "Wrong value for ENTRY-OR-KEY: %S" org-export-derived-backend-p plist-get :back-end latex org-export-raw-string] 9 (#$ . 6619)])
#@81 Compute suffix associated to number N.
This is used for disambiguation.
(fn N)
(defalias 'org-cite-basic--number-to-suffix #[257 "\300\301\302\303\304\3052J \306\246B\262\306\245\262\307U\203$ \310\305\"\210\202 \311W\2037 \310\305SB\"\210\202 \311U\203 \310\305\307\211BB\"\210\202 \"\"\207" [nil apply string mapcar #[257 "\300\\\207" [97] 3 "\n\n(fn N)"] :complete 26 0 throw 27] 11 (#$ . 7411)])
#@563 Return year associated to ENTRY-OR-KEY.
ENTRY-OR-KEY is either an association list, as returned by
`org-cite-basic--get-entry', or a string representing a citation
key. INFO is the export state, as a property list.
Year is obtained from the "year" field, if available, or from
the "date" field if it starts with a year pattern.
Unlike `org-cite-basic--get-field', this function disambiguates
author-year patterns by adding a letter suffix to the year when
necessary, unless optional argument NO-SUFFIX is non-nil.
(fn ENTRY-OR-KEY INFO &optional NO-SUFFIX)
(defalias 'org-cite-basic--get-year #[770 "\300\301\302$\300\303\302$\206'