ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: pretty typesetting for matlab files
Date: Wed, 15 Mar 2006 16:14:18 -0500 (EST)	[thread overview]
Message-ID: <Pine.GSO.4.63.0603151611250.28111@rrpf4327h10.ratva.hzvpu.rqh> (raw)
In-Reply-To: <4417DC4E.6000801@elvenkind.com>



On Wed, 15 Mar 2006, Taco Hoekwater wrote:

>
>
> Aditya Mahajan wrote:
>> Hi,
>>
>>  I was trying to define a pretty printing environment for matlab files.
>> The basic requirements that I have are
>>
>> The syntax is similar to both perl and MP. I had a look at the
>> verb-*.tex files and tried to write verb-matlab. My attempt is attached.
>
> If you have to change any of the actual syntax rules (like for comments
> etc.), then you have to be brave and create a fully new definition.

The syntax is quite similar to MP. I will see if I can make the 
corresponding changes for things to work.

> That may sound like a very daunting task, but it is not as hard as you
> may think, just something to be done meticulously. The verb-xxxx
> definitions are rather straightforward state engines that use character
> codes as command tokens.

Is this documented somewhere? Even the source files (verb-*.tex) did not 
have too many hints on what is going on. Should I also look into some 
other files?

Thanks,
Aditya

  reply	other threads:[~2006-03-15 21:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-15  6:50 Aditya Mahajan
2006-03-15  9:20 ` Taco Hoekwater
2006-03-15 21:14   ` Aditya Mahajan [this message]
2006-03-16  9:50     ` Taco Hoekwater
2006-03-17  5:29       ` Aditya Mahajan
2006-03-17  9:16         ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.63.0603151611250.28111@rrpf4327h10.ratva.hzvpu.rqh \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).