emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* tables on org-mode.
@ 2013-12-26 14:25 Sharon Kimble
  2013-12-26 15:45 ` Sharon Kimble
  0 siblings, 1 reply; 9+ messages in thread
From: Sharon Kimble @ 2013-12-26 14:25 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Two questions about tables in org-mode.

I have this as row 1 of a table -
|Time on HRT |Breast Cancers Diagnosed During 20 Years Between the Ages
of 50-50 Years |Extra Breast Cancers |
How do I keep all the other rows in that table keep that formatting
when the document is exported please?

And, following on, how do I get visible cell boundaries showing in that
table please? So that each table has a visible border, as does each
cell?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-26 14:25 tables on org-mode Sharon Kimble
@ 2013-12-26 15:45 ` Sharon Kimble
  2013-12-26 16:15   ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Sharon Kimble @ 2013-12-26 15:45 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 2098 bytes --]

On Thu, 26 Dec 2013 14:25:12 +0000
Sharon Kimble <boudiccas@talktalk.net> wrote:

> Two questions about tables in org-mode.
> 
> I have this as row 1 of a table -
> |Time on HRT |Breast Cancers Diagnosed During 20 Years Between the
> Ages of 50-50 Years |Extra Breast Cancers |
> How do I keep all the other rows in that table keep that formatting
> when the document is exported please?
> 
> And, following on, how do I get visible cell boundaries showing in
> that table please? So that each table has a visible border, as does
> each cell?

This in org-mode -
** Table 1. Breast Cancer and Hormone Replacement Therapy: Results From the Reanalysis of Epidemiologic Studies by The Collaborative Group On Hormonal Factors in Breast Cancer.
| Time on HRT   | Breast Cancers Diagnosed During 20 Years Between the Ages of 50-50 Years | Extra Breast Cancers |
|---------------+--------------------------------------------------------------------------+----------------------|
| /             | <                                                                        | >                    |
| Never         | 45/1000                                                                  | -                    |
| Used 5 years  | 47/1000                                                                  | 2/1000               |
| Used 10 years | 51/1000                                                                  | 6/1000               |
| Used 15 years | 57/1000                                                                  | 12/1000              |
/Data from Beral V. Lancet. 1997;350:1047-1059.(3)/

Shows up when exported as this section of a screenshot (attached),
where it can clearly be seen as unaligned and with no visible cell
borders.

So how do I get them both please?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944

