From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: org-table: missing vertical boundary when exported Date: Sat, 7 Jun 2014 14:15:22 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec51a8bd2decb7b04fb4579fe Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtNxU-0001l3-Ri for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:15:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtNxT-0005r9-Ph for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:15:24 -0400 Received: from mail-vc0-x234.google.com ([2607:f8b0:400c:c03::234]:57473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtNxT-0005q5-Jl for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:15:23 -0400 Received: by mail-vc0-f180.google.com with SMTP id hq11so4699452vcb.25 for ; Sat, 07 Jun 2014 14:15:22 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --bcaec51a8bd2decb7b04fb4579fe Content-Type: text/plain; charset=UTF-8 Hi, I am following the manual example http://orgmode.org/worg/org-tutorials/tables.html. But the two vertical boundary line on the very left and right is not showing up when exported to html. Anything I am missing? Thanks. | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) | |---+----+-----+-----+-----+---------+------------| | / | <> | < | | > | < | > | | # | 1 | 1 | 1 | 1 | 1 | 1 | | # | 2 | 4 | 8 | 16 | 1.4142 | 1.1892 | | # | 3 | 9 | 27 | 81 | 1.7321 | 1.3161 | |---+----+-----+-----+-----+---------+------------| --bcaec51a8bd2decb7b04fb4579fe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0
=C2=A0 =C2=A0 I am following the manual exam= ple=C2=A0http= ://orgmode.org/worg/org-tutorials/tables.html. But the two vertical bou= ndary line on the very left and right=C2=A0
is not showing up when exported to html. =C2=A0Anything I am missing? = Thanks.=C2=A0


| =C2=A0 | =C2= =A0N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
|---+----+-----+-= ----+-----+---------+------------|
| / | <> | =C2=A0 < | =C2=A0 =C2=A0 | =C2=A0 > | =C2=A0 = =C2=A0 =C2=A0 < | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> |
| #= | =C2=A01 | =C2=A0 1 | =C2=A0 1 | =C2=A0 1 | =C2=A0 =C2=A0 =C2=A0 1 | =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01 |
| # | =C2=A02 | =C2=A0 4 | =C2= =A0 8 | =C2=A016 | =C2=A01.4142 | =C2=A0 =C2=A0 1.1892 |
| # | = =C2=A03 | =C2=A0 9 | =C2=A027 | =C2=A081 | =C2=A01.7321 | =C2=A0 =C2=A0 1.3= 161 |
|---+----+-----+-----+-----+---------+------------|
--bcaec51a8bd2decb7b04fb4579fe-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: org-table: missing vertical boundary when exported Date: Sat, 07 Jun 2014 23:40:44 +0200 Message-ID: <874mzws8ir.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtOMK-0003b2-C2 for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:41:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtOMD-0007tz-UC for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:41:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:34455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtOMD-0007td-OA for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:40:57 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WtOMC-0002g1-32 for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 23:40:56 +0200 Received: from g231235086.adsl.alicedsl.de ([92.231.235.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jun 2014 23:40:56 +0200 Received: from tjolitz by g231235086.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jun 2014 23:40:56 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Shiyuan writes: > Hi, > I am following the manual example > http://orgmode.org/worg/org-tutorials/tables.html. But the two > vertical boundary line on the very left and right > is not showing up when exported to html. Anything I am missing? > Thanks. > > | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) | > |---+----+-----+-----+-----+---------+------------| > | / | <> | < | | > | < | > | > | # | 1 | 1 | 1 | 1 | 1 | 1 | > | # | 2 | 4 | 8 | 16 | 1.4142 | 1.1892 | > | # | 3 | 9 | 27 | 81 | 1.7321 | 1.3161 | > |---+----+-----+-----+-----+---------+------------| Looks alright for me as html in emacs-w3m: +-------------------------------+ |N|N^2|N^3|N^4|sqrt(n)|sqrt^1(N)| |-+---+---+---+-------+---------| |1|1 |1 |1 |1 |1 | |-+---+---+---+-------+---------| |2|4 |8 |16 |1.4142 |1.1892 | |-+---+---+---+-------+---------| |3|9 |27 |81 |1.7321 |1.3161 | +-------------------------------+ Footnotes: ^1 DEFINITION NOT FOUND. Author: Thorsten Jolitz Created: 2014-06-07 Sa 23:38 Emacs 24.3.1 (Org mode 8.2.6) Validate -- cheers, Thorsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: org-table: missing vertical boundary when exported Date: Sat, 7 Jun 2014 15:02:08 -0700 Message-ID: References: <874mzws8ir.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b67594c1ec6f004fb46214e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtOgn-0008Vv-8b for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 18:02:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtOgj-0001ut-I2 for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 18:02:13 -0400 Received: from mail-vc0-x22d.google.com ([2607:f8b0:400c:c03::22d]:58229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtOgj-0001uf-Bd for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 18:02:09 -0400 Received: by mail-vc0-f173.google.com with SMTP id ik5so4798533vcb.32 for ; Sat, 07 Jun 2014 15:02:08 -0700 (PDT) In-Reply-To: <874mzws8ir.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org --047d7b67594c1ec6f004fb46214e Content-Type: text/plain; charset=UTF-8 I use Emacs 24.3.9, org 8.2.6. I viewed the html on Chrome/Firebox. I don't use emacs-w3m. But could it be the problem of browsers? Thanks. On Sat, Jun 7, 2014 at 2:40 PM, Thorsten Jolitz wrote: > Shiyuan writes: > > > Hi, > > I am following the manual example > > http://orgmode.org/worg/org-tutorials/tables.html. But the two > > vertical boundary line on the very left and right > > is not showing up when exported to html. Anything I am missing? > > Thanks. > > > > | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) | > > |---+----+-----+-----+-----+---------+------------| > > | / | <> | < | | > | < | > | > > | # | 1 | 1 | 1 | 1 | 1 | 1 | > > | # | 2 | 4 | 8 | 16 | 1.4142 | 1.1892 | > > | # | 3 | 9 | 27 | 81 | 1.7321 | 1.3161 | > > |---+----+-----+-----+-----+---------+------------| > > > Looks alright for me as html in emacs-w3m: > > +-------------------------------+ > |N|N^2|N^3|N^4|sqrt(n)|sqrt^1(N)| > |-+---+---+---+-------+---------| > |1|1 |1 |1 |1 |1 | > |-+---+---+---+-------+---------| > |2|4 |8 |16 |1.4142 |1.1892 | > |-+---+---+---+-------+---------| > |3|9 |27 |81 |1.7321 |1.3161 | > +-------------------------------+ > > Footnotes: > > ^1 > > DEFINITION NOT FOUND. > > Author: Thorsten Jolitz > > Created: 2014-06-07 Sa 23:38 > > Emacs 24.3.1 (Org mode 8.2.6) > > Validate > > > -- > cheers, > Thorsten > > > --047d7b67594c1ec6f004fb46214e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I use Emacs 24.3.9, org 8.2.6. I viewed the html on Chrome/Firebox. I don= 't use emacs-w3m. =C2=A0But could it be the problem of browsers? Thanks= .=C2=A0


On Sat,= Jun 7, 2014 at 2:40 PM, Thorsten Jolitz <tjolitz@gmail.com>= wrote:
Shiy= uan <gshy2014@gmail.com> wr= ites:

> Hi,
> I am following the manual example
> http://orgmode.org/worg/org-tutorials/tables.html. But the = two
> vertical boundary line on the very left and right
> is not showing up when exported to html. Anything I am missing?
> Thanks.
>
> | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
> |---+----+-----+-----+-----+---------+------------|
> | / | <> | < | | > | < | > |
> | # | 1 | 1 | 1 | 1 | 1 | 1 |
> | # | 2 | 4 | 8 | 16 | 1.4142 | 1.1892 |
> | # | 3 | 9 | 27 | 81 | 1.7321 | 1.3161 |
> |---+----+-----+-----+-----+---------+------------|


Looks alright for me as html in emacs-w3m:

+-------------------------------+
|N|N^2|N^3|N^4|sqrt(n)|sqrt^1(N)|
|-+---+---+---+-------+---------|
|1|1 =C2=A0|1 =C2=A0|1 =C2=A0|1 =C2=A0 =C2=A0 =C2=A0|1 =C2= =A0 =C2=A0 =C2=A0 =C2=A0|
|-+---+---+---+-------+---------|
|2|4 =C2=A0|8 =C2=A0|16 |1.4142 |1.1892 =C2=A0 |
|-+---+---+---+-------+---------|
|3|9 =C2=A0|27 |81 |1.7321 |1.3161 =C2=A0 |
+-------------------------------+

Footnotes:

^1

DEFINITION NOT FOUND.

Author: Thorsten Jolitz

Created: 2014-06-07 Sa 23:38

Emacs 24.3.1 (Org mode 8.2.6)

Validate


--
cheers,
Thorsten



--047d7b67594c1ec6f004fb46214e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: org-table: missing vertical boundary when exported Date: Sun, 08 Jun 2014 00:44:00 +0200 Message-ID: <87r430qr0v.fsf@gmail.com> References: <874mzws8ir.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtPLX-0001ut-CF for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 18:44:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtPLS-0006ho-1u for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 18:44:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:50741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtPLR-0006hh-MZ for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 18:44:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WtPLQ-0000PQ-1u for emacs-orgmode@gnu.org; Sun, 08 Jun 2014 00:44:12 +0200 Received: from g231235086.adsl.alicedsl.de ([92.231.235.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2014 00:44:12 +0200 Received: from tjolitz by g231235086.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2014 00:44:12 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Shiyuan writes: > I use Emacs 24.3.9, org 8.2.6. I viewed the html on Chrome/Firebox. I > don't use emacs-w3m. But could it be the problem of browsers? Thanks. hmm ... no idea, but I attach the html, so you can compare that. --=-=-= Content-Type: text/html Content-Disposition: inline; filename=test.html Content-Description: tbl.html tmp

tmp

N N2 N3 N4 sqrt(n) sqrt1(N)
1 1 1 1 1 1
2 4 8 16 1.4142 1.1892
3 9 27 81 1.7321 1.3161

Footnotes:

1

DEFINITION NOT FOUND.

Author: Thorsten Jolitz

Created: 2014-06-07 Sa 23:38

Emacs 24.3.1 (Org mode 8.2.6)

Validate

--=-=-= Content-Type: text/plain -- cheers, Thorsten --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: org-table: missing vertical boundary when exported Date: Tue, 10 Jun 2014 09:23:41 -0400 Message-ID: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuM1t-0005dy-W6 for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 09:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuM1o-0008WS-4y for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 09:23:57 -0400 Received: from mail.rickster.com ([204.62.15.78]:50317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuM1o-0008W0-2a for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 09:23:52 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Shiyuan Cc: emacs-orgmode@gnu.org On 2014-06-07 17:15, Shiyuan wrote: > =C2=A0 =C2=A0 I am following the manual > example=C2=A0http://orgmode.org/worg/org-tutorials/tables.html [1]. But= the > two vertical boundary line on the very left and right=C2=A0 > is not showing up when exported to html. =C2=A0Anything I am missing?=20 > Thanks.=C2=A0 My guess is that it is related to the css being used to style the table in your setup. Could you post a minimal example with the html output? rick From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: org-table: missing vertical boundary when exported Date: Tue, 10 Jun 2014 10:34:59 -0500 Message-ID: References: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuO4j-0002z0-DT for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 11:35:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuO4i-0001MN-Be for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 11:35:01 -0400 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:46119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuO4i-0001MB-6N for emacs-orgmode@gnu.org; Tue, 10 Jun 2014 11:35:00 -0400 Received: by mail-ob0-f169.google.com with SMTP id wp18so5205034obc.0 for ; Tue, 10 Jun 2014 08:34:59 -0700 (PDT) In-Reply-To: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Frankel Cc: emacs-orgmode , Shiyuan On Tue, Jun 10, 2014 at 8:23 AM, Rick Frankel wrote: > On 2014-06-07 17:15, Shiyuan wrote: >> >> I am following the manual >> example http://orgmode.org/worg/org-tutorials/tables.html [1]. But the >> two vertical boundary line on the very left and right >> is not showing up when exported to html. Anything I am missing? Thanks. > > > My guess is that it is related to the css being used to style the table > in your setup. Agreed. I just used `emacs -Q` with this minimal config: (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp/") (add-to-list 'load-path "~/.elisp/org.git/lisp/") Exporting the following simple table yields no vertical lines at all, just two horizontal lines at the top and bottom of the table: * test | | | | | A | B | C | | 1 | 2 | 3 | | a | b | c | If I use something like the old Worg css sheet, however, I get a box around the table: #+html_head: So, I believe it's related to the css. There's an entry in the Worg css like so: table { border: none; } So I'm guessing that can be changed (there's entries for td and th as well, which seem relevant). Now that I actually look at it, I don't know why the table has a box around it since all the borders say "none"... but I'm not a css guy :) John > > Could you post a minimal example with the html output? > > rick > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: org-table: missing vertical boundary when exported Date: Tue, 10 Jun 2014 22:34:44 -0700 Message-ID: References: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bd6ad4243a69904fb88cdb6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WubBO-0005tW-LI for emacs-orgmode@gnu.org; Wed, 11 Jun 2014 01:34:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WubBN-0004T2-Cv for emacs-orgmode@gnu.org; Wed, 11 Jun 2014 01:34:46 -0400 Received: from mail-ve0-x22b.google.com ([2607:f8b0:400c:c01::22b]:42407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WubBN-0004Su-6k for emacs-orgmode@gnu.org; Wed, 11 Jun 2014 01:34:45 -0400 Received: by mail-ve0-f171.google.com with SMTP id jz11so5787295veb.16 for ; Tue, 10 Jun 2014 22:34:44 -0700 (PDT) In-Reply-To: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Frankel Cc: emacs-orgmode@gnu.org --047d7bd6ad4243a69904fb88cdb6 Content-Type: text/plain; charset=UTF-8 Yes, it seems to be related to the browser or css style stuff. In fact, for the attached html in Thorsten's previous email, the two boundaries vertical lines are also missing in my Google Chrome or Firefox. Thanks. This is the example directed from copy-paste. | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) | |---+----+-----+-----+-----+---------+------------| | / | <> | < | | > | < | > | | # | 1 | 1 | 1 | 1 | 1 | 1 | | # | 2 | 4 | 8 | 16 | 1.4142 | 1.1892 | | # | 3 | 9 | 27 | 81 | 1.7321 | 1.3161 | |---+----+-----+-----+-----+---------+------------| This is my minimal config, Emacs start with '-Q -l "~/myorg.el" which is (package-initialize) (org-babel-do-load-languages 'org-babel-load-languages '((python . t) (emacs-lisp . t) (latex . t))) On Tue, Jun 10, 2014 at 6:23 AM, Rick Frankel wrote: > On 2014-06-07 17:15, Shiyuan wrote: > >> I am following the manual >> example http://orgmode.org/worg/org-tutorials/tables.html [1]. But the >> >> two vertical boundary line on the very left and right >> is not showing up when exported to html. Anything I am missing? Thanks. >> > > My guess is that it is related to the css being used to style the table > in your setup. > > Could you post a minimal example with the html output? > > rick > --047d7bd6ad4243a69904fb88cdb6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, it seems to be related to the browser or css sty= le stuff. =C2=A0In fact, for the attached html in =C2=A0Thorsten's prev= ious email, the two boundaries vertical lines are also missing in my Google= Chrome or Firefox. =C2=A0Thanks.=C2=A0

This is the example directed from copy-paste.=C2=A0

| =C2=A0 | =C2=A0N | N^2 | N^3 | N^4 | sqrt(n) |= sqrt[4](N) |
|---+----+-----+-----+-----+---------+------------|=
| / | <> | =C2=A0 < | =C2=A0 =C2=A0 | =C2=A0 > | =C2=A0 =C2=A0 = =C2=A0 < | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> |
| # | =C2= =A01 | =C2=A0 1 | =C2=A0 1 | =C2=A0 1 | =C2=A0 =C2=A0 =C2=A0 1 | =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A01 |
| # | =C2=A02 | =C2=A0 4 | =C2=A0 8 |= =C2=A016 | =C2=A01.4142 | =C2=A0 =C2=A0 1.1892 |
| # | =C2=A03 |= =C2=A0 9 | =C2=A027 | =C2=A081 | =C2=A01.7321 | =C2=A0 =C2=A0 1.3161 |
|---+----+-----+-----+-----+---------+------------|
Th= is is my minimal config, Emacs start with '-Q =C2=A0-l "~/myorg.el= " which is=C2=A0

(package-initialize)
(org-babel-do-load-languages
=C2=A0'org-babel-load-languages<= /div>
=C2=A0'((python . t)
=C2=A0 =C2=A0(emacs-lisp . t)<= /div>
=C2=A0 =C2=A0(latex . t)))

--047d7bd6ad4243a69904fb88cdb6-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: org-table: missing vertical boundary when exported Date: Sat, 9 Aug 2014 17:49:27 -0700 Message-ID: References: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b87414e7c7c3605003bcf14 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGHKF-0000hM-8S for emacs-orgmode@gnu.org; Sat, 09 Aug 2014 20:49:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGHKD-0008Bx-UG for emacs-orgmode@gnu.org; Sat, 09 Aug 2014 20:49:31 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:45541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGHKD-0008Bt-Ij for emacs-orgmode@gnu.org; Sat, 09 Aug 2014 20:49:29 -0400 Received: by mail-wg0-f52.google.com with SMTP id a1so6954092wgh.11 for ; Sat, 09 Aug 2014 17:49:27 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Frankel Cc: "emacs-orgmode@gnu.org" --047d7b87414e7c7c3605003bcf14 Content-Type: text/plain; charset=UTF-8 Hi, I learned a bit a about html/css and took another look the issue. It turns out that org-mode uses the border attribute which is not respected by my browser(Google Chrome version 36.0.1985.125 on Mac 10.9.4) . Org mode generated this line in the html for table but the border is not displayed, If we use css style to specify the border, the table border would show up:
Don't know why it is that. But is there any org keywords/properties I can specify so that Org would not use the border attribute but use the style attribute instead when exporting to html? Thanks. Shiyuan On Tue, Jun 10, 2014 at 10:34 PM, Shiyuan wrote: > Yes, it seems to be related to the browser or css style stuff. In fact, > for the attached html in Thorsten's previous email, the two boundaries > vertical lines are also missing in my Google Chrome or Firefox. Thanks. > > This is the example directed from copy-paste. > > | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) | > |---+----+-----+-----+-----+---------+------------| > | / | <> | < | | > | < | > | > | # | 1 | 1 | 1 | 1 | 1 | 1 | > | # | 2 | 4 | 8 | 16 | 1.4142 | 1.1892 | > | # | 3 | 9 | 27 | 81 | 1.7321 | 1.3161 | > |---+----+-----+-----+-----+---------+------------| > This is my minimal config, Emacs start with '-Q -l "~/myorg.el" which is > > (package-initialize) > (org-babel-do-load-languages > 'org-babel-load-languages > '((python . t) > (emacs-lisp . t) > (latex . t))) > > > > On Tue, Jun 10, 2014 at 6:23 AM, Rick Frankel wrote: > >> On 2014-06-07 17:15, Shiyuan wrote: >> >>> I am following the manual >>> example http://orgmode.org/worg/org-tutorials/tables.html [1]. But the >>> >>> two vertical boundary line on the very left and right >>> is not showing up when exported to html. Anything I am missing? Thanks. >>> >> >> My guess is that it is related to the css being used to style the table >> in your setup. >> >> Could you post a minimal example with the html output? >> >> rick >> > > --047d7b87414e7c7c3605003bcf14 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0
=C2=A0 =C2=A0 I learned a bit a about html/c= ss and took another look the issue. It turns out that org-mode uses the bor= der attribute which is not respected by my browser(Google Chrome version 36= .0.1985.125 on Mac 10.9.4) .=C2=A0

Org mode generated this line in the html for table but = the border is not displayed,=C2=A0
<table border=3D"2&quo= t; cellspacing=3D"0" cellpadding=3D"6" rules=3D"gr= oups" frame=3D"hsides">

If we use css style to specify the border, =C2=A0= the table border would show up:=C2=A0
<table style=3D"bor= der:2px" cellspacing=3D"0" cellpadding=3D"6" rules= =3D"groups" frame=3D"hsides">

Don't know why it is that. But is there any o= rg keywords/properties I can specify so that =C2=A0Org would not use the bo= rder =C2=A0attribute but use the style attribute instead when exporting to = html? Thanks.=C2=A0

Shiyuan =C2=A0



On Tue, Jun 10, 2014 at 10:= 34 PM, Shiyuan <gshy2014@gmail.com> wrote:
Yes, it seems to be re= lated to the browser or css style stuff. =C2=A0In fact, for the attached ht= ml in =C2=A0Thorsten's previous email, the two boundaries vertical line= s are also missing in my Google Chrome or Firefox. =C2=A0Thanks.=C2=A0

This is the example directed from copy-paste.=C2=A0

| =C2=A0 | =C2=A0N | N^2 | N^3 |= N^4 | sqrt(n) | sqrt[4](N) |
|---+----+-----+-----+-----+-------= --+------------|
| / | <> | =C2=A0 < | =C2=A0 =C2=A0 | =C2=A0 > | =C2=A0 =C2=A0 = =C2=A0 < | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> |
| # | =C2= =A01 | =C2=A0 1 | =C2=A0 1 | =C2=A0 1 | =C2=A0 =C2=A0 =C2=A0 1 | =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A01 |
| # | =C2=A02 | =C2=A0 4 | =C2=A0 8 |= =C2=A016 | =C2=A01.4142 | =C2=A0 =C2=A0 1.1892 |
| # | =C2=A03 |= =C2=A0 9 | =C2=A027 | =C2=A081 | =C2=A01.7321 | =C2=A0 =C2=A0 1.3161 |
|---+----+-----+-----+-----+---------+------------|
<= div>This is my minimal config, Emacs start with '-Q =C2=A0-l "~/my= org.el" which is=C2=A0

(package-initiali= ze)
(org-babel-do-load-languages
=C2=A0'org-babel-load-languages<= /div>
=C2=A0'((python . t)
=C2=A0 =C2=A0(emacs-lisp . t)<= /div>
=C2=A0 =C2=A0(latex . t)))


--047d7b87414e7c7c3605003bcf14-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: org-table: missing vertical boundary when exported Date: Mon, 11 Aug 2014 13:58:26 -0400 Message-ID: <20140811175826.GA67199@eyeBook> References: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGtrg-00004s-IA for emacs-orgmode@gnu.org; Mon, 11 Aug 2014 13:58:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGtrZ-0007q6-1i for emacs-orgmode@gnu.org; Mon, 11 Aug 2014 13:58:36 -0400 Received: from mail.rickster.com ([204.62.15.78]:36185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGtrY-0007pp-UN for emacs-orgmode@gnu.org; Mon, 11 Aug 2014 13:58:28 -0400 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Shiyuan Cc: "emacs-orgmode@gnu.org" On Sat, Aug 09, 2014 at 05:49:27PM -0700, Shiyuan wrote: > Hi,=C2 > =C2 =C2 I learned a bit a about html/css and took another look the i= ssue. It > turns out that org-mode uses the border attribute which is not respe= cted > by my browser(Google Chrome version 36.0.1985.125 on Mac 10.9.4) .=C2 > Org mode generated this line in the html for table but the border is= not > displayed,=C2 >
frame=3D"hsides"> The "border" attribute has nothing to do with it. It's the "frame" attrib= ute which sets the default top and bottom borders. > If we use css style to specify the border, =C2 the table border woul= d show > up:=C2 >
frame=3D"hsides"> No. The CSS should be in the header, not an attribute of the tag. Have yo= u tried setting the 'HTML_HEAD_EXTRA' option? somehting like: #+HTML_HEAD_EXTRA: rick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: org-table: missing vertical boundary when exported Date: Tue, 12 Aug 2014 21:46:25 -0700 Message-ID: References: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> <20140811175826.GA67199@eyeBook> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c37e4c762afb05007b7802 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHQSC-0007sT-DY for emacs-orgmode@gnu.org; Wed, 13 Aug 2014 00:46:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHQSB-0001UR-8e for emacs-orgmode@gnu.org; Wed, 13 Aug 2014 00:46:28 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:52898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHQSA-0001UN-Td for emacs-orgmode@gnu.org; Wed, 13 Aug 2014 00:46:27 -0400 Received: by mail-we0-f173.google.com with SMTP id q58so10879497wes.4 for ; Tue, 12 Aug 2014 21:46:25 -0700 (PDT) In-Reply-To: <20140811175826.GA67199@eyeBook> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Shiyuan , "emacs-orgmode@gnu.org" --001a11c37e4c762afb05007b7802 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rick, Do you mean that
and
don't mean the same thing? Their names suggest they do the same things. That's a terrible naming. Changing the former to the latter does fix the problem though. Why is that? Using the #+HTML_HEAD_EXTRA options as you suggest can also fix the problem. But could you explain why using the HTML_HEAD_EXTRA is more advisable than setting the
directly as table attributes? What would you suggest if we want some tables have orders and others don't have borders in the same html webpage? Thank you. Shiyuan > Org mode generated this line in the html for table but the border is > not > > displayed,=C3=82 > >
> frame=3D"hsides"> > > The "border" attribute has nothing to do with it. It's the "frame" > attribute > which sets the default top and bottom borders. > > > If we use css style to specify the border, =C3=82 the table border w= ould > show > > up:=C3=82 > >
rules=3D"groups" > > frame=3D"hsides"> > > No. The CSS should be in the header, not an attribute of the tag. Have yo= u > tried setting the 'HTML_HEAD_EXTRA' option? somehting like: > #+HTML_HEAD_EXTRA: > > > rick > --001a11c37e4c762afb05007b7802 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Rick,=C2=A0
=C2=A0 =C2=A0Do you mean that=C2=A0=C2=A0&= lt;table border=3D"2"> and <table style=3D"border:2px&= quot;> don't mean the same thing? Their names suggest they do the sa= me things. That's a terrible naming. Changing the former to the latter = does fix the problem though. Why is that?=C2=A0
=C2=A0 =C2=A0 =C2=A0
Using the #+HTML_HEAD_EXTRA options as = you suggest can also fix the problem. But could you explain why using the H= TML_HEAD_EXTRA is more advisable than setting the <table style=3D"b= order:2px"> directly as table attributes? What would you suggest if= we want some tables have orders and others don't have borders in the s= ame html webpage?=C2=A0

Thank you.=C2=A0

Shiyuan= =C2=A0


> =C2=A0 =C2=A0Org mode generated this line in the html for table b= ut the border is not
> =C2=A0 =C2=A0displayed,=C3=82
> =C2=A0 =C2=A0<table border=3D"2" cellspacing=3D"= ;0" cellpadding=3D"6" rules=3D"groups"
> =C2=A0 =C2=A0frame=3D"hsides">

The "border" attribute has nothing to do with it. It's = the "frame" attribute
which sets the default top and bottom borders.
=C2=A0<= /div>
> =C2=A0 =C2=A0If we use css style to specify the border, =C3=82 the tab= le border would show
> =C2=A0 =C2=A0up:=C3=82
> =C2=A0 =C2=A0<table style=3D"border:2px" cellspacing= =3D"0" cellpadding=3D"6" rules=3D"groups"
> =C2=A0 =C2=A0frame=3D"hsides">

No. The CSS should be in the header, not an attribute of the tag. Hav= e you
tried setting the 'HTML_HEAD_EXTRA' option? =C2=A0somehting like: #+HTML_HEAD_EXTRA: <style type=3D"text/css">
#+HTML_HEAD= _EXTRA: table {border-left: 1px solid black; border-right: 1px solid black;= }
#+HTML_HEAD_EXTRA: </style>

rick

--001a11c37e4c762afb05007b7802-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: org-table: missing vertical boundary when exported Date: Thu, 14 Aug 2014 10:16:13 -0400 Message-ID: <9a4475c57c945cc1264c4a69abfef214@mail.rickster.com> References: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> <20140811175826.GA67199@eyeBook> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHvpD-00078D-Uy for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 10:16:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHvp7-0007Dn-Qm for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 10:16:19 -0400 Received: from mail.rickster.com ([204.62.15.78]:44949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHvp7-0007Db-NM for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 10:16:13 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Shiyuan Cc: emacs-orgmode@gnu.org On 2014-08-13 00:46, Shiyuan wrote: > Rick,=C2=A0 > =C2=A0 =C2=A0Do you mean that=C2=A0=C2=A0
and > don't mean the same thing? Their names suggest they do the same > things. That's a terrible naming. Changing the former to the latter > does fix the problem though. Why is that?=C2=A0 Please read the HTML specifications for an explaination. By my reading border=3D"2" is in fact invalid in html5: The border attribute may be specified on a table element to explicitly indicate that the table element is not being used for layout purposes. If specified, the attribute's value must either be the empty string or the value "1". The attribute is used by certain user agents as an indication that borders should be drawn around cells of the table. In html4 it does seem to do the same thing: border =3D pixels [CN] This attributes specifies the width (in pixels only) of the frame around a table (see the Note below for more information about this attribute). > =C2=A0 =C2=A0 =C2=A0 > Using the #+HTML_HEAD_EXTRA options as you suggest can also fix the > problem. But could you explain why using the HTML_HEAD_EXTRA is more > advisable than setting the
directly as > table attributes? What would you suggest if we want some tables have > orders and others don't have borders in the same html webpage?=C2=A0 Use css selectors. If you want to set the style attribute directly on the table element in a post-processor you may, but is is not considered best practice.