emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Eduardo Mercovich <eduardo@mercovich.net>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: How to do proper folding and semantic markup
Date: Thu, 31 Mar 2016 10:10:33 +0200	[thread overview]
Message-ID: <m2vb43hxty.fsf@christianmoe.com> (raw)
In-Reply-To: <87vb438zm8.fsf@mercovich.net>


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

  parent reply	other threads:[~2016-03-31  8:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30 20:44 How to do proper folding and semantic markup Eduardo Mercovich
2016-03-30 21:52 ` Thomas S. Dye
2016-04-01  0:11   ` Eduardo Mercovich
2016-03-31  8:10 ` Christian Moe [this message]
2016-04-01  0:39   ` Eduardo Mercovich
2016-04-01  7:48     ` Eric S Fraga
2016-04-01 12:33       ` Eduardo Mercovich
2016-04-04  5:21 ` Adam Porter
2016-04-04 15:01   ` Eduardo Mercovich
2016-04-05  4:19     ` Adam Porter
2016-04-05 21:18       ` Eduardo Mercovich
2016-04-05 22:04         ` Nick Dokos
2016-04-06 12:59           ` Eduardo Mercovich
2016-04-05 23:56         ` Adam Porter
2016-04-06 12:58           ` Eduardo Mercovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vb43hxty.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=eduardo@mercovich.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).