Jim <[email protected]> writes:
> The good news: with your new and improved regexp, C-c C-r does The Right
> Thing in my tests.
Thanks, that's good news.
> I tested with a simple \startcomponent abc as well as \startcomponent
> [title=abc, otherstuff] and all is good.
>
> (I didn't try with
> \startcomponent [title={This has a ] of all things},
> otherstuff]
The above will break, I know.
> Summary: works perfect for C-c C-r
> not for C-c C-b
See the other answer from Keita. TBH, I've never used 'C-c C-b', so I
can't tell what it should do and what not.
In your other message, you wrote:
>> (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 "component" "document" "MPpage"
>> + "product" "TEXpage"))))
>
> Is it intentional that ConTeXt-trailer-start doesn't have the regexp?
Actually yes. I presumed the \stopFOO macros don't take any additional
arguments, or is this not the case for ConTeXt?
Best, Arash