From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Sectioning from includes gets confused in export Date: Sun, 15 Apr 2018 13:22:52 +0300 Message-ID: <877ep8n4zn.fsf@iki.fi> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7eoM-000589-Ae for emacs-orgmode@gnu.org; Sun, 15 Apr 2018 06:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7eoI-0007jv-9d for emacs-orgmode@gnu.org; Sun, 15 Apr 2018 06:23:06 -0400 Received: from [195.159.176.226] (port=40367 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7eoH-0007jI-Vk for emacs-orgmode@gnu.org; Sun, 15 Apr 2018 06:23:02 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f7em8-0005Cq-SG for emacs-orgmode@gnu.org; Sun, 15 Apr 2018 12:20:48 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=steps.org Content-Description: main file * A process #+include: step.org *** something more #+include: step.org --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=step.org Content-Description: included file ** Step {{{n}}} *** Short description 1. a small list 2. with two items --=-=-=--