From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: What happened to clocktable in pdf export? Date: Fri, 25 Jul 2014 11:06:35 +0200 Message-ID: <87iomllsdg.fsf@nicolasgoaziou.fr> References: <87oazlpu2x.fsf@gmail.com> <53D100A3.9020600@web.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAbS7-0006ox-2P for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:06:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAbRw-0005jz-V0 for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:06:11 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:38196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAbRw-0005jo-Om for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:06:00 -0400 In-Reply-To: <53D100A3.9020600@web.de> (Buddy Butterfly's message of "Thu, 24 Jul 2014 14:48:35 +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: buddy.butterfly@web.de Cc: emacs-orgmode@gnu.org Hello, Buddy Butterfly writes: > 1. Even though the column separators are given in latex, they are not > printed > anymore. Only when using the org-table standard feature |<>|. But such > an additional line will be deleted after a clocktable refresh. This is because syntax has changed. Attributes specific to the table have to be inserted above the table, not above the dynamic block. What you really want is (note the differences in "attr_latex" line) #+BEGIN: clocktable :maxlevel 7 :scope tree3 :indent t #+ATTR_LATEX: :environment longtable :align l|r|r|r | Headline | Time | | | ... #+END: Since the table is auto generated, you have to send this line through the :header property: #+BEGIN: clocktable :maxlevel 7 :scope tree3 :indent t :header "#+attr_latex: :align l|r|r|r :environment longtable\n" ... #+END: Now you can also avoid using both "#+latex:" lines with appropriate properties: #+BEGIN: clocktable :maxlevel 7 :scope tree3 :indent t :header "#+attr_latex: :align l|r|r|r :environment longtable :center t :font \\footnotesize\n" ... #+END: Eventually you can also insert a caption with, e.g., #+BEGIN: clocktable :maxlevel 7 :scope tree3 :indent t :header "#+attr_latex: :align l|r|r|r :environment longtable :center t :font \\footnotesize\n#+caption: Clock summary at {{{time(%c)}}}\n" > > 2. The indentation underscores are printed, which did not come before. > Especially > this makes it ugly. Before the _ have not been exported. "\__" syntax doesn't exist anymore, so no exporter will recognize it. The replacement is "\emsp". I fixed it in maint. Thank you for reporting it. Regards, -- Nicolas Goaziou