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 attribute for src-blocks. >> >> What do you think? > > Works for me. Good. I wonder if :long wouldn't be better. Since the attribute only applies to src-blocks, the "listing" is redundant. > BTW, a couple of other small things: > > 1. I think `elisp' should be added to the default > `org-latex-minted-langs'. There is no "elisp" language in Babel, is it? I think it's "emacs-lisp". > 2. Unrelated, but I spent some time trying to get relative file > links working. At least in Acrobat Reader on windows, the only > way file links work is with no protocol at all > (\url{path/to/file}). Do you mean the "file:" part should be dropped for files with a relative path? Regards, -- Nicolas Goaziou