ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \installprettytype problem
@ 2015-08-20 20:43 Matthieu Leroy
  2015-08-20 22:21 ` Renaud AUBIN
  0 siblings, 1 reply; 8+ messages in thread
From: Matthieu Leroy @ 2015-08-20 20:43 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]

Hello,

I want to use the " C-Pretty-Printing
<http://modules.contextgarden.net/pret-c>" module.
According to the "Verbatim" page of the Context garden, I have to use
the \installprettytype command, but this one doesn't work (error :
"undefined control sequence").

I'm using the 2015.08.13 19:33 Context version.

Example :

\installprettytype[C][C]

\definetyping[C][option=C]

\startC
  int func(int a){
    if(a > 4)
      return 0; // comment
    else        /* comment */
      return 10;
  }
\stopC


Thank you.

[-- Attachment #1.2: Type: text/html, Size: 1281 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-08-21 20:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-20 20:43 \installprettytype problem Matthieu Leroy
2015-08-20 22:21 ` Renaud AUBIN
2015-08-21  9:54   ` Matthieu Leroy
2015-08-21 11:30     ` root
2015-08-21 11:43     ` Renaud AUBIN
2015-08-21 11:58       ` Matthieu Leroy
2015-08-21 18:54   ` Eric Détrez
2015-08-21 20:51     ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).