Hi Jim,
Jim <[email protected]> writes:
> Finally, on a (possibly) related note, I see that after the above change
> (ConTeXt-trailer-start)
> is still only "\\\\stoptext", and does not include \stopcomponent
> \stopTEXpage (and others); would a full patch need that,is it safe to
> assume that a full patch needs these other things in
> (ConTeXt-trailer-start) ? I'm not sure what purpose is served by
> copying material *after* the \stop<...> to _region_.tex.
Yes, you're right. The patch should look like this:
--8<---------------cut here---------------start------------->8---
diff --git a/context.el b/context.el
index 64f1179a..9b7d0c44 100644
--- a/context.el
+++ b/context.el
@@ -1257,14 +1257,14 @@ header is at the start of a line."
(concat
(regexp-quote TeX-esc)
(ConTeXt-environment-start-name)
- ConTeXt-text))
+ (regexp-opt `(,ConTeXt-text "TEXpage" "component"))))
(defun ConTeXt-trailer-start ()
"Default start of trailer marker for ConTeXt documents."
(concat
(regexp-quote TeX-esc)
(ConTeXt-environment-stop-name)
- ConTeXt-text))
+ (regexp-opt `(,ConTeXt-text "TEXpage" "component"))))
(defun ConTeXt-outline-offset ()
"Offset to add to `ConTeXt-section-list' levels to get outline level."
--8<---------------cut here---------------end--------------->8---
Should I install it?
Best, Arash