ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* verbatim text in MkIV and \installprettytype...
@ 2011-06-12 10:52 Julian Becker
  2011-06-12 12:25 ` Marco
  0 siblings, 1 reply; 2+ messages in thread
From: Julian Becker @ 2011-06-12 10:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Recently, I tried to typeset some verbatim MATLAB source codes in MkIV, but
I can't seem to be able to grasp the concept of pretty printers.
All the sample codes I found on the net/wiki/mailing list don't compile,
complaining that "\installprettytype" is an unknown command...?!

Is there any module I have to load first or something I missed in the wiki?
Or can anyone provide me with a minimalistic example?

Best regards,
Julian

[-- Attachment #1.2: Type: text/html, Size: 565 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] 2+ messages in thread

* Re: verbatim text in MkIV and \installprettytype...
  2011-06-12 10:52 verbatim text in MkIV and \installprettytype Julian Becker
@ 2011-06-12 12:25 ` Marco
  0 siblings, 0 replies; 2+ messages in thread
From: Marco @ 2011-06-12 12:25 UTC (permalink / raw)
  To: ntg-context

On  2011-06-12   Julian  Becker  <becker.julian@gmail.com>
wrote:

> Recently, I tried to typeset some verbatim MATLAB source
> codes in MkIV, but I can't  seem to be able to grasp the
> concept of pretty printers. All the sample codes I found
> on the net/wiki/mailing  list don't compile, complaining
> that "\installprettytype" is an unknown command...?!

It's for  mkii. It  was removed  from mkiv  several months
ago. Please someone correct me if I'm wrong. You can write
your pretty printer in lua (visualizer) [1].

> Is there any module I have to load first or something I?
> missed  in the  wiki Or  can anyone  provide me  with a?
> minimalistic example                                   ?

Not  that flexible,  but easy  to use  and broad  language
coverage has the vim module [2].

Marco

[1] http://wiki.contextgarden.net/Custom_pretty_printer
[2] http://dl.contextgarden.net/modules/t-vim/doc/context/third/vim/vim.txt


___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2011-06-12 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-12 10:52 verbatim text in MkIV and \installprettytype Julian Becker
2011-06-12 12:25 ` Marco

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).