auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 7223ec441ca3ecfda23f6


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 7223ec441ca3ecfda23f66d8d44d33eda75d9b27
Date: Wed, 19 Mar 2014 07:09:38 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  7223ec441ca3ecfda23f66d8d44d33eda75d9b27 (commit)
      from  4ad7f97587642d6bff59bbeef0a6f9ede66ae7b1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7223ec441ca3ecfda23f66d8d44d33eda75d9b27
Author: Nicolas Richard <address@hidden>
Date:   Tue Mar 18 23:05:42 2014 +0100

    Add new style/exercise.el.
    
    * style/exercise.el: New file.
    
    Signed-off-by: Tassilo Horn <address@hidden>

diff --git a/ChangeLog b/ChangeLog
index 2273fca..31b5104 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-03-17  Nicolas Richard  <address@hidden>
+
+       * style/exercise.el: New file.
 2014-03-18  Tassilo Horn  <address@hidden>
 
        * doc/auctex.texi: Mention that `TeX-PDF-mode' is enabled by
diff --git a/Makefile.in b/Makefile.in
index 3f463a7..b69cf0c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -133,7 +133,8 @@ STYLESRC = style/prosper.el \
           style/array.el     style/kpfonts.el   style/acro.el \
           style/acronym.el   style/xparse.el    style/fancyvrb.el \
           style/tabulary.el  style/fontspec.el  style/unicode-math.el \
-          style/luacode.el   style/metalogo.el  style/english.el
+          style/luacode.el   style/metalogo.el  style/english.el \
+          style/exercise.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 CLEANFILES = $(AUCELC) $(STYLEELC) $(MULEELC)
diff --git a/style/exercise.el b/style/exercise.el
new file mode 100644
index 0000000..6dfb179
--- /dev/null
+++ b/style/exercise.el
@@ -0,0 +1,62 @@
+;;; exercise.el --- AUCTeX style for `exercise.sty'
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Nicolas Richard <address@hidden>
+;; Created: 2014-03-17
+;; 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 St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file adds support for `exercise.sty'.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "exercise"
+ (lambda ()
+   (LaTeX-add-environments
+    '("Exercise")
+    '("Exercise*")
+    '("Answer")
+    '("ExerciseList")
+    )
+   (TeX-add-symbols
+    '("Exercise")
+    '("Exercise*")
+    '("Answer")
+    '("ExePart")
+    '("ExePart*")
+    '("Question")
+    '("subQuestion")
+    '("ExeText")
+    '("ExerciseSelect")
+    '("ExerciseStopSelect")
+    '("refAnswer")
+    '("marker")
+    '("DifficultyMarker")
+    '("listofexercises")
+    '("ListOfExerciseInToc")
+    '("ExerciseLevelInToc"))))
+
+(defvar LaTeX-exercise-package-options '("noexercise" "noanswer" 
"exerciseonly" "answeronly" "nothing" "answerdelayed" "exercisedelayed" 
"lastexercise")
+  "Package options for the exercise package.")
+
+;;; exercise.el ends here

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    3 ++
 Makefile.in       |    3 +-
 style/exercise.el |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 1 deletions(-)
 create mode 100644 style/exercise.el


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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