From: "Rogutės Sparnuotos" <rogutes@googlemail.com>
To: ntg-context@ntg.nl
Subject: is this valid usage of \def?
Date: Sun, 30 May 2010 02:33:12 +0300 [thread overview]
Message-ID: <20100529233311.GA21750@urvas> (raw)
In-Reply-To: <4C004291.2060200@wxs.nl>
Hello,
Could someone please confirm that it is ok to use \def like this:
\def\ru{\switchtobodyfont[cyr]\language[ru]}
\starttext
\item {\ru Эйхенбаум, Борис. {\it Теория «формального метода»}.}
Some other text in the main language.
\stoptext
This is MkII with XeTeX, cyr is defined as
\definetypeface[cyr][rm][Xserif][CMU Serif]
\definetypeface[cyr][ss][Xsans][CMU Sans Serif]
\definetypeface[cyr][tt][Xmono][CMU Typewriter Text]
because 'Latin Modern' lacks cyrillic glyphs and 'Computer Modern Unicode'
lacks some Lithuanian glyphs (and looks slightly different).
--
-- Rogutės Sparnuotos
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-05-29 23:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-28 19:27 [OT] Stix Taco Hoekwater
2010-05-28 19:58 ` taco
2010-05-28 21:00 ` Hans Hagen
2010-05-28 22:05 ` luigi scarso
2010-05-28 22:09 ` Arthur Reutenauer
2010-05-28 22:18 ` Hans Hagen
2010-05-28 20:06 ` luigi scarso
2010-05-28 20:20 ` taco
2010-05-28 21:21 ` Matija Šuklje
2010-05-28 21:44 ` Hans Hagen
2010-05-28 21:49 ` Matija Šuklje
2010-05-28 22:24 ` Hans Hagen
2010-05-28 22:33 ` luigi scarso
2010-05-29 23:33 ` Rogutės Sparnuotos [this message]
2010-05-30 8:50 ` is this valid usage of \def? Wolfgang Schuster
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=20100529233311.GA21750@urvas \
--to=rogutes@googlemail.com \
--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).