From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \par in macro definition (mkii issue)
Date: Wed, 18 Jan 2012 23:38:13 +0100 [thread overview]
Message-ID: <ADBA30BD-E8E9-4F60-B786-607C6B8F3771@gmail.com> (raw)
In-Reply-To: <6B69BE12-5086-424D-A561-8F0D8121807D@googlemail.com>
[-- Attachment #1.1: Type: text/plain, Size: 493 bytes --]
On 18 janv. 2012, at 23:07, Wolfgang Schuster wrote:
> […]
> This is a limitation of the MkII version of the \define command, you can’t use \par in the replacement text but you can use \endgraf which does also end a paragraph.
>
> Wolfgang
Thanks Wolfgang: indeed
\def\MyTest#1{The test variable is #1.\par}
works both in mkii and mkiv.
There must be a reason for the behavior of \define in mkii, but that's fine: I'll use \endgraf, when I have to use mkii.
Best regards: OK
[-- Attachment #1.2: Type: text/html, Size: 885 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
___________________________________________________________________________________
prev parent reply other threads:[~2012-01-18 22:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 21:59 Otared Kavian
2012-01-18 22:07 ` Wolfgang Schuster
2012-01-18 22:38 ` Otared Kavian [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=ADBA30BD-E8E9-4F60-B786-607C6B8F3771@gmail.com \
--to=otared@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).