From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eEqzJTPQS2CdIgAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 20:33:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YF9gITPQS2CCCwAAbx9fmQ (envelope-from ) for ; Fri, 12 Mar 2021 20:33:55 +0000 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 C39B016F47 for ; Fri, 12 Mar 2021 21:33:54 +0100 (CET) Received: from localhost ([::1]:50434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKoTq-00089c-0D for larch@yhetil.org; Fri, 12 Mar 2021 15:33:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKoTK-0007y3-Ig for help-guix@gnu.org; Fri, 12 Mar 2021 15:33:22 -0500 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:33756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKoTD-0000pW-PA for help-guix@gnu.org; Fri, 12 Mar 2021 15:33:22 -0500 Received: by mail-io1-xd35.google.com with SMTP id n132so27151965iod.0 for ; Fri, 12 Mar 2021 12:33:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jgBDSFpeTYVPuwaoJr6SMaszlM5Ie+oVlF8UiQuIWKI=; b=gkoXKZdUB/N3d2PrwjYOvb+y8YrWXmGlm0X/7NW5imJSauY1BObGo8W9l5knFCGJib Sy2XaVgxpyiiDOuY09bzIGvWEAR6V05B0bS9is3RAHfjR6nQ0EfJa5TUj5m/RyhIYMMY YKUJX3k3qBhULbX5ZrnQM+RTRNrmcsfkCr2M0L95Srlet11vlO4NdjcXGgu/Xm0jnuCh 3qS8m9SLyxrDIjCNvjypAIN/cde4mnyWXnVjCWRn7K6EzEATrIy2vTNeRbZRL5VwMN/A KiV0iIodkcTrXk6bnVmB0IRMxwqmAskZ9QK9OmTNsVRcR2IpiYcHIVhJ+BFe4wAZVDaF OL+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jgBDSFpeTYVPuwaoJr6SMaszlM5Ie+oVlF8UiQuIWKI=; b=CJfR94kKLMR6kqdnTrjd57ykSwXhOWDnPhtRiU8YcbPIeHU0Q28biNxBaYjFUxH+CD ROz5Ntu7gbdfNVXJ3KcAwT58io6F3OLkbrxIW18t3CcXjZFQ/3YDP9QxgU4yD3PiS/mi ocFRO7bdzmrPwtV23vI8Ai5HUb91VMN1e4FWN/TRonzlUCtjyGWzv14MUkZL+3wmoZG8 Xpim7j3sM1v24CrZdc5VruVfSGUGHngVZMe5gIfQEcznYVV0NFsKNE4B4BKRGVF4alCb Kn/X7bJdpGlgcMIbw23zqEEjC1qzc49KnaYQZo2Pv1pSIJbr/9tMNnwJBGMpkuoHyapd UnBg== X-Gm-Message-State: AOAM531O9BSEmIbVGuk7WD9SNjv/BD43A1l4qACfons55U3S4tNSAesh N/rfDUvQitOlWIvm7RFgQmuTeA9KmYIMlAfZFN8obQ== X-Google-Smtp-Source: ABdhPJxxZw4L2tvjM3oFcusJ7QRu/tZ0zu/5+vZ8gYw1s2Zq+jtnhWik1ngGr+lm6i0yivy67ZOfgwfxk41pqbJ42vo= X-Received: by 2002:a05:6602:1353:: with SMTP id i19mr764993iov.202.1615581193950; Fri, 12 Mar 2021 12:33:13 -0800 (PST) MIME-Version: 1.0 References: <857dmcmnfw.fsf@beadling.co.uk> <87lfasnz4k.fsf@elephly.net> In-Reply-To: <87lfasnz4k.fsf@elephly.net> From: Phil Beadling Date: Fri, 12 Mar 2021 20:33:03 +0000 Message-ID: Subject: Re: Export PDFs in Emacs Org To: Ricardo Wurmus Received-SPF: none client-ip=2607:f8b0:4864:20::d35; envelope-from=phil@beadling.co.uk; helo=mail-io1-xd35.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615581235; 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: 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=uBiPXhV5q87wDhQpX1WyxIb864jp8jh+X9s+WbDnguU=; b=LvxNonjFU3Cd5y82rRkxqNWjBmlDJ46UAV8b1XnzoLUAKvqBELvER1Y0iN3Cgem4PANBHN KlA2WAqADjeNxdyhd4fmG5R/T2zTIyOOcYKJz1ENYNhc8he/ib3O4oKDH/AMlAp4LHtTXt dc0xDxghp0vOgQHZiiMbKNNCPaIMyFSYd6PMQOMbKaAlLXnkWbmTm9qKnXkE5ZzE36DeTp 28niGN5w+yhi4dRIOJU3IlS79kD1c6X5pjF5vCc699MVr4WzjFLcvW2jsA8QV6bJ7l3NZo ymPvulVr43DG+YMe37WJQ335DDhNZWfXsfiOn2r6+Rv953a72ZbXHDM6q9yN6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615581235; a=rsa-sha256; cv=none; b=AuvZrMSQfNLeiRK4OtI658Q1eN/S7V8uTxBaR7buHGwFULmv5DG27atyKozs0tjRP6tA8Y VcRszl30NWKKmGJGvBWY1B/aREJ9QTLnnBA6A2h+6XTVTD5d7dywnplhddN1YhLdauAogT P5yHz32/WBU5crJuIoiQdmdIj6AvaGwNJm9hNwN2jJlTwNy7yRjiAwtcB5crsMt/9kmDC2 anljsFn2zg3YRiBvdrNijvBXV84Q6slSlXw7Is6A5VgzDUnCGoSl/0dnP6IUCuHU3Yua8m /tBzkHp/k/veR6EtFEc7cJEBixDrBx8wEMviAyJ198vB6oftVzibYUViB5GJGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=gkoXKZdU; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=gkoXKZdU; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: C39B016F47 X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: VoreS32+vqdB On Fri, 12 Mar 2021 at 15:57, Ricardo Wurmus wrote: > > > >Dependent on the needs of your document, though, you will need to > >install more packages that are not part of the =E2=80=9Crequired=E2=80= =9D set (even > >though other distributions may have them installed for convenience). > >Exactly what those are is a little tricky to find out. I usually go by > >error messages and then look up the files it complains about in $(guix > >build texlive-bin)/share/tlpkg/texlive.tlpdb. > Thanks for the hint Ricardo - I've made a lot of headway off this - and I'm close to having it working properly I had to use `guix import` for the minted, fvextra, and lineno packages - I couldn't see anything in Guix itself which would supply these? The guix import for lineno built correctly but, pdflatex didn't pick it up the lineno.sty. Finally xstring package couldn't be automatically imported. So I ended up with the following files in the same directory as my emacs org and generated tex file lineno.sty xstring.sty xstring.tex That plus the following in my profile: emacs 27.1 python 3.8.2 python-pygments 2.6.1 subversion 1.14.0 texlive-amsfonts 51265 texlive-base 51265 texlive-etoolbox 51265 texlive-fonts-ec 51265 texlive-generic-ulem 51265 texlive-latex-capt-of 51265 texlive-latex-fancyvrb 51265 texlive-latex-float 51265 texlive-latex-framed 51265 texlive-latex-fvextra 1.4 texlive-latex-hyperref 6.84a2 texlive-latex-ifplatform 51265 texlive-latex-lineno 4.41 texlive-latex-minted 2.5 texlive-latex-oberdiek 51265 texlive-latex-upquote 51265 texlive-latex-wrapfig 51265 texlive-xcolor 51265 At this point emacs built a PDF, but "with errors", and would refuse to display it (although Adobe Reader did display it and it looked OK). Looking at the *Org PDF LaTeX Output* buffer in emacs I see the following issues, which I assume is what emacs is complaining about: ! Math formula deleted: Insufficient symbol fonts. ! Math formula deleted: Insufficient extension fonts At a rough guess I would have thought that the amsfonts package might have convered this - but no TeX expert? Any ideas on how to resolve this. Also if anyone has seen the texllive-latext-lineno issue before any ideas on why the sty file isn't picked after a successful install? > >