From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Francesco Pizzolante" Subject: Re: ATTR_LATEX not being applied on dynamic blocks Date: Wed, 04 Sep 2013 09:46:52 +0200 Message-ID: <87a9jtt4er.fsf@somewhere.org> References: <871u5653or.fsf@somewhere.org> <87a9jt3o2l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <87a9jt3o2l.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> (Nicolas Goaziou's message of "Tue, 03 Sep 2013 17:46:42 +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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: Nicolas Goaziou Cc: mailing-list-org-mode , Francesco Pizzolante Hi Nicolas, > Attributes are correctly applied to the block, but you want them to > apply on the inner table instead, which is different. Indeed, this is a better expression of what I want. > Correct syntax should be something along the lines of: > > #+BEGIN: clocktable :maxlevel 4 :scope file :block 2013-06 :lang "en" :narrow 80! :indent t > Clock summary at [2013-09-03 Tue 17:16], for June 2013. > #+ATTR_LATEX: :environment tabularx :width \linewidth :align Xrrr > | Headline | Time | | | > |---------------------+------+------+------| > | Total time | 6:07 | | | > |---------------------+------+------+------| > | Tasks | 6:07 | | | > | \__ Design | | 1:11 | | > | \_____ TODO Do this | | | 1:11 | > | \__ Develop | | 4:56 | | > | \_____ TODO Do that | | | 4:56 | > #+END: Well, you're probably right. But if I try what you suggest and move the #+ATTR_LATEX line inside the dynamic block (after the #+BEGIN: clocktable and just before the generated table), then this line gets lost as soon as the dynamic block is regenerated, which is not what I expect. With Org 7, having the #+ATTR_LATEX line just before the #+BEGIN: clocktable line applies the attributes to the inner table of the dynamic block and the #+ATTR_LATEX line is not lost each time I regenerate the dynamic block. Any other hint/solution for me? Thanks a lot for your help. Regards, Francesco