emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juan Pechiar <juan@pechiar.com>
To: Adam <ahcnz@ihug.co.nz>
Cc: Emacs-orgmode@gnu.org
Subject: Re: novice - inline src ?
Date: Wed, 3 Nov 2010 01:23:36 -0200	[thread overview]
Message-ID: <20101103032336.GA15160@soloJazz.com> (raw)
In-Reply-To: <201011031535.00063.ahcnz@ihug.co.nz>

On Wed, Nov 03, 2010 at 03:34:58PM +1300, Adam wrote:
> Am a novice, and just trying my first src emacs lisp.
> Can a results output be included in the middle of a line of text ?

Hi,

Yo can include inline code blocks thus:

The date today is src_emacs-lisp{(format-time-string "%a %e %b %Y ")}.

The complete format is:

  src_lang[optional header arguments]{code body}

Check the following message on the mailing list:

    Date: Tue, 03 Aug 2010 11:44:14 -0600                                                                                              From: Eric Schulte <schulte.eric@gmail.com>                                                                                        Subject: Re: [Orgmode] Babel - display results in an overlay?

> Also,  is there a switch on setting to avoid the
> "Evaluate this Lisp code on your system?  (yes or no)"
> questions being asked at export - to always answer yes to this ?

Customize the following variable to nil:

    org-confirm-babel-evaluate

Regards,
.j.

  reply	other threads:[~2010-11-03  3:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03  2:34 novice - inline src ? Adam
2010-11-03  3:23 ` Juan Pechiar [this message]
2010-11-03  4:47   ` Adam
2010-11-03  9:48     ` Adam

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=20101103032336.GA15160@soloJazz.com \
    --to=juan@pechiar.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=ahcnz@ihug.co.nz \
    /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).