Re: [O] LaTeX export with Code

2013-10-07 Thread Charles Berry
Sam Flint swflint at flintfam.org writes: I regularly use org-mode for LP, and would like to be able to export the name of a code chunk as a caption in LaTeX. I have looked at the manual, and don't see any way of doing this, are there? Yes. Quite a few. If you want is the src block name

[O] LaTeX export with Code

2013-10-06 Thread Sam Flint
I regularly use org-mode for LP, and would like to be able to export the name of a code chunk as a caption in LaTeX. I have looked at the manual, and don't see any way of doing this, are there? Thanks, Sam -- Sam Flint swfl...@flintfam.org freenode: swflint (402) 517-8468

[O] latex export R code syntax highlighting with minted

2012-03-16 Thread Ista Zahn
Hi all, I'm having trouble modifying the example at http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-3 to highlight R code blocks. The trouble seems to be that org-mode identifies R blocks using uppercase R, while pygments looks for lowercase r. For example, org exports

Re: [O] latex export R code syntax highlighting with minted

2012-03-16 Thread Christophe Pouzat
Ista Zahn istaz...@gmail.com writes: Hi all, I'm having trouble modifying the example at http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-3 to highlight R code blocks. The trouble seems to be that org-mode identifies R blocks using uppercase R, while pygments looks for

Re: [O] latex export R code syntax highlighting with minted

2012-03-16 Thread Ista Zahn
Ah, perfect! Thank you. On Fri, Mar 16, 2012 at 5:13 PM, Christophe Pouzat christophe.pou...@gmail.com wrote: (add-to-list 'org-export-latex-minted-langs '(R r))

Re: [O] latex export R code syntax highlighting with minted

2012-03-16 Thread Nick Dokos
Ista Zahn istaz...@gmail.com wrote: Hi all, I'm having trouble modifying the example at http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-3 to highlight R code blocks. The trouble seems to be that org-mode identifies R blocks using uppercase R, while pygments looks for