From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [ANN] ox-extras Date: Mon, 23 Jun 2014 10:29:23 -1000 Message-ID: References: <87wqccbgvj.fsf@gmail.com> <864mzghvcl.fsf@somewhere.org> <87ppi4t15s.fsf@nicolasgoaziou.fr> <87simzu6f4.fsf@nicolasgoaziou.fr> <87mwd624xg.fsf@gmail.com> <87simyk796.fsf@nicolasgoaziou.fr> <87tx7dbwqo.fsf@gmail.com> <87mwd5bt4o.fsf@gmail.com> <8738ev8klq.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzAs4-0004vK-T6 for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 16:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzAry-0001nu-MH for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 16:29:44 -0400 Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:44332) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WzAry-0001nD-Dk for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 16:29:38 -0400 In-Reply-To: <8738ev8klq.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 23 Jun 2014 21:57:37 +0200") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken Mankoff Cc: emacs-orgmode@gnu.org Aloha all, Nicolas Goaziou writes: > Hello, > > Aaron Ecay writes: > >> you will be able to use blocks of the following form: >> >> #+header: :header yes >> #+begin_latex >> \foo{} >> \bar{} >> #+end_latex >> >> These will be transformed so that the begin/end wrapper is removed and >> each line is prepended with #+latex_header: on export. They can be >> edited as latex code with the usual org-edit-special function (C-c '). > > Actually that's rather different than the suggestion in this thread, > which was to introduce a new type of block. > > This could be implemented in core, but it should use #+attr_latex > instead of #+header since this is latex related. +1. My use case is the one Ken mentioned earlier--customizing biblatex with Org mode header lines. I do this by googling and then experimenting with the code chunks I discover (I don't want to be a biblatex programmer). I format the code chunks now with a keyboard macro, which works but is more complex than I like. A construct like the one Aaron has implemented is handy in this situation. All the best, Tom -- Thomas S. Dye http://www.tsdye.com