Re: [O] Bug formatting source code in new latex exporter

2013-03-27 Thread Nicolas Goaziou
Hello, Rick Frankel r...@rickster.com writes: Either way. `:long t' seems a bit less self-documenting than `:long-listing', but shorter is always better w/ attributes. Applied, with :long-listing. :long is too short... BTW, a couple of other small things: 1. I think `elisp'

Re: [O] Bug formatting source code in new latex exporter

2013-03-27 Thread Rick Frankel
On Wed, Mar 27, 2013 at 03:17:26PM +0100, Nicolas Goaziou wrote: Hello, Maybe it's an in-built alias. This works w/ emacs -Q [...]: Probably. I don't see any reference to it in the Languages section in the manual. Therefore, I don't think it deserves an entry in `org-latex-minted-langs'

Re: [O] Bug formatting source code in new latex exporter

2013-03-27 Thread Nicolas Goaziou
Hello, Rick Frankel r...@rickster.com writes: Yes. I've tried all possible combinations, and (with acrobat reader), the only way to get relative urls to work is w/o a protocol prefix. The absolute urls work just fine w/o the file: prefix as well. It looks like file:// is still compulsory for

Re: [O] Bug formatting source code in new latex exporter

2013-03-26 Thread Rick Frankel
On Mon, Mar 25, 2013 at 10:09:37PM +0100, Nicolas Goaziou wrote: Hello, Rick Frankel r...@rickster.com writes: The cross reference approach seems clever, but maybe a simpler approach would simply be to add an ATTR_LaTeX(:longlisting) and leave it up to the user. That's the most

Re: [O] Bug formatting source code in new latex exporter

2013-03-25 Thread Nicolas Goaziou
Hello, Rick Frankel r...@rickster.com writes: The cross reference approach seems clever, but maybe a simpler approach would simply be to add an ATTR_LaTeX(:longlisting) and leave it up to the user. That's the most reasonable option, indeed. The following patch implements

Re: [O] Bug formatting source code in new latex exporter

2013-03-24 Thread Rick Frankel
The cross reference approach seems clever, but maybe a simpler approach would simply be to add an ATTR_LaTeX(:longlisting) and leave it up to the user. That's the most reasonable option, indeed. The following patch implements :long-listing attribute for src-blocks. What do you

Re: [O] Bug formatting source code in new latex exporter

2013-03-23 Thread Nicolas Goaziou
Hello, Rick Frankel r...@rickster.com writes: The cross reference approach seems clever, but maybe a simpler approach would simply be to add an ATTR_LaTeX(:longlisting) and leave it up to the user. That's the most reasonable option, indeed. The following patch implements :long-listing

Re: [O] Bug formatting source code in new latex exporter

2013-03-21 Thread Nicolas Goaziou
Hello, Rick Frankel r...@rickster.com writes: There is a bug with ox-latex and long listings. If the listing has a label (name) or caption, it is wrapped in a '\begin{listing}[H]' block. This causes listings longer than one page to be truncated if they have labels, which means you can't have

Re: [O] Bug formatting source code in new latex exporter

2013-03-21 Thread Rick Frankel
At Thu, 21 Mar 2013 20:26:34 +0100, Nicolas Goaziou wrote: Hello, Rick Frankel r...@rickster.com writes: The problem is on line 2178 of ox-latex: (when (or label caption) should probably be: (when caption This is a limitation from floats. But wrapping code

[O] Bug formatting source code in new latex exporter

2013-03-19 Thread Rick Frankel
pgpGMFm_GispR.pgp Description: PGP message

[O] Bug formatting source code in new latex exporter

2013-03-19 Thread Rick Frankel
Sorry, previous mail seems to have gotten munged, lets' try again. There is a bug with ox-latex and long listings. If the listing has a label (name) or caption, it is wrapped in a '\begin{listing}[H]' block. This causes listings longer than one page to be truncated if they have labels, which