ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: General mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Problem with Russian letters in itemize
Date: Mon, 13 Feb 2017 17:24:19 +0800	[thread overview]
Message-ID: <20170213092418.GB995@smoon.vl-lomov.ru> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2017-02-13  9:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13  9:24 Vladimir Lomov [this message]
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

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=20170213092418.GB995@smoon.vl-lomov.ru \
    --to=lomov.vl@gmail.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).