ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Problem with \setupinterlinespace
Date: Thu, 15 Oct 2009 15:39:10 +0200	[thread overview]
Message-ID: <fe8d59da0910150639g68520d58s7d90babd0e7df271@mail.gmail.com> (raw)

In this example interlines spaces look a bit strange to me
\starttext
\input knuth
\begingroup
\tfx\setupinterlinespace[reset]
\starttyping
function newCounter()
 local i = 0
 return function()
         i = i+1
         return i
        end
end
c1 = newCounter()
print(c1()) --> 1
print(c1()) --> 2
c2 = newCounter()
print(c2()) --> 1
print(c1()) --> 3
print(c2()) --> 2
\stoptyping
\endgroup

\input tufte
\stoptext


Can someone confirm this ?

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2009-10-15 13:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 13:39 luigi scarso [this message]
2009-10-15 13:50 ` Peter Rolf
2009-10-15 13:59   ` luigi scarso
2009-10-15 16:32 ` interline spacing, me too Andreas Harder
2009-10-15 16:54   ` Peter Rolf
2009-10-15 19:46   ` Taco Hoekwater
2009-10-15 19:55     ` Taco Hoekwater
2009-10-15 21:53       ` Andreas Harder
2009-10-16  6:13         ` Taco Hoekwater
2009-10-16 12:12           ` Hans Hagen
2009-10-16 12:30             ` Andreas Harder
2009-10-16 12:35               ` Hans Hagen
2009-10-16 12:41                 ` Andreas Harder
2009-10-16 13:39                   ` Aditya Mahajan
2009-10-16 13:58                     ` Andreas Harder

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=fe8d59da0910150639g68520d58s7d90babd0e7df271@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).