all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Scott Otterson <scotto@u.washington.edu>
To: Emacs-orgmode@gnu.org
Subject: Re: Feature request: HTML table formatting
Date: Sat, 28 Apr 2007 18:51:06 -0700	[thread overview]
Message-ID: <4633FA0A.1000201@u.washington.edu> (raw)

I'll agree with Daniel that sometimes, it's useful to have vertical 
table separators.  Here's how I kind-of do it:

| asdlfj |   | alsjfdas |
|--------+---+----------|
| alsdjf |   | aqsljf   |
| asdljf |   | asldjf   |

This is visible enough inside of org-mode and it yields a widish gap in 
exported html -- it's a horizontal screen space waster, though.  I 
suppose one way to denote a vertical separator without adding an extra 
symbol would be to allow tables in org-mode that look like this:

| asdlfj || alsjfdas |
|--------++----------|
| alsdjf || aqsljf   |
| asdljf || asldjf   |

The exporter could then detect '||' and convert it to a vertical html line.

Scott
> Date: Fri, 13 Apr 2007 06:23:16 +0200
> From: Carsten Dominik <dominik@science.uva.nl>
>
> On Apr 12, 2007, at 20:48, Daniel J. Sinder wrote:
>   
>> >
>> > I think rejecting vertical rules as a matter of style is a mistake.
>> >  Whether you consider org-mode tables to be a markup or a
>> > spreadsheet, it's peers -- HTML, LaTeX, Gnumeric, Excel, etc. --
>> > will all produce tables with vertical rules if asked to do so.  I'm
>> > wary of tools that enforce style.  I'd prefer to read the style
>> > guide and then decide for myself (that is, use it as a *guide* not
>> > an edict).
>>     
>
> Fair enough.
>   
>> > However, if vertical rules are too clunky, difficult,
>> > time-consuming, or low priority to implement, that's an entirely
>> > different matter that I can fully understand.
>>     
>
> As I said, I don't want to have a special separator for this,
> implementation would be very cumbersome and I'd like
> to be able to have ! as a character in a table field.
> Maybe something like a special #+FORMAT line above the table
> to set special formatting directives.
>
> - Carsten

             reply	other threads:[~2007-04-29  1:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29  1:51 Scott Otterson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-04-11 23:17 Feature request: HTML table formatting Daniel J. Sinder
2007-04-12 11:20 ` Carsten Dominik
2007-04-12 12:21   ` Matej Cepl

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4633FA0A.1000201@u.washington.edu \
    --to=scotto@u.washington.edu \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.