[-- Attachment #1.2: Screenshot - 261213 - 15:41:51.png --]
[-- Type: image/png, Size: 28589 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-26 15:45 ` Sharon Kimble
@ 2013-12-26 16:15   ` Nicolas Goaziou
  2013-12-26 18:27     ` Sharon Kimble
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2013-12-26 16:15 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: emacs-orgmode@gnu.org

Hello,

Sharon Kimble <boudiccas@talktalk.net> writes:

> This in org-mode -
> ** Table 1. Breast Cancer and Hormone Replacement Therapy: Results From the Reanalysis of Epidemiologic Studies by The Collaborative Group On Hormonal Factors in Breast Cancer.
> | Time on HRT   | Breast Cancers Diagnosed During 20 Years Between the Ages of 50-50 Years | Extra Breast Cancers |
> |---------------+--------------------------------------------------------------------------+----------------------|
> | /             | <                                                                        | >                    |
> | Never         | 45/1000                                                                  | -                    |
> | Used 5 years  | 47/1000                                                                  | 2/1000               |
> | Used 10 years | 51/1000                                                                  | 6/1000               |
> | Used 15 years | 57/1000                                                                  | 12/1000              |
> /Data from Beral V. Lancet. 1997;350:1047-1059.(3)/
>
> Shows up when exported as this section of a screenshot (attached),
> where it can clearly be seen as unaligned and with no visible cell
> borders.
>
> So how do I get them both please?

What Org version do you use? I cannot reproduce it in 8.2.4.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-26 16:15   ` Nicolas Goaziou
@ 2013-12-26 18:27     ` Sharon Kimble
  2013-12-26 19:42       ` Sharon Kimble
  0 siblings, 1 reply; 9+ messages in thread
From: Sharon Kimble @ 2013-12-26 18:27 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]

On Thu, 26 Dec 2013 17:15:47 +0100
Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
> 
> Sharon Kimble <boudiccas@talktalk.net> writes:
> 
> > This in org-mode -
> > ** Table 1. Breast Cancer and Hormone Replacement Therapy: Results
> > From the Reanalysis of Epidemiologic Studies by The Collaborative
> > Group On Hormonal Factors in Breast Cancer. | Time on HRT   |
> > Breast Cancers Diagnosed During 20 Years Between the Ages of 50-50
> > Years | Extra Breast Cancers |
> > |---------------+--------------------------------------------------------------------------+----------------------|
> > | /             |
> > <
> > | >                    | | Never         |
> > 45/1000
> > | -                    | | Used 5 years  |
> > 47/1000
> > | 2/1000               | | Used 10 years |
> > 51/1000
> > | 6/1000               | | Used 15 years |
> > 57/1000
> > | 12/1000              | /Data from Beral V. Lancet.
> > 1997;350:1047-1059.(3)/
> >
> > Shows up when exported as this section of a screenshot (attached),
> > where it can clearly be seen as unaligned and with no visible cell
> > borders.
> >
> > So how do I get them both please?
> 
> What Org version do you use? I cannot reproduce it in 8.2.4.
> 
I would've said "the current git version" which has been regularly
updated since the end of November. But, I looked in my .emacs file and
I couldn’t find it! So it now says - 
;;(add-to-list 'load-path "/home/boudiccas/git/org-mode")
(require 'org-mode)
(add-hook 'org-mode-hook 'turn-on-font-lock)

And I found out that it wasn’t compiled so that’s now done as -
sudo emacs -batch -Q -L lisp -l /home/boudiccas/git/org-mode/mk/org-fixup -f rg-make-autoloads-compile

But I still have the same problem when exporting via org2blog. The
relevant url is
http://test.tgmeds.org.uk/2013/12/26/postmenopausal-hormone-replacement-therapy-and-breast-cancer/
This shows the finished org-mode -> org2blog posting, but the tables
just aren't coming through properly.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-26 18:27     ` Sharon Kimble
@ 2013-12-26 19:42       ` Sharon Kimble
  2013-12-27  9:04         ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Sharon Kimble @ 2013-12-26 19:42 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: emacs-orgmode@gnu.org, Nicolas Goaziou

[-- Attachment #1: Type: text/plain, Size: 2727 bytes --]

On Thu, 26 Dec 2013 18:27:21 +0000
Sharon Kimble <boudiccas@talktalk.net> wrote:

> On Thu, 26 Dec 2013 17:15:47 +0100
> Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> 
> > Hello,
> > 
> > Sharon Kimble <boudiccas@talktalk.net> writes:
> > 
> > > This in org-mode -
> > > ** Table 1. Breast Cancer and Hormone Replacement Therapy: Results
> > > From the Reanalysis of Epidemiologic Studies by The Collaborative
> > > Group On Hormonal Factors in Breast Cancer. | Time on HRT   |
> > > Breast Cancers Diagnosed During 20 Years Between the Ages of 50-50
> > > Years | Extra Breast Cancers |
> > > |---------------+--------------------------------------------------------------------------+----------------------|
> > > | /             |
> > > <
> > > | >                    | | Never         |
> > > 45/1000
> > > | -                    | | Used 5 years  |
> > > 47/1000
> > > | 2/1000               | | Used 10 years |
> > > 51/1000
> > > | 6/1000               | | Used 15 years |
> > > 57/1000
> > > | 12/1000              | /Data from Beral V. Lancet.
> > > 1997;350:1047-1059.(3)/
> > >
> > > Shows up when exported as this section of a screenshot (attached),
> > > where it can clearly be seen as unaligned and with no visible cell
> > > borders.
> > >
> > > So how do I get them both please?
> > 
> > What Org version do you use? I cannot reproduce it in 8.2.4.
> > 
> I would've said "the current git version" which has been regularly
> updated since the end of November. But, I looked in my .emacs file and
> I couldn’t find it! So it now says - 
> ;;(add-to-list 'load-path "/home/boudiccas/git/org-mode")
> (require 'org-mode)
> (add-hook 'org-mode-hook 'turn-on-font-lock)
> 
> And I found out that it wasn’t compiled so that’s now done as -
> sudo emacs -batch -Q -L lisp
> -l /home/boudiccas/git/org-mode/mk/org-fixup -f
> rg-make-autoloads-compile
> 
> But I still have the same problem when exporting via org2blog. The
> relevant url is
> http://test.tgmeds.org.uk/2013/12/26/postmenopausal-hormone-replacement-therapy-and-breast-cancer/
> This shows the finished org-mode -> org2blog posting, but the tables
> just aren't coming through properly.
> 
It appears that I have 'org' installed from git, but also from a package
Org-mode version 8.2.4 (8.2.4-17-gfc3857-elpa @ /home/boudiccas/.emacs.d/elpa/org-20131223/)

So how do I just use the git version please?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-26 19:42       ` Sharon Kimble
@ 2013-12-27  9:04         ` Nicolas Goaziou
  2013-12-27 10:24           ` Sharon Kimble
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2013-12-27  9:04 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: emacs-orgmode@gnu.org

Hello,

Sharon Kimble <boudiccas@talktalk.net> writes:

> It appears that I have 'org' installed from git, but also from a package
> Org-mode version 8.2.4 (8.2.4-17-gfc3857-elpa @ /home/boudiccas/.emacs.d/elpa/org-20131223/)
>
> So how do I just use the git version please?

Just make sure it appears first in your `load-path'. Anyway, both
versions should export the table correctly.

Would you mind providing a simple table with column groups and the
resulting HTML code you obtain (not using org2blog, just regular Org)?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-27  9:04         ` Nicolas Goaziou
@ 2013-12-27 10:24           ` Sharon Kimble
  2013-12-27 11:26             ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Sharon Kimble @ 2013-12-27 10:24 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 980 bytes --]

On Fri, 27 Dec 2013 10:04:03 +0100
Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
> 
> Sharon Kimble <boudiccas@talktalk.net> writes:
> 
> > It appears that I have 'org' installed from git, but also from a
> > package Org-mode version 8.2.4 (8.2.4-17-gfc3857-elpa
> > @ /home/boudiccas/.emacs.d/elpa/org-20131223/)
> >
> > So how do I just use the git version please?
> 
> Just make sure it appears first in your `load-path'. Anyway, both
> versions should export the table correctly.
> 
> Would you mind providing a simple table with column groups and the
> resulting HTML code you obtain (not using org2blog, just regular Org)?
> 
Hope this is okay for you?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944

[-- Attachment #1.2: test.html --]
[-- Type: text/html, Size: 6013 bytes --]

[-- Attachment #1.3: test.org --]
[-- Type: application/octet-stream, Size: 441 bytes --]

#-*- mode: org -*-
#+STARTUP: showall


| *Oral*                      |                 |
|-----------------------------+-----------------|
| /                           | < >             |
| Conjugated equine estrogens | 0.625 mg/day    |
| Estrogen sulphate           | 1.5 mg/day      |
| Estradiol                   | 1.2 mg/day      |
| *Transdermal*               | 0.05 mg/day     |
| *Implant*                   | 50 mg 6-monthly |


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-27 10:24           ` Sharon Kimble
@ 2013-12-27 11:26             ` Nicolas Goaziou
  2013-12-27 23:15               ` Sharon Kimble
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2013-12-27 11:26 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: emacs-orgmode@gnu.org

Sharon Kimble <boudiccas@talktalk.net> writes:

  #-*- mode: org -*-

You need a space after the hash character in order to make it a valid
comment.

  #+STARTUP: showall

  | *Oral*                      |                 |
  |-----------------------------+-----------------|
  | /                           | < >             |

It should be "<>" in the line above, not "< >".


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tables on org-mode.
  2013-12-27 11:26             ` Nicolas Goaziou
@ 2013-12-27 23:15               ` Sharon Kimble
  0 siblings, 0 replies; 9+ messages in thread
From: Sharon Kimble @ 2013-12-27 23:15 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Fri, 27 Dec 2013 12:26:26 +0100
Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Sharon Kimble <boudiccas@talktalk.net> writes:
> 
>   #-*- mode: org -*-
> 
> You need a space after the hash character in order to make it a valid
> comment.
> 
>   #+STARTUP: showall
> 
>   | *Oral*                      |                 |
>   |-----------------------------+-----------------|
>   | /                           | < >             |
> 
> It should be "<>" in the line above, not "< >".
> 
> 
> Regards,
> 
Thanks for this, I forgot about it earlier, in my haste to start
changing all of the '#-*- mode: org -*-', but now they're mostly all
done by now. :)

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-12-27 23:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-26 14:25 tables on org-mode Sharon Kimble
2013-12-26 15:45 ` Sharon Kimble
2013-12-26 16:15   ` Nicolas Goaziou
2013-12-26 18:27     ` Sharon Kimble
2013-12-26 19:42       ` Sharon Kimble
2013-12-27  9:04         ` Nicolas Goaziou
2013-12-27 10:24           ` Sharon Kimble
2013-12-27 11:26             ` Nicolas Goaziou
2013-12-27 23:15               ` Sharon Kimble

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).