From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Typefile with Chinese, Korean or Japanase text
Date: Tue, 5 Dec 2017 21:43:31 +0100 [thread overview]
Message-ID: <CAG5iGsC6bh+j2uc6upuv4Bvmb1hrrhQzZ-_GgN5kJtawLHXKag@mail.gmail.com> (raw)
In-Reply-To: <CACmST40R-h=Z1dAcaW+HHv_sS1vpnZWXJjEzcOa5P7CTdsfxgA@mail.gmail.com>
On Tue, Dec 5, 2017 at 9:32 PM, Wim Neimeijer <wneimeijer@gmail.com> wrote:
> I am writing a manual where I include code snippets with typefile. Some of
> the code snippets contain text in Japanese
> but don't appear in the PDF document as typefile seems to skip the Japanese
> characters
>
> MWE
>
> file cjk.asy
> ========
> Label L;
> L = Label("\\begin{CJK}{UTF8}{gbsn}{\\CJKfamily{gbsn}여보세요 \\end{CJK}");
> label(L);
> shipout();
>
> main file
> =======
> \starttext
> \typefile[C][]{cjk.asy}
> \stoptext
Assuming a font with the glyphs needed, this should work:
\starttext
\typefile{cjk.asy}
\stoptext
--
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-12-05 20:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 20:32 Wim Neimeijer
2017-12-05 20:43 ` luigi scarso [this message]
2017-12-05 22:10 ` Wim Neimeijer
2017-12-05 22:53 ` Hans Hagen
2017-12-05 23:32 ` Wim Neimeijer
2017-12-06 8:53 ` Hans Hagen
2017-12-06 9:14 ` luigi scarso
2017-12-06 9:02 ` Henning Hraban Ramm
2017-12-06 11:00 ` Wolfgang Schuster
2017-12-06 17:16 ` Wim Neimeijer
2017-12-06 18:13 ` Aditya Mahajan
2017-12-06 18:24 ` Wim Neimeijer
2017-12-06 19:07 ` Pablo Rodriguez
2017-12-06 19:20 ` Rik Kabel
2017-12-06 20:25 ` Hans Hagen
2017-12-06 21:01 ` Wim Neimeijer
2017-12-06 21:30 ` Wim Neimeijer
2017-12-06 22:32 ` Wolfgang Schuster
2017-12-06 22:54 ` Alan Braslau
2017-12-06 18:17 ` Pablo Rodriguez
[not found] <mailman.1646.1512595887.1988.ntg-context@ntg.nl>
2017-12-06 23:38 ` Jeong Dal
[not found] <mailman.1637.1512580660.1988.ntg-context@ntg.nl>
2018-02-19 21:15 ` Jeong Dal
2018-02-19 21:43 ` Pablo Rodriguez
2018-02-20 0:12 ` Jeong Dal
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=CAG5iGsC6bh+j2uc6upuv4Bvmb1hrrhQzZ-_GgN5kJtawLHXKag@mail.gmail.com \
--to=luigi.scarso@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).