ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: About some deprecated commands
Date: Sun, 5 Jul 2020 16:48:54 +0200	[thread overview]
Message-ID: <724a668a-470e-aca8-4217-a8c99e94e0ec@gmail.com> (raw)
In-Reply-To: <CAKyqqaZE5TcmyoVic+KObJ3GJdEvibce1mewngZ8SCsxQUy=Pw@mail.gmail.com>

Jairo A. del Rio schrieb am 05.07.2020 um 16:27:
> Hi, list! I've realized the following commands commented in 
> https://wiki.contextgarden.net/System_Macros/Expansion_Control
> no longer work in LMTX:
> 
> \@EA
> \@EAEAEA
> \@EAEAEAEAEAEA
> 
> One just could copy them from syst-aux.mkiv, but anyways. Should it be 
> mentioned on the Wiki or something like that? Thank you very much.

Most of the pages in this section 
(https://wiki.contextgarden.net/System_Macros) are outdated and some 
parts either don't work anymore or there are better ways to do it. You 
should keep in mind the pages are based on an article Taco wrote 2002 
for MAPS.

The solution is to get rid of the old commands and focus on LuaTeX and 
LuaMetaTeX solutions because the second allows different TeX code. The 
following example shows one of these differences.

% LuaTeX

\def\mycommand
   {\ifxxx
      \expandafter\mycommanda
    \else\ifyyy
      \doubleexpandafter\mycommandb
    \else
      \doubleexpandafter\mycommandc
    \fi\fi}

% LuametaTeX

\def\mycommand
   {\ifxxx
      \expandafter\mycommanda
    \orelse\ifyyy
      \expandafter\mycommandb
    \else
      \expandafter\mycommandc
    \fi}

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2020-07-05 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-05 14:27 Jairo A. del Rio
2020-07-05 14:48 ` Wolfgang Schuster [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=724a668a-470e-aca8-4217-a8c99e94e0ec@gmail.com \
    --to=wolfgang.schuster.lists@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).