From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Remaining document problems Date: Wed, 12 Oct 2016 12:35:55 -0400 Message-ID: <1476290155.2430300.753810137.5936312C@webmail.messagingengine.com> References: <1476284126.2405843.753686713.71418D96@webmail.messagingengine.com> <87vawxy3ta.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buMVe-0006Vc-Ou for emacs-orgmode@gnu.org; Wed, 12 Oct 2016 12:36:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buMVc-0003cT-Ib for emacs-orgmode@gnu.org; Wed, 12 Oct 2016 12:36:01 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buMVb-0003bs-Ck for emacs-orgmode@gnu.org; Wed, 12 Oct 2016 12:36:00 -0400 In-Reply-To: <87vawxy3ta.fsf@gmail.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: emacs-orgmode@gnu.org On Wed, Oct 12, 2016, at 11:39 AM, Nick Dokos wrote: > Peter Davis writes: > > > A. Source code listings > > > > 1) Source code blocks: Using > > > > #+BEGIN_SRC js > > > > works for HTML output, but not for LaTeX/PDF. It seems js is not > > understood by the listings package, and I have to use java. > > > > 2) Even with java, the output is pretty ugly. Any way to get some color > > in there? > > > > > > It shouldn't take much to define a language environment for listings: > > http://tex.stackexchange.com/questions/89574/language-option-supported-in-listings > > Maybe that helps? > Excellent! Thanks to this, I now have great looking JavaScript listings, and I can easily change the styling. Thank you, Nick! -pd -- Peter Davis www.techcurmudgeon.com