From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uFofCowxoWQTZQEASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 10:13:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QBUfCYwxoWS1WAAAG6o9tA (envelope-from ) for ; Sun, 02 Jul 2023 10:13:00 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ACCE9329C5 for ; Sun, 2 Jul 2023 10:12:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFsBb-0004Ki-2w; Sun, 02 Jul 2023 04:11:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFsBZ-0004Ka-KR for emacs-orgmode@gnu.org; Sun, 02 Jul 2023 04:11:57 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFsBX-0008NB-5z for emacs-orgmode@gnu.org; Sun, 02 Jul 2023 04:11:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=snobis.de; s=default; t=1688285510; bh=T2yFILasNf4bYWIhMNc0hW+PY9wFNHwhyTgajbT2p7M=; h=From:To:Subject:References:Date:In-Reply-To:From; b=CzW8DV1MyznTbDmf8uadOxT/eTVp8hV0tDErUOhYdYv4qwUgbKexct663VGbOfeBe 908Ul27ngqSkclhWE6LYFOiE+o2iOC1h/N8nYtNmwov9leD5aB0LPx1C7dHFj3HOl/ kP7VzupdK4PqZl1BHEDjhtoRXH1OiWM7FuVrJQPI= From: Stefan Nobis To: emacs-orgmode@gnu.org Subject: Re: exporting to PDF multi-lingual document References: <873528n00q.fsf@web.de> Mail-Followup-To: emacs-orgmode@gnu.org Date: Sun, 02 Jul 2023 10:11:50 +0200 In-Reply-To: (=?utf-8?Q?=22andr=C3=A9s_ram=C3=ADrez=22's?= message of "Sat, 01 Jul 2023 17:39:24 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=89.238.71.130; envelope-from=stefan-ml@snobis.de; helo=basilikum.nobis-admin.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688285579; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bMXOLBjtJbDJLXaOxhe+zdTZxvb6TZdelU+RfaksU3I=; b=RDlOJFzZJ+3lnuKwVwv/YYn4R/mIv4aqvQ1ALbkUsJPCFEgJj4+7e/kzcUlgSrv9AJ3w5A qGrkzd059Mr6o5C7/kHr2w81MkWfPcBDEY5XxPYlVozgRNfhColQjU787la3k2+66iiKBQ T4bMSVRxmyQAIPNLnc+71NAXJ071dY5z5vg/xfHtduIgp3KU2SEyFDkBPXZabXyg2trd9O aQi1rHBiNgICILp7yr3ZrwvHXz86WIg4MiJ77uXGgi/NaKKhy3YIjvg7Vlhhs1dRXiX1hd x7RZHOXri0ECvK4PuilsxeH1OllAr3/JNs91s42WKYUxUkOMM+TPIfAJhuIt3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=CzW8DV1M; dmarc=pass (policy=reject) header.from=snobis.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688285579; a=rsa-sha256; cv=none; b=Uhm/oa5bd1WipVgrlsKe+4WXcSFLquWqRw981zIZ6KeYLvdB0TfB0cOo9AN5VtUM13JOtw 4UnBi328E3bauTVbdZr1HOjPieYS6W2i7isZg7y0BTODVqToKO8EsweJi7NItlFdhekfIB eJL2gn1vn7R6ukX/4k8eE69RgDSnSH6LbIRQ1CG5KfqoxxzLAMDLgcc6UWm4QgHvpphFU1 8KhHTUdMIQlSN1KIfKDbLbps08WfPuJMC8w/cw75v8etvcd0PU9TyETrgkKAXCXrJRO1Tb ZRqIncvDOfGTKqvap8EtAPm+IlB/pmdqZyKBvJfr8UE5BzIrwyejqeJuAcJQig== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=CzW8DV1M; dmarc=pass (policy=reject) header.from=snobis.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: ACCE9329C5 X-Spam-Score: -2.75 X-TUID: 5biZPFct0M7N Hi. I got curious and it seems if you are willing to use lualatex (which is, I think, currently the most actively developed engine and nowadays a really good choice), the following solution should work: --8<---------------cut here---------------start------------->8--- #+TITLE: Doc multi-lingual #+options: author:nil email:nil toc:nil num:nil date:nil #+LATEX_COMPILER: lualatex #+LANGUAGE: jp #+LaTeX_Header: \usepackage{luatexja} * Español Hola * English Hi * French Ceci c'est en Français * Japanese ダウンロード --8<---------------cut here---------------end--------------->8--- The crucial parts are using lualatex and loading the package "luatexja". It seems, that the package luatexja is currently one of the best options to produce Japanese output and it is actively developed. There is also quite a bit of documentation (see e.g. with "texdoc luatexja" on the CLI or https://www.ctan.org/pkg/luatexja). I have no experience with Japanese output and I'm unable to read Japanese, so I could not judge the correctness or quality. But the above approach seems to work quite well and it might be possible to support this solution from the Org side (because only a single package has to be loaded). The requirements seem to be OK (roughly TeXlive 2020 or newer). The package automatically sets up required fonts (but it is still possible to override the default font settings) and even with the default configuration it is possible to use Japanese fonts inside math mode. -- Until the next mail..., Stefan.