On Wed, Oct 12, 2016, at 11:39 AM, Nick Dokos wrote: > Peter Davis <p...@pfdstudio.com> 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