ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: In-line syntax highlighting for type
Date: Wed, 25 Oct 2006 21:03:51 +0200	[thread overview]
Message-ID: <453FB517.5080203@wxs.nl> (raw)
In-Reply-To: <Pine.WNT.4.63.0610251422150.3600@nqvgln>

Aditya Mahajan wrote:
>
> I understand that this is one of the more tricky things in TeX. Right 
> now, Mojca's workaround of adding a space after the comand works most 
> of the time. If there is a punctuations after the type+...+ one does 
> not want a space between the type and the punctuation. \unskip and 
> friends make the output look alright, but with a horrible looking 
> source.
>
> I hope that lua will make doing these things a bit easier.
>   
in that case the whole pretty printing is done in lua ; in tex we have to use aftergroup stuff and the problem is that info is lost on the way (ok, there is a solution, but it involves messy macros because we want to use all that stuff nested as well) 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

      reply	other threads:[~2006-10-25 19:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-25  0:11 Aditya Mahajan
2006-10-25  7:54 ` Hans Hagen
2006-10-25 13:57   ` Aditya Mahajan
2006-10-25 14:17     ` Aditya Mahajan
2006-10-25 14:28       ` Mojca Miklavec
2006-10-25 16:38         ` Hans Hagen
2006-10-25 17:32         ` Hans Hagen
2006-10-25 18:08     ` Hans Hagen
2006-10-25 18:28       ` Aditya Mahajan
2006-10-25 19:03         ` Hans Hagen [this message]

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=453FB517.5080203@wxs.nl \
    --to=pragma@wxs.nl \
    --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).