emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Francesco Pizzolante" <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: Nicolas Goaziou <n.goaziou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: mailing-list-org-mode
	<public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org>,
	Francesco Pizzolante
	<public-fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY-wOFGN7rlS/M9smdsby/KFg@public.gmane.org>
Subject: Re: ATTR_LATEX not being applied on dynamic blocks
Date: Wed, 04 Sep 2013 09:46:52 +0200	[thread overview]
Message-ID: <87a9jtt4er.fsf@somewhere.org> (raw)
In-Reply-To: <87a9jt3o2l.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> (Nicolas Goaziou's message of "Tue, 03 Sep 2013 17:46:42 +0200")



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

  parent reply	other threads:[~2013-09-04  7:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 15:24 ATTR_LATEX not being applied on dynamic blocks Francesco Pizzolante
2013-09-03 15:46 ` Nicolas Goaziou
     [not found]   ` <87a9jt3o2l.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-04  7:46     ` Francesco Pizzolante [this message]
2013-09-04 11:41       ` Nicolas Goaziou
     [not found]         ` <878uzc4xwt.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-05  8:18           ` Francesco Pizzolante
2013-09-10 10:19             ` [PATCH] Allow caption and header text in clocktable dblocks Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9jtt4er.fsf@somewhere.org \
    --to=fpz-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=n.goaziou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org \
    --cc=public-fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY-wOFGN7rlS/M9smdsby/KFg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).