emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Søren Mikkelsen" <sorenaamikkelsen@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode using enumerate properties to export to LaTeX
Date: Mon, 12 Sep 2011 22:25:24 +0200	[thread overview]
Message-ID: <j4lprk$38j$1@dough.gmane.org> (raw)
In-Reply-To: <87r53mksz2.fsf@pinto.chemeng.ucl.ac.uk>

On 2011-09-12 11:30, Eric S Fraga wrote:
> 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.
>

This is also a latex related question, however I think it extents the 
previous question. How to I make my counter of the enumeration-list 
start at a specific position. Like

  1. Test
  2. of

Now I have something between the two enumerations

  3. counters
  4. in a
  5. enumeration environment

In latex I would insert \setcounter{enumi}{3} after starting a 
enumeration environment.

--
/aagaard

  reply	other threads:[~2011-09-12 20:25 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
2011-09-12 20:25           ` Søren Mikkelsen [this message]
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='j4lprk$38j$1@dough.gmane.org' \
    --to=sorenaamikkelsen@gmail.com \
    --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).