* Source code files and org mode files
@ 2012-10-02 21:07 Fabrice Popineau
2012-10-02 21:25 ` Nick Dokos
0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Popineau @ 2012-10-02 21:07 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
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,
Fabrice
[-- Attachment #2: Type: text/html, Size: 345 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Source code files and org mode files
2012-10-02 21:07 Source code files and org mode files Fabrice Popineau
@ 2012-10-02 21:25 ` Nick Dokos
2012-10-02 21:37 ` Fabrice Popineau
0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2012-10-02 21:25 UTC (permalink / raw)
To: Fabrice Popineau; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Source code files and org mode files
2012-10-02 21:25 ` Nick Dokos
@ 2012-10-02 21:37 ` Fabrice Popineau
0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Popineau @ 2012-10-02 21:37 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
--8<---------------cut here---------------start------------->8---
> #+include: "foo.c" src c
> --8<---------------cut here---------------end--------------->8---
>
> See (info "(org) Include files") for details.
>
> Thanks a lot. I was looking around "block_example" and source code
handling.
I should have broaden my mind :-)
Greetings,
Fabrice
[-- Attachment #2: Type: text/html, Size: 683 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-02 21:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 21:07 Source code files and org mode files Fabrice Popineau
2012-10-02 21:25 ` Nick Dokos
2012-10-02 21:37 ` Fabrice Popineau
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).