From: Bob Kline <bkline@rksystems.com>
To: emacs-orgmode@gnu.org
Subject: Included org-mode files not exported properly
Date: Thu, 06 Aug 2009 21:41:06 -0400 [thread overview]
Message-ID: <1249609266.4935.16.camel@hp-laptop> (raw)
According to the docs [1] for Include files, if you omit the optional
second and third parameters, "the text will be assumed to be in Org mode
format and will be processed normally." However, it does not appear
that the structure of the included content is recognized by org mode,
which dumps the headers for the sections of the included file into a
single paragraph, with some random commas injected.
Here's a repro case:
$ cat repro.org
* Intro
Blah blah
* Data Structures
#+INCLUDE: "common.org"
* Algorithms
More blah
$ cat common.org
** Tables
foo bar
** Views
blech
** Stored Procedures
- one
- two
Here's a link to the resulting HTML:
http://www.rksystems.com/org-include-repro.html
Here's what the interesting segment of the HTML source looks like (the
results of org-export-as-html):
<p>,** Tables
foo bar
,** Views
blech
,** Stored Procedures
</p><ul>
<li>
one
</li>
<li>
two
</li>
</ul>
Is this a known bug? I can reproduce this behavior on a number of
versions of org-mode, including the latest released version (6.29c).
[1] http://orgmode.org/manual/Include-files.html
--
Bob Kline <bkline@rksystems.com>
next reply other threads:[~2009-08-07 1:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 1:41 Bob Kline [this message]
2009-08-07 14:32 ` Included org-mode files not exported properly Carsten Dominik
2009-08-07 15:13 ` Bob Kline
2009-08-07 23:03 ` Nick Dokos
2009-08-08 4:15 ` Carsten Dominik
2009-08-08 14:23 ` Bob Kline
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=1249609266.4935.16.camel@hp-laptop \
--to=bkline@rksystems.com \
--cc=emacs-orgmode@gnu.org \
/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).