Re: [Orgmode] latex export of source code in lists

2010-12-10 Thread Andreas Leha
Hello Nicolas, I can confirm that this is fixed now. Thanks a lot! Greetings, Andreas Am 09.12.2010 21:36, schrieb Nicolas Goaziou: > Hello, > > >> Andreas Leha writes: >> > >> Hi all, (how) can I have source code block in lists not breaking the >> latex exported list

Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Thomas S. Dye
Aloha Andreas, I gather Nicolas Goaziou has worked some magic so that your example works with lists now. I had problems using the listings package in situations where LaTeX changes \linewidth, as it can do inside lists. I got bad line breaks and wasn't able to make them good. If listing

Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Nicolas Goaziou
Hello, > Andreas Leha writes: > Hi all, (how) can I have source code block in lists not breaking the > latex exported list? It should be fixed on git head. Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies

Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Andreas Leha
Hi Tom, thanks for all your input! This is great. Using a float environment around my listings is an option I have not considered yet, as I have a lot of code snippets in the one file, which would result in several pages of floating listings. But I'll use that option anyway or do completely wit

Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Thomas S. Dye
Hi Andreas, In my experience, lists are a bit fragile this way (probably necessarily). One workaround might be to float the source code block (in the way I mentioned in a previous message) and then cross reference it from the list. * Test 1) this is the first item (Listing \ref{fig:fir

[Orgmode] latex export of source code in lists

2010-12-09 Thread Andreas Leha
Hi all, (how) can I have source code block in lists not breaking the latex exported list? Example: * Test 1) this is the first item #+srcname: code #+begin_src R :tangle no :export code print("some code") #+end_src which has some code 2) this is the second item Th