X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=utils%2Fptexinfmt.el;h=edc4255844bdcd5a86494b8ccedb1dc8f5a712d5;hb=d12ada00f69f0c95f298a700be7ac54864424bd6;hp=2ef5cc3a8c57d1bc30cac5dbe088463276044ea9;hpb=c46a4752aab3b3c1a6136e36104806d5d7dc9025;p=elisp%2Fwanderlust.git diff --git a/utils/ptexinfmt.el b/utils/ptexinfmt.el index 2ef5cc3..edc4255 100644 --- a/utils/ptexinfmt.el +++ b/utils/ptexinfmt.el @@ -36,6 +36,22 @@ ;; Modified by Yamaoka not to use APEL functions. +;; Unimplemented command: +;; @abbr +;; @float, @caption, @shortcaption, @listoffloats +;; @deftypecv[x] +;; @headitem +;; @comma{} +;; @quotation (optional arguments) +;; @acronym (optional argument) +;; @dofirstparagraphindent +;; @indent +;; @verbatiminclude +;; @\ +;; @definfoenclose +;; @deftypeivar +;; @deftypeop + ;;; Code: (require 'backquote) @@ -200,6 +216,9 @@ DOCSTRING will be printed if ASSERTION is nil and (put 'page 'texinfo-format 'texinfo-discard-line) (put 'hyphenation 'texinfo-format 'texinfo-discard-command-and-arg) +;; @slanted{} (makeinfo 4.8 or later) +(put 'slanted 'texinfo-format 'texinfo-format-noop) + ;; @tie{} (makeinfo 4.3 or later) (put 'tie 'texinfo-format 'texinfo-format-tie) (ptexinfmt-defun-if-void texinfo-format-tie () @@ -399,6 +418,18 @@ For example, @verb\{|@|\} results in @ and (texinfo-parse-arg-discard) (insert "#")) +;; @ordf{} ==> a Spanish feminine +(put 'ordf 'texinfo-format 'texinfo-format-ordf) +(ptexinfmt-defun-if-void texinfo-format-ordf () + (texinfo-parse-arg-discard) + (insert "o")) + +;; @ordm{} ==> o Spanish masculine +(put 'ordm 'texinfo-format 'texinfo-format-ordm) +(ptexinfmt-defun-if-void texinfo-format-ordm () + (texinfo-parse-arg-discard) + (insert "o")) + ;; @OE{} ==> OE French-OE-ligature (put 'OE 'texinfo-format 'texinfo-format-French-OE-ligature) (ptexinfmt-defun-if-void texinfo-format-French-OE-ligature ()