ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About some deprecated commands
@ 2020-07-05 14:27 Jairo A. del Rio
  2020-07-05 14:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Jairo A. del Rio @ 2020-07-05 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 326 bytes --]

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.

Jairo :)

[-- Attachment #1.2: Type: text/html, Size: 530 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: About some deprecated commands
  2020-07-05 14:27 About some deprecated commands Jairo A. del Rio
@ 2020-07-05 14:48 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2020-07-05 14:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-05 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 14:27 About some deprecated commands Jairo A. del Rio
2020-07-05 14:48 ` Wolfgang Schuster

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).