ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with Russian letters in itemize
@ 2017-02-13  9:24 Vladimir Lomov
  2017-02-13 13:16 ` Ulrike Fischer
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Lomov @ 2017-02-13  9:24 UTC (permalink / raw)
  To: General mailing list for ConTeXt users

Hello,

I'm trying to use Russian (Cyrillic) letters for itemize list but
without luck.

This is small example to show a problem:

---------------------- 8< ---------------------
\mainlanguage[ru]
\setupbodyfont[cambria]
% \setupbodyfont[computer-modern-unicode]
% \setupbodyfont[dejavu]

\starttext

\startitemize[a]
\item первый
\item второй
\stopitemize
\stoptext
---------------------- 8< ---------------------

Compilation (typesetting) of the example by context (curr. ver.
2017.01.27) gives a PDF file with Latin letters.

According to 'language-mkiv.pdf' (found in
texmf-context/doc/context/documents/general/manuals)

  The \type{alphabetic} converter adapts to the current main language.
  When a language has no special alphabet, the regular 26 characters are
  used.

the use of Latin letters is expected behaviour if current language has
not special alphabet. But Russian alphabet (based on Cyrillic) has
differences with Latin one. Did I face a bug or I misunderstand the
documentation and I have to use (add?) another command to obtain Russian
letters for item?

Also, it is possible that I incorrectly use 'setupbodyfont' but I tested
all cases shown above and they work fine, expect the fact that 'cambria'
case gives me italic variant of font while 'computer-modern-unicode' and
'dejavu' use "roman" font.

Thank you in advance, Vladimir Lomov

-- 
Trying to define yourself is like trying to bite your own teeth.
		-- Alan Watts
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2017-02-14 13:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13  9:24 Problem with Russian letters in itemize Vladimir Lomov
2017-02-13 13:16 ` Ulrike Fischer
2017-02-13 18:13   ` Jean-Pierre Delange
2017-02-14  3:31   ` Vladimir Lomov
2017-02-14 12:10     ` Hans Hagen
2017-02-14 13:24     ` Ulrike Fischer

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