emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Fabrice Popineau <fabrice.popineau@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Source code files and org mode files
Date: Tue, 02 Oct 2012 17:25:32 -0400	[thread overview]
Message-ID: <14913.1349213132@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Fabrice Popineau <fabrice.popineau@gmail.com> of "Tue\, 02 Oct 2012 23\:07\:22 +0200." <CAFgFV9PbcXM0=K03ze2MD3cCPTS1j56M+ErmTHcG7wU2-3Oadw@mail.gmail.com>

Fabrice Popineau <fabrice.popineau@gmail.com> wrote:

> Hi,
> 
> Is it possible to link to an external source code file from an org mode file 
> (for example from an org mode code block)
> so that the source code file will be exported "inline" wrt to the org-mode file ?
> 
> Thanks for any clue,
> 

--8<---------------cut here---------------start------------->8---
#+include: "foo.c" src c
--8<---------------cut here---------------end--------------->8---

See (info "(org) Include files") for details.

Nick

  reply	other threads:[~2012-10-02 21:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 21:07 Source code files and org mode files Fabrice Popineau
2012-10-02 21:25 ` Nick Dokos [this message]
2012-10-02 21:37   ` Fabrice Popineau

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=14913.1349213132@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@gmail.com \
    /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).