From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Using the file as 1st level headline Date: Thu, 17 Sep 2015 10:42:45 +0100 Message-ID: <87vbb9crfu.fsf@ucl.ac.uk> References: <877fnqqpg0.fsf@ntnu.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcViR-0005xj-9u for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:42:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcViN-0006sI-7U for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:42:55 -0400 Received: from mail-am1on0102.outbound.protection.outlook.com ([157.56.112.102]:44730 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcViM-0006ri-Th for emacs-orgmode@gnu.org; Thu, 17 Sep 2015 05:42:51 -0400 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sven Bretfeld Cc: emacs-orgmode@gnu.org On Wednesday, 16 Sep 2015 at 18:49, Sven Bretfeld wrote: > Hi all > > Is it possible to have a file header which is counted as a first level > headline? I am not sure how this relates to the rest of your email. Can you please expand on this? [...] > Now, I'm using org to write scientific books and articles. Therefore, > I want to use 1st level headlines as section titles for LaTeX export. > Of course, not every section is an individual project---the article in > total is the project and its doable steps are defined by inline tasks. > So, what I want to do is something like this: Have you actually tried what you wrote? What happens? This approach is basically what I use: inline tasks for the TODO elements but the rest of the structure is the paper with top level headings as sections etc. However, I note that my approach is different in that I don't hide the inline tasks when generating the article. I actually export my inline tasks using the following: #+begin_src emacs-lisp (defun org-latex-format-inlinetask (todo type priority name tags contents info) "Format an inline task element for LaTeX export." (let ((theinlinetask (concat todo " " name ": " contents))) (format "\\footnote{%s}\\marginpar{\\fbox{\\tiny\\thefootnote. %s}}" theinlinetask todo))) (setq org-latex-format-inlinetask-function 'org-latex-format-inlinetask) #+end_src Is the issue, in your case, that the noexport tag on the inlinetasks is ignored? If so, you could simply define the org-latex-format-inlinetask function I have above to do nothing? -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9