ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using forms and saving values
Date: Tue, 5 Apr 2011 20:32:45 +0200	[thread overview]
Message-ID: <65F5CE5B-2A52-491B-A81A-1E73C70D68D1@googlemail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1104051418540.1259@ybpnyubfg.ybpnyqbznva>


Am 05.04.2011 um 20:23 schrieb Aditya Mahajan:

> BTW, does anyone has a minimal example on how to use mkvi syntax. I tried a few examples, but the best that I could do was using one of the mtx-* scripts to convert mkvi to tex (And that conversion does not work for \starttextdefinition ... \stoptexdefinition).

http://www.ntg.nl/pipermail/ntg-context/2010/054629.html

<example>
% macros=mkvi

\def\one#one#two{#one : #two}

\def\two{\dosingleempty\dofoo}

\def\dofoo[#optional]#mandatory%
  {\iffirstargument #optional\else Hello \fi #mandatory}

\starttext

\one{A}{B}

\foo{\ConTeXt!}

\foo[Hi]{\ConTeXt!}

\stoptext
</example>

Wolfgang
___________________________________________________________________________________
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:[~2011-04-05 18:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-03 11:00 Cecil Westerhof
2011-04-04 18:29 ` Wolfgang Schuster
2011-04-04 21:01   ` Cecil Westerhof
2011-04-05  1:19   ` Cecil Westerhof
2011-04-05  7:45     ` Peter Rolf
2011-04-05 10:31       ` Cecil Westerhof
2011-04-05 10:50         ` Peter Rolf
2011-04-05 12:06           ` Cecil Westerhof
2011-04-05 12:41             ` Peter Rolf
     [not found]               ` <4D9B14C3.8040707@wxs.nl>
2011-04-05 13:38                 ` Peter Rolf
2011-04-05 13:42                   ` Cecil Westerhof
2011-04-05 13:54                     ` Peter Rolf
2011-04-05 15:26                       ` Wolfgang Schuster
2011-04-05 13:39               ` Cecil Westerhof
2011-04-05 13:45                 ` Wolfgang Schuster
2011-04-05 16:49                   ` Peter Münster
2011-04-05 16:56                     ` Wolfgang Schuster
2011-04-05 18:23                       ` Aditya Mahajan
2011-04-05 18:32                         ` Wolfgang Schuster [this message]
2011-04-05 17:52                     ` Martin Schröder
2011-04-05 13:48     ` Peter Münster
2011-04-05 13:53       ` Cecil Westerhof
2011-04-05 14:03         ` Aditya Mahajan
2011-04-05 14:31           ` Cecil Westerhof

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=65F5CE5B-2A52-491B-A81A-1E73C70D68D1@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).