Aloha pd,

Peter Davis writes:

>> > 4) Is json a valid language for #+BEGIN_SRC? I don't see any syntax
>> > highlighting in HTML or LaTeX/PDF output, and I'm getting errors from
>> > LaTeX:
>> >
>> > ! Package Listings Error: language json undefined.
>> >
>> > Come to think of it, I think the org-mode doc lists both JavaScript (js)
>> > and JSON (json) as supported languages for code blocks, but the Listings
>> > LaTeX package doesn't list either of these.
>> >
>> 
>> Not sure where that was. I use this page as my reference and don't see
>> it (but do see js):
>> - http://orgmode.org/worg/org-contrib/babel/languages.html

See org-latex-custom-lang-environments, where you'll be able to map the
Org mode language name to one recognized by the listings (or minted)
LaTeX package.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

Reply via email to