auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d1f2c2cd 2/2: Add new style/proc.el


From: Arash Esbati
Subject: master d1f2c2cd 2/2: Add new style/proc.el
Date: Sun, 12 Jun 2022 13:59:57 -0400 (EDT)

branch: master
commit d1f2c2cdb294bd4b404b33d5b84a0e497ca7867f
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    Add new style/proc.el
    
    * Makefile.in (STYLESRC): Add new style.
    
    * style/proc.el: New file.
---
 Makefile.in   |  3 ++-
 style/proc.el | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 227c1c61..dc76b35d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -182,7 +182,8 @@ STYLESRC = style/prosper.el \
           style/ifthen.el    style/etoolbox.el  style/ifetex.el \
           style/ifpdf.el     style/iftex.el     style/ifvtex.el \
           style/ifxetex.el   style/multibib.el  style/ltcaption.el \
-          style/keyval.el    style/kvoptions.el style/kvsetkeys.el
+          style/keyval.el    style/kvoptions.el style/kvsetkeys.el \
+          style/proc.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/proc.el b/style/proc.el
new file mode 100644
index 00000000..2df349bc
--- /dev/null
+++ b/style/proc.el
@@ -0,0 +1,47 @@
+;;; proc.el --- AUCTeX style for `proc.cls'  -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2022 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <arash@gnu.org>
+;; Maintainer: auctex-devel@gnu.org
+;; Created: 2022-06-12
+;; 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 `proc.sty' v1.3m form 2021-12-09.
+
+;;; Code:
+
+(require 'tex)
+
+(defvar LaTeX-proc-class-options
+  '("a4paper" "letterpaper" "legalpaper" "executivepaper"
+    "landscape" "10pt" "11pt" "12pt" "oneside" "twoside" "draft" "final"
+    "notitlepage" "twocolumn" "leqno" "fleqn" "openbib")
+  "Package options for the proc class.")
+
+(TeX-add-style-hook
+ "proc"
+ (lambda ()
+   (TeX-run-style-hooks "article"))
+ TeX-dialect)
+
+;;; proc.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]