ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: latest beta problem?
Date: Sun, 1 Jul 2012 09:47:58 +0200	[thread overview]
Message-ID: <4F48EA4D-9B62-463A-96A6-170B10B7B59E@gmail.com> (raw)
In-Reply-To: <CAFMOkGWsOjZ9Hm9Z0wnW6PMDrbRzM3xhsO4dNHz2Xnjg0A8hWA@mail.gmail.com>


Am 30.06.2012 um 22:34 schrieb Alan Bowen:

> A file that used to process without complaint now fails because \definetext is  not recognized . 
> Do I need to revise my macros or is there a problem in the latest beta?

It’s a bug regarding commands with seven arguments.

syst-aux.mkiv:

% missing “_yes” at the end of the commands

%\def\syst_helpers_seventuple_empty_one#1[#2]%
\def\syst_helpers_seventuple_empty_one_yes#1[#2]%
  {\firstargumenttrue
   \doifnextoptionalelse
     {\syst_helpers_seventuple_empty_two_yes#1{#2}}%
     {\syst_helpers_seventuple_empty_two_nop#1{#2}}}

%\def\syst_helpers_seventuple_empty_two#1#2[#3]%
\def\syst_helpers_seventuple_empty_two_yes#1#2[#3]%
  {\secondargumenttrue
   \doifnextoptionalelse
     {\syst_helpers_seventuple_empty_three_yes#1{#2}{#3}}%
     {\syst_helpers_seventuple_empty_three_nop#1{#2}{#3}}}

%\def\syst_helpers_seventuple_empty_three#1#2#3[#4]%
\def\syst_helpers_seventuple_empty_three_yes#1#2#3[#4]%
  {\thirdargumenttrue
   \doifnextoptionalelse
     {\syst_helpers_seventuple_empty_four_yes#1{#2}{#3}{#4}}%
     {\syst_helpers_seventuple_empty_four_nop#1{#2}{#3}{#4}}}

%\def\syst_helpers_seventupleempty_four#1#2#3#4[#5]%
\def\syst_helpers_seventupleempty_four_yes#1#2#3#4[#5]%
  {\fourthargumenttrue
   \doifnextoptionalelse
     {\syst_helpers_seventuple_empty_five_yes#1{#2}{#3}{#4}{#5}}%
     {\syst_helpers_seventuple_empty_five_nop#1{#2}{#3}{#4}{#5}}}

%\def\syst_helpers_seventuple_empty_five#1#2#3#4#5[#6]%
\def\syst_helpers_seventuple_empty_five_yes#1#2#3#4#5[#6]%
  {\fifthargumenttrue
   \doifnextoptionalelse
     {\syst_helpers_seventuple_empty_six_yes#1{#2}{#3}{#4}{#5}{#6}}%
     {\syst_helpers_seventuple_empty_six_nop#1{#2}{#3}{#4}{#5}{#6}}}

%\def\syst_helpers_seventuple_empty_six#1#2#3#4#5#6[#7]%
\def\syst_helpers_seventuple_empty_six_yes#1#2#3#4#5#6[#7]%
  {\sixthargumenttrue
   \doifnextoptionalelse
     {\seventhargumenttrue#1[{#2}][{#3}][{#4}][{#5}][{#6}][{#7}]}%
     {\syst_helpers_seventuple_empty_seven_nop#1{#2}{#3}{#4}{#5}{#6}{#7}}}


% the “spaced” and “normal” string should be at the end of the command name

%\def\syst_helpers_seventuple_empty_spaced_two            #1#2{#1[{#2}][][][][][][] }
%\def\syst_helpers_seventuple_empty_normal_two            #1#2{#1[{#2}][][][][][][]}
%\def\syst_helpers_seventuple_empty_spaced_three        #1#2#3{#1[{#2}][{#3}][][][][][] }
%\def\syst_helpers_seventuple_empty_normal_three        #1#2#3{#1[{#2}][{#3}][][][][][]}
%\def\syst_helpers_seventuple_empty_spaced_four       #1#2#3#4{#1[{#2}][{#3}][{#4}][][][][] }
%\def\syst_helpers_seventuple_empty_normal_four       #1#2#3#4{#1[{#2}][{#3}][{#4}][][][][]}
%\def\syst_helpers_seventuple_empty_spaced_five     #1#2#3#4#5{#1[{#2}][{#3}][{#4}][{#5}][][][] }
%\def\syst_helpers_seventuple_empty_normal_five     #1#2#3#4#5{#1[{#2}][{#3}][{#4}][{#5}][][][]}
%\def\syst_helpers_seventuple_empty_spaced_six    #1#2#3#4#5#6{#1[{#2}][{#3}][{#4}][{#5}][{#6}][][] }
%\def\syst_helpers_seventuple_empty_normal_six    #1#2#3#4#5#6{#1[{#2}][{#3}][{#4}][{#5}][{#6}][][]}
%\def\syst_helpers_seventuple_empty_spaced_seven#1#2#3#4#5#6#7{#1[{#2}][{#3}][{#4}][{#5}][{#6}][{#7}][] }
%\def\syst_helpers_seventuple_empty_normal_seven#1#2#3#4#5#6#7{#1[{#2}][{#3}][{#4}][{#5}][{#6}][{#7}][]}
\def\syst_helpers_seventuple_empty_two_spaced            #1#2{#1[{#2}][][][][][][] }
\def\syst_helpers_seventuple_empty_two_normal            #1#2{#1[{#2}][][][][][][]}
\def\syst_helpers_seventuple_empty_three_spaced        #1#2#3{#1[{#2}][{#3}][][][][][] }
\def\syst_helpers_seventuple_empty_three_normal        #1#2#3{#1[{#2}][{#3}][][][][][]}
\def\syst_helpers_seventuple_empty_four_spaced       #1#2#3#4{#1[{#2}][{#3}][{#4}][][][][] }
\def\syst_helpers_seventuple_empty_four_normal       #1#2#3#4{#1[{#2}][{#3}][{#4}][][][][]}
\def\syst_helpers_seventuple_empty_five_spaced     #1#2#3#4#5{#1[{#2}][{#3}][{#4}][{#5}][][][] }
\def\syst_helpers_seventuple_empty_five_normal     #1#2#3#4#5{#1[{#2}][{#3}][{#4}][{#5}][][][]}
\def\syst_helpers_seventuple_empty_six_spaced    #1#2#3#4#5#6{#1[{#2}][{#3}][{#4}][{#5}][{#6}][][] }
\def\syst_helpers_seventuple_empty_six_normal    #1#2#3#4#5#6{#1[{#2}][{#3}][{#4}][{#5}][{#6}][][]}
\def\syst_helpers_seventuple_empty_seven_spaced#1#2#3#4#5#6#7{#1[{#2}][{#3}][{#4}][{#5}][{#6}][{#7}][] }
\def\syst_helpers_seventuple_empty_seven_normal#1#2#3#4#5#6#7{#1[{#2}][{#3}][{#4}][{#5}][{#6}][{#7}][]}

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:[~2012-07-01  7:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-30 20:34 Alan Bowen
2012-07-01  7:47 ` Wolfgang Schuster [this message]
2012-07-01 13:53   ` Hans Hagen
2012-07-01 14:33     ` Alan Bowen

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=4F48EA4D-9B62-463A-96A6-170B10B7B59E@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).