From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CI7oK7NlbmMstQAAbAwnHQ (envelope-from ) for ; Fri, 11 Nov 2022 16:09:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6GW4K7NlbmMmswAAauVa8A (envelope-from ) for ; Fri, 11 Nov 2022 16:09:39 +0100 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 4EA7C2C47 for ; Fri, 11 Nov 2022 16:09:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otVeJ-0001BD-Ff; Fri, 11 Nov 2022 10:08:55 -0500 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 1otVeH-0001Av-RD for emacs-orgmode@gnu.org; Fri, 11 Nov 2022 10:08:53 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otVeB-0003ST-Bb for emacs-orgmode@gnu.org; Fri, 11 Nov 2022 10:08:53 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C66D7240101 for ; Fri, 11 Nov 2022 16:08:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668179323; bh=aHAgvcAe2Lun0uBdQrrvgVbB6XYVOZtOS9FNrsHCZO8=; h=From:To:Cc:Subject:Date:From; b=R0lBxBeDr7H/WpAcflLPybM4BV0KMUfIW05ZvXV4Ha6MNb26CGZmuvDLEjWsb0rFu RMcqTDAIsZeo0jidpVxC+KagiUkPF16Watnug0atVAGsDxz2Uwud1JUJ1p1c1ENftL 5wVuyA1gF5ZdQ1dB/r1LKTcXOHecRhM/X5SDypRjLduB22x+/h3Hfi+Kx1lCTA4fv2 sSaLQZkk9Uk7lGfWGfEUb/4jg/icLtj0TVmsKFW0qjHagJTyF3U0SsbrJ9gZ8MNR/v zAletj78BmLDPFgMoiHVUMGqBdqN7WkUOdYRuvwt5AETRkZDjpTouWReUorIX8FjeD uBh7mi0/WTb1g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N82Cb0vPrz6tnD; Fri, 11 Nov 2022 16:08:42 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)] References: <87h6z7jq4o.fsf@localhost> <871qqbj848.fsf@posteo.net> <87v8nm9rgb.fsf@localhost> Date: Fri, 11 Nov 2022 15:08:40 +0000 In-Reply-To: <87v8nm9rgb.fsf@localhost> (Ihor Radchenko's message of "Fri, 11 Nov 2022 02:04:52 +0000") Message-ID: <875yflr0jr.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668179379; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6Vs+UeX5H908sfXRiNmK5UsL1nKucTySVemUtsTg4fE=; b=b/inUP4duqE6DEE8cFa1SC9NQaOrWwgKmiGLPhcXCKUC0rRuJnuzjsr/4BxnepCm9Oa3hL A2c67IaIy3ZSVkPhY4pmzWaAcKlGltamJSd88t2WDsjN6XFB+nWHMxrIKXQFlGDfukcZ9c 549cQxNuTeVQw5fyHPgxni/pPPf4JhSYoFGtE1P2B9Q/xQ7Slog29Xrw9SGBE8nCmr1aXo scvssVSJOWmSRV5QqHB8ThTUXogi53X49L2DfoXe1VEMgNpc40rsURU+aSuIbgH3ajtLhi Hph8YQBmRpGBvqGwBcAM0XQi7UfQVRKwuQac5k32I3tbIE+8urNaCAAVXYhxiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668179379; a=rsa-sha256; cv=none; b=dQpM05xVz3+6zQDEARnZj7Xz0SHb16vlUlI93DyVn2E5LhPg+lyf/8RdwOeaIejA5GQcRY NUQAd7Qm4cixrZGqeydhArWcJGnjC6DGR89uH7AgECHp+x1RjzIlj4vCb/5ubWqeWBp8fa w1U7ExlRa9vMFkGX23JQMgbOyPZNiA3PUmfv2TiHMGrfBRac/58hOhR0TmLyuWM1AQLHbw abyM/N33dgnBWnxDv8T/h8PAzMOo6mg9rCCdF4ev+Jbs5Jdr+2TpssG0EOiuh1LEupVVhY sfaaqcuivhXJUkHVjNpAE+H5eEnsBCFj9RQroVyzN6NZRRQN9P0HOO25ZC7JdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=R0lBxBeD; dmarc=pass (policy=none) header.from=posteo.net; 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-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=R0lBxBeD; dmarc=pass (policy=none) header.from=posteo.net; 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: 4EA7C2C47 X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: FNdMRGVHhKd6 Hi, Ihor, I start by comment the error that you get when compiling. Is it possible that you have an incomplete TeX Live installation? Distro repositories usually offer TeX live in a modular way. On Arch Linux and its derivatives, the texlive-lang and texlive-lang-extra packages should be installed for non-Latin language support (this would include the luabidi package). In the Ubuntu/Debian family I think the required package is called texlive-lang-arabic. Anyway, I recommend installing TeX live in its entirety (the drawback is that it takes up more space). I think that in Ubuntu and family the meta-package is called texlive-full. Another possibility that I recommend, especially on distros that package older versions of TeX live, is to install the official TeX live distribution: https://tug.org/texlive/acquire.html (this has the advantage of being able to update everything more regularly via TeX live's own package manager). If you want to keep the official packages of your distro, but also want to try new things, it is also possible to create a portable installation of TeX live on a pen drive: https://tug.org/texlive/archive/portable-anchor.html Ihor Radchenko writes: > Aha! I missed that part in the newer manual. > > Note that the manual only talks about setting > `org-latex-packages-alist'. Not the keyword. > > Maybe we can add the #+LATEX_HEADER example to the manual. There are examples included in 'LaTeX header and sectioning structure'. Perhaps it would be nice to add some more examples in the case of Bidi languages, Chinese, Japanese, etc.? In the case of CJK languages, I think additional LaTeX packages are required. >> BTW I've noticed that the value of #+language is not case-agnostic. You >> should put "he". Should it be case-agnostic? In the previous >> implementation, when there were two language lists for babel and >> polyglossia, neither was it. > > I think that it is a good idea. I do not recall common language > abbreviations to be case-sensitive in other software. > I totally agree: that's something I missed when I made the previous patch... Best regards, Juan Manuel