emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Tables and environment with parameters


From: Sébastien Vauban
Subject: [Orgmode] Re: Tables and environment with parameters
Date: Wed, 21 Jul 2010 21:22:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Carsten,

Carsten Dominik wrote:
> On Jul 12, 2010, at 9:49 PM, Sébastien Vauban wrote:
>> Carsten Dominik wrote:
>>>> Carsten Dominik wrote:
>>>>> On Jun 28, 2010, at 4:30 PM, Sébastien Vauban wrote:
>>>>>> Carsten Dominik wrote:
>>>>>>> On Jun 23, 2010, at 11:30 PM, Sébastien Vauban wrote:
>>>>>>>
>>>>>>>> Since one of the last updates -- I guess --, I now have a problem
>>>>>>>> exporting the tables: I see the meta-tags in the PDF output! Very
>>>>>>>> new...
>>>>>>
>>>>>> Though, in the meanwhile, note that this is not as bad as it could be:
>>>>>> in fact, I'd love to be able to print (when I want it, though) some of
>>>>>> the table meta-information, such as table name and formulas.
>>>>>>
>>>>>> That'd be great to see that, at certain times, in the output PDF --
>>>>>> would we be able to customize its font size or so.
>>>>>>
>>>>>> What do you think?
>>
>> What do you think of that idea for debugging purpose, or for giving more
>> info back to the reader?

Nobody reacted on this point. Does that mean it's useless?  Or is it still a
wished feature by others?  I would love to have, in many cases, the formulas
printed in very tiny characters just below the tables. What do you all think
of this?


>>>> What I called "meta-tags" are the two lines `#+ATTR_LaTeX:' and `#
>>>> +TBLFM:' that weren't visible in the PDF before... Maybe I should say
>>>> "table properties".
>>>>
>>>> So, as I said, for checking purpose, or for giving more information
>>>> (about the formulas) to the reader, that's no so bad to see that, when
>>>> asked for.
>>>>
>>>> Of course, it should be formatted properly, and not interpreted as pure
>>>> LaTeX. In my example, in the PDF, Brutes is written in subscript because
>>>> of the underscore in front of it.
>>>
>>> this might have been fixed, can you please check?
>>
>> Just updated ([2010-07-12 Mon 21:38]).
>>
>> Still not OK for the tables enclosed in =org-special-blocks=, well OK for
>> the other ones:
>
> This is now fixed, thank you for your report.

Yep, it works. Thanks a lot!!

Two remarks, though:

- the org-special-block must begin in column 0; otherwise, it fails.

- the faces applied inside the org-special-block are wrong:

--8<---------------cut here---------------start------------->8---
There are text properties here:
  font-lock-fontified  t
  font-lock-multiline  t
  fontified            t
  pabbrev-added        t
--8<---------------cut here---------------end--------------->8---

  The normal faces are not applied anymore for the lines ATTR_LaTeX and
  TBLNAME, among others.

  It should be:

--8<---------------cut here---------------start------------->8---
There are text properties here:
  face                 org-meta-line
  font-lock-fontified  t
  fontified            t
  pabbrev-added        t
--8<---------------cut here---------------end--------------->8---

  Example:

--8<---------------cut here---------------start------------->8---
#+BEGIN_changemargin {-4.2cm}{0cm}
    #+ATTR_LaTeX: align=lrrrrr
    #+TBLNAME: Autres_Frais_Pro_FNI
    |   |                                            | Invest. total (\EUR) |
    |---+--------------------------------------------+----------------------|
    |   | Documentation et formation                 |               147.50 |
    |   | Publicité (site Web : DNS + hosting 3 ans) |               214.25 |
    |---+--------------------------------------------+----------------------|
    |   | Total                                      |                      |
    | ^ |                                            |                      |
#+END_changemargin
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]