emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Sectioning from includes gets confused in export
@ 2018-04-15 10:22 Jarmo Hurri
  2018-04-15 10:25 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Jarmo Hurri @ 2018-04-15 10:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]


Greetings.

Attached are two files:
1. steps.org : main org file
2. step.org : file included twice into main org file

If you export the main file to LaTeX (C-c C-e l o) you will notice that
the correct sectioning level of the level 2 section of step.org is lost
in the export. The level 2 section becomes subordinate to level 3
section.

Feature or bug? Possibility of this being fixed?

As usual, this is a simplified version of something much more
complicated I need to do.

All the best,

Jarmo


[-- Attachment #2: main file --]
[-- Type: text/plain, Size: 72 bytes --]


* A process
#+include: step.org
*** something more
#+include: step.org

[-- Attachment #3: included file --]
[-- Type: text/plain, Size: 78 bytes --]

** Step {{{n}}}
*** Short description
   1. a small list
   2. with two items

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

* Re: Sectioning from includes gets confused in export
  2018-04-15 10:22 Sectioning from includes gets confused in export Jarmo Hurri
@ 2018-04-15 10:25 ` Nicolas Goaziou
  2018-04-15 10:32   ` Jarmo Hurri
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-04-15 10:25 UTC (permalink / raw)
  To: Jarmo Hurri; +Cc: emacs-orgmode

Hello,

Jarmo Hurri <jarmo.hurri@iki.fi> writes:

> Attached are two files:
> 1. steps.org : main org file
> 2. step.org : file included twice into main org file
>
> If you export the main file to LaTeX (C-c C-e l o) you will notice that
> the correct sectioning level of the level 2 section of step.org is lost
> in the export. The level 2 section becomes subordinate to level 3
> section.
>
> Feature or bug? Possibility of this being fixed?

Feature. See (info "(org) Include files"), in particular :minlevel parameter.

Regards,

-- 
Nicolas Goaziou

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

* Re: Sectioning from includes gets confused in export
  2018-04-15 10:25 ` Nicolas Goaziou
@ 2018-04-15 10:32   ` Jarmo Hurri
  0 siblings, 0 replies; 3+ messages in thread
From: Jarmo Hurri @ 2018-04-15 10:32 UTC (permalink / raw)
  To: emacs-orgmode


>> If you export the main file to LaTeX (C-c C-e l o) you will notice
>> that the correct sectioning level of the level 2 section of step.org
>> is lost in the export. The level 2 section becomes subordinate to
>> level 3 section.
>>
>> Feature or bug?
>
> Feature. See (info "(org) Include files"), in particular :minlevel
> parameter.

Thanks, that was a super quick response!

All the best,

Jarmo

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

end of thread, other threads:[~2018-04-15 10:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-15 10:22 Sectioning from includes gets confused in export Jarmo Hurri
2018-04-15 10:25 ` Nicolas Goaziou
2018-04-15 10:32   ` Jarmo Hurri

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