emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Richard G Riley <rileyrgdev@googlemail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Include files on export
Date: Wed, 2 Jul 2008 14:10:33 -0700	[thread overview]
Message-ID: <43B7DAF4-84CD-4DE0-8C26-D8D3839F92D7@uva.nl> (raw)
In-Reply-To: <0xwsk4q9m4.fsf@richardriley.net>


[-- Attachment #1.1: Type: text/plain, Size: 1487 bytes --]


On Jul 2, 2008, at 2:06 PM, Richard G Riley wrote:

> Carsten Dominik <dominik@uva.nl> writes:
>
>> On Jul 2, 2008, at 12:10 PM, Richard G Riley wrote:
>>>
>>> Could I suggest a different approach?
>>>
>>> Possibly have a parameter which is a prefix text on the include  
>>> line?
>>>
>>> e.g
>>>
>>> #+INCLUDE: "~/docs/cv/references/cpd.org" :prefix " + "
>>
>> Yes, this is the better solution, but you need two different  
>> prefixes,
>> one for the first line and one for the others in order to make items
>> work.
>>
>> I don't think it is perfect yet, because the indentation has to be
>> specified by hand and will fail if you promote or demote the list.
>> Still, useful, thanks a lot.
>>
>> Its up in the git repo.
>>
>> - Carsten
>
> Is there no way to just to allow #+include anywhere on a line?

How would that help with creating a bullet with correct indentation?

> (also, I solved the link query from another psot by using C-u C-c C- 
> l -
> possibly the links section of the info file could be clearer). I  
> missed
> the need to use the file: specifier.

Links that do not look like a URL are interpreted as internal link.
So you need to write

    + [[file:./references/cpd.org][Reference]]


Or use the latest version - absolute file names, and relative file
names starting with "./" or "../" are now an exception to the above
rule (implemented a week ago), see

http://repo.or.cz/w/org-mode.git?a=commit;h=9b084b22f54f361ad2f17b80c9c67c5d9a850a9a

- Carsten

>


[-- Attachment #1.2: Type: text/html, Size: 3244 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-07-02 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 18:21 Include files on export Richard G Riley
2008-07-02 18:48 ` Carsten Dominik
2008-07-02 19:10   ` Richard G Riley
2008-07-02 20:35     ` Carsten Dominik
2008-07-02 21:06       ` Richard G Riley
2008-07-02 21:10         ` Carsten Dominik [this message]

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=43B7DAF4-84CD-4DE0-8C26-D8D3839F92D7@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.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).