all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dushyant Juneja <juneja.dushyant@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: org-export-latex-verbatim-wrap error
Date: Thu, 19 Nov 2015 06:57:58 +0000	[thread overview]
Message-ID: <CAJkb0UMY_QtigmLXB0ypSRMx2SEM9dDADfw9D6o5qMXU4PDvFA@mail.gmail.com> (raw)
In-Reply-To: <CAJkb0UMGNRMj1D7sDRD82xpYKbB7G9Xv_Mp_=TQP0WsvKt2AXQ@mail.gmail.com>

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

Hi Rasmus,

Somehow, the replies never seem to reach my inbox. Some stubborn filter, I
guess.

> This variable doesn't exist since the switch to the ox export engine.

Thanks for the information on this one.

> For LaTeX exports, you can format src blocks using verbatim, minted or
the
> listings package.  See the docstring of org-latex-listings.

I could use listings for my application. However, there are a few issues:
1. (setq org-latex-listings 'listings) seems to take care only for src
blocks, not example blocks. The text between #+begin_example..#+end_example
is still exported to verbatim.

2. I am looking to 'frame' my lists, and possibly pass more options to the
listing environment. Is there a possibility to do this?

Please suggest a way out.

Dushyant


On Wed, Nov 18, 2015 at 8:05 PM Dushyant Juneja <juneja.dushyant@gmail.com>
wrote:

> Hi,
>
> The above variable seems to have no effect on verbatim environments in org
> mode 8.2.10. I tried Eric Schlute's example:
> ##############################
> ** simple latex verbatim wrap example
>    :PROPERTIES:
>    :DATE:     2011-05-05
>    :END:
> #+begin_src emacs-lisp :results silent
>   (setq org-export-latex-verbatim-wrap
>         '("{\\scriptsize\n\\begin{verbatim}\n" . "\\end{verbatim}\n}\n"))
> #+end_src
>
> #+begin_src sh
>   echo eric schulte
>   echo another
> #+end_src
> ################################
>
> This, however, renders as in the pic below for me. Any hints/help would be
> greatly appreciated - I am looking for using this in a report.
>
> Dushyant
> [image: pasted1]
>

[-- Attachment #2: pasted1 --]
[-- Type: image/png, Size: 15843 bytes --]

  parent reply	other threads:[~2015-11-19  6:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 14:35 org-export-latex-verbatim-wrap error Dushyant Juneja
2015-11-18 16:51 ` Rasmus
2015-11-19  6:57 ` Dushyant Juneja [this message]
2015-11-19 11:21   ` Rasmus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJkb0UMY_QtigmLXB0ypSRMx2SEM9dDADfw9D6o5qMXU4PDvFA@mail.gmail.com \
    --to=juneja.dushyant@gmail.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.