From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: How to do proper folding and semantic markup Date: Thu, 31 Mar 2016 10:10:33 +0200 Message-ID: References: <87vb438zm8.fsf@mercovich.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alXgd-0005vG-NO for emacs-orgmode@gnu.org; Thu, 31 Mar 2016 04:10:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alXga-0002Br-Ha for emacs-orgmode@gnu.org; Thu, 31 Mar 2016 04:10:39 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:51908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alXga-0002Be-92 for emacs-orgmode@gnu.org; Thu, 31 Mar 2016 04:10:36 -0400 In-reply-to: <87vb438zm8.fsf@mercovich.net> 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: Eduardo Mercovich Cc: Org-mode Eduardo Mercovich writes: > > ... place the abstract and #+LATEX: commands for frontmatter before the > first exported headline, e.g., > #+BEGIN_abstract > [Abstract here] > #+END_abstract Originally my fault for pointing out that this was possible (for latex and html backends, anyway) without any special abstract handling. :-) https://lists.gnu.org/archive/html/emacs-orgmode/2010-11/msg00046.html > The question is: how do I use the 1st header (keeping it's folding and > referencing in org) while at the same time expressing that it is an > abstract? One can fold a block manually. However, it won't be automatically folded when a file is opened or when when cycling the whole buffer through folding states with C-u TAB. If these matter to you (I gather that you have to write long abstracts), you may need to use the ignore trick Thomas Dye referred to. You can name a block and reference it by name. #+name: theabstract #+begin_abstract ... #+end_abstract See [[theabstract][the abstract]]. > How (if) can be done not only before the ToC, LoF and LoT but > after them? You can control placement with a #+TOC: line. Do you need to do something more? An OS X upgrade just nuked my unix toolchains, including latex, so I haven't checked how things work there. Yours, Christian