From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mFS/F9aooWLmzAAAbAwnHQ (envelope-from ) for ; Thu, 09 Jun 2022 10:01:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SBPZFtaooWK2MQEAG6o9tA (envelope-from ) for ; Thu, 09 Jun 2022 10:01:26 +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 E0E9431100 for ; Thu, 9 Jun 2022 10:01:25 +0200 (CEST) Received: from localhost ([::1]:33594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzD6Z-0007VI-MU for larch@yhetil.org; Thu, 09 Jun 2022 04:01:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzD3c-0006pc-MD for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 03:58:21 -0400 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:58658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1nzD3Y-0003UI-H5 for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 03:58:20 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4LJc0B1Bp0z9sTQ for ; Thu, 9 Jun 2022 09:58:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1654761482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0M6wR2TzcHNf9FlwXMAtTSrtVqxavPCnUs1UP8OZMbQ=; b=xU+U0PEIMRfwNDfIdMjMcpIvb0fmXpVeaLPLkyydkGkCss7gw8BJzMbl93pTjXvScYWKNf GSwc/LaZjn0dpZ/YXRwkLEqQ2GzfR217l4CRjw6AJ4eF6fXzjoXJTvzZcSrl+aVjR6AEjh uJBC2RztSVMLU2RQlUgHR3mBx1TtsVMJ42aOoNGky+d1vMNxzLn4PRe6YY7zreQzOO1GxD 3E0wF7wZIOyygM7zTTcRF8WF8311VTPzPaI2gf7stl4p2wikVHzHeYok1CMi7Dwi9hrnSa O5LGjENBR4fB6EPoZVQSq5wqejVnadnCrPBkRa4Nzc6JmEG+5AlP0quDba0ABQ== Message-ID: Date: Thu, 9 Jun 2022 09:58:01 +0200 MIME-Version: 1.0 Subject: Re: Include LaTeX source and compiled result To: Org Mode List References: <5bbc01ae-360e-2de6-5858-0b816d743b99@mailbox.org> <87mteneez0.fsf@ucl.ac.uk> <871qvyb7md.fsf@ucl.ac.uk> From: Denis Maier In-Reply-To: <871qvyb7md.fsf@ucl.ac.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-META: adyur3kfn66r1w99f6hzoxppstdgwg5g X-MBO-RS-ID: 6434a96a7434b5fa97c Received-SPF: pass client-ip=2001:67c:2050:0:465::101; envelope-from=denismaier@mailbox.org; helo=mout-p-101.mailbox.org 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, 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=1654761686; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=0M6wR2TzcHNf9FlwXMAtTSrtVqxavPCnUs1UP8OZMbQ=; b=DwMJ75H2gdl9jxMTB4Jj3RwiX5p1WzJFPLwiNDUdriwkhpvFJUlaZVjGf5WnJNbUvX7DDh Dips7/D6EUqwThpbZRwY61CUMbxfEZVK5BA94JvlgHGageuzVwZK8VOQGrphnk7REb9V07 GzA2a92XNjhwCrxe3D9Hyhv4Lyq59Z/T4mKalpLMTOnO9TXRdnaP9J0byQZ034FmZfZUlU 4llN49ZT3LaovPffGs/Qa8koBdiJlK5Mynt4px/FZOB6vYExwWE05z2MoQbe++vQ+OtkcC OiHVyaArIirP0z8bHC5N/kQ7Qh50XX/EYtOy+JYkHzlBh8GezE+XxLnCeuuW7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654761686; a=rsa-sha256; cv=none; b=GuzMQiAdE+oUdPqlkgyOZs2/HsSgCJnTW02g9BQed2LYTj4xffN8tGvEK2wGcBlhVUIm3B kt2WOA61mXi+nOk00wzjV54yItKXprI8m91J0Kgmrzgz4JNL1uFBSK4Z7/SUyusS5/rEJu qvMm64NuyqvuUB0Y0V8taCeeBpkmG0H4D58eNpbl0xJo4He6HLPLB23uPAJxnMn4vAhtko wJPYrrIcaULom1xCeHr18QVf8pBvNPEVLBuWCRBbTX0T2zXtW3w5HC1Yj0JftraKUxRVbg 8dD/5qea34q6PqscMV2O0jMua5jAFmMu5X2AC9pttpOJxjeX+pVAGMEwG82bhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=xU+U0PEI; dmarc=pass (policy=reject) header.from=mailbox.org; 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: -6.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=xU+U0PEI; dmarc=pass (policy=reject) header.from=mailbox.org; 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: E0E9431100 X-Spam-Score: -6.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: ymQ/ZTLEPS5a Am 09.06.2022 um 09:47 schrieb Fraga, Eric: > On Wednesday, 8 Jun 2022 at 21:01, Denis Maier wrote: >> :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". > This is not surprising as the LaTeX src blocks are expected to be LaTeX > body only, not preamble etc. I.e. in your case, just the line that says > "This is a test". You may wish to look at org-format-latex-header, > org-babel-latex-preamble, org-babel-latex-end-env, ... Exactly, I've found that out by looking at the file in temp. Testing with body only failed as well! I can however manually compile the temporary file. Anyway: This means you cannot switch to using complete files? I was hoping for something like :fragment nil or :complete-doc t > >> How can you diagnose such an issue? > You can sometimes find the org babel files created in /tmp. Anything else? I've found those files, but I was wondering whether Emacs could give me some more useful debug infos? (Especially since compiling the temporary files works...) Denis