Re: Confused about src vs example and LaTeX export

2020-01-06 Thread Fraga, Eric
On Monday, 6 Jan 2020 at 09:43, Norman Walsh wrote: > The trick turned out to be > > (setq org-latex-listings t) Ah, yes, that needs to be set. I changed the default so long ago now... Anyway, glad you figured it out. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-379-gff2bf2

Re: Confused about src vs example and LaTeX export

2020-01-06 Thread Norman Walsh
"Fraga, Eric" writes: > On Sunday, 5 Jan 2020 at 10:53, Norman Walsh wrote: >> In the simple case, both EXAMPLE and SRC export as {verbatim} >> environments; that’s fine as a default. In the second case, the >> ATTR_LATEX request for the {lstlisting} environment works on EXAMPLE >> but appears to

Re: Confused about src vs example and LaTeX export

2020-01-05 Thread Fraga, Eric
On Sunday, 5 Jan 2020 at 10:53, Norman Walsh wrote: > In the simple case, both EXAMPLE and SRC export as {verbatim} > environments; that’s fine as a default. In the second case, the > ATTR_LATEX request for the {lstlisting} environment works on EXAMPLE > but appears to be ignored on SRC. Not for

Confused about src vs example and LaTeX export

2020-01-05 Thread Norman Walsh
Hello again, I’m confused about the distinction between BEGIN_EXAMPLE and BEGIN_SRC and LaTeX export. I tend to use BEGIN_SRC more often because I’m taking advantage of Babel output. Consider this file: #+TITLE: Test Org File This is an example. * Simple environments #+BEGIN_EXAMPLE emacs-lis