emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Misc. questions


From: Thomas S. Dye
Subject: Re: [O] Misc. questions
Date: Tue, 04 Oct 2016 10:50:28 -1000
User-agent: mu4e 0.9.17; emacs 24.5.1

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

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