From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Papior Andersen Subject: Re: [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code) Date: Tue, 21 Jun 2011 20:29:22 +0200 Message-ID: References: <87aadbyzmg.fsf@ucl.ac.uk> <87aadb5a8f.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3054a2f110f2fc04a63d09ae Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ5hq-0005Xk-TB for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:29:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ5ho-0006gN-R0 for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:29:46 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:36993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ5ho-0006g3-6y for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:29:44 -0400 Received: by fxm18 with SMTP id 18so172485fxm.0 for ; Tue, 21 Jun 2011 11:29:43 -0700 (PDT) In-Reply-To: <87aadb5a8f.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: Nick Papior Andersen , emacs-orgmode@gnu.org --20cf3054a2f110f2fc04a63d09ae Content-Type: text/plain; charset=UTF-8 I puzzled with it... And finally got it working... Wasn't a pretty work around! Well it all works now! Thanks for this! I can see your point on the babel stuff.. :) Kind regards Nick 2011/6/21 Eric S Fraga > Nick Papior Andersen writes: > > > Hi Eric > > > > Thanks. > > > > I can see why the new thing would work as it utilizes the listing > > environment. If the bug is fully removed then great. > > > > It shows when the verbatim environment is used in my version. If a newer > > version of org-mode will ever be used with only the verbatim environment, > > then what happens? > > > > No actual reason for not writing fortran besides it is shorter... However > it > > will produce the same error nonetheless. > > > > Another error in your above shown result, is that the listing should have > > been exported inside the enumerate environment. > > Very true. I missed this. Given the indentation, the listing should > indeed belong to the enumeration item. > > Nicolas? > > > I have speculated whether > > the error is due to fortran is not in language list. > > http://orgmode.org/worg/org-contrib/babel/languages.html > > I doubt it. #+begin_src ... #+end_src is somewhat generic; it's only > when you want babel to interpret the code that the language has to be > recognised. I believe... > > > As to my installation of org-mode, i downloaded and make, make install.. > > Have installed correctly, i just couldn't figure out to setup the new > > installation of org (i.e. it still uses the old which is shipped by > > standard!). > > I think i can overcome this issue if i spend some more time on it. :) > > You need to add the location of where you have installed the new version > to the load-path variable very early in the emacs initialisation file > which is ~/.emacs in my case; what system are you using? Something > along the lines of > > (add-to-list 'load-path "~/path/to/new/org") > > should do the job. Typing > > M-x org-version RET > > once emacs has started should show you the version that has actually > been loaded. > > -- > : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 > : using Org-mode version 7.5 (release_7.5.415.g3f3fc.dirty) > --20cf3054a2f110f2fc04a63d09ae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I puzzled with it... And finally got it working... Wasn't a pretty= work around!

Well it all works now! Thanks fo= r this!

I can see your point on the babel stuff.. = :)

Kind regards Nick

2= 011/6/21 Eric S Fraga <e.fraga@ucl.ac.uk>
Nick Papior Andersen <nickpapior@gmail.com> writes:

> Hi Eric
>
> Thanks.
>
> I can see why the new thing would work as it utilizes the listing
> environment. If the bug is fully removed then great.
>
> It shows when the verbatim environment is used in my version. If a new= er
> version of org-mode will ever be used with only the verbatim environme= nt,
> then what happens?
>
> No actual reason for not writing fortran besides it is shorter... Howe= ver it
> will produce the same error nonetheless.
>
> Another error in your above shown result, is that the listing should h= ave
> been exported inside the enumerate environment.

Very true. =C2=A0I missed this. =C2=A0Given the indentation, the list= ing should
indeed belong to the enumeration item.

Nicolas?

> I have speculated whether
> the error is due to fortran is not in language list.
> http://orgmode.org/worg/org-contrib/babel/languages.html

I doubt it. =C2=A0#+begin_src ... #+end_src is somewhat generic; it&#= 39;s only
when you want babel to interpret the code that the language has to be
recognised. =C2=A0I believe...

> As to my installation of org-mode, i downloaded and make, make install= ..
> Have installed correctly, i just couldn't figure out to setup the = new
> installation of org (i.e. it still uses the old which is shipped by > standard!).
> I think i can overcome this issue if i spend some more time on it. :)<= br>
You need to add the location of where you have installed the new vers= ion
to the load-path variable very early in the emacs initialisation file
which is ~/.emacs in my case; what system are you using? =C2=A0Something along the lines of

(add-to-list 'load-path "~/path/to/new/org")

should do the job. =C2=A0Typing

M-x org-version RET

once emacs has started should show you the version that has actually
been loaded.

--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.= 50.1
: using Org-mode version 7.5 (release_7.5.415.g3f3fc.dirty)

--20cf3054a2f110f2fc04a63d09ae--