emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
To: carsten.dominik@gmail.com
Cc: emacs-orgmode@gnu.org, sp_us@yahoo.com
Subject: Re: Re: row and col spaning in table?
Date: Mon, 16 Aug 2010 14:24:00 -0700	[thread overview]
Message-ID: <20100816.142400.137582176.Takaaki.Ota@am.sony.com> (raw)
In-Reply-To: <62DFCAAE-CE93-460E-A4C2-8920029BD44B@gmail.com>

Mon, 16 Aug 2010 05:45:03 -0700: Carsten Dominik <carsten.dominik@gmail.com> wrote:

> 
> On Jul 28, 2010, at 8:28 PM, Srinivas wrote:
> 
> > Giovanni Ridolfi <giovanni.ridolfi <at> yahoo.it> writes:
> >
> >>
> >> David Hajage <dhajage <at> gmail.com> writes:
> >>
> >>> and I was wondering if row and col spaning was possible?
> >> Currently not.
> >> But, if this is your case, you should use the table.el package.
> >>
> >
> > For some reason, I haven't been able to get table.el to work  
> > properly during
> > the org-mode publish operation.
> >
> > Carsten had mentioned that this functionality had been fixed in the  
> > 6.36x
> > builds but I still haven't been able to get it to work. I would like  
> > to see a
> > work example, if you have one.
> >
> > Here is my sample file:
> >
> > ---- begin snip
> >
> > * sample table
> >
> > + ------+--------+
> > +-------+--------+
> > |       | file   |
> > +-------+--------+
> > + ------+--------+
> > |       |  file  |
> > + ------+        |
> > |  test |  test  |
> > + ------+--------+
> 
> What is this table above supposed to mean?
> 
> 
> > * Org mode table
> >
> > | Header 1 | Header 2 |
> > |----------+----------|
> > | R1 C1    | R1 C2    |
> > | R2 C1    | R2 C2    |
> > | R3 C1    | R3 C2    |
> 
> This org-mode table works fine.
> 
> >
> > * table.el table
> >
> > Following table has 1 multi column cell and 1 multi row cell.
> >
> > +----------+----------+
> > | Header 1 | Header 2 |
> > +----------+----------+
> > | R1 C1-2             |
> > +---------------------+
> > | R2 C1    | R2-3 C2  |
> > +----------+----------+
> > | R3 C1    |          |
> > +----------+----------+
> 
> This starts an infinite loop when trying to convert it to HTML.
> Org is simply calling the HTML converter in table.el, and that
> code gets stuck.  So  I think this is a bug in table.el - please
> contact the author of that package,
> 
>        Takaaki Ota <Takaaki.Ota@am.sony.com>

The above table is illegal from the table.el definition point of view.
The three way intersection between the cells "R1 C1-2", "R2 C1" and
"R2-3 C2" must be a '+' instead of a '-'.  I admit the current
implementation is inferior as it gets into infinite loop instead of
reporting this error.

-Tak

> 
> And report back here!
> 
> Thanks!
> 
> - Carsten
> 
> 
> 

  reply	other threads:[~2010-08-16 21:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 11:55 row and col spaning in table? David Hajage
2010-07-28  7:22 ` Giovanni Ridolfi
2010-07-28 18:28   ` Srinivas
2010-08-16 12:45     ` Carsten Dominik
2010-08-16 21:24       ` Tak Ota [this message]
2010-08-17  5:01         ` Carsten Dominik
2010-08-17 23:51           ` Srinivas
2010-08-18  7:32   ` Christian Moe
2010-08-18  7:58     ` David Hajage
2010-08-20 14:08     ` Carsten Dominik
2010-08-20 14:24       ` Christian Moe

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=20100816.142400.137582176.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sp_us@yahoo.com \
    /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).