emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Eddward DeVilla <eddward@gmail.com>
Cc: Michael <wuolong@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Table questions
Date: Mon, 18 Dec 2006 10:39:32 +0100	[thread overview]
Message-ID: <2e0d22172cf3b7e6c936629ea9466569@science.uva.nl> (raw)
In-Reply-To: <b71b18520612150808y3fd6b184m85487e2d04d40f5c@mail.gmail.com>

I have no plans to make something as complicated as this work with
the orgtbl mode.  I agree it would be nice to have, but I would not know
where to start.

- Carsten


On Dec 15, 2006, at 17:08, Eddward DeVilla wrote:

> I'll follow this up with a few more wishes.  Could the table minor
> mode maybe be extended to allow the user to define delimiters?  Say
> draw a picture?
>
> struct hugeStaticTable initData = {
>  // Draw a picture
>  // ORG-ROW-DEF { /* key*/ $1 , /* name */ $2 , /* location */ {  /*
> x */ $3 , /* y */ $4 } , /* comment*/ $5 },
>  { /* key */ 0, /* name */ "Bob", /* location */ { /* x */ 10.0, /* y
> */ 3.2 }, /* comment */ "You know.  Bob!  Bob.  Good times... Good
> times..." }
>  { /* key */ 1, /* name */ "Joe", /* location */ { /* x */ 5.5, /* y
> */ 4.4 },  /* comment */ "One fine batter." }
>  ...
> };
>
> I code with a lot of static tables that are populated by hand.
> Keeping them formatted is critical to keeping the code maintainable.
> I'd think that this example might be too much for the table-minor
> mode, but if there were a way to at least define a row beginning, end
> and field separator, it might help.
>
> struct S d = {
>  // ORG-ROW-DEF '{'  ',' '}'
>  { f1 , f2 , f3 , f4 }
>  ....
>
> };
>
> On 12/14/06, Michael <wuolong@gmail.com> wrote:
>>
>> I recently started using org-mode and love its table feature.  Here 
>> are some
>> questions that I have:
>>
>> 1. In table calculation, how to refer to a cell in a different column 
>> and
>>    different row?  Specifically, I want column 8 row 5 to be the 
>> ratio of
>>    column 7 row 5 and column 7 row 4.
>>
>> 2. I think the table minor mode would be a fantastic tool in editing 
>> tables
>>    in a LaTeX file. I wonder whether it is possible to let orgtbl 
>> recognize
>>    \begin{tabular}\end{tabular} and use & as column delimiter rather 
>> than |
>>    (also respect end of line \\)?
>>
>> Thanks,
>>
>> Michael
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  parent reply	other threads:[~2006-12-18  9:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 16:19 Table questions Michael
2006-12-15 16:08 ` Eddward DeVilla
2006-12-15 18:15   ` Michael
2006-12-18  9:39   ` Carsten Dominik [this message]
2006-12-18  9:29 ` Carsten Dominik
2006-12-19 16:54   ` Michael
2006-12-19 22:28     ` Eddward DeVilla
2006-12-19 23:25       ` Carsten Dominik
2006-12-19 23:20     ` Carsten Dominik

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=2e0d22172cf3b7e6c936629ea9466569@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=eddward@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wuolong@gmail.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).