From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?U8O4cmVuIE1pa2tlbHNlbg==?= Subject: Re: Org-mode using enumerate properties to export to LaTeX Date: Sun, 11 Sep 2011 22:12:14 +0200 Message-ID: References: <871uvnushx.fsf@ucl.ac.uk> <87obyq3nma.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2qOF-0001A4-II for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 16:12:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2qOE-0001j6-8r for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 16:12:31 -0400 Received: from lo.gmane.org ([80.91.229.12]:54721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2qOD-0001i3-QY for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 16:12:30 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R2qOB-0005H3-QO for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 22:12:27 +0200 Received: from 94.145.175.146 ([94.145.175.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Sep 2011 22:12:27 +0200 Received: from sorenaamikkelsen by 94.145.175.146 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Sep 2011 22:12:27 +0200 In-Reply-To: <87obyq3nma.fsf@ucl.ac.uk> 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: emacs-orgmode@gnu.org On 2011-09-11 21:06, Eric S Fraga wrote: > Søren Mikkelsen writes: > >> On 2011-09-11 15:18, Eric S Fraga wrote: >>> Søren Mikkelsen writes: >>> >> >>>> I am currently struggling with enumerating my numbered list with a >>>> prefix. In org-mode I have >>>> >>>> 1. This >>>> 2. is >>>> 3. a >>>> 4. numbered >>>> 5. list >>> >>> Try putting the line >>> >>> #+latex: \renewcommand{\theenumi}{R\arabic{enumi}} >>> >>> before the start of the list. This changes how latex outputs the first >>> level (i) enumeration counter. Set it back afterwards to the same thing >>> *without* the =R= to get the default behaviour. >>> >>> This is obviously a latex issue not specific to org. For these cases, >>> there are some very good resources online. e.g. >>> >>> https://secure.wikimedia.org/wikibooks/en/wiki/LaTeX/ >>> >>> and my all time favourite: >>> >>> http://www.tex.ac.uk/tex-archive/info/visualFAQ/visualFAQ.pdf >>> >>> one of the best things about org as a writing mode is that you still >>> have access to most latex (and other export target) features in a >>> straightforward manner! >>> >>> HTH, >>> eric >> >> Thanks, I thought something like renewing a command could do the >> job. However it could be nice, if it was possible to export a list >> with a generic prefix on the lists. >> >> --- >> /aagaard > > I'm not sure what you mean? Doesn't what I posted above do the job? > This is the standard latex means of doing this, at least with the > default latex enumeration environment. > > You may wish to check out other list environments; there are a few out > there, e.g. paralist. However, I am not sure how the latex exporter > could be configured to pass the extra information that some of these > need to achieve what you want. > > HTH, > eric > > 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 -- --- Søren Mikkelsen