[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 236/299: Add new style/exercise.el.
From: |
Stefan Monnier |
Subject: |
[elpa] 236/299: Add new style/exercise.el. |
Date: |
Sun, 02 Nov 2014 03:11:41 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
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>
---
ChangeLog | 3 ++
Makefile.in | 3 +-
style/exercise.el | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 67 insertions(+), 1 deletions(-)
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
- [elpa] 225/299: Fix minor documentation bug., (continued)
- [elpa] 225/299: Fix minor documentation bug., Stefan Monnier, 2014/11/01
- [elpa] 229/299: Advice instead of fset + redefine., Stefan Monnier, 2014/11/01
- [elpa] 228/299: Squash a byte-compiler warning., Stefan Monnier, 2014/11/01
- [elpa] 226/299: Improve defaults for filling., Stefan Monnier, 2014/11/01
- [elpa] 230/299: Fix bug causing endless package queries., Stefan Monnier, 2014/11/01
- [elpa] 232/299: Fix some FIXMEs., Stefan Monnier, 2014/11/01
- [elpa] 223/299: Prompt for packages inside LaTeX-env-document., Stefan Monnier, 2014/11/01
- [elpa] 233/299: Prevent an infinite loop in TeX-command-expand., Stefan Monnier, 2014/11/01
- [elpa] 227/299: Fix missing quote., Stefan Monnier, 2014/11/01
- [elpa] 235/299: Enable TeX-PDF-mode by default., Stefan Monnier, 2014/11/01
- [elpa] 236/299: Add new style/exercise.el.,
Stefan Monnier <=
- [elpa] 231/299: Make TeX-completing-read-multiple return nil on empty input., Stefan Monnier, 2014/11/01
- [elpa] 239/299: Silence assignment to free variable warnings., Stefan Monnier, 2014/11/01
- [elpa] 240/299: Fix ChangeLog node for texinfo., Stefan Monnier, 2014/11/01
- [elpa] 242/299: Add another exception to error parsing., Stefan Monnier, 2014/11/01
- [elpa] 241/299: Resolve conflicts, Stefan Monnier, 2014/11/01
- [elpa] 243/299: Fix fontification of optional argument to verbatim environments., Stefan Monnier, 2014/11/01
- [elpa] 238/299: Use LaTeX-biblatex-use-Biber to manually select bibliography processor., Stefan Monnier, 2014/11/01
- [elpa] 246/299: Make style/babel.el file non-executable., Stefan Monnier, 2014/11/01
- [elpa] 234/299: Ask for TeX-master if unknown., Stefan Monnier, 2014/11/01
- [elpa] 244/299: Fix typo in listings.el., Stefan Monnier, 2014/11/01