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 iGgwByiDMmOHVwEAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 06:59:20 +0200 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 QBUrByiDMmNMcAAAauVa8A (envelope-from ) for ; Tue, 27 Sep 2022 06:59:20 +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 C30DEF761 for ; Tue, 27 Sep 2022 06:59:19 +0200 (CEST) Received: from localhost ([::1]:60150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od2gg-0003vi-Ud for larch@yhetil.org; Tue, 27 Sep 2022 00:59:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od2fR-0003uV-BQ for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 00:58:01 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:33708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1od2fP-0005QQ-EM for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 00:58:01 -0400 Received: by mail-pf1-x435.google.com with SMTP id w2so8715556pfb.0 for ; Mon, 26 Sep 2022 21:57:58 -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=k1U9+4WUyBqD1MHQeJwE+UcxlvA/3LrlSaJLOgbkbsg=; b=LJbaTIcbykfy+/dB6T+566/7YiNMDl3MBWCqC4/RhksMs1n1r2V61cKr+RhOowargw bPKWO/dFzgSoMlUP0r/EIKVowv2PASmIV6qVPLj7yU7mogQCs4kRiTRz/KqE4MYX6SFt ZAcymNrsFyLmlyilZ+wtrdqfcVm5RS9LTLVGJGbtWiXreuxoKglSg4Z9/Wf0QuzcRONZ 1cvaFGQ55uhf2QIEasOM2VZmlPMWME5Sof57hnFw8KFY5h+i2i7Tm1QRSmDdDljXQkJ+ eqga6DK1T0bBFKl1lFk9zDz5uLMBf4T2MrZsGqEUXaZQL/zpow0TYSKy0rT6d2IcJG2f QQJA== 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=k1U9+4WUyBqD1MHQeJwE+UcxlvA/3LrlSaJLOgbkbsg=; b=TjGc20DL/Qs64VhBaHpqulm3e38aFAY+Fn4PqVM9nIswxf2bhmHrv9i9bKwwp/B07y l6xwOYkxgDePWtV406eUSlN+KkfbE4FQxI8UABLf9THalTjRcXn6WvkAN6qxQH6icoIY Cv6+yMFYSwp1rBmENBO+A1go0iRYOwkQGQQQ1GoLEJuxN05eGWk3oeOYmdNc0iGMj53V sJteNvEtn2R6b+QVT9U3Lw4mWlzNJd9vLm7q5AYO2j0nIjKReamLJqGSVdPVyMhE+tJy KQ8h3GPhVDjm79crmJH2bhfzDvcseVr9XNHkXUNbO/mn4PqlNId4a2BGX7B9AyOmRTfb I6Mg== X-Gm-Message-State: ACrzQf3dvX1LTOFyDEXfWwD+n/LxuRkIjgwLfeVA3Tzhh5IFfdmq45mT 6B6PrZ8m1In34tk/CmHS+ME= X-Google-Smtp-Source: AMsMyM7GCvSPI/BmX/zFpALVw0W+pphbLU81fGgYc8CkZ8/+0ZcTiTLIc22UIQZHypfhUdmlrZB6Uw== X-Received: by 2002:a63:1508:0:b0:438:eb90:52d1 with SMTP id v8-20020a631508000000b00438eb9052d1mr23351926pgl.252.1664254677466; Mon, 26 Sep 2022 21:57:57 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id j68-20020a625547000000b0053788e9f865sm466797pfb.21.2022.09.26.21.57.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 21:57:56 -0700 (PDT) From: Ihor Radchenko To: Jude DaShiell Cc: emacs-orgmode@gnu.org Subject: Re: org exported pdf files In-Reply-To: References: <87a66lpm5p.fsf@localhost> <8735cdpkiz.fsf@localhost> Date: Tue, 27 Sep 2022 12:58:47 +0800 Message-ID: <87y1u5o1ko.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=yantar92@gmail.com; helo=mail-pf1-x435.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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664254759; 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=k1U9+4WUyBqD1MHQeJwE+UcxlvA/3LrlSaJLOgbkbsg=; b=Exgp5AADwC3miiqO31KZdgAxg7Tf/O9nFrS0s2GDp3V8ZZCef6AGeMd+jLfasqE0JVT57M 4CiV4fbUVVcuAWbEtGeijAgrwOpzQOvSEEpqNjrcUrj752s51s5xFK9g1bnbvlRVJeGMQa pHQmqIytR5/hMUqhClSTQIo1RtMzZoPwHPyFJ8sIZXeZADc87Ml5long3Dla5xT3iZb4sI bszLjxvNPUge9hy7krK/mnrpEtTCoPOeaD8qZSETnDN0H4xfF3K5ciXUeoHUx5XI61R+EB LFLkTAJhwwGYh+i+5rSq0nTs3Y5RBzLMDQkFJmL9dpEzQe2hsy4MfhfM5NXFUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664254759; a=rsa-sha256; cv=none; b=LYNjTNR06Ya5eMEEQAOeNxxMClovjeeKLzE6JwdyUFQUUehTfkwHaWtlvw8dGtmU94kCvz Hl9v93Mc4ayUL6FVq9SMvTr4ikcx+6MHwRwiSJoO0bf1enGCp8i02IeqEJaP1jPTKfPMIG hqoLhIeDE+RMK8XDS1OsQU2jYd+H9Rjl1jJ2bdMfIgRusRJ4Bxq8rvyuszkvZEpwu+oL/H CDTay2AfHknO8LWbnEViFDFEbskUoUDPy3SgYk2UyopNCHmBVV+De/aFS4FksQNEvDpvxk OQxwtnXfM4ns89iOw8n7ECnCl7YwGo/MLRTdafz2xcdfssqA1MH5bczc/Lfb3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LJbaTIcb; 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: -3.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LJbaTIcb; 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: C30DEF761 X-Spam-Score: -3.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: Rt9Ezac0UD+A Jude DaShiell writes: > Having examined 13.10.2, with the polyglossia package installed and > accessible to orgmode putting set-language into the right place would > default to English and other languages would need to specify their > language for a pdf export. The default can be changed in your Emacs configuration. Check out org-export-default-language. > On Linux I have espeak-ng running as default > and I run orca as necessary. I mostly live on the command line so orca is > used rarely. > I think a reasonable test of export quality will be to make a pdf with > orgmode then run that pdf through pdftotext and compare the extracted text > with the pdf file. I can't do that since without use of pdftotext the > screen readers will not work on pdf files. I checked on of my exported PDFs, and it looks mostly consistent with the org source from a brief look. The only minor deficiency is sparkled text from included vector images with text, but I imagine that it is common and may or may not be a real deficiency. Do note that Org to PDF export works by first exporting to a .tex file and then running TeX. As long as TeX makes a decent job with PDF accessibility, we should be good to go. Just need to make sure that we pass the correct options to TeX in the generated .tex file. You mentioned that one of the TeX options is setting the correct metadata. I am not aware about other required options that can improve accessibility. If you know any, feel free to share. Also, you can refer to our previous discussion about accessibility of documents exported by Org. https://list.orgmode.org/orgmode/87czew3w5l.fsf@localhost/ -- 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