From: nicola <vitacolo@dimi.uniud.it>
To: ntg-context@ntg.nl
Subject: Re: Label loops within a XeConTeXt document
Date: Sun, 24 Jun 2007 00:09:06 +0200 [thread overview]
Message-ID: <vitacolo-0A1404.00090624062007@sea.gmane.org> (raw)
In-Reply-To: <alpine.WNT.0.99.0706231732000.288@nqvgln>
> >>> 1) is it possible to specify the fonts in an MPenviroment? If so, how?
> >>
> >> Just as you will specify fonts in your regular document.
> >
> > Putting the same definitions inside \startMPinclusions...
> > \stopMPinclusions does not seem to work with XeTeX.
>
> It is MPenvironent and not MPinclusions. I do not have xetex, so I
> can not test this.
Ok, even if I put those definitions in an MPenvironment the text fonts
do not change (I guess the mechanism for font selection is slightly
different in XeTeX).
> > how do I change
> >
> > \startTeXtexts
> > \dorecurse{10}{\TeXtext{\recurselevel}{$x_{\recurselevel}$}}
> > \stopTeXtexts
> >
> > so that I can print labels from x_0 up to x_9? Do I need to use
> > \defineconversion and \convertnumber?
>
> No, use \dostepwiserecuse. The general syntax is
>
> \dostepwiserecurse {from} {to} {step} {action}
>
> so
>
> \dostepwiserecurse {0} {9} {1}
> {\TeXtext{\recurselevel}{$x_{\recurselevel}$} should work.
Thank you very much!
Nicola
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2007-06-23 22:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-23 18:12 nicola
2007-06-23 19:20 ` Aditya Mahajan
2007-06-23 20:42 ` nicola
2007-06-23 21:39 ` Aditya Mahajan
2007-06-23 22:09 ` nicola [this message]
2007-06-24 8:33 ` nicola
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=vitacolo-0A1404.00090624062007@sea.gmane.org \
--to=vitacolo@dimi.uniud.it \
--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).