emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Denis Maier <denismaier@mailbox.org>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Include LaTeX source and compiled result
Date: Thu, 9 Jun 2022 07:47:55 +0000	[thread overview]
Message-ID: <871qvyb7md.fsf@ucl.ac.uk> (raw)
In-Reply-To: <e83fec76-f1f8-939d-19b3-d80c676f9655@mailbox.org> (Denis Maier's message of "Wed, 8 Jun 2022 21:01:32 +0200")

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, ...

> How can you diagnose such an issue?

You can sometimes find the org babel files created in /tmp.

: Eric S Fraga, with org release_9.5.4-521-g1105da in Emacs 29.0.50

  reply	other threads:[~2022-06-09  7:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-08  7:43 Include LaTeX source and compiled result Denis Maier
2022-06-08  7:48 ` Denis Maier
2022-06-08  8:28 ` Fraga, Eric
2022-06-08 19:01   ` Denis Maier
2022-06-09  7:47     ` Fraga, Eric [this message]
2022-06-09  7:58       ` Denis Maier
2022-06-09 11:49         ` Fraga, Eric
2022-06-11  8:38     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qvyb7md.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=denismaier@mailbox.org \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).