From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Matt Price <moptop99@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: What to use for tables with lengthy text in cells?
Date: Mon, 2 Mar 2015 15:16:52 -0800 [thread overview]
Message-ID: <alpine.OSX.2.00.1503021507580.1069@charles-berrys-macbook.local> (raw)
In-Reply-To: <CAN_Dec9Gt1j4X9D88+geBWMZ-=3uayZSsmGyA6Dzj=vm8v6W9Q@mail.gmail.com>
On Mon, 2 Mar 2015, Matt Price wrote:
> I have a project which will require me to enter about a paragraph in each
> of 5 fields several times a day. I would use org tables, but I need to be
> able to see the table contents in the buffer, and org hides long lines. I
> tried using table.el but it feels incredibly clumsy - for instance, I can't
> find a way to add a row to the end of the table, which seems crazy.
>
> I am wondering what other people do in this situation - I guess I could
> use a spreadsheet or an odt document but I would much rather stay in emacs
> if I can.
I sometimes use babel blocks for this purpose.
For example, with ob-org.el loaded, with this org file:
--8<---------------cut here---------------start------------->8---
#+NAME: abc
#+BEGIN_SRC org :exports none
This is chunk ~abc~.
#+END_SRC
Formatting via ascii:
#+BEGIN_SRC emacs-lisp :var x=abc() :exports results
(org-export-string-as x 'ascii t)
#+END_SRC
And plainly: call_abc()
--8<---------------cut here---------------end--------------->8---
export via ascii yields:
--8<---------------cut here---------------start------------->8---
Formatting via ascii:
,----
| This is chunk `abc'.
`----
And plainly: `This is chunk ~abc~.'
--8<---------------cut here---------------end--------------->8---
You can also use the noweb idiom to capture the contents of
any kind of src block.
HTH,
Chuck
next prev parent reply other threads:[~2015-03-02 23:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-02 21:12 What to use for tables with lengthy text in cells? Matt Price
2015-03-02 21:25 ` Rasmus
2015-03-02 23:16 ` Charles C. Berry [this message]
2015-03-03 18:08 ` Charles C. Berry
2015-03-03 19:19 ` Tory S. Anderson
2015-03-05 15:13 ` Jude DaShiell
2015-03-05 16:28 ` Skip Collins
2015-03-05 16:56 ` Tory S. Anderson
2015-03-05 17:31 ` Skip Collins
[not found] ` <CAN_Dec8Tt2w4KarPXk0fW2F9GXXczYNBuRkzQpirk83dDgv=SQ@mail.gmail.com>
2015-03-06 16:34 ` Skip Collins
2015-03-06 16:48 ` Tory S. Anderson
2015-03-06 17:47 ` Skip Collins
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=alpine.OSX.2.00.1503021507580.1069@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=moptop99@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).