From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 IMlrCoZUpGKZCwAAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 10:38:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IHt4CoZUpGKPMAAA9RJhRA (envelope-from ) for ; Sat, 11 Jun 2022 10:38:30 +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 BD80138D2A for ; Sat, 11 Jun 2022 10:38:29 +0200 (CEST) Received: from localhost ([::1]:39368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzwdY-0005Y1-IY for larch@yhetil.org; Sat, 11 Jun 2022 04:38:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzwd2-0005WK-KW for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 04:37:58 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:39702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzwd1-0007Uq-7F for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 04:37:56 -0400 Received: by mail-pj1-x1033.google.com with SMTP id q12-20020a17090a304c00b001e2d4fb0eb4so4312918pjl.4 for ; Sat, 11 Jun 2022 01:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=DgZExj2ZHUHhIrpoXVvKRlfmAsLUS++rsNJQmNVHfwE=; b=k/ThteIrYq/aCEokoRnJxxCtVCn0dzj5vSmBRD0n11VhM4iMhm6RLdHwBn+LzvxveZ 1NgzcAYQGFCWaNX8qgoP3glEbqRg67+DDbEPQ+ZIzPQTvpsr08G2eMCzeaz6kWuB68R8 ksb7fnj6EkSputpF/VlsgPsIKim0I9Aaf+ej4I/suH1NS8JOcUznGhoeo1Mg1XiCRu4c RDKz4aG7zoKOSIpzB+dIU+YeTotlNlT9erIqk8S6A1mcxMlF8L8I2MhglWeyd9AoPyXk RlTBX2E+uoheMLM/f9nHfPJUxBRVvn+mL4kMNXb/kESi4e7GrhYSgVGCz19GjjNetrl4 EIGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=DgZExj2ZHUHhIrpoXVvKRlfmAsLUS++rsNJQmNVHfwE=; b=AOwUUjoSezPB8LH5syAAaBDaW3lQxZaQYkzSqg8hv1GtGFgVsxiQFZndSFXI7Fj15A Gq0DWPIBBRFZ+X9dZTNP0+pfNcq/6FKvVc4641WSMImDl3n1Ecws2KofvOcIe12fgrlM RfJIrLZNPotXicnmX4qVo1DZxD65odlq0cE9qVZdh0kVmt7JKGuWN8vnpQwV/FyxAzI0 Sv+lh5IcrCdEMdqbsTgmJ0qQhuNdBBdu/3dBld/p7ApXWHleBY/0GtIWmjC18vvpdy8K ETRoimLZCSeIkkwiAHoD4fvD0v8zc1DpPKMP8caowsMhkCouYpEu2+SCRHYOHjCsZDSN kFEw== X-Gm-Message-State: AOAM533CnqBojGTeuLF4WQWhfZfYxU7esUCMuv0lpxKh1WEZNdFDpWhE 97/Ir+lXK9LIFne+lLp5HIg= X-Google-Smtp-Source: ABdhPJzgF+gFKSuTRtUvhk6pa0qbutccjzWK85anYva3APTB3IlP5qvsCXDtCtK1MrSTwtaRsGncng== X-Received: by 2002:a17:903:44c:b0:164:113:a433 with SMTP id iw12-20020a170903044c00b001640113a433mr48009833plb.163.1654936673664; Sat, 11 Jun 2022 01:37:53 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id x1-20020a627c01000000b0051bb1785286sm945857pfc.167.2022.06.11.01.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 01:37:52 -0700 (PDT) From: Ihor Radchenko To: Denis Maier Cc: Org Mode List Subject: Re: Include LaTeX source and compiled result In-Reply-To: References: <5bbc01ae-360e-2de6-5858-0b816d743b99@mailbox.org> <87mteneez0.fsf@ucl.ac.uk> Date: Sat, 11 Jun 2022 16:38:32 +0800 Message-ID: <87o7yzbnnb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1033.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, 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, T_SCC_BODY_TEXT_LINE=-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" 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=1654936709; 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=DgZExj2ZHUHhIrpoXVvKRlfmAsLUS++rsNJQmNVHfwE=; b=Q4zXu8yC+ovHmNDIWzQQFssBeA101d7FBZ+bxplUMdLwbI15BSZPmfeJA1gHd2oM/PomdN nL2umxCl3yrKb+zZvtbjVkFrx0Ex4C1Aqz86UffMKRM9rjCCtrGZBHBPUux1gCHaAz8v8k xM1p3WrVtEEZh2oSAj+aP8PdrbqD5DrK6+XHnp0uS31xNfWwVnzJu8kWBbTjH0nHpfc8AP fb+0ZdAUfERpNhVMYK3FOv+uwo8enw3/97Q7jO2qPjNs8xuEboRX3//H8fLVJ/rtU8E18Y DGl1XRmVtC+VZ/gR7i9yiom+5yEn6EZzZ3HKXsEyXYDWRurQ5/ENBl3i5oQqOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654936709; a=rsa-sha256; cv=none; b=JDVe0mjxUkj0j9mdQ8TeZ+EY1P31IEc1oYdQ2T09ZdlWZwhHXJr4iIeliC4mG/cpA2Bgws kOdctCnCZ+hyb3SFUn3kXd/pHj7Zo+xFAPMOOPhZgcVj+u1p/d/MQkIPqKKh7PjW/uZWbp AR3Se+S5PuxzMZpBmiDT2S609T3HwzzUaVxXiJVMFEZlw0iDe+YGj3XqhCNGAl6vsxypZm 7Th6LEy88eSPrD3EkefkfCK6jvHRkNSFT4C6Gr6UVITTXCRxyHnHHCmPwbXUDX+NxvE3I3 bbo0aRlGUhfhOQy9pSooDvMpoaG2ZvDmFF4Dg15J+lz+uO6NpuWO2S1TpSRGWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="k/ThteIr"; 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: -9.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="k/ThteIr"; 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: BD80138D2A X-Spam-Score: -9.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: XrvuY/oj9+Q4 Denis Maier writes: > Am 08.06.2022 um 10:28 schrieb Fraga, Eric: >> On Wednesday, 8 Jun 2022 at 09:43, Denis Maier wrote: >>> However, I cannot manage to get this to work: >> If you want to show the LaTeX, you need to add ":exports code" to the >> src block, or ":exports both :results file" if you want to show both >> code and the resulting PDF. >> > > :exports code works. But the problem with the other options is that the > compilation fails. But I cannot tell why. It just tells me "Code block > produced no output". > > How can you diagnose such an issue? Hmm... Actually, I cannot reproduce the problem using emacs -Q and the latest main. Having bug.org: ------------------- Blabla #+begin_src latex :file test.pdf \documentclass{article} \begin{document} This is a test \end{document} #+end_src Blabla ------------------- I ran C-c C-e l o And got the expected pdf file open. Best, Ihor