[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Remaining document problems
From: |
Peter Davis |
Subject: |
Re: [O] Remaining document problems |
Date: |
Wed, 12 Oct 2016 12:35:55 -0400 |
On Wed, Oct 12, 2016, at 11:39 AM, Nick Dokos wrote:
> Peter Davis <address@hidden> 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