67 |
(setq items (list (or (reftex-citation t) "")))) |
(setq items (list (or (reftex-citation t) "")))) |
68 |
(t |
(t |
69 |
(setq prompt (concat (if optional "(Optional) " "") |
(setq prompt (concat (if optional "(Optional) " "") |
70 |
(if prompt prompt "Add key") |
(if prompt prompt "Add key") |
71 |
": (default none) ")) |
" (default none): ")) |
72 |
(setq items (multi-prompt "," t prompt (LaTeX-bibitem-list))))) |
(setq items (multi-prompt "," t prompt (LaTeX-bibitem-list))))) |
73 |
(apply 'LaTeX-add-bibitems items) |
(apply 'LaTeX-add-bibitems items) |
74 |
(TeX-argument-insert (mapconcat 'identity items ",") optional))) |
(TeX-argument-insert (mapconcat 'identity items ",") optional))) |
79 |
This is the name of an index, not the entry." |
This is the name of an index, not the entry." |
80 |
(let (tag taglist) |
(let (tag taglist) |
81 |
(setq prompt (concat (if optional "(Optional) " "") |
(setq prompt (concat (if optional "(Optional) " "") |
82 |
(if prompt prompt "Index tag") |
(if prompt prompt "Index tag") |
83 |
": (default none) ")) |
" (default none): ")) |
84 |
(if (and reftex-support-index (reftex-plug-flag 4)) |
(if (and reftex-support-index (reftex-plug-flag 4)) |
85 |
;; Use RefTeX completion |
;; Use RefTeX completion |
86 |
(progn |
(progn |