emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Included org-mode files not exported properly
@ 2009-08-07  1:41 Bob Kline
  2009-08-07 14:32 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Bob Kline @ 2009-08-07  1:41 UTC (permalink / raw)
  To: emacs-orgmode

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>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-08-08 14:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07  1:41 Included org-mode files not exported properly Bob Kline
2009-08-07 14:32 ` 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

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).