From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: annoying behavior in orgtbl-mode
Date: Fri, 24 Feb 2017 12:01:57 -0500 [thread overview]
Message-ID: <87o9xry12y.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 87shn3y2q4.fsf@alphaville.usersys.redhat.com
Nick Dokos <ndokos@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>
>> Hi
>>
>> Please consider the following table in an org buffer
>>
>>
>>
>> |--------+-----+-----+-----+-----+-----+-----+-----+-----|
>> | Name | E1a | E1b | E1c | E1d | E2a | E2b | E2c | Res |
>> |--------+-----+-----+-----+-----+-----+-----+-----+-----|
>> | Brauer | 10 | 20 | 10 | 10 | 30 | 10 | 10 | 100 |
>> | Smith | 10 | 10 | | | | | | |
>>
>> #+TBLFM: $9=$2+$3+$4+$5+$6+$7+$8
>>
>> C-u C-u C-c C-c leads to
>>
>> |--------+-----+-----+-----+-----+-----+-----+-----+-----|
>> | Name | E1a | E1b | E1c | E1d | E2a | E2b | E2c | Res |
>> |--------+-----+-----+-----+-----+-----+-----+-----+-----|
>> | Brauer | 10 | 20 | 10 | 10 | 30 | 10 | 10 | 100 |
>> | Smith | 10 | 10 | | | | | | 20 |
>>
>> #+TBLFM: $9=$2+$3+$4+$5+$6+$7+$8
>>
>> Which is ok. When I do the same in a latex buffer using orgtbl-mode I
>> obtain
>>
>> \documentclass[12pt]{article}
>> \usepackage{comment}
>> \begin{document}
>>
>> % BEGIN RECEIVE ORGTBL test
>> \begin{tabular}{l|r|rrrrrrr}
>> \hline
>> Name & E1a & E1b & E1c & E1d & E2a & E2b & E2c & E1a + E1b + E1c + E1d + E2a + E2b + E2c\\ \hline
>> \hline
>> Brauer & 10 & 20 & 10 & 10 & 30 & 10 & 10 & 100\\ \hline
>> Smith & 10 & 10 & & & & & & 20\\ \hline
>> \end{tabular}
>> % END RECEIVE ORGTBL test
>> \begin{comment}
>> #+ORGTBL: SEND test orgtbl-to-latex :lend "\\\\ \\hline" :environment tabular
>> | / | <> | | | | | | | |
>> |--------+-----+-----+-----+-----+-----+-----+-----+-----------------------------------------|
>> | Name | E1a | E1b | E1c | E1d | E2a | E2b | E2c | E1a + E1b + E1c + E1d + E2a + E2b + E2c |
>> |--------+-----+-----+-----+-----+-----+-----+-----+-----------------------------------------|
>> | Brauer | 10 | 20 | 10 | 10 | 30 | 10 | 10 | 100 |
>> | Smith | 10 | 10 | | | | | | 20 |
>> #+TBLFM: $9=$2+$3+$4+$5+$6+$7+$8
>> \end{comment}
>>
>> \end{document}
>>
>>
>> Which is annoying. Is this a *bug*?
>>
>
> I'm missing something: what exactly is annoying?
NM - I was blind.
--
Nick
next prev parent reply other threads:[~2017-02-24 17:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-24 11:24 annoying behavior in orgtbl-mode Uwe Brauer
2017-02-24 16:26 ` Nick Dokos
2017-02-24 17:01 ` Nick Dokos [this message]
2017-02-24 17:20 ` Nick Dokos
2017-02-24 23:06 ` Uwe Brauer
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=87o9xry12y.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.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).