Re: Include LaTeX source and compiled result

2022-06-11 Thread Ihor Radchenko
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

Re: Include LaTeX source and compiled result

2022-06-09 Thread Fraga, Eric
On Thursday, 9 Jun 2022 at 09:58, Denis Maier wrote: > 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...) Nothing else I know about. It's one of the weak points in the

Re: Include LaTeX source and compiled result

2022-06-09 Thread Denis Maier
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

Re: Include LaTeX source and compiled result

2022-06-09 Thread 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

Re: Include LaTeX source and compiled result

2022-06-08 Thread Denis Maier
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

Re: Include LaTeX source and compiled result

2022-06-08 Thread 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. -- : Eric S Fraga, with

Re: Include LaTeX source and compiled result

2022-06-08 Thread Denis Maier
Hmmm, even this tells me "Code block produced no output" #+begin_example Test #+begin_src latex :file asdf.pdf Blabla #+end_src #+RESULTS: #+begin_export latex #+end_export Test #+begin_example But I can compile the temporary tex file without problems. I'm probably missing something