Hello,

"Sebastien Vauban" <sva-news-D0wtAvR13HarG/idocf...@public.gmane.org>
writes:

> Vikas Rawal wrote:

>> For example, if I use the following:
>>
>> (add-to-list 'org-beamer-environments-extra
>>              '("textpos1" "w" "\\begin{textblock}%h \\visible %a {" "} 
>> \\end{textblock}"))
>>
>> and write the headline as {10}(3,3), I get \{10\}(3,3) in beamer
>> export rather than {10}(3,3).

I think we should changes some environment placeholders:

  + Introduce %r which would stand for the raw headline (without any
    processing)
  + %H and %U would use the raw headline text instead.

The previous definition would become:

  '("textpos1" "w" "\\begin{textblock}%r \\visible %a {" "} \\end{textblock}")

WDYT?

>   #+begin_myenvironment{3}                \#+begin\_myenvironment\{3\}
>   Test of a new                           Test of a new
>   environment.                            environment.
>   #+end_myenvironment                     \#+end\_myenvironment

This should work with a recent Org.

There is also:

  #+attr_latex: :options {3}
  #+begin_myenvironment
  Test of a new
  environment
  #+end_myenvironment


Regards,

-- 
Nicolas Goaziou


Reply via email to