From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Latex enumerate item problem Date: Sat, 07 Feb 2009 02:52:26 +0100 Message-ID: <87wsc32eud.fsf@kassiopeya.MSHEIMNETZ> References: <87prhvksk9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVcJt-0002l1-T2 for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 20:49:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVcJs-0002ko-An for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 20:49:21 -0500 Received: from [199.232.76.173] (port=53724 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVcJs-0002kh-29 for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 20:49:20 -0500 Received: from mail.gmx.net ([213.165.64.20]:38617) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LVcJr-000821-Eo for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 20:49:19 -0500 In-Reply-To: <87prhvksk9.fsf@gmail.com> (=?utf-8?Q?=22Fl=C3=A1vio?= de Souza"'s message of "Fri, 06 Feb 2009 22:18:46 -0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?Fl=C3=A1vio?= de Souza Cc: emacs-orgmode@gnu.org HI Flavio (?), Lists are made from indentation in the first place, I think. Hence the=20 #+BEGIN_EXAMPLE breaks the list. It would be OK to export it like that, since, funny enough, a `
'
element is indeed allowed inside an `
  • ' element in XHTML (it is _not_ allowed in a

    element _and_ a

      element is _not_ allowed inside a

      ). To check the validity of XHTML fragments, goto http://validator.w3.org/#validate_by_input+with_options ensure that `Validate HTML fragment' is checked (under `Options') and choose org's DOCTYPE (XHTML 1.0). Finally put this into the textarea on top before you submit:

      1. blabllabla
             function lowerThan(a,b){return (a < b); }
           

      As a second test remove the

      element:

      1. blabllabla
             function lowerThan(a,b){return (a < b); }
           
      flaviostz@gmail.com (Fl=C3=A1vio de Souza) writes: > I think I found a problem when exporting to Latex. > > If my org file is like this: > > * Blablablbalbala > > 1) Blablablbalbala=20 > > 2) Blablablbalbala=20 > > #+BEGIN_EXAMPLE > > sudo apt-get install openoffice.org-java-common > > #+END_EXAMPLE > > 3) Blablablbalbala=20 > > 4) Blablablbalbala=20 > > 5) Blablablbalbala=20 > > When I export to latex I got two enumerated lists instead of only one. Se= e how the code will look: > > \begin{enumerate} > \item Blablablbalbala=20 > \item Blablablbalbala=20 > \end{enumerate} > > \begin{verbatim} > > sudo apt-get install openoffice.org-java-common > > \end{verbatim} > > > \begin{enumerate} > \item Blablablbalbala=20 > \item Blablablbalbala=20 > \item Blablablbalbala=20 > \end{enumerate} > > Then I need to fix it by deleting the \end and \begin that apperead in th= e wrong lines. > > Regards, --=20 Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.rose@emma-stil.de, sebastian_rose@gmx.de Http: www.emma-stil.de