auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to ruby.el


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to ruby.el
Date: Sun, 04 Jan 2009 14:51:58 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    09/01/04 14:51:58

Index: ruby.el
===================================================================
RCS file: ruby.el
diff -N ruby.el
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ ruby.el     4 Jan 2009 14:51:58 -0000       1.1
@@ -0,0 +1,49 @@
+;;; ruby.el --- AUCTeX style for the ruby package.
+
+;; Copyright (C) 2009 Free Software Foundation, Inc.
+
+;; Author: Ralf Angeli <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2009-01-04
+;; 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 the ruby package.
+
+;;; Code:
+
+(defvar LaTeX-ruby-package-options
+  '("overlap" "nooverlap" "CJK" "latin")
+  "Package options for the ruby package.")
+
+(TeX-add-style-hook
+ "ruby"
+ (lambda ()
+   (TeX-add-symbols
+    '("rubyoverlap" 0)
+    '("rubynooverlap" 0)
+    '("rubyCJK" 0)
+    '("rubylatin" 0)
+    '("rubysize" 1)
+    '("rubysep" 1)
+    '("ruby" t nil))))
+
+;;; ruby.el ends here




reply via email to

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