Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-23 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > I've gone through my whole config and have tracked down the problem: > > : (setq org-src-preserve-indentation t) Nice. It helps a lot. > if I have this line present, the latex export doesn't work; if I remove > this line, the export works as it should. This would

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-22 Thread Eric S Fraga
Nick Dokos writes: > Eric S Fraga wrote: > >> Nicolas Goaziou writes: >> >> [...] >> >> > I've tried with a minimal setup, and I still get the correct export. If >> > you confirm this, we have two options left: either you bisect your >> > config until you get the offending variable, or you se

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-22 Thread Nick Dokos
Nicolas Goaziou wrote: > Eric S Fraga writes: > > > Yes; I've found some strange behaviour that may be related to emacs > > 24.0.50.1 which I will follow up on in a different thread; for > > completeness, what version of Emacs are you using? > > The good ol' 23.3.1 > I'm on 24.0.50.1, so I d

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-22 Thread Nicolas Goaziou
Eric S Fraga writes: > Yes; I've found some strange behaviour that may be related to emacs > 24.0.50.1 which I will follow up on in a different thread; for > completeness, what version of Emacs are you using? The good ol' 23.3.1 -- Nicolas Goaziou

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-22 Thread Nick Dokos
Eric S Fraga wrote: > Nicolas Goaziou writes: > > [...] > > > I've tried with a minimal setup, and I still get the correct export. If > > you confirm this, we have two options left: either you bisect your > > config until you get the offending variable, or you send me that config > > so I can

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-22 Thread Eric S Fraga
Nicolas Goaziou writes: [...] > I've tried with a minimal setup, and I still get the correct export. If > you confirm this, we have two options left: either you bisect your > config until you get the offending variable, or you send me that config > so I can do the same. I can confirm that it wo

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-22 Thread Nicolas Goaziou
Eric S Fraga writes: > It does look okay but that's not what I get; same input, I get: > > > \section{Test} > \label{sec-1} > > > \begin{enumerate} > \item Try and use \verb=org-export-as-latex=, it will produce error segment. > \end{enumerate} > \lstset{language=C} > \begin{lstlisting} >MODU

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-22 Thread Eric S Fraga
Nicolas Goaziou writes: > Hello, > > Eric S Fraga writes: > >> Very true. I missed this. Given the indentation, the listing should >> indeed belong to the enumeration item. >> >> Nicolas? > > If I export this: > > - > * Test > 1. Try and use =org-export-as-latex=, it will produce error seg

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > Very true. I missed this. Given the indentation, the listing should > indeed belong to the enumeration item. > > Nicolas? If I export this: - * Test 1. Try and use =org-export-as-latex=, it will produce error segment. #+BEGIN_SRC C MODULE m_global_prec

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Eric Schulte
> >> 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 > reco

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread 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

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Nick Papior Andersen
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

Re: [O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Nick Papior Andersen
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 happ

[O] [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code)

2011-06-21 Thread Eric S Fraga
Nick Papior Andersen writes: > Hi all > > I have attached a sample which produces a wrong output in my org-mode > installation. Both the output TeX file and the org file are attached. > > The wrong doing happens when i do "org-export-as-latex". The output tex file > has removed a certain string l