Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/textmodes/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:48 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/textmodes/refbib.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\302\312\313\314\306\301&\210\310\315\316\317\313\320\306\301&\210\310\321\322\323\313\324\306\301&\210\310\325\326\327\313\330\306\301&\207" [custom-declare-group refbib nil "Convert refer-style references to ones usable by Latex bib." :prefix "r2b-" :group wp custom-declare-variable r2b-trace-on "Non-nil means trace conversion." :type boolean r2b-journal-abbrevs 'nil "Abbreviation list for journal names.\nIf the car of an element matches a journal name exactly, it is replaced by\nthe cadr when output. Braces must be included if replacement is a\n{string}, but not if replacement is a bibtex abbreviation. The cadr\nmay be eliminated if is exactly the same as the car.\n Because titles are capitalized before matching, the abbreviation\nfor the journal name should be listed as beginning with a capital\nletter, even if it really doesn't.\n For example, a value of '((\"Aij\" \"{Artificial Intelligence}\")\n(\"Ijcai81\" \"ijcai7\")) would expand Aij to the text string\n\"Artificial Intelligence\", but would replace Ijcai81 with the\nBibTeX macro \"ijcai7\"." (repeat (list string string)) r2b-booktitle-abbrevs 'nil "Abbreviation list for book and proceedings names.\nIf the car of an element matches a title or booktitle exactly, it is\nreplaced by the cadr when output. Braces must be included if\nreplacement is a {string}, but not if replacement is a bibtex\nabbreviation. The cadr may be eliminated if is exactly the same as\nthe car.\n Because titles are capitalized before matching, the abbreviated title\nshould be listed as beginning with a capital letter, even if it doesn't.\n For example, a value of '((\"Aij\" \"{Artificial Intelligence}\")\n(\"Ijcai81\" \"ijcai7\")) would expand Aij to the text string\n\"Artificial Intelligence\", but would replace Ijcai81 with the\nBibTeX macro \"ijcai7\"." (repeat (list string string)) r2b-proceedings-list 'nil "Assoc list of books or journals which are really conference proceedings,\nbut whose name and whose abbrev expansion (as defined in `r2b-journal-abbrevs'\nand `r2b-booktitle-abbrevs') does not contain the words \"conference\" or\n\"proceedings\". (Those cases are handled automatically.)\nThe entry must match the given data exactly.\n Because titles are capitalized before matching, the items in this list\nshould begin with a capital letter.\n For example, suppose the title \"Ijcai81\" is used for the proceedings of\na conference, and its expansion is the BibTeX macro \"ijcai7\". Then\n`r2b-proceedings-list' should be '((\"Ijcai81\") ...). If instead its\nexpansion were \"Proceedings of the Seventh International Conference\non Artificial Intelligence\", then you would NOT need to include Ijcai81\nin `r2b-proceedings-list' (although it wouldn't cause an error)." (repeat (list string string))] 8) #@111 Words not to be used to build the citation key. This is in addition to the `r2b-capitalize-title-stop-words'. (defvar r2b-additional-stop-words "Some\\|What" (#$ . 3416)) #@62 If true, then use " to delimit fields, otherwise use braces. (custom-declare-variable 'r2b-delimit-with-quote t '(#$ . 3593) :type 'boolean :group 'refbib) #@65 Words not to be capitalized in a title (unless the first word). (defvar r2b-capitalize-title-stop-words "the\\|and\\|of\\|is\\|a\\|an\\|of\\|for\\|in\\|to\\|in\\|on\\|at\\|by\\|with\\|that\\|its" (#$ . 3755)) (defvar r2b-capitalize-title-stop-regexp (concat "\\(" r2b-capitalize-title-stop-words "\\)\\(\\b\\|'\\)")) #@78 Like `capitalize-region', but don't capitalize stop words, except the first. (defalias 'r2b-capitalize-title-region #[(begin end) "\306\307 \310\216\214\311\n!\210\f}\210eb\210\312\313!\203 \314v\210\202# \315\314!\210\316\317\306\320#\205N \312\313!\2037 \314v\210\202# \320\312 !)\203G \321\314!\210\202# \315\314!\210\202# ,\207" [orig-syntax-table case-fold-search text-mode-syntax-table begin end r2b-capitalize-title-stop-regexp nil syntax-table ((set-syntax-table orig-syntax-table)) set-syntax-table looking-at "[A-Z][a-z]*[A-Z]" 1 capitalize-word re-search-forward "\\<" t downcase-word] 4 (#$ . 4078) "r"]) #@71 Like `capitalize', but don't capitalize stop words, except the first. (defalias 'r2b-capitalize-title #[(s) "r\301\302!q\210\303 \210c\210\304ed\"\210\305 )\207" [s get-buffer-create "$$$Scratch$$$" erase-buffer r2b-capitalize-title-region buffer-string] 3 (#$ . 4706)]) #@32 Unbind defvars, for debugging. (defalias 'r2b-reset #[nil "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\207" [makunbound r2b-journal-abbrevs r2b-booktitle-abbrevs r2b-proceedings-list r2b-capitalize-title-stop-words r2b-capitalize-title-stop-regexp r2b-additional-stop-words r2b-stop-regexp] 2 (#$ . 4984) nil]) (defvar r2b-stop-regexp (concat "\\`\\(\\(" r2b-additional-stop-words "\\|" r2b-capitalize-title-stop-words "\\)\\('\\w*\\)?\\W+\\)*\\([A-Z0-9]+\\)")) (defalias 'r2b-trace #[(&rest args) "\205\f \302\303 \"\210\304\305!\207" [r2b-trace-on args apply message sit-for 0] 3]) #@43 Returns string matched in current buffer. (defalias 'r2b-match #[(exp) "\224\225{\207" [exp] 2 (#$ . 5619)]) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\307&\207" [custom-declare-variable r2b-out-buf-name "*Out*" "Name of buffer for output from refer-to-bibtex." :type string :group refbib r2b-log-name "*Log*" "Name of buffer for logs errors from refer-to-bibtex."] 8) (defvar r2b-in-buf nil) (defvar r2b-out-buf nil) (defvar r2b-log nil) (defvar r2b-error-found nil) (byte-code "\301\302\207" [r2b-variables (r2b-error-found r2bv-author r2bv-primary-author r2bv-date r2bv-year r2bv-decade r2bv-month r2bv-title r2bv-title-first-word r2bv-editor r2bv-annote r2bv-tr r2bv-address r2bv-institution r2bv-keywords r2bv-booktitle r2bv-journal r2bv-volume r2bv-number r2bv-pages r2bv-booktitle r2bv-kn r2bv-publisher r2bv-organization r2bv-school r2bv-type r2bv-where r2bv-note r2bv-ordering) nil] 1) #@41 Set all global vars used by r2b to nil. (defalias 'r2b-clear-variables #[nil "\211\205 @\302L\210 A\211\204 \302)\207" [r2b-variables vars nil] 3 (#$ . 6560)]) (defalias 'r2b-warning #[(&rest args) "\304\305\306\307 \"\n\"\210\305\310\n\"\210\305\310\"\210\305\311\"\210\305\306\307 \"\"\207" [r2b-error-found args r2b-log r2b-out-buf t princ apply format "\n" "% "] 4]) #@460 Set VAR to string value of FIELD, if any. If none, VAR is set to nil. If multiple fields appear, then separate values with the '\nand\t\t', unless UNIQUE is non-nil, in which case log a warning and just concatenate the values. Trim off leading blanks and tabs on first line, and trailing blanks and tabs of every line. Log a warning and set VAR to the empty string if REQUIRED is true. Capitalize as a title if CAPITALIZE is true. Returns value of VAR. (defalias 'r2b-get-field #[(var field &optional unique required capitalize) "\306\211\307\310\311\"\210eb\210\203a \312\313\314Q\306\307#\203a \315\316!\317\316y!\211\203>