commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file contains utf-8 non-ASCII characters, |
|
7 |
;;; and so cannot be loaded into Emacs 22 or earlier. |
|
8 |
(and (boundp 'emacs-version) |
|
9 |
(< (aref emacs-version (1- (length emacs-version))) ?A) |
|
10 |
(string-lessp emacs-version "23") |
|
11 |
(error "`%s' was compiled for Emacs 23 or later" #$)) |
|
12 |
|
|
13 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
14 |
|
|
15 |
|
|
16 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require org bibtex cl-lib org-compat] 2) |
|
17 |
(defvar org-bibtex-description nil) |
|
18 |
#@59 Bibtex entry types with required and optional parameters. |
|
19 |
(defvar org-bibtex-types '((:article (:description . "An article from a journal or magazine") (:required :author :title :journal :year) (:optional :volume :number :pages :month :note)) (:book (:description . "A book with an explicit publisher") (:required (:editor :author) :title :publisher :year) (:optional (:volume :number) :series :address :edition :month :note)) (:booklet (:description . "A work that is printed and bound, but without a named publisher or sponsoring institution.") (:required :title) (:optional :author :howpublished :address :month :year :note)) (:conference (:description . "") (:required :author :title :booktitle :year) (:optional :editor :pages :organization :publisher :address :month :note)) (:inbook (:description . "A part of a book, which may be a chapter (or section or whatever) and/or a range of pages.") (:required (:author :editor) :title (:chapter :pages) :publisher :year) (:optional :crossref (:volume :number) :series :type :address :edition :month :note)) (:incollection (:description . "A part of a book having its own title.") (:required :author :title :booktitle :publisher :year) (:optional :crossref :editor (:volume :number) :series :type :chapter :pages :address :edition :month :note)) (:inproceedings (:description . "An article in a conference proceedings") (:required :author :title :booktitle :year) (:optional :crossref :editor (:volume :number) :series :pages :address :month :organization :publisher :note)) (:manual (:description . "Technical documentation.") (:required :title) (:optional :author :organization :address :edition :month :year :note)) (:mastersthesis (:description . "A Master’s thesis.") (:required :author :title :school :year) (:optional :type :address :month :note)) (:misc (:description . "Use this type when nothing else fits.") (:required) (:optional :author :title :howpublished :month :year :note)) (:phdthesis (:description . "A PhD thesis.") (:required :author :title :school :year) (:optional :type :address :month :note)) (:proceedings (:description . "The proceedings of a conference.") (:required :title :year) (:optional :editor (:volume :number) :series :address :month :organization :publisher :note)) (:techreport (:description . "A report published by a school or other institution.") (:required :author :title :institution :year) (:optional :type :address :month :note)) (:unpublished (:description . "A document having an author and title, but not formally published.") (:required :author :title :note) (:optional :month :year))) (#$ . 552)) |
|
20 |
#@34 Bibtex fields with descriptions. |
|
21 |
(defvar org-bibtex-fields '((:address . "Usually the address of the publisher or other type of institution. For major publishing houses, van Leunen recommends omitting the information entirely. For small publishers, on the other hand, you can help the reader by giving the complete address.") (:annote . "An annotation. It is not used by the standard bibliography styles, but may be used by others that produce an annotated bibliography.") (:author . "The name(s) of the author(s), in the format described in the LaTeX book. Remember, all names are separated with the and keyword, and not commas.") (:booktitle . "Title of a book, part of which is being cited. See the LaTeX book for how to type titles. For book entries, use the title field instead.") (:chapter . "A chapter (or section or whatever) number.") (:crossref . "The database key of the entry being cross referenced.") (:edition . "The edition of a book for example, 'Second'. This should be an ordinal, and should have the first letter capitalized, as shown here; the standard styles convert to lower case when necessary.") (:editor . "Name(s) of editor(s), typed as indicated in the LaTeX book. If there is also an author field, then the editor field gives the editor of the book or collection in which the reference appears.") (:howpublished . "How something strange has been published. The first word should be capitalized.") (:institution . "The sponsoring institution of a technical report.") (:journal . "A journal name.") (:key . "Used for alphabetizing, cross-referencing, and creating a label when the author information is missing. This field should not be confused with the key that appears in the \\cite command and at the beginning of the database entry.") (:month . "The month in which the work was published or, for an unpublished work, in which it was written. You should use the standard three-letter abbreviation,") (:note . "Any additional information that can help the reader. The first word should be capitalized.") (:number . "Any additional information that can help the reader. The first word should be capitalized.") (:organization . "The organization that sponsors a conference or that publishes a manual.") (:pages . "One or more page numbers or range of numbers, such as 42-111 or 7,41,73-97 or 43+ (the ‘+’ in this last example indicates pages following that don’t form simple range). BibTEX requires double dashes for page ranges (--).") (:publisher . "The publisher’s name.") (:school . "The name of the school where a thesis was written.") (:series . "The name of a series or set of books. When citing an entire book, the title field gives its title and an optional series field gives the name of a series or multi-volume set in which the book is published.") (:title . "The work’s title, typed as explained in the LaTeX book.") (:type . "The type of a technical report for example, 'Research Note'.") (:volume . "The volume of a journal or multi-volume book.") (:year . "The year of publication or, for an unpublished work, the year it was written. Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as '(about 1984)'")) (#$ . 3158)) |
|
22 |
#@37 List to hold parsed bibtex entries. |
|
23 |
(defvar org-bibtex-entries nil (#$ . 6471)) |
|
24 |
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\310\311\312\317& \210\300\320\302\303\321DD\322\306\307\310\311\312\313& \210\300\323\302\303\324DD\325\306\307\310\326\327\330\312\303&\210\300\331\302\303\332DD\333\306\307\310\311\312\313& \210\300\334\302\303\335DD\336\306\307\310\311\312\337& \210\300\340\302\303\341DD\342\306\307\310\311\312\343& \210\300\344\302\303\345DD\346\306\307\310\311\312\313& \210\300\347\302\303\350DD\351\306\307\310\311\312\352& \210\300\353\302\303\354DD\355\306\307\310\326\327\356\312\313&\210\300\357\302\303\360DD\361\306\307\310\311\312\337& \207" [custom-declare-variable org-bibtex-autogen-keys funcall function #[0 "\300\207" [nil] 1] "Set to a truth value to use `bibtex-generate-autokey' to generate keys." :group org-bibtex :version "24.1" :type boolean org-bibtex-prefix #[0 "\300\207" [nil] 1] "Optional prefix for all bibtex property names.\nFor example setting to `BIB_' would allow interoperability with fireforg." (choice (const nil) (string)) org-bibtex-treat-headline-as-title #[0 "\300\207" [t] 1] "Treat headline text as title if title property is absent.\nIf an entry is missing a title property, use the headline text as\nthe property. If this value is t, `org-bibtex-check' will ignore\na missing title field." org-bibtex-headline-format-function #[0 "\300\207" [#[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]] 1] "Function returning the headline text for `org-bibtex-write'.\nIt should take a single argument, the bibtex entry (an alist as\nreturned by `org-bibtex-read'). The default value simply returns\nthe entry title." "26.1" :package-version (Org . "9.1") org-bibtex-export-arbitrary-fields #[0 "\300\207" [nil] 1] "When converting to bibtex allow fields not defined in `org-bibtex-fields'.\nThis only has effect if `org-bibtex-prefix' is defined, so as to\nensure that other org-properties, such as CATEGORY or LOGGING are\nnot placed in the exported bibtex entry." org-bibtex-key-property #[0 "\300\207" [#1="CUSTOM_ID"] 1 #1#] "Property that holds the bibtex key.\nBy default, this is CUSTOM_ID, which enables easy linking to\nbibtex headlines from within an org file. This can be set to ID\nto enable global links, but only with great caution, as global\nIDs must be unique." string org-bibtex-tags #[0 "\300\207" [nil] 1] "List of tag(s) that should be added to new bib entries." (repeat :tag "Tag" (string)) org-bibtex-tags-are-keywords #[0 "\300\207" [nil] 1] "Convert the value of the keywords field to tags and vice versa.\n\nWhen non-nil, comma-separated entries in a bibtex entry's keywords\nfield will be converted to Org tags. Note: spaces will be escaped\nwith underscores, and characters that are not permitted in Org\ntags will be removed.\n\nWhen non-nil, local tags in an Org entry will be exported as\na comma-separated string of keywords when exported to bibtex.\nIf `org-bibtex-inherit-tags' is non-nil, inherited tags will also\nbe exported as keywords. Tags defined in `org-bibtex-tags' or\n`org-bibtex-no-export-tags' will not be exported." org-bibtex-no-export-tags #[0 "\300\207" [nil] 1] "List of tag(s) that should not be converted to keywords.\nThis variable is relevant only if `org-bibtex-tags-are-keywords'\nis non-nil." (repeat :tag "Tag" (string)) org-bibtex-inherit-tags #[0 "\300\207" [nil] 1] "Controls whether inherited tags are converted to bibtex keywords.\nIt is relevant only if `org-bibtex-tags-are-keywords' is non-nil.\nTag inheritance itself is controlled by `org-use-tag-inheritance'\nand `org-exclude-tags-from-inheritance'." (Org . "8.3") org-bibtex-type-property-name #[0 "\300\207" [#2="btype"] 1 #2#] "Property in which to store bibtex entry type (e.g., article)."] 12) |
|
25 |
#@17 |
|
26 |
|
|
27 |
(fn PROPERTY) |
|
28 |
(defalias 'org-bibtex-get #[257 "\302\303\304!\"\305`\226\"\206 \305` \226P\")\211\2051 \211\306\307\203& |