From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Include files on export Date: Wed, 2 Jul 2008 14:10:33 -0700 Message-ID: <43B7DAF4-84CD-4DE0-8C26-D8D3839F92D7@uva.nl> References: <7D0B737B-4C69-44E8-B0AA-F553403EE07B@uva.nl> <38prpwt84o.fsf@richardriley.net> <71A2B374-9AEE-4CA5-9818-94C75A5F3C6E@uva.nl> <0xwsk4q9m4.fsf@richardriley.net> Mime-Version: 1.0 (Apple Message framework v924) Content-Type: multipart/mixed; boundary="===============0490537450==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KE9b5-0004eh-Mt for emacs-orgmode@gnu.org; Wed, 02 Jul 2008 17:10:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KE9b5-0004e3-3P for emacs-orgmode@gnu.org; Wed, 02 Jul 2008 17:10:39 -0400 Received: from [199.232.76.173] (port=49764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE9b5-0004dy-0U for emacs-orgmode@gnu.org; Wed, 02 Jul 2008 17:10:39 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:23588) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KE9b4-00030n-Ex for emacs-orgmode@gnu.org; Wed, 02 Jul 2008 17:10:38 -0400 In-Reply-To: <0xwsk4q9m4.fsf@richardriley.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard G Riley Cc: org-mode --===============0490537450== Content-Type: multipart/alternative; boundary=Apple-Mail-6-502632627 --Apple-Mail-6-502632627 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jul 2, 2008, at 2:06 PM, Richard G Riley wrote: > Carsten Dominik 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 > --Apple-Mail-6-502632627 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
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


- = Carsten


= --Apple-Mail-6-502632627-- --===============0490537450== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0490537450==--