Re: [O] tables on org-mode.

2013-12-27 Thread Sharon Kimble
On Fri, 27 Dec 2013 12:26:26 +0100
Nicolas Goaziou  wrote:

> Sharon Kimble  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


signature.asc
Description: PGP signature


Re: [O] tables on org-mode.

2013-12-27 Thread Nicolas Goaziou
Sharon Kimble  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



Re: [O] tables on org-mode.

2013-12-27 Thread Sharon Kimble
On Fri, 27 Dec 2013 10:04:03 +0100
Nicolas Goaziou  wrote:

> Hello,
> 
> Sharon Kimble  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
Title: test






test

#-*- mode: org -*-











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





Author: Sharon Kimble
Created: 2013-12-27 Fri 10:21
Emacs 24.3.1 (Org mode 8.2.4)
Validate





test.org
Description: Binary data


signature.asc
Description: PGP signature


Re: [O] tables on org-mode.

2013-12-27 Thread Nicolas Goaziou
Hello,

Sharon Kimble  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



Re: [O] tables on org-mode.

2013-12-26 Thread Sharon Kimble
On Thu, 26 Dec 2013 18:27:21 +
Sharon Kimble  wrote:

> On Thu, 26 Dec 2013 17:15:47 +0100
> Nicolas Goaziou  wrote:
> 
> > Hello,
> > 
> > Sharon Kimble  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


signature.asc
Description: PGP signature


Re: [O] tables on org-mode.

2013-12-26 Thread Sharon Kimble
On Thu, 26 Dec 2013 17:15:47 +0100
Nicolas Goaziou  wrote:

> Hello,
> 
> Sharon Kimble  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


signature.asc
Description: PGP signature


Re: [O] tables on org-mode.

2013-12-26 Thread Nicolas Goaziou
Hello,

Sharon Kimble  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



Re: [O] tables on org-mode.

2013-12-26 Thread Sharon Kimble
On Thu, 26 Dec 2013 14:25:12 +
Sharon Kimble  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
<>

signature.asc
Description: PGP signature