emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juan Pechiar <pechiar@computer.org>
To: Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: use of org-export-latex-verbatim-wrap
Date: Wed, 26 May 2010 13:20:01 -0300	[thread overview]
Message-ID: <20100526162001.GA32657@soloJazz.com> (raw)

Trying to adjust the style for fixed-width sections in LaTeX export
(drawers in particular), I found org-latex.el defines a customizable
wrapper for verbatim sections:

   (defcustom org-export-latex-verbatim-wrap
     '("\\begin{verbatim}\n" . "\\end{verbatim}\n")
     "Environment to be wrapped around a fixed-width section in LaTeX
     export.
   This is a cons with two strings, to be added before and after the
   fixed-with text.

But this variable is _only_ used in org-exp.el in function
org-export-format-source-code-or-example

All other fixed-width latex generation uses explicit "\verbatim" text
instead of the wrapper variables.

Is this the only intended use for org-export-latex-verbatim-wrap?

If not, then I can look into this and provide a patch for using the
wrapper variable in all appropriate places.

Saludos,
.j.

             reply	other threads:[~2010-05-26 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26 16:20 Juan Pechiar [this message]
2010-05-28  6:55 ` use of org-export-latex-verbatim-wrap Carsten Dominik

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=20100526162001.GA32657@soloJazz.com \
    --to=pechiar@computer.org \
    --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).