From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Misc. questions Date: Tue, 04 Oct 2016 10:50:28 -1000 Message-ID: References: <1475607776.3238953.745790809.290F05FA@webmail.messagingengine.com> <1475612782.3257332.745880921.28033510@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brWgO-00020V-Ro for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 16:51:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brWgJ-0004dU-OW for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 16:51:23 -0400 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:40910 helo=gproxy1.mail.unifiedlayer.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brWgJ-0004cO-JU for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 16:51:19 -0400 Received: from cmgw2 (cmgw3 [10.0.90.83]) by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id AA9221786AB for ; Tue, 4 Oct 2016 14:50:36 -0600 (MDT) In-reply-to: <1475612782.3257332.745880921.28033510@webmail.messagingengine.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Peter Davis Cc: emacs-orgmode 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