ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: t-rsteps and starttyping
Date: Wed, 21 Sep 2005 16:13:50 +0200	[thread overview]
Message-ID: <43316A9E.90905@elvenkind.com> (raw)
In-Reply-To: <1127311214.59949.48.camel@tempete>


Hi,

\starttyping needs to be followed by a newline, but macro
arguments cannot contain newlines unless \obeylines is in
effect. So:

   \def\StartLong{\begingroup\obeylines\doStartLong}
   \long\def\doStartLong#1\StopLong{\scantokens{#1}\endgroup}

Cheers,

Taco

David Munger wrote:
> 
> I do need the argument. Its use is repeated in the real macro.
> 
> 
>>\long\def\StartLong#1\StopLong{\scantokens{#1}}
> 
> 
> This produces no output as well. texexec says:
> No pages of output.
> 
> Thanks anyway.
> 
> David
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-09-21 14:13 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-24 16:41 Peter Münster
2005-06-25 11:08 ` Otared KAVIAN
2005-06-25 11:42   ` Peter Münster
2005-06-27 10:56   ` Hans Hagen
2005-06-28 18:16     ` Peter Münster
2005-06-27 22:06 ` David Munger
2005-09-12 17:04   ` Peter Münster
2005-09-12 21:57     ` David Munger
2005-09-21 12:38       ` Christopher Creutzig
2005-09-21 14:00         ` David Munger
2005-09-21 14:13           ` Taco Hoekwater [this message]
2005-09-21 22:16             ` David Munger
2005-09-22  6:56               ` Christopher Creutzig
2005-09-22 15:24                 ` David Munger
2005-09-22 16:56                   ` Hans Hagen
2005-09-22 20:02                     ` David Munger
2005-09-22 20:39                       ` Hans Hagen
2005-09-23  2:34                         ` David Munger
2005-09-23  7:11                           ` Mojca Miklavec
2005-09-23  8:51                         ` Peter Münster
2005-09-23 10:46                           ` Hans Hagen
2005-09-23 13:21                             ` Christopher Creutzig
2005-09-25 21:42                               ` Hans Hagen
2005-09-28 11:13                                 ` Christopher Creutzig
2005-09-26 15:04           ` footnote for author (\thanks) Albrecht Kauffmann
2005-09-26 16:08             ` Adam Lindsay
2005-09-26 15:34           ` footnote numbering Albrecht Kauffmann

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=43316A9E.90905@elvenkind.com \
    --to=taco@elvenkind.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).