[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] LaTeX export of org file uses listings instead of minted, why?

From: address@hidden
Subject: [O] LaTeX export of org file uses listings instead of minted, why?
Date: Thu, 20 Apr 2017 00:35:43 +0200 (CEST)

Hello there!
I'm having a bit of a problem telling emacs to use MINTED instead of LISTINGS to handle code blocks enclosed within #+BEGIN_SRC and #+END_SRC when exporting from an org file. 

I've had to Customize Org Groups using the GUI menu `Org' but as soon as I close and restart emacs, it goes back to LISTINGS. I know this because when I export a minimum working example org file, the resulting pdf does not recognize code. If I manually change the .tex file and run it, it works perfectly.

I've added a few lines into my .emac file (please find it attached to this mail) but because it's uneven, often repetitive and scrappy, I suspect there's some conflict going on which I, as a simple user of orgmode, am not able to detect.

Can someone please check the file and tell me why emacs/orgmode keeps reverting to LISTINGS every time I shut down and restart emacs?

I'm running org mode 8.2, emacs 24 on a Windows 7 machine. I also have a working TeX Live 2015 distro with MINTED pkg properly working in AUCTeX and I have python's pygmentize.exe in my C:\Python27\Scrips\  directory. What am I missing? Can you help me fix this?

Attachment: .emacs
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]