From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Tables and environment with parameters Date: Wed, 23 Jun 2010 23:30:39 +0200 Message-ID: <87eifxjv28.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi, I'm filling my taxes now. Of course, using Org for keeping a trace of all computations and reasons of imputing this or that... Though, since one of the last updates -- I guess --, I now have a problem exporting such a table: --8<---------------cut here---------------start------------->8--- * Autres frais professionnels #+BEGIN_changemargin {-4.2cm}{0cm} #+TBLNAME: AutresFPNVE #+ATTR_LaTeX: align=3Dlrrrrr | | | Montant total (\EUR) | T= aux amort (\%) | Part pro. (\%) | D=C3=A9duc (\%) | NVE (\EUR) | |---+------------------------------------------+----------------------+--= ---------------+----------------+------------+------------| | | Documentation et formation | 51.05 | = | | | 0.00 | | | Communications GSM | 831.16 | = 100 | 25 | 100 | 207.79 | | | Internet (Dommel) | 167.88 | = 100 | 33 | 100 | 55.40 | | | Fournitures =C3=A0 amortir (ordinateur + GSM) | 762.5= 1 | 33 | 80 | 100 | 201.30 | | | Restaurant | 304.70 | = 100 | 100 | 69 | 210.24 | |---+------------------------------------------+----------------------+--= ---------------+----------------+------------+------------| | | Total | | = | | | 1062.02 | | ^ | | | = | | | Total | #+TBLFM: $7=3D$3*$4*$5*$6/1000000;%.2f::@2$3=3D51.05::@3$3=3D9.00+184.88+= 51.22+201.82+45.67+69.03+62.93+54.16+38.87+39.77+36.35+37.46::@4$3=3D12*13.= 99::@6$3=3D146.50+158.20;%.2f::@7$7=3Dvsum(@-I..@-II);%.2f #+END_changemargin Some text. --8<---------------cut here---------------end--------------->8--- 1. I see the meta-tags in the PDF output! Very new... 2. The `changemargin' environment is not correctly handled. See http://article.gmane.org/gmane.emacs.orgmode/25849 for more info. FYI, here is the code for `changemargin' in my default class: --8<---------------cut here---------------start------------->8--- % changing margins "on the fly" (in mid document) \newenvironment{changemargin}[2]% {\begin{list}{}{% \setlength{\topsep}{0pt}% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}% \setlength{\listparindent}{\parindent}% \setlength{\itemindent}{\parindent}% \setlength{\parsep}{\parskip}% }\item[]}% {\end{list}} --8<---------------cut here---------------end--------------->8--- Any confirmation of these problems as new? Best regards, Seb PS- Something not new, a bit annoying (even if detail): the `#+BEGIN_environment' "meta-tags" must begin at column 0. --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode