emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to stop results being hidden when using ":results drawer"?
@ 2022-05-11 16:52 Richard Stanton
  2022-05-11 17:51 ` Richard Stanton
  2022-05-12 10:14 ` Ihor Radchenko
  0 siblings, 2 replies; 13+ messages in thread
From: Richard Stanton @ 2022-05-11 16:52 UTC (permalink / raw)
  To: orgmode

I’m creating documents where I run Python code blocks that create LaTeX mathematical output that I want to be able to export to either LaTeX/PDF or HTML. 

Using :wrap in the header works fine, except that LaTeX complains about the unknown environment “results” (it still compiles the file to PDF fine).

Using :wrap export latex works fine for LaTeX export, but I can’t get HTML that way.

The recommended method seems to be to use :results drawer. This works fine from an export perspective to both LaTeX/PDF and to HTML. However, it has one significant drawback when I’m actually creating the document: the results drawer starts out hidden and to see what’s there I have to click on it. This makes debugging the code in the first place a lot less convenient.

Is there a way to use :results drawer and have the results NOT hidden by default?

Thanks for any suggestions!

Richard Stanton




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-07-31  2:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11 16:52 How to stop results being hidden when using ":results drawer"? Richard Stanton
2022-05-11 17:51 ` Richard Stanton
2022-05-11 20:14   ` Richard Stanton
2022-05-11 20:18     ` John Kitchin
2022-05-12 10:14 ` Ihor Radchenko
2022-05-12 13:07   ` John Kitchin
2022-05-13 12:11     ` Ihor Radchenko
2022-05-13 12:46       ` John Kitchin
2022-05-13 13:35         ` [PATCH] " Ihor Radchenko
2022-05-13 15:39           ` Eric S Fraga
2022-05-13 16:19             ` Ihor Radchenko
2022-07-31  2:21           ` Ihor Radchenko
2022-05-12 17:04   ` Richard H. Stanton

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