From: "Thomas S. Dye" <tsd@tsdye.com>
To: Peter Davis <pfd@pfdstudio.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Misc. questions
Date: Tue, 04 Oct 2016 10:50:28 -1000 [thread overview]
Message-ID: <m2r37vkfe3.fsf@tsdye.com> (raw)
In-Reply-To: <1475612782.3257332.745880921.28033510@webmail.messagingengine.com>
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
next prev parent reply other threads:[~2016-10-04 20:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 19:02 Misc. questions Peter Davis
2016-10-04 19:57 ` John Hendy
2016-10-04 20:26 ` Peter Davis
2016-10-04 20:50 ` Thomas S. Dye [this message]
2016-10-05 10:22 ` Colin Baxter
2016-10-04 19:58 ` Thomas S. Dye
2016-10-04 20:21 ` Stig Brautaset
2016-10-05 13:08 ` Peter Davis
2016-10-05 17:35 ` Peter Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2r37vkfe3.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=pfd@pfdstudio.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).