From: Wolfgang Schuster
Sent: Thursday, April 22, 2010 2:33 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] definition in mkiv

Am 22.04.10 13:54, schrieb Tomáš Pustelník:
Hi,
 
During my work on bachelor thesis I was running throught source codes and I would like to ask about equivalent of file syst-gen.mkii in MkIV. And if there isn't one. Where I can found definitions of macros define in this file (like \dosingleargument and so on).
syst-aux.mkiv (merge of syst-gen.mkii and syst-ext.mkii)
Also I have another question. In file page-lay.mkii there is definition:
 
\def\addpagecutmarks % #1
  {\executeifdefined{\??ly:n:\c!marking:\@@lymarking}\gobbleoneargument}
 
I don't understand this part: {\??ly:n:\c!marking:\@@lymarking}, especially I don't know what ":n:" does or means. Can someone briefly explain it to me?
The 'n' is to distinguish between the values for ...cutmarks and ...colormarks

\def\addpagecutmarks % #1
  {\executeifdefined{\??ly:n:\c!marking:\@@lymarking}\gobbleoneargument}

\def\addpagecolormarks % #1
  {\executeifdefined{\??ly:c:\c!marking:\@@lymarking}\gobbleoneargument}

Thank you for answer,
 
I have just another question. On wiki in System macros/ Handling arguments (http://wiki.contextgarden.net/System_Macros/Handling_Arguments) are mentioned these macros:    
\dosingleargumentwithset \command[#1]
\dodoubleargumentwithset \command[#1][#2]
\dotripleargumentwithset \command[#1][#2][#3]
\dodoubleemptywithset    \command[#1][#2]
\dotripleemptywithset    \command[#1][#2][#3]
I'm not sure but I think, that I read somewhere that these are old and obsolete. Is true or these macros are still in use and I just mistook it?
Thanks
Tomas Pustelnik



__________ Informace od ESET NOD32 Antivirus, verze databaze 5034 (20100416) __________

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz


___________________________________________________________________________________
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
___________________________________________________________________________________



__________ Informace od ESET NOD32 Antivirus, verze databaze 5034 (20100416) __________

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz