emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Denis Maier <denismaier@mailbox.org>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Include LaTeX source and compiled result
Date: Sat, 11 Jun 2022 16:38:32 +0800	[thread overview]
Message-ID: <87o7yzbnnb.fsf@localhost> (raw)
In-Reply-To: <e83fec76-f1f8-939d-19b3-d80c676f9655@mailbox.org>

Denis Maier <denismaier@mailbox.org> 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


      parent reply	other threads:[~2022-06-11  8:38 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
2022-06-09  7:58       ` Denis Maier
2022-06-09 11:49         ` Fraga, Eric
2022-06-11  8:38     ` Ihor Radchenko [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87o7yzbnnb.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=denismaier@mailbox.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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