emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Søren Mikkelsen" <sorenaamikkelsen@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-mode using enumerate properties to export to LaTeX
Date: Mon, 12 Sep 2011 10:30:57 +0100	[thread overview]
Message-ID: <87r53mksz2.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <j4j4mv$jf0$1@dough.gmane.org> ("Søren Mikkelsen"'s message of "Sun, 11 Sep 2011 22:12:14 +0200")

Søren Mikkelsen <sorenaamikkelsen@gmail.com> writes:

[...]

> Yes, it works perfectly when I export it into latex (and thank you for
> that). Just wondering if it was possible to do something similar
> within org-mode; a enumerate list with a prefix, e.g.:
>
>  R1. One
>  R2. Two

Ah, now I understand.  The answer is no and I imagine it would be
difficult to define a regular expression to match such cases without
catching all kinds of lines that were not intended to be lists (e.g. the
last word in a sentence that happens to end up at the start of the
line...).

However, latex does allow you to manually over-ride any item
label/number by simply specifying your own in square brackets.  e.g.

 - [R1] one
 - [R2] two

Org passes these through to the latex properly so this should do what
you want but obviously you won't have any automated procedure for
generating these labels.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.275.gf1fc)

  reply	other threads:[~2011-09-12  9:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11 10:27 Org-mode using enumerate properties to export to LaTeX Søren Mikkelsen
2011-09-11 13:18 ` Eric S Fraga
2011-09-11 16:48   ` Søren Mikkelsen
2011-09-11 19:06     ` Eric S Fraga
2011-09-11 20:12       ` Søren Mikkelsen
2011-09-12  9:30         ` Eric S Fraga [this message]
2011-09-12 20:25           ` Søren Mikkelsen
2011-09-12 21:04             ` Eric S Fraga

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=87r53mksz2.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=sorenaamikkelsen@gmail.com \
    /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).