[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex dc101dee44 09/77: ; Delete style/multibib.el che
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex dc101dee44 09/77: ; Delete style/multibib.el checked in by accident |
Date: |
Fri, 26 Aug 2022 16:06:31 -0400 (EDT) |
branch: externals/auctex
commit dc101dee44eb6d738a0a19be901143c29d1d4874
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
; Delete style/multibib.el checked in by accident
---
style/multibib.el | 123 ------------------------------------------------------
1 file changed, 123 deletions(-)
diff --git a/style/multibib.el b/style/multibib.el
deleted file mode 100644
index f1b4369cf2..0000000000
--- a/style/multibib.el
+++ /dev/null
@@ -1,123 +0,0 @@
-;;; multibib.el --- AUCTeX style for `multibib.sty' -*- lexical-binding: t;
-*-
-
-;; Copyright (C) 2022 Free Software Foundation, Inc.
-
-;; Author: Arash Esbati <arash@gnu.org>
-;; Maintainer: auctex-devel@gnu.org
-;; Created: 2022-01-18
-;; Keywords: tex
-
-;; This file is part of AUCTeX.
-
-;; AUCTeX is free software; you can redistribute it and/or modify it
-;; under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 3, or (at your option)
-;; any later version.
-
-;; AUCTeX is distributed in the hope that it will be useful, but
-;; WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-;; General Public License for more details.
-
-;; You should have received a copy of the GNU General Public License
-;; along with AUCTeX; see the file COPYING. If not, write to the Free
-;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-;; MA 02110-1301 USA.
-
-;;; Commentary:
-
-;; This file adds support for `multibib.sty' v1.4 form 2008-12-10.
-
-;;; Code:
-
-(require 'tex)
-
-;; Silence the compiler:
-(declare-function font-latex-add-keywords
- "font-latex"
- (keywords class))
-
-;; Setup for \newcites: Note that the macro is called \newcites and we
-;; choose the name newcite in order to get away with any un-natural
-;; plural form:
-(TeX-auto-add-type "multibib-newcite" "LaTeX")
-
-(defvar LaTeX-multibib-newcites-regexp
- `(,(concat "\\\\newcites"
- "[ \t\n\r%]*"
- "{\\([^}]+\\)}")
- 1 LaTeX-auto-multibib-newcite)
- "Matches the arguments of \\newtcbox from tcolorbox package.")
-
-(defun LaTeX-multibib-auto-prepare ()
- "Clear `LaTeX-auto-multibib-newcite' variables before parsing."
- (setq LaTeX-auto-multibib-newcite nil))
-
-(defun LaTeX-multibib-auto-cleanup ()
- "Process the parsed elements from \\newcites macro."
- (when (LaTeX-multibib-newcite-list)
- (let (suffix)
- (dolist (elt (LaTeX-multibib-newcite-list))
- (push (replace-regexp-in-string "[ %\n\r\t]" "" (car elt)) suffix))
- (setq suffix (mapconcat #'identity suffix ","))
- (dolist (elt (split-string suffix "," t))
- (TeX-add-symbols
- `(,(concat "cite" elt)
- (TeX-arg-conditional TeX-arg-cite-note-p ([ "Note" ]) ())
- TeX-arg-cite)
- `(,(concat "nocite" elt) TeX-arg-cite)
- `(,(concat "bibliographystyle" elt) TeX-arg-bibstyle)
- `(,(concat "bibliography" elt) TeX-arg-bibliography))
- ;; RefTeX: Check if `reftex-bibliography-commands' is bound
- ;; and append our newly defined entry to a local version of
- ;; it:
- (when (boundp 'reftex-bibliography-commands)
- (add-to-list (make-local-variable 'reftex-bibliography-commands)
- (concat "bibliography" elt)
- t))
- ;; Fontification
- (when (and (featurep 'font-latex)
- (eq TeX-install-font-lock 'font-latex-setup))
- (font-latex-add-keywords `((,(concat "cite" elt) "[{")
- (,(concat "nocite" elt) "{")
- (,(concat "bibliography" elt) "{"))
- 'reference)
- (font-latex-add-keywords `((,(concat "bibliographystyle" elt) "{"))
- 'function))))))
-
-(add-hook 'TeX-auto-prepare-hook #'LaTeX-multibib-auto-prepare t)
-(add-hook 'TeX-auto-cleanup-hook #'LaTeX-multibib-auto-cleanup t)
-(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
-
-(TeX-add-style-hook
- "multibib"
- (lambda ()
-
- ;; Add 'multibib' to the parser:
- (TeX-auto-add-regexp LaTeX-multibib-newcites-regexp)
-
- (TeX-add-symbols
- '("newcites"
- (TeX-arg-eval
- (lambda ()
- (let ((suf (TeX-read-string
- (TeX-argument-prompt nil nil "Suffix"))))
- (LaTeX-add-multibib-newcites suf)
- (LaTeX-multibib-auto-cleanup)
- (format "%s" suf))))
- "Heading")
- '("setbiblabelwidth" "Label"))
-
-
- ;; Fontification
- (when (and (featurep 'font-latex)
- (eq TeX-install-font-lock 'font-latex-setup))
- (font-latex-add-keywords '(("newcites" "{{")
- ("setbiblabelwidth" "{"))
- 'function)))
- TeX-dialect)
-
-(defvar LaTeX-multibib-package-options '("labeled" "resetlabels")
- "Package options for the multibib package.")
-
-;;; multibib.el ends here
- [elpa] externals/auctex 59ef475125 30/77: Simplify regexp, (continued)
- [elpa] externals/auctex 59ef475125 30/77: Simplify regexp, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 64a8e189a3 19/77: Remove compatibility code, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ba568ead99 24/77: ; Silence the compiler for the change in 37e5a450, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 46373674e2 22/77: ; Fix completion for counters made in 37e5a450, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 60ca36b5a1 39/77: ; * .gitignore: Exclude temp files produced by 2022-06-01 kernel., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 3f0d5a7411 23/77: Add support for \linespread macro, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d1f2c2cdb2 41/77: Add new style/proc.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex fa547aa71e 02/77: Don't increase indentation after \iff, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 619f329595 10/77: * tex-ispell.el (TeX-ispell-skip-cmds-list): Support shortvrb.sty., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e9612823ff 52/77: Avoid emacs 25 error, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex dc101dee44 09/77: ; Delete style/multibib.el checked in by accident,
Tassilo Horn <=
- [elpa] externals/auctex 9378b66daa 61/77: Add TODO, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex f33df119ce 06/77: Ensure "make maintainer-clean" deletes dynvars files, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e9af1e68fb 15/77: Fix preview-latex to work with desktop.el again, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e30fda8130 26/77: ; Really silence the compiler for the change in 37e5a450, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ba6e5ef69c 07/77: ; Fix warnings reported by 'make dynvars-check', Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 4163bb5c42 66/77: Fix `autoconf` warnings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 054b38887b 42/77: Fix (void-variable compilation-in-progress) error, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex b24dcb4feb 40/77: Track changes in LaTeX kernel 2022-06-01, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e3657144f5 53/77: Partial fix of region preview with TeX-output-dir feature, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9a3078e510 68/77: Fix comments and doc strings, Tassilo Horn, 2022/08/26