ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definition in mkiv
@ 2010-04-22 11:54 Tomáš Pustelník
  2010-04-22 12:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Pustelník @ 2010-04-22 11:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

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?

Thanks for your help.

Tomas Pustelnik

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

[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: definition in mkiv
  2010-04-22 11:54 definition in mkiv Tomáš Pustelník
@ 2010-04-22 12:33 ` Wolfgang Schuster
  2010-04-27  7:23   ` Tomáš Pustelník
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2010-04-22 12:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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}

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: definition in mkiv
  2010-04-22 12:33 ` Wolfgang Schuster
@ 2010-04-27  7:23   ` Tomáš Pustelník
  2010-04-27  7:38     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Pustelník @ 2010-04-27  7:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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




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?ThanksTomas 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


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

[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: definition in mkiv
  2010-04-27  7:23   ` Tomáš Pustelník
@ 2010-04-27  7:38     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2010-04-27  7:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Am 27.04.10 09:23, schrieb Tomáš Pustelník:
> 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?

Sure, the macros are used in the description and block element code.

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2010-04-27  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-22 11:54 definition in mkiv Tomáš Pustelník
2010-04-22 12:33 ` Wolfgang Schuster
2010-04-27  7:23   ` Tomáš Pustelník
2010-04-27  7:38     ` 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).