mirror of https://github.com/Chizi123/.emacs.d.git

Chizi123
2018-11-18 76bbd07de7add0f9d13c6914f158d19630fe2f62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
;ELC
;;; Compiled
;;; in Emacs version 26.1
;;; with all optimizations.
 
;;; This file contains utf-8 non-ASCII characters,
;;; and so cannot be loaded into Emacs 22 or earlier.
(and (boundp 'emacs-version)
     (< (aref emacs-version (1- (length emacs-version))) ?A)
     (string-lessp emacs-version "23")
     (error "`%s' was compiled for Emacs 23 or later" #$))
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require org bibtex cl-lib org-compat] 2)
(defvar org-bibtex-description nil)
#@59 Bibtex entry types with required and optional parameters.
(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))
#@34 Bibtex fields with descriptions.
(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))
#@37 List to hold parsed bibtex entries.
(defvar org-bibtex-entries nil (#$ . 6471))
(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)
#@17 
 
(fn PROPERTY)
(defalias 'org-bibtex-get #[257 "\302\303\304!\"\305`\226\"\206\305`    \226P\")\211\2051\211\306\307\203&\310\202'\311\312\307\313\312##\266\202\207" [org-special-properties org-bibtex-prefix delete "FILE" copy-sequence org-entry-get nil replace-regexp-in-string "\\`\\([     ]*\n\\)+" "\\`[     \n ]+" "" "[     \n ]+\\'"] 11 (#$ . 10314)])
#@23 
 
(fn PROPERTY VALUE)
(defalias 'org-bibtex-put #[514 "\302!\203\303!\304\305O\202\226\306\230?\205    P\"\207" [org-bibtex-key-property org-bibtex-prefix keywordp symbol-name 1 nil org-set-property] 6 (#$ . 10679)])
#@58 Return a bibtex entry of the given headline as a string.
(defalias 'org-bibtex-headline #[0 "\306\211\211C\306C\306\211\211\307\262\310\262\311\240\210\312\313\314\315\316    !\317\"\320\321%\240\210\322!\262\322    !\262\n\205B\323\306\324\325 \203>\326 \202@\327 \"\"\262\205\341\330\331\332\333\334\306\f\203b \203b\324\335\336\306\337\"\"\202\221\324\312\340\341\315\316!\342\"\343\344% \242\345!:\"\"\346!:\"\"\"\"\"\347#$\350\351!r\211q\210\312\352\353\315\316!\354\"\355$\216c\210\203\332\356 \210\357\360\306\361#\203\304\362\225b\210\363c\210\202\323\364\347\306\361#\210\365c\210\366\367\306\361#\210\332\370\363#c\210\371 *\262\262\207" [org-bibtex-key-property org-bibtex-type-property-name org-bibtex-tags-are-keywords org-bibtex-inherit-tags org-bibtex-export-arbitrary-fields org-bibtex-prefix nil #[514 "\300\"A\207" [assoc] 5 "\n\n(fn KEY LST)"] #[257 "\300\301P!\207" [intern ":"] 4 "\n\n(fn STRING)"] #[257 "\300!\301\302O\207" [symbol-name 1 nil] 4 "\n\n(fn KEY)"] make-byte-code 128 "\301\302\303\304\305\306\307\310\300!\311\"\312\313%\"\"\207" vconcat vector [apply append mapcar make-byte-code 257 "\211<\203 \301\300\242\"\207\211C\207" vconcat vector [apply] 4 "\n\n(fn E)"] 10 "\n\n(fn &rest LSTS)" org-bibtex-get delq mapcar #[257 "\211\302    \"\235?\205 \211\207" [org-bibtex-tags org-bibtex-no-export-tags append] 5 "\n\n(fn TAG)"] org-get-tags-at org-get-local-tags-at format "@%s{%s,\n%s\n}\n" mapconcat #[257 "\300\301@A#\207" [format "  %s={%s}"] 5 "\n\n(fn PAIR)"] remove #[257 "\211@A\302\"\205    P\227\227\230?\205\303\304#\227B\207" [org-bibtex-prefix org-bibtex-type-property-name string-match replace-regexp-in-string ""] 7 "\n\n(fn KV)"] org-entry-properties standard 257 "\301\300\242!!\206\211\302=\205\303\304 8\211\205\300\242!B\207" [org-bibtex-get :title 4 org-heading-components] 4 "\n\n(fn FIELD)" :required :optional ",\n" generate-new-buffer " *temp*" 0 "\301\300!\205    \302\300!\207" [buffer-name kill-buffer] 2 bibtex-beginning-of-entry re-search-forward "keywords.*=.*{\\(.*\\)}" t 1 ", " search-forward "  keywords={},\n" search-backward "}," identity buffer-string org-bibtex-types] 24 (#$ . 10912)])
#@14 
 
(fn FIELD)
(defalias 'org-bibtex-ask #[257 "\306\"\204\f\307\310\"\210\311 \312\313\314\315\316!\317\"\320$\216\321!\322\323O\324\325\"    r\326!q\210p\327 \210\323\211\330\211\330#\331 \210\332\333!\210+\211$\334\306\"A!\210\335!\210)\266r\211q\210\336\322!\210)\337\340!!\210\341\324\342\"!\211G\313V\205t\211\262\266\202)\207" [org-bibtex-fields default-directory buffer-read-only buffer-file-name buffer-undo-list inhibit-modification-hooks assoc error "Field:%s is not known" current-window-configuration make-byte-code 0 "\301\300!\207" vconcat vector [set-window-configuration] 2 symbol-name 1 nil format "*Bibtex Help %s*" get-buffer-create kill-all-local-variables t erase-buffer run-hooks temp-buffer-setup-hook princ internal-temp-output-buffer-show visual-line-mode org-fit-window-to-buffer get-buffer-window read-from-minibuffer "%s: " inhibit-read-only standard-output] 11 (#$ . 13146)])
#@47 Generate an autokey for the current headline.
(defalias 'org-bibtex-autokey #[0 "\303    \203E\304 \305\306!r\211q\210\307\310\311\312\313!\314\"\315$\216c\210\316 *\262\317\232\203@\320\321!\203@\322\n!\203@\323\n\"\203@\324\325!\210\262\202H\326\327!\"\207" [org-bibtex-key-property org-bibtex-autogen-keys org-id-locations org-bibtex-put org-bibtex-headline generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205    \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 bibtex-generate-autokey "ID" featurep org-id hash-table-p gethash warn "Another entry has the same ID" read-from-minibuffer "id: "] 10 (#$ . 14078)])
#@165 Fleshout current heading, ensuring all required fields are present.
With optional argument OPTIONAL, also prompt for optional fields.
 
(fn TYPE &optional OPTIONAL)
(defalias 'org-bibtex-fleshout #[513 "\303\304\305\306\203\307\310\311\n    \"\"\"\202\311    \"\"\205,\312        \"\"\"\211\203{\211@\211:\203]\307\313\314\315\316\317\320\321\n!\322\"\323\324%\"\"@\211\206[\325\326\314\"\"!\266\202!\327!\204s\330!\211\203r\331\"\210\210\210A\266\202\202-\266\205\221\332    \"\205\221\327\n!?\205\221\333 \207" [org-bibtex-treat-headline-as-title org-bibtex-types org-bibtex-key-property #[514 "\300\"A\207" [assoc] 5 "\n\n(fn KEY LST)"] #[257 "\300\301\227P!\207" [intern ":"] 4 "\n\n(fn NAME)"] #[257 "\300!\301\302O\207" [symbol-name 1 nil] 4 "\n\n(fn KEYWORD)"] append remove :title :required :optional nil mapcar make-byte-code 257 "\301\300!!\205    \211\207" vconcat vector [org-bibtex-get] 4 "\n\n(fn F)" completing-read "Field: " org-bibtex-get org-bibtex-ask org-bibtex-put assoc org-bibtex-autokey] 16 (#$ . 14727)])
(org-link-set-parameters "bibtex" :follow 'org-bibtex-open :store 'org-bibtex-store-link)
#@50 Visit the bibliography entry on PATH.
 
(fn PATH)
(defalias 'org-bibtex-open #[257 "\300\301\"\205 \302\303\"\304\211\224O\305\306\307$\207" [string-match "::\\(.+\\)\\'" match-string 1 0 org-open-file t nil] 8 (#$ . 15885)])
#@33 Store a link to a BibTeX entry.
(defalias 'org-bibtex-store-link #[0 "\303=\205\364\304 \305\306    !\307R\310\311\212\312 \210\313 )\"\314\315\316\317\"A\320\316\321\"A\206+\322\323\316\324\"A\2066\325\326\316\327\n\"A\206A\330\331\316\332\f\"A\206L\333\334\316\335\"A\206W\336\337\316\340\"A\206b\341\342\316\343\"A\206m\344\345\316\346\"A\206x\347\350\316\351\"A\206\203\352\353\316\354\"A\206\216\355\356\316\357\"A\206\231\360\361\316\362\"A\206\244\363\364\316\365\"A\206\257\366\367\316\370 \"A\206\272\371\372\316\373\"\"A\206\305\374\375\316\376$\"A\206\320\377\201@\316\201A&\"A\206\341\201B\201C\201D\201E)\201F\n&*\266\203\207" [major-mode buffer-file-name org-bibtex-description bibtex-mode org-create-file-search-in-bibtex "file:" abbreviate-file-name "::" mapcar #[257 "\300\301A\"\203\211@\302\303A\"B\207\207" [string-match "^\\(?:{\\|\"\\)\\(.*\\)\\(?:}\\|\"\\)$" match-string 1] 5 "\n\n(fn C)"] bibtex-beginning-of-entry bibtex-parse-entry org-store-link-props :key assoc "=key=" :author "author" "[no author]" :editor "editor" "[no editor]" :title "title" "[no title]" :booktitle "booktitle" "[no booktitle]" :journal "journal" "[no journal]" :publisher "publisher" "[no publisher]" :pages "pages" "[no pages]" :url "url" "[no url]" :year "year" "[no year]" :month "month" "[no month]" :address "address" "[no address]" :volume "volume" "[no volume]" :number "number" "[no number]" :annote "annote" "[no annotation]" :series "series" "[no series]" :abstract "abstract" "[no abstract]" :btype "=type=" "[no type]" :type "bibtex" :link :description] 46 (#$ . 16122)])
#@71 Create the search string and description for a BibTeX database entry.
(defalias 'org-create-file-search-in-bibtex #[0 "\306\211\307\310\311\312\313\314\313\307\315\316\317 .\f\212\320 \210\321\322\323 \"A)\207" [bibtex-autokey-year-title-separator bibtex-autokey-titleword-length bibtex-autokey-titleword-case-convert-function bibtex-autokey-titleword-separator bibtex-autokey-titlewords bibtex-autokey-name-year-separator 1 identity " & " " et al." 4 " " 3 infty ": " bibtex-generate-autokey bibtex-beginning-of-entry assoc "=key=" bibtex-parse-entry bibtex-autokey-year-length bibtex-autokey-additional-names bibtex-autokey-name-separator bibtex-autokey-name-case-convert-function bibtex-autokey-names-stretch bibtex-autokey-names org-bibtex-description] 12 (#$ . 17772)])
#@70 Find the link search string S as a key for a database entry.
 
(fn S)
(defalias 'org-execute-file-search-in-bibtex #[257 "\303=\205@eb\210\304\305\306!\307Q\310\311#\203\312\224b\210\312\224\203;    \313\232\203;p`\314\n!\210rq\210\211b\210\315 \210)\266\202?\316\312!\210\311\207" [major-mode current-prefix-arg org-window-config-before-follow-link bibtex-mode re-search-forward "@[a-zA-Z]+[     \n]*{[     \n]*" regexp-quote "[     \n]*," nil t 0 (16) set-window-configuration bibtex-url recenter] 5 (#$ . 18573)])
(add-hook 'org-execute-file-search-functions 'org-execute-file-search-in-bibtex)
#@128 Export each headline in the current file to a bibtex entry.
Headlines are exported using `org-bibtex-headline'.
 
(fn FILENAME)
(defalias 'org-bibtex #[257 "\3002B\301\302\303\304!\"\305\306\307!!\310\311\312\313\314!\315\"\316$\216r\211q\210\317\320\321#c\210)r\211q\210\322\302\211\302\311%\210*\266\323\324G#\210\302\2620\211\205P\211b\210\323\325\326\327 8\"\207" [bib remove nil org-map-entries #[0 "\3001\301 0\207\210\302\303`\"\207" [(error) org-bibtex-headline throw bib] 3] get-buffer-create generate-new-buffer-name " *temp file*" make-byte-code 0 "\301\300!\205    \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 mapconcat identity "\n" write-region message "Successfully exported %d BibTeX entries to %s" "Bibtex error at %S" 4 org-heading-components] 10 (#$ . 19175) (byte-code "\300\301\302\211\211\303\304 !\211\205\305\306!\307P!\262%C\207" [read-file-name "Bibtex file: " nil buffer-file-name buffer-base-buffer file-name-nondirectory file-name-sans-extension ".bib"] 9)])
#@137 Check the current headline for required fields.
With prefix argument OPTIONAL also prompt for optional fields.
 
(fn &optional OPTIONAL)
(defalias 'org-bibtex-check #[256 "\214\301 \210\302!\211\205\303\304P!\262\211\205\305\"\262)\207" [org-bibtex-type-property-name org-narrow-to-subtree org-bibtex-get intern ":" org-bibtex-fleshout] 5 (#$ . 20196) "P"])
#@130 Check all headlines in the current file.
With prefix argument OPTIONAL also prompt for optional fields.
 
(fn &optional OPTIONAL)
(defalias 'org-bibtex-check-all #[256 "\300\301\302\303\304\305!\306\"\307$!\207" [org-map-entries make-byte-code 0 "\301\300!\207" vconcat vector [org-bibtex-check] 2] 8 (#$ . 20570) nil])
#@183 Create a new entry at the given level.
With a prefix arg, query for optional fields as well.
If nonew is t, add data to the headline of the entry at point.
 
(fn &optional ARG NONEW)
(defalias 'org-bibtex-create #[512 "\304\305\306\307\"\310\211\205\311    !%\312!\203\211\202\313\314P!?\205%\315\316\"\2042\317\320\"\210\203<\321 \210\202K\322 \210\323\324!\211c\210\325\326\"\266\325    \327!\330\310O\"\210\331\"\210 \211\205m\211@\332\333\"\210A\266\202\202[\262)\207" [org-bibtex-types org-bibtex-type-property-name org-bibtex-treat-headline-as-title org-bibtex-tags completing-read "Type: " mapcar #[257 "\300@!\301\302O\207" [symbol-name 1 nil] 4 "\n\n(fn TYPE)"] nil org-bibtex-get keywordp intern ":" t assoc error "Type:%s is not known" org-back-to-heading org-insert-heading org-bibtex-ask :title org-bibtex-put "TITLE" symbol-name 1 org-bibtex-fleshout org-toggle-tag on] 9 (#$ . 20898) "P"])
#@114 Add bibliographical data to the current entry.
With a prefix arg, query for optional fields.
 
(fn &optional ARG)
(defalias 'org-bibtex-create-in-current-entry #[256 "\300\301\"\207" [org-bibtex-create t] 4 (#$ . 21834) "P"])
#@87 Read a bibtex entry and save to `org-bibtex-entries'.
This uses `bibtex-parse-entry'.
(defalias 'org-bibtex-read #[0 "\301\302\303\304\305\306\307\310\311#\312\"\313\314%\212\315 \210\316 )\"B\211\207" [org-bibtex-entries #[257 "\300\301\227P!\207" [intern ":"] 4 "\n\n(fn STR)"] #[257 "\300\301\302#\207" [replace-regexp-in-string "[[:space:]\n ]+" " "] 5 "\n\n(fn STR)"] #[257 "\300\211\2031\211@G\301V\203*\302H@U\203*\211GSHAU\203*\301GSO\262A\266\202\202\210\207" [((34 . 34) (123 . 125)) 1 0] 6 "\n\n(fn STR)"] mapcar make-byte-code 257 "\300@!\211\303\267\202\304\202\305\202\211\262\301\302A!!B\207" vconcat vector [#s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (:=type= 10 :=key= 14)) :type :key] 5 "\n\n(fn PAIR)" bibtex-beginning-of-entry bibtex-parse-entry] 12 (#$ . 22066) nil])
#@118 Read all bibtex entries in BUFFER and save to `org-bibtex-entries'.
Return the number of saved entries.
 
(fn BUFFER)
(defalias 'org-bibtex-read-buffer #[257 "Grq\210\212db\210`eU\204\301u\210\302 \210\303 \210\202\n*GZ\304\305\"\210\211\262\207" [org-bibtex-entries -1 org-bibtex-read bibtex-beginning-of-entry message "Parsed %d entries"] 6 (#$ . 22938) "bBuffer: "])
#@53 Read FILE with `org-bibtex-read-buffer'.
 
(fn FILE)
(defalias 'org-bibtex-read-file #[257 "\300\301\302\303#!\207" [org-bibtex-read-buffer find-file-noselect nowarn rawfile] 6 (#$ . 23322) "fFile: "])
#@72 Insert a heading built from the first element of `org-bibtex-entries'.
(defalias 'org-bibtex-write #[0 "G\306U\203 \307\310!\210\211A\242\311\312\313\314 \210\n!c\210\315\316\317\"\"\210\315 \320\"\227\"\210\211\203\221\211@\211@\211\317=\204\211\211\320=\204\211\211\321\267\202\202\315\fA\"\210\202\211 \203x\322A\323\"\211\203t\211@\324\325\326\324\327\330##!\210A\266\202\202Z\210\202\211\315@A\"\210\202\211\315@A\"\210\210A\266\202\202.\210\331\")\207" [org-bibtex-entries org-special-properties org-bibtex-headline-format-function org-bibtex-type-property-name org-bibtex-key-property org-bibtex-tags-are-keywords 0 error "No entries in `org-bibtex-entries'" nil #[514 "\300\"A\207" [assoc] 5 "\n\n(fn ENTRY FIELD)"] #[257 "\300\301\"\207" [org-toggle-tag on] 4 "\n\n(fn TAG)"] org-insert-heading org-bibtex-put "TITLE" :title :type #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (:key 72 :keywords 81)) split-string ", *" replace-regexp-in-string "[^[:alnum:]_@#%]" "" "[     ]+" "_" mapc org-bibtex-tags] 16 (#$ . 23530) nil])
#@63 If kill ring holds a bibtex entry yank it as an Org headline.
(defalias 'org-bibtex-yank #[0 "\300\301\302!r\211q\210\303\304\305\306\307!\310\"\311$\216\312\313!\210\314 \262*\210\211\203'\315 \202*\316\317!\207" [nil generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205    \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 yank 1 org-bibtex-read org-bibtex-write error "Yanked text does not appear to contain a BibTeX entry"] 8 (#$ . 24646) nil])
#@83 Read bibtex entries from FILE and insert as Org headlines after point.
 
(fn FILE)
(defalias 'org-bibtex-import-from-file #[257 "\301!\302\211W\205#\211\212\303 \210)\304!\210\305\306!\210\306u\266\211T\262\202\207" [org-property-end-re org-bibtex-read-file 0 org-bibtex-write re-search-forward open-line 1] 6 (#$ . 25120) "fFile: "])
#@55 Export current headline to kill ring as bibtex entry.
(defalias 'org-bibtex-export-to-kill-ring #[0 "\300 \301!\210\211\207" [org-bibtex-headline kill-new] 3 (#$ . 25468) nil])
#@124 Search for bibliographical entries in agenda files.
This function relies `org-search-view' to locate results.
 
(fn STRING)
(defalias 'org-bibtex-search #[257 "\304\305\306\307\310\311\n\206\312 $\"*\207" [org-agenda-search-view-always-boolean org-agenda-overriding-header org-bibtex-prefix org-bibtex-type-property-name "Bib search results:" t org-search-view nil format "%s +{:%s%s:}" ""] 8 (#$ . 25653) "sSearch string: "])
(provide 'org-bibtex)