emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill White <billw@wolfram.com>
To: Matthew Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: html export: row/column dividers in tables
Date: Tue, 31 Mar 2009 09:20:09 -0500	[thread overview]
Message-ID: <87k565wz8m.fsf@wolfram.com> (raw)
In-Reply-To: <87ab72xpwc.fsf@fastmail.fm> (Matthew Lundin's message of "Mon, 30 Mar 2009 23:44:19 -0500")

On Mon Mar 30 2009 at 23:44, Matthew Lundin <mdl@imapmail.org> wrote:

> Hi Bill, 
>
> If I understand your post correctly, I think this section of the manual
> will help to accomplish what you are looking for---i.e., the creation of
> special vertical lines in tables:
>
> http://orgmode.org/manual/Column-groups.html#Column-groups

Thanks, I'd missed that.

> Also you change the appearance of tables using css. 

I'll take a look.

Many thanks -

bw

> Best,
> Matt
>
> Bill White <billw@wolfram.com> writes:
>
>> I recently found a need for visible dividers (or "rules") between the
>> rows and columns of an org table exported to html.  The most recent
>> discussion of this that I could find on gmane was
>> http://article.gmane.org/gmane.emacs.orgmode/1709/match=table+rules+html
>> from 2007, which concluded that such rules weren't supported, so here's
>> a kludgey workaround I found today:
>>
>> #+BEGIN_HTML
>> <pre>
>> |----+----+----+----|
>> | a0 | b0 | c0 | d0 |
>> |----+----+----+----|
>> | a1 | b1 | c1 | d1 |
>> |----+----+----+----|
>> | a2 | b2 | c2 | d2 |
>> |----+----+----+----|
>> </pre>
>> #+END_HTML
>>
>> It isn't pretty, but it works when you really need visual separation of
>> rows and columns.  Here's what it looks like in real life:
>>
>> http://members.wolfram.com/billw/VerbatimTables.html
>>
>> BTW, here's how I got the org-mode code sample onto the webpage:
>>
>> #+begin_src org
>> #+BEGIN_HTML
>> <pre>
>> |----+----+----+----|
>> | a0 | b0 | c0 | d0 |
>> |----+----+----+----|
>> | a1 | b1 | c1 | d1 |
>> |----+----+----+----|
>> | a2 | b2 | c2 | d2 |
>> |----+----+----+----|
>> </pre>
>> #+END_HTML
>> #+end_src
>>
>> Cheers -
>>
>> bw
>
>


Cheers -

bw
-- 
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."

  reply	other threads:[~2009-03-31 14:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31  1:01 html export: row/column dividers in tables Bill White
2009-03-31  4:44 ` Matthew Lundin
2009-03-31 14:20   ` Bill White [this message]
2009-03-31 14:36     ` Carsten Dominik
2009-03-31 18:12       ` Bill White
2009-03-31 18:19         ` Carsten Dominik
2009-03-31 18:22         ` Nick Dokos

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=87k565wz8m.fsf@wolfram.com \
    --to=billw@wolfram.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).