emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* quote, quotation environments in org beamer export just comment text out.
@ 2013-08-20 20:47 Ratish Punnoose
  2013-08-21  7:53 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Ratish Punnoose @ 2013-08-20 20:47 UTC (permalink / raw)
  To: emacs-orgmode

Is there a reason that quote, quotation, verse, environments during export 
to tex just comment their contents.

As you can see, they precede the text with "%%"  which causes latex to 
ignore their contents.

This is an extract from ox-beamer.el

Thanks
Ratish

From ox-beamer.el
--------------
(defconst org-beamer-environments-default
  '(("block"          "b" "\\begin{block}%a{%h}"          "\\end{block}")
    ("alertblock"     "a" "\\begin{alertblock}%a{%h}"     
"\\end{alertblock}")
    ("verse"          "v" "\\begin{verse}%a %% %h"        "\\end{verse}")
    ("quotation"      "q" "\\begin{quotation}%a %% %h"    
"\\end{quotation}")
    ("quote"          "Q" "\\begin{quote}%a %% %h"        "\\end{quote}")
    ("structureenv"   "s" "\\begin{structureenv}%a %% %h" 
"\\end{structureenv}")
    ("theorem"        "t" "\\begin{theorem}%a%U"          "\\end{theorem}")
    ("definition"     "d" "\\begin{definition}%a%U"       
"\\end{definition}")
    ("example"        "e" "\\begin{example}%a%U"          "\\end{example}")
    ("exampleblock"   "E" "\\begin{exampleblock}%a{%h}"   
"\\end{exampleblock}")
    ("proof"          "p" "\\begin{proof}%a%U"            "\\end{proof}")
    ("beamercolorbox" "o" "\\begin{beamercolorbox}%o{%h}" 
"\\end{beamercolorbox}"))  "Environments triggered by properties in Beamer 
export.
-----------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: quote, quotation environments in org beamer export just comment text out.
  2013-08-20 20:47 quote, quotation environments in org beamer export just comment text out Ratish Punnoose
@ 2013-08-21  7:53 ` Nicolas Goaziou
  2013-08-21 16:07   ` Ratish Punnoose
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-08-21  7:53 UTC (permalink / raw)
  To: Ratish Punnoose; +Cc: emacs-orgmode

Hello,

Ratish Punnoose <ratish@gmail.com> writes:

> Is there a reason that quote, quotation, verse, environments during export 
> to tex just comment their contents.

Contents are not commented out, only the headline text is.

Such environments do not accept any argument, but headline text is still
inserted in the buffer as a comment, for information.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: quote, quotation environments in org beamer export just comment text out.
  2013-08-21  7:53 ` Nicolas Goaziou
@ 2013-08-21 16:07   ` Ratish Punnoose
  0 siblings, 0 replies; 3+ messages in thread
From: Ratish Punnoose @ 2013-08-21 16:07 UTC (permalink / raw)
  To: emacs-orgmode

Thanks much for the explanation.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-21 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-20 20:47 quote, quotation environments in org beamer export just comment text out Ratish Punnoose
2013-08-21  7:53 ` Nicolas Goaziou
2013-08-21 16:07   ` Ratish Punnoose

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).