On 2021-05-24, Aditya Mahajan <adit...@umich.edu> wrote:
> On Fri, 21 May 2021, Nicola wrote:
>
>> I have only a minor annoyance: I have just noticed that -- is typeset as
>> an en-dash in LMTX (but not in MKIV, as documented). Could you look into
>> that?
>
> Fixed in the new release.

Thanks. I have updated to version 2021.05.23 and run `mtxrun
--generate`. Syntax highlighting is fine, but with LMTX I'm still
getting an en-dash. Below, a MWE.

Nicola

%%%%%%%%%%%%%
\usemodule[vim]

\startvimrc[name=pseudocode]
syntax keyword Statement while
syntax keyword Constant true
syntax region Comment start="--" end="\n" keepend
\stopvimrc

\definevimtyping[pseudocode][
  directory=code/, % NOTE: it MUST exist
  extras=pseudocode,
]

\starttext
  \startpseudocode
  while true -- Comment
  \stoppseudocode
\stoptext


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to