emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Included org-mode files not exported properly


From: Bob Kline
Subject: [Orgmode] Included org-mode files not exported properly
Date: Thu, 06 Aug 2009 21:41:06 -0400

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 <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]