Dear list,
I wonder whether there is a conditional for font features similar to
\doifelseitalic.
\doifelsecurrentfonthasfeature checks whether the font supports an
OpenType feature.
\doifunknownfontfeature checks whether the font feature has been defined.
It seems that \doifelsefontfeature
I have a list of numbers,
2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316, 318, 354, 372, 376
that I would like to use as exceptions in a \dostepwiserecurse loop. That
is, within the loop if \recurselevel is NOT EQUAL to either of these
numbers, then I want to do something -- otherwise, I simply
On Sep 28, 2012, at 8:31 PM, Troy Henderson thend...@gmail.com
wrote:
I have a list of numbers,
2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316, 318, 354, 372, 376
that I would like to use as exceptions in a \dostepwiserecurse loop. That
is, within the loop if \recurselevel is NOT EQUAL to
\starttext
\dorecurse{400}
{\doifnotinset{\recurselevel}{2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316,
318, 354, 372, 376}
{\recurselevel, }}
\stoptext
Thanks. That worked perfectly!
Troy
___
If your question is
Dear gang,
Consider a control sequence \MyCS. It has three possible definitions:
\def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3}
What I would like is to define \MyCS once such that
def1 takes effect when \tf is invoked
def2 takes effect when \it is invoked
def3 takes effect when \bf is
On Tue, 25 Dec 2007 12:21:18 -0700, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
You could modify the following macro from font-ini.
\def\fontstylesuffix
{\ifx\fontalternative\c!tf \s!Regular \else
\ifx\fontalternative\c!bf\s!Bold \else
\ifx\fontalternative\c!sl
On Tue, 25 Dec 2007 11:25:18 -0700
Idris Samawi Hamid [EMAIL PROTECTED] wrote:
Dear gang,
Consider a control sequence \MyCS. It has three possible definitions:
\def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3}
What I would like is to define \MyCS once such that
def1 takes effect when
On Tue, 25 Dec 2007 12:21:18 -0700, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
You could modify the following macro from font-ini.
\def\fontstylesuffix
{\ifx\fontalternative\c!tf \s!Regular \else
\ifx\fontalternative\c!bf\s!Bold \else
\ifx\fontalternative\c!sl
Idris Samawi Hamid schrieb:
Dear gang,
Consider a control sequence \MyCS. It has three possible definitions:
\def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3}
What I would like is to define \MyCS once such that
def1 takes effect when \tf is invoked
def2 takes effect when \it is