[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how can I get the output of a =#+begin_src org= in the current buffe
From: |
Edgar Lux |
Subject: |
Re: how can I get the output of a =#+begin_src org= in the current buffer? |
Date: |
Sat, 12 Aug 2023 15:54:31 +0200 (CEST) |
Thanks!!!
Regarding the typo, it does not show here. But in the info buffer, the =(see
*note...= becomes (see see ...).
See (:P) attachment
On Aug 12, 2023 at 1:07 PM, Ihor Radchenko <yantar92@posteo.net> wrote:Edgar
Lux <edgarlux@mailfence.com> writes:
> #+begin_src org
> #+latex_header: \usepackage{nil}
> #+end_src
>
> What I want is to get =#+latex_header: \usepackage{nil}= in the current
buffer. The documentation (Org-info and the docstring of
=org-babel-execute-src-block=) says that this command would
> #+begin_quote
> Insert the results of execution into the buffer
> #+end_quote
>
> Tips, advice? Thank you!
See https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-org.html
You need
#+begin_src org :results replace
#+latex_header: \usepackage{nil}
#+end_src
> - There is a typo in the info pages (parses as see see; remove see from
below):
> (org) Results of Evaluation
> #+begin_quote
> The ‘file-desc’ header argument defines the description (see *note
> Link Format::) for the link
> #+end_quote
May you elaborate?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
--
Sent with https://mailfence.com
Secure and private email
scr.png
Description: File Attachment: scr.png