emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Norman Walsh <ndw@nwalsh.com>
To: emacs-orgmode@gnu.org
Subject: Re: Confused about src vs example and LaTeX export
Date: Mon, 06 Jan 2020 09:43:45 +0000	[thread overview]
Message-ID: <m2mub0hqcu.fsf@nwalsh.com> (raw)
In-Reply-To: <87woa5oyak.fsf@ucl.ac.uk> (Eric Fraga's message of "Mon, 6 Jan 2020 07:10:28 +0000")

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

"Fraga, Eric" <e.fraga@ucl.ac.uk> 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 be ignored on SRC.
>
> Not for me.  I have lstlisting for both cases.

The trick turned out to be

  (setq org-latex-listings t)

I’ve written up a few more remarks here:

https://so.nwalsh.com/2020/01/05-latex

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | People tend to feel strongest about
http://nwalsh.com/            | those things they understand the least.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2020-01-06  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 10:53 Confused about src vs example and LaTeX export Norman Walsh
2020-01-06  7:10 ` Fraga, Eric
2020-01-06  9:43   ` Norman Walsh [this message]
2020-01-06 14:16     ` Fraga, Eric

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=m2mub0hqcu.fsf@nwalsh.com \
    --to=ndw@nwalsh.com \
    --cc=emacs-orgmode@gnu.org \
    /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).