From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 51F77235C9 for ; Mon, 26 Feb 2024 22:54:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A19A04845E9 for ; Mon, 26 Feb 2024 22:51:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qobdJJMpQBLx for ; Mon, 26 Feb 2024 22:51:24 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 399A948474B for ; Mon, 26 Feb 2024 22:50:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id EB505484116 for ; Mon, 26 Feb 2024 22:49:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eEZQBcMMNC1z for ; Mon, 26 Feb 2024 22:49:28 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.49; helo=mail-wm1-f49.google.com; envelope-from=otared@gmail.com; receiver= Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 7A4B1484111 for ; Mon, 26 Feb 2024 22:49:28 +0100 (CET) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-412a9ea61adso3334625e9.0 for ; Mon, 26 Feb 2024 13:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708984168; x=1709588968; darn=ntg.nl; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :from:to:cc:subject:date:message-id:reply-to; bh=L8pf16ZLMmkRtyXCRvSWtysE7VtkF6W4MTVTtET7zTw=; b=Ddz4UbIhZBT0VkLa9G2A4UbthR592lUqqVFLACbqaDdynFuQpHA2FPNBJIF+pfEs1Y Faikx40SSvmOJmkFwhpeYjUP1IhPBySVBZlDs1KeEowOGjFRxkHYkIb9BevZxb5RpURT dR4f0DRkRutB61FyrDqWiVURmx8cP8uhOCmbs/geTV3u5NpJx2JmmIMdvys99h8cUc34 DC6nBwtnuX/TSEfuaLeEtnOJQmLF0bbHlkAUY+b+jl+d0qCEKx13x+yj0/0tivxY1dzu 4rwE/99rRkuT880slNYGIOlXVJcRu/pizyKyTuCStQIugKu/A4EZqvFRMb51jM19nLkX iJwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708984168; x=1709588968; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L8pf16ZLMmkRtyXCRvSWtysE7VtkF6W4MTVTtET7zTw=; b=wNSbnxGnwzV/my50EAl/bXx6X7/OC6TNoMtmVYGuXQvntlGPBYojXJ5IwYbibsLfIU N6fdNab+Xbt6Ji7qF8cWi84rZOb4rMW1BqbbX26xnfnNomrqZSWNJRenhU2nerWaYmtj w49v4qWnvTyFl7MPeixOA0uRJ5bcS763HtSWz7LwDuL0CxUAL/L/9GTqsHvqSLbIbp1t 5KzWkRECwI8oIJUmkzNIj5ljw7kiOWKXFy/jjrJ+3a2aGhdHIjmPdMeSN4pwuMecasaH jj/MaSNJHzdKnAAawIaIdi5ATIqd1I4YY4vNjfGv3JM3DKXaxzMKUB+/9DPJTC1jPuXz v/cA== X-Gm-Message-State: AOJu0YxkuVed9g5o2Q2efhoAaqYg+PCwxRPFiLdlzedbYS1in+O8AGto J7s/kW0BuGPxk5W/jmKLq9/kJRP/axl0tkdMfoFpC4DRu2eodmEirhF/PG8Gafk= X-Google-Smtp-Source: AGHT+IGoq/efo5D+rmffGYSCKWND5eTcniZrohvFdetoIKnkQlM2XRvZz+uzvVfPiNMyXJAjOjjrSw== X-Received: by 2002:adf:e909:0:b0:33d:26dd:8c4f with SMTP id f9-20020adfe909000000b0033d26dd8c4fmr5573989wrm.23.1708984167891; Mon, 26 Feb 2024 13:49:27 -0800 (PST) Received: from smtpclient.apple (2a01cb00879d240051323270a9bd5d01.ipv6.abo.wanadoo.fr. [2a01:cb00:879d:2400:5132:3270:a9bd:5d01]) by smtp.gmail.com with ESMTPSA id h4-20020a05600016c400b0033dda0e82e5sm3967611wrf.32.2024.02.26.13.49.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Feb 2024 13:49:27 -0800 (PST) From: Otared Kavian Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Date: Mon, 26 Feb 2024 22:49:27 +0100 References: <87a7ee6f-3492-4cab-b55f-9c4fa0e5b8de@fiee.net> To: mailing list for ConTeXt users In-Reply-To: <87a7ee6f-3492-4cab-b55f-9c4fa0e5b8de@fiee.net> Message-Id: <54DA6745-6134-4754-8BEE-CA36C0F25800@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) Message-ID-Hash: W3YH7QJ4V6OBUXJ4KYCF4DBZD6SVFCBP X-Message-ID-Hash: W3YH7QJ4V6OBUXJ4KYCF4DBZD6SVFCBP X-MailFrom: otared@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Japanese List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============8487995445994067107==" --===============8487995445994067107== Content-Type: multipart/alternative; boundary="Apple-Mail=_8DC64751-040E-467D-976E-3470F4E490AE" --Apple-Mail=_8DC64751-040E-467D-976E-3470F4E490AE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Hraban, Your are right indeed ! I didn=E2=80=99t imagine that it was so easy to = set up a document to write in Japanese=E2=80=A6 Actually I followed the example by Emanuel Han which is essentially what = you suggest (although he gave me also the hint to add the furagana). Best regards: Otared > On 26 Feb 2024, at 21:16, Henning Hraban Ramm wrote: >=20 > Am 26.02.24 um 21:08 schrieb Otared Kavian: >> Does anyone have a simple setup of fonts to write a small Japanese = document (possibly with furagana) ? I am using MacOS and I have several = Japanese fonts on the system. >> I have some old examples which do not typeset correctly now, maybe = because they use the old module simplefonts and commands such as = \setcjkmainfont and friends. >=20 > Try to replace the simplefonts calls with something like >=20 > \definefontfamily[myfonts][rm][SomeFont] > \definefontfamily[myfonts][ss][SomeOtherFont] >=20 > \setupbodyfont[myfonts,rm,12pt] >=20 > With Latin fonts, it usually works. >=20 > Hraban > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net = (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > = __________________________________________________________________________= _________ Otared Kavian e-mail: otared@gmail.com Phone: +33 6 88 26 70 95 --Apple-Mail=_8DC64751-040E-467D-976E-3470F4E490AE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Hraban,

Your are = right indeed ! I didn=E2=80=99t imagine that it was so easy to set up a = document to write in Japanese=E2=80=A6
Actually I = followed the example by Emanuel Han which is essentially what you = suggest (although he gave me also the hint to add the = furagana).

Best = regards: Otared

On 26 Feb 2024, at 21:16, = Henning Hraban Ramm <texml@fiee.net> wrote:

Am = 26.02.24 um 21:08 schrieb Otared Kavian:
Does anyone have a simple setup of fonts to = write a small Japanese document (possibly with furagana) ? I am using = MacOS and I have several Japanese fonts on the system.
I = have some old examples which do not typeset correctly now, maybe because = they use the old module simplefonts and  commands such as = \setcjkmainfont and friends.

Try= to replace the simplefonts calls with something like

\definefontfamily[myfonts][rm][SomeFont]
\definefontfamily[myfonts][ss][SomeOtherFont]
\setupbodyfont[myfonts,rm,12pt]

With Latin fonts, it usually works.

Hraban
_______________________________________________________________= ____________________
If your question is of interest to = others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nlwebpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive =  : https://github.com/contextgarden/context
wiki=     : https://wiki.contextgarden.net
_______________________________________________________________= ____________________

Otared Kavian
Phone: +33 6 88 26 70 95




= --Apple-Mail=_8DC64751-040E-467D-976E-3470F4E490AE-- --===============8487995445994067107== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============8487995445994067107==--