From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +MPcIBUbNWOxOQEAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 06:12:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2KctIBUbNWNldwAAG6o9tA (envelope-from ) for ; Thu, 29 Sep 2022 06:12:05 +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 33506259F6 for ; Thu, 29 Sep 2022 06:12:05 +0200 (CEST) Received: from localhost ([::1]:47316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odku4-00006H-1I for larch@yhetil.org; Thu, 29 Sep 2022 00:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odkte-000068-Sv for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 00:11:38 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:37819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odktc-0001Nj-Ux for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 00:11:38 -0400 Received: by mail-pf1-x42c.google.com with SMTP id a80so372028pfa.4 for ; Wed, 28 Sep 2022 21:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=pZ6gXblbjcl6is1UrAahJgqAoRno5UV1m8FxfKcilRE=; b=RSMupk6ppWfKC9LZXsA6KgQK3YJLPjO8/joU6hRhSoJ10V3UY2wz+UBywYFbDochXe BrfC/GXxmJG0fCiqZ70rzKd+zd3/VCKstMxr4orGnCfV8XTgMTCbN2H54ZQ2H4u5xzkV dnIRuWt8e401AqGkS37TdLVqoRF4/zicHWrZm5iKEZq5PSdKF9CJDZdWwO6fecIRJX2n FzIwa7DYayc7u1xcYewd1u0IZRe1QAE5VSLIdZOnZVX9TJdiSl072bYr7qWlPDKDx/RK QG4EAEz1/ugQcADn6DOhipamkVGWIvQJ8W8ZnTl4wxOangHtrRyW01J9Vwc2DZGIGk/K xQFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=pZ6gXblbjcl6is1UrAahJgqAoRno5UV1m8FxfKcilRE=; b=WGhR63vvz5dnfQxPZfqilbHp+2QoVn+/xiJrC3JpxdJ0rW4A6TPZI4ODbn0fjktSbH 3T58qjQGdcaIUrzKlEljNGUGWP07uCtJzIeZ4LDZnnxVOMwnLoLz/Rj4gOV8LIjieAuk Tf5tO1iHhWLCT1tEs1SGKJo4vVNNeuKWtTFe2ucv0y72dWLQ1xUvKkWaM/gvNwgpYQvq QIBfkZNURZjXhNZgTRsWMYIG7runryjbsfN2lpvDP5+DBhC+ssdvDxhnDyv0n2gG2HdB ZZAUQdlsueaG1aYegXQNZs19Gg2+Ti/9K+gJx4OtalF22ZjaIjnLqtPpB387JnOkj+zJ +tpA== X-Gm-Message-State: ACrzQf2WDZs2Hs3mUejbMx6i2stpdMV36Smu6M0dxasLFPXCOa3E8W0j 79E4TpuvaJt6qBR2s854D6o= X-Google-Smtp-Source: AMsMyM4WkEcWF/wh6nTFY4h9SH8qj/RTnTiernH+eQT/ub/5dfyCQwD5mj//5+bJ9nGbE3tchNO42A== X-Received: by 2002:aa7:9532:0:b0:53e:7875:39e1 with SMTP id c18-20020aa79532000000b0053e787539e1mr1403648pfp.82.1664424695184; Wed, 28 Sep 2022 21:11:35 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id j3-20020a170902da8300b00176dac464e5sm4708612plx.173.2022.09.28.21.11.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 21:11:34 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin , Daniel Fleischer Cc: emacs-orgmode@gnu.org Subject: Add \usepackage{cmap} as default LaTeX class in ox-latex (was: org exported pdf files) In-Reply-To: References: <87a66lpm5p.fsf@localhost> <8735cdpkiz.fsf@localhost> <87y1u4fb7b.fsf@localhost> Date: Thu, 29 Sep 2022 12:12:26 +0800 Message-ID: <87bkqy95ud.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" 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=1664424725; 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=pZ6gXblbjcl6is1UrAahJgqAoRno5UV1m8FxfKcilRE=; b=Xca5W6vwURLsCgCujdMT0WF4jUUyTspu05f1gfu9UTQzMSDN6VfMhDeUGEcM6S8SXqe+Mk lc4SKuDSN9gNGeC9kXvXb3t/BcClW/QRl8q5L7i1rjRP2J69/AhoZtEhH7KpWTo3ql2bvd ZXvND5ezNQ/+vVBYqT0U/D9w8bAYYsikbQmzPJOyF1mPy/H1YmoUb8K0vRDTRIi+oHSkYt E6o35mJdtTFyD634CEkgiyKPF0MzFqesV5VZhcfTnBlpr7kUD8EZM+lICPQeqxyAjbTsuf N6ErdgHmPXJZQoWMSF11mbVAJmZ35DT0suangX7Si9NyzkRUqV2hBvLKeXYuRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664424725; a=rsa-sha256; cv=none; b=bgJVjDGTwhZF1zfped2gj68mIgM/Gjz3GWIJjD6QFfLtZltDviU+kRBKh+1dqm83HwBJMA h4Z8TYxZeG8ahS+8+jt3tNv2ZhJ23Sq4Xt7nAmpQ3struuSrloagco7OAxd3vEfII5bbeN zMiV6k0cZdAnxdZso7I0/3E82g20EVtvQ/h6YT1o+ureFcvOaqnx25Evs5qirBH8Cio+0B jd8+Pb8RqSHoSZydofgdV0SulhUsJbbedWZfNs2qaz19iGEJTE1YkRHxm+cC7gT7YsYmUI 2sVO0RkdOmY1lw51Waq2hMfpSF4wOl70vXaKkGiZ6ZxBRoeweuz689R+0Wuorg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RSMupk6p; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RSMupk6p; dmarc=pass (policy=none) header.from=gmail.com; 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: 33506259F6 X-Spam-Score: -1.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: dfRv/CpN8CH9 Max Nikulin writes: > On 28/09/2022 10:07, Ihor Radchenko wrote: >> Max Nikulin writes: >> >>> - What TeX engine do you use? E.g. for PdfLaTeX it may be necessary to >>> add \usepackage{cmap} immediately after \documentclass. Unicode engines >>> like LuaTeX likely do not require such trick. >> >> I am wondering if having cmap should be a good default in general. >> Not just for accessibility. > > For me it must have, but I am a rare person on this mail list who is > happy with the Computer Modern font (actually cm-super Type 1 font). I > have never tried .ttf fonts with PdfLaTeX and I am unaware of effect of > \usepackage{cmap} in that case. May others familiar with LaTeX comment on this? If it is safe to add cmap to default LaTeX template, I see no reason why we should not. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92