From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Help with beamer environments + org-special-blocks! Date: Thu, 27 Jun 2013 17:31:47 +0200 Message-ID: <867ghf7eos.fsf@somewhere.org> References: <20130620080922.GA12128@panahar> <861u7pc723.fsf@somewhere.org> <87obatt068.fsf@gmail.com> <864ncj50qf.fsf@somewhere.org> <87y59vsqkm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Nicolas, Nicolas Goaziou wrote: > "Sebastien Vauban" writes: >> Nicolas Goaziou wrote: >>> The previous definition would become: >>> >>> '("textpos1" "w" "\\begin{textblock}%r \\visible %a {" "} \\end{textblock}") >>> >>> WDYT? >> >> I'm not sure to understand. Where would he put his options? Directly on the >> heading line, with no "text", then? >> >> Something like this: >> >> ** {10}(3,3) :textpos1: >> >> Contents to position >> at some (x,y) coordinates... > > Correct. I think this is quite elegant... With what you say below, we then have 3 different solutions (at least) for new environments: - the one above, where you add a new environment definition (but, then, it's kind of private for your own files; difficult to share) - the Org special blocks, ancient way, which you've fixed #+begin_myenv{2cm} Contents... #+end_myenv - the Org special blocks, new way, with the OPTIONS #+LaTeX_ATTR: :options {2cm} #+begin_myenv{2cm} Contents... #+end_myenv Now, a big question: outside the fact that some such "standards" (like "texpos1") would have to be added IMHO as default Beamer environments, what about standard LaTeX? I think normal, then, to wanna get that same behavior in the LaTeX backend. How to do that? I'm a bit puzzled by the differences to get some similar results... - In LaTeX, you have the inline tasks which can be used to insert blocks, but not the system where you create blocks by adding an "ignoreheading" heading, right? - In Beamer, we have both? And, for whatever reason (which must escape me), we tend to prefer the "ignoreheading" for closing a block. In my latest slides, I've been quite disturbed by how much "pure LaTeX" I've finally inserted in my slides, for inserting TikZ nodes to render boxes. I had the impression to write LaTeX inside an Org file; and that's not the right approach: - too much LaTeX tag overload, - no HTML equivalent for the contents of my boxes -- while, as presented here above for the "textpos", even in HTML, it'd be quite nice. - no Org syntax usable: inside my boxes (TikZ nodes), I had to use \textbf for bold, not the stars... Now, there are, once again, other extra solutions: MACRO and Org Babel calls. Too much solutions... >> What do you call a recent Org? I'm blocked on commit 26a9b02, from May 27th, >> as long as the #+SETUPFILE: bug is not fixed (fontification is broken). >> >> So, is that one (4 weeks old) a recent Org? > > No. I fixed it ten days ago (dffdc49). OK, thanks! Best regards, Seb -- Sebastien Vauban