* visible row boundaries in html table export
@ 2007-02-10 17:32 Scott Otterson
2007-02-11 6:13 ` Carsten Dominik
0 siblings, 1 reply; 5+ messages in thread
From: Scott Otterson @ 2007-02-10 17:32 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 795 bytes --]
Here's a question, or maybe a feature request... Is there a way to make
table row boundaries show up in html exports? For example, when I
html-export a table like this:
| col 1 | col 2 | col 3 |
|-------+-------+-------|
| a | a | a |
| a | a | a |
|-------+-------+-------|
| b | b | b |
| b | b | b |
I get a table like this:
col 1 col 2 col 3
a a a
a a a
b b b
b b b
In the html export, the boundaries between groups of rows has
disappeared. Is there a way to make the html export look more like
what's displayed within org mode? Ideally, there would be some kind of
distinct line below the column header row, and also between the 'a' and
'b' row groups.
Thanks,
Scott
[-- Attachment #1.2: Type: text/html, Size: 1910 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: visible row boundaries in html table export
2007-02-10 17:32 visible row boundaries in html table export Scott Otterson
@ 2007-02-11 6:13 ` Carsten Dominik
2007-02-11 8:06 ` goud-H
0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2007-02-11 6:13 UTC (permalink / raw)
To: Scott Otterson; +Cc: emacs-orgmode
What would the HTML code look like?
- Carsten
On Feb 10, 2007, at 18:32, Scott Otterson wrote:
> Here's a question, or maybe a feature request... Is there a way to
> make table row boundaries show up in html exports? For example, when
> I html-export a table like this:
>
>
> | col 1 | col 2 | col 3 |
> |-------+-------+-------|
> | a | a | a |
> | a | a | a |
> |-------+-------+-------|
> | b | b | b |
> | b | b | b |
>
>
> I get a table like this:
>
>> col 1
>> col 2
>> col 3
>> a
>> a
>> a
>> a
>> a
>> a
>> b
>> b
>> b
>> b
>> b
>> b
>
> In the html export, the boundaries between groups of rows has
> disappeared. Is there a way to make the html export look more like
> what's displayed within org mode? Ideally, there would be some kind
> of distinct line below the column header row, and also between the 'a'
> and 'b' row groups.
>
> Thanks,
>
> Scott
>
>
>
>
> _______________________________________________
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: visible row boundaries in html table export
2007-02-11 6:13 ` Carsten Dominik
@ 2007-02-11 8:06 ` goud-H
2007-02-11 14:24 ` goud-H
0 siblings, 1 reply; 5+ messages in thread
From: goud-H @ 2007-02-11 8:06 UTC (permalink / raw)
To: emacs-orgmode
> What would the HTML code look like?
>
> - Carsten
>
<html>
<body>
<table border=1>
<tr>
<td>col 1</td>
<td>col 2</td>
<td>col 3</td>
</tr>
<tr>
<td>a<br>a</td>
<td>a<br>a</td>
<td>a<br>a</td>
</tr>
<tr>
<td>b<br>b</td>
<td>b<br>b</td>
<td>b<br>b</td>
</tr>
</table>
</body>
</html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: visible row boundaries in html table export
2007-02-11 8:06 ` goud-H
@ 2007-02-11 14:24 ` goud-H
0 siblings, 0 replies; 5+ messages in thread
From: goud-H @ 2007-02-11 14:24 UTC (permalink / raw)
To: emacs-orgmode
goud-H <deniseborowy <at> aol.com> writes:
> > What would the HTML code look like?
> >
> > - Carsten
merging the content of 2 rows can only be avoided
by defining table border rules,
unfortunately this gives lines below groups of 2 rows,
but no lines in between the colums.
<html>
<body>
<table border rules=groups>
<thead>
<tr>
<td>col 1</td>
<td>col 1</td>
<td>col 3</td>
</tr>
</thead>
<tbody>
<tr>
<td>a1</td>
<td>a1</td>
<td>a1</td>
</tr>
<tr>
<td>a2</td>
<td>a2</td>
<td>a2</td>
</tr>
</tbody>
<tbody>
<tr>
<td>b1</td>
<td>b1</td>
<td>b1</td>
</tr><tr>
<td>b2</td>
<td>b2</td>
<td>b2</td>
</tr>
</tbody>
</table>
</body>
</html>
a feasible way could be to insert extra colums with "|" as content.
however, not very nice...
<html>
<body>
<table border rules=groups>
<thead>
<tr>
<td>col 1</td>
<td>|</td>
<td>col 1</td>
<td>|</td>
<td>col 3</td>
</tr>
</thead>
<tbody>
<tr>
<td>a1</td>
<td>|</td>
<td>a1</td>
<td>|</td>
<td>a1</td>
</tr>
<tr>
<td>a2</td>
<td>|</td>
<td>a2</td>
<td>|</td>
<td>a2</td>
</tr>
</tbody>
<tbody>
<tr>
<td>b1</td>
<td>|</td>
<td>b1</td>
<td>|</td>
<td>b1</td>
</tr>
<tr>
<td>b2</td>
<td>|</td>
<td>b2</td>
<td>|</td>
<td>b2</td>
</tr>
</tbody>
</table>
</body>
</html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: visible row boundaries in html table export
[not found] <200702111425.l1BEPcc1013412@bp34.u.washington.edu>
@ 2007-02-11 17:46 ` Scott Otterson
0 siblings, 0 replies; 5+ messages in thread
From: Scott Otterson @ 2007-02-11 17:46 UTC (permalink / raw)
To: emacs-orgmode; +Cc: goud-H
Yes, that'll work. Thanks!
Scott
From: goud-H <deniseborowy@aol.com>
> > What would the HTML code look like?
> >
> > - Carsten
> >
>
>
> <html>
> <body>
>
> <table border=1>
>
> <tr>
> <td>col 1</td>
> <td>col 2</td>
> <td>col 3</td>
> </tr>
>
> <tr>
> <td>a<br>a</td>
> <td>a<br>a</td>
> <td>a<br>a</td>
> </tr>
>
> <tr>
> <td>b<br>b</td>
> <td>b<br>b</td>
> <td>b<br>b</td>
> </tr>
>
> </table>
>
> </body>
> </html>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-11 17:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-10 17:32 visible row boundaries in html table export Scott Otterson
2007-02-11 6:13 ` Carsten Dominik
2007-02-11 8:06 ` goud-H
2007-02-11 14:24 ` goud-H
[not found] <200702111425.l1BEPcc1013412@bp34.u.washington.edu>
2007-02-11 17:46 ` Scott Otterson
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).