Hi,

a Debian user has suggested a few more patterns to recognize ConTeXt
source files.  He also supplied a patch, which just consists of adding a
couple of keywords to the existing regex: startproject,
startenvironment, startproduct, starttyping, startcomponent.  I guess
the patch is small enough so that there's no copyright problem, but to
be sure here's a page break



Here are a few more patterns to recognize ConTeXt source files:

--- a/tex.el    2006-02-05 07:14:48.000000000 -0500
+++ b/tex.el    2006-04-20 00:46:46.000000000 -0400
@@ -2158,7 +2158,7 @@
     ("AMSTEX" ams-tex-mode
      "\\\\document\\b")
     ("CONTEXT" context-mode
-     "\\(\\\\\\(starttext\\|starttekst\\)\\|%.*?interface=\\)")
+     
"\\(\\\\\\(start\\(text\\|project\\|environment\\|product\\|typing\\|component\\|tekst\\)\\)\\|%.*?interface=\\)")
     ("LATEX" latex-mode
      "\\\\\\(begin\\|section\\|chapter\\|documentstyle\\|documentclass\\)\\b")
     ("TEX" plain-tex-mode "."))

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)


Reply via email to