60 lines
2.1 KiB
EmacsLisp
60 lines
2.1 KiB
EmacsLisp
;;; jsreport.el - Special code for jsreport class. -*- lexical-binding: t; -*-
|
|
|
|
;; Copyright (C) 2017, 2020 Free Software Foundation, Inc.
|
|
|
|
;; Author: Ikumi Keita <ikumi@ikumi.que.jp>
|
|
;; Maintainer: auctex-devel@gnu.org
|
|
;; Created: 2017-03-23
|
|
;; 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:
|
|
|
|
;; Please write me.
|
|
|
|
;;; Code:
|
|
|
|
(require 'tex)
|
|
(require 'latex)
|
|
|
|
(defvar LaTeX-jsreport-class-options
|
|
'("a3paper" "a4paper" "a5paper" "a6paper" "b4paper" "b5paper" "b6paper"
|
|
"a4j" "a5j" "b4j" "b5j" "a4var" "b5var" "letterpaper" "legalpaper"
|
|
"executivepaper" "landscape"
|
|
"8pt" "9pt" "10pt" "11pt" "12pt" "14pt" "17pt" "20pt" "21pt" "25pt"
|
|
"30pt" "36pt" "43pt" "12Q" "14Q" "usemag" "nomag" "nomag*"
|
|
"tombow" "tombo" "mentuke" "oneside" "twoside" "vartwoside"
|
|
"onecolumn" "twocolumn" "titlepage" "notitlepage"
|
|
"openright" "openleft" "openany" "leqno" "fleqn"
|
|
"disablejfam" "draft" "final" "mingoth" "wingoth" "jis"
|
|
"uplatex" "autodetect-engine" "papersize" "english" "jslogo" "nojslogo")
|
|
"Class options for the jsreport class.")
|
|
|
|
(TeX-add-style-hook
|
|
"jsreport"
|
|
(lambda ()
|
|
(LaTeX-largest-level-set "chapter")
|
|
(LaTeX-add-counters "part" "chapter" "section" "subsection" "subsubsection"
|
|
"paragraph" "subparagraph" "figure" "table")
|
|
(LaTeX-add-pagestyles "headings" "myheadings")
|
|
(LaTeX-add-environments "abstract"))
|
|
TeX-dialect)
|
|
|
|
;;; jsreport.el ends here
|