Alexander Shukaev <[email protected]> writes:

>     > 2. Can `font-latex.el' be fully reused?
>
>     What do you mean by "reused"?
>
> ​I mean by renaming it to `font-context.el', refactoring all `*latex*'
> symbols to `*context*', and setting `font-context-setup' ​ ​as a ConTeXt
> mode hook appropriately.

I don't see why we should copy it.  font-latex.el isn't really so
LaTeX-specific except for its name and the default values of its
variables.  So basically it should suffice to define new variables such
as

  `font-context-built-in-keyword-classes'

analogous to

  `font-latex-built-in-keyword-classes'

and then do

  (set (make-local-variable 'font-latex-built-in-keyword-classes)
       font-context-built-in-keyword-classes)

in ConTeXt files.

Bye,
Tassilo


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to