;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require tex latex] 2) #@95 Information about ocgp-ocg-layer-ids in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-auto-ocgp-ocg-layer-id nil (#$ . 150)) #@95 Information about ocgp-ocg-layer-ids in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-ocgp-ocg-layer-id-list nil (#$ . 303)) (make-variable-buffer-local 'LaTeX-ocgp-ocg-layer-id-list) #@95 Information about ocgp-ocg-layer-ids in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-ocgp-ocg-layer-id-changed nil (#$ . 515)) (make-variable-buffer-local 'LaTeX-ocgp-ocg-layer-id-changed) #@130 Add information about OCGP-OCG-LAYER-IDS to the current buffer. Generated by `TeX-auto-add-type'. (fn &rest OCGP-OCG-LAYER-IDS) (defalias 'LaTeX-add-ocgp-ocg-layer-ids #[128 "\300\301\"\207" [TeX-auto-add-information "ocgp-ocg-layer-id"] 4 (#$ . 734)]) #@92 List of ocgp-ocg-layer-ids active in the current buffer. Generated by `TeX-auto-add-type'. (defalias 'LaTeX-ocgp-ocg-layer-id-list #[0 "\300\301!\207" [TeX-auto-list-information "ocgp-ocg-layer-id"] 2 (#$ . 995)]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [add-to-list TeX-auto-parser ("ocgp-ocg-layer-id" LaTeX-auto-ocgp-ocg-layer-id LaTeX-add-ocgp-ocg-layer-ids LaTeX-ocgp-ocg-layer-id-list LaTeX-ocgp-ocg-layer-id-changed) t add-hook TeX-remove-style-hook #[0 "\301\211\207" [LaTeX-ocgp-ocg-layer-id-list nil] 2]] 4) (defvar LaTeX-ocgp-ocg-layer-id-regexp (cons "\\\\begin{ocg}[ \n %]*\\(?:\\[[^]]*\\]\\)?[ \n %]*\\(?:{[^}]+}\\)[ \n %]*{\\([^}]+\\)}" '(1 LaTeX-auto-ocgp-ocg-layer-id))) #@54 Clear `LaTeX-auto-ocgp-ocg-layer-id' before parsing. (defalias 'LaTeX-ocgp-auto-prepare #[0 "\301\211\207" [LaTeX-auto-ocgp-ocg-layer-id nil] 2 (#$ . 1706)]) (byte-code "\300\301\302\303#\210\300\304\305\303#\207" [add-hook TeX-auto-prepare-hook LaTeX-ocgp-auto-prepare t TeX-update-style-hook TeX-auto-parse] 4) #@59 Key=value options for ocg environment from ocg-p package. (defvar LaTeX-ocgp-env-key-val-options '(("printocg" ("always" "never" "ifvisible")) ("exportocg" ("always" "never" "ifvisible")) ("listintoolbar" ("always" "never" "iffirstuse"))) (#$ . 2026)) #@73 Insert arguments for ocg environment from ocg-p package. (fn OPTIONAL) (defalias 'LaTeX-env-ocgp-ocg #[257 " \305\306\307\f\"\307\"\210*\305\310\311\312\313#!\"\210\305\314\311\312\315#\316 \"\317!\210\211\262\"\210\305\310\311\312\320#!\"\207" [LaTeX-optop LaTeX-optcl TeX-arg-closing-brace TeX-arg-opening-brace LaTeX-ocgp-env-key-val-options TeX-argument-insert TeX-read-key-val t TeX-read-string TeX-argument-prompt nil "Layer name" completing-read "Layer id" LaTeX-ocgp-ocg-layer-id-list LaTeX-add-ocgp-ocg-layer-ids "Initial visibility (0 or 1)"] 7 (#$ . 2284)]) #@57 Key=value options for macros provided by ocg-p package. (defvar LaTeX-ocgp-mac-key-val-options '(("triggerocg" ("onareaenter" "onareaexit" "onmousedown" "onmouseup" "allactions"))) (#$ . 2871)) #@211 Insert (multiple) defined layer id's for various macros from ocg-p package. key binding in minibuffer is removed temporarily. Completion is still available with key. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-arg-ocgp-layer-id #[513 "\302\303\304 \236 \"\305\306\307\310\311#\312 \"\313#\314\"*\207" [crm-separator crm-local-completion-map "[ ]+" remove 32 mapconcat identity TeX-completing-read-multiple TeX-argument-prompt "Layer id ('s space separated)" LaTeX-ocgp-ocg-layer-id-list " " TeX-argument-insert] 9 (#$ . 3072)]) #@129 Insert ocgtabular ENVIRONMENT with position, column spec's and 2 more arguments. Just like array and tabular. (fn ENVIRONMENT) (defalias 'LaTeX-env-ocgp-ocgtabular #[257 "\205\306\307\"\306\310 \"\306\311!\306\312!\313G\314U?\205%\n Q\f Q\f Q\f QR\"\210\315\316!\207" [LaTeX-default-position LaTeX-default-format LaTeX-optop LaTeX-optcl TeX-grop TeX-grcl TeX-read-string "(Optional) Position: " "Format: " "Database name: " "Additional options: " LaTeX-insert-environment 0 LaTeX-item-array t] 13 (#$ . 3631)]) (TeX-add-style-hook "ocg-p" #[0 "\302!\210\303\304!\210\305\306\307\310\311$\210\312\313\314\"\203\303\315!\210\305\316!\210\317\320!\205. \321=\205.\322\323\324\"\207" [LaTeX-ocgp-ocg-layer-id-regexp TeX-install-font-lock TeX-auto-add-regexp LaTeX-add-environments ("ocg" LaTeX-env-args LaTeX-env-ocgp-ocg) TeX-add-symbols ("toggleocgs" [TeX-arg-key-val LaTeX-ocgp-mac-key-val-options] LaTeX-arg-ocgp-layer-id "Action button") ("showocgs" [TeX-arg-key-val LaTeX-ocgp-mac-key-val-options] LaTeX-arg-ocgp-layer-id "Action button") ("hideocgs" [TeX-arg-key-val LaTeX-ocgp-mac-key-val-options] LaTeX-arg-ocgp-layer-id "Action button") ("setocgs" [TeX-arg-key-val LaTeX-ocgp-mac-key-val-options] (LaTeX-arg-ocgp-layer-id "Toggle layer id ('s space separated)") (LaTeX-arg-ocgp-layer-id "Show layer id ('s space separated)") (LaTeX-arg-ocgp-layer-id "Hide layer id ('s space separated)") "Action button") LaTeX-provided-package-options-member "ocg-p" "ocgtabular" ("ocgtabular" LaTeX-env-ocgp-ocgtabular) ("setocgtabularheader" "Column name" "Displayed header") featurep font-latex font-latex-setup font-latex-add-keywords (("toggleocgs" "[{{") ("showocgs" "[{{") ("hideocgs" "[{{") ("setocgs" "[{{{{")) function] 5] TeX-dialect) #@40 Package options for the ocg-p package. (defvar LaTeX-ocg-p-package-options '("ocgtabular") (#$ . 5398))