* ptexinfmt.el (texinfo-format-geq, texinfo-format-leq,): Support @geq and @leq.
[elisp/wanderlust.git] / utils / ptexinfmt.el
index 24c834e..6900bb4 100644 (file)
@@ -609,6 +609,18 @@ For example, @verb\{|@|\} results in @ and
   (insert "o" (texinfo-parse-arg-discard))
   (goto-char texinfo-command-start))
 
+;; @geq{}
+(put 'geq 'texinfo-format 'texinfo-format-geq)
+(ptexinfmt-defun-if-void texinfo-format-geq ()
+  (insert ">=" (texinfo-parse-arg-discard))
+  (goto-char texinfo-command-start))
+
+;; @leq{}
+(put 'leq 'texinfo-format 'texinfo-format-leq)
+(ptexinfmt-defun-if-void texinfo-format-leq ()
+  (insert "<=" (texinfo-parse-arg-discard))
+  (goto-char texinfo-command-start))
+
 \f
 ;;; Cross References
 ;; @ref, @xref