emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Nobis <stefan-ml@snobis.de>
To: emacs-orgmode@gnu.org
Subject: Re: exporting to PDF multi-lingual document
Date: Sun, 02 Jul 2023 10:11:50 +0200	[thread overview]
Message-ID: <m1mt0epwah.fsf@nobis-it.eu> (raw)
In-Reply-To: <SJ1PR12MB6363D3025C905272A2008F51A62BA@SJ1PR12MB6363.namprd12.prod.outlook.com> ("andrés ramírez"'s message of "Sat, 01 Jul 2023 17:39:24 +0000")

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.


  parent reply	other threads:[~2023-07-02  8:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30 19:19 exporting to PDF multi-lingual document Andrés Ramírez
2023-06-30 19:42 ` Ihor Radchenko
2023-07-01 17:39   ` andrés ramírez
2023-06-30 20:50 ` Dr. Arne Babenhauserheide
2023-07-01 10:54   ` Ihor Radchenko
2023-07-01 17:39   ` andrés ramírez
2023-07-02  0:00     ` Dr. Arne Babenhauserheide
2023-07-02  8:11     ` Stefan Nobis [this message]
2023-07-02  8:49       ` Ihor Radchenko
2023-07-02 15:07         ` Stefan Nobis
2023-07-02 15:50           ` Ihor Radchenko
2023-07-02 15:52           ` Dr. Arne Babenhauserheide
2023-07-02 16:50             ` Stefan Nobis
2023-07-02 15:28         ` Stefan Nobis
2023-07-02 15:55           ` Ihor Radchenko
2023-07-02 16:53             ` Stefan Nobis
2023-07-02 16:59               ` Ihor Radchenko
2023-07-03  5:46                 ` Stefan Nobis
2023-07-03  7:24                   ` Thomas Dye
2023-07-03  8:15                   ` Ihor Radchenko
2023-07-02 14:35       ` andrés ramírez
2023-07-02 14:55         ` Stefan Nobis
2023-07-02 16:36           ` andrés ramírez

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1mt0epwah.fsf@nobis-it.eu \
    --to=stefan-ml@snobis.de \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).