I believe the leo_to_html plugin output can be improved.

Create a test file with rST table data:
====== ====== ====== ======
Col A  Col B  Col C  Col D
====== ====== ====== ======
 2A     2B     2C     2D
 3A     3B     3C     3D
====== ====== ====== ======

If you export from Leo using the plugin, using 
  File>Export>Save node as HTML
You will see the cells are not preserved; data in each row is in 1 column 
only.

Now convert the same data using Pandoc http://johnmacfarlane.net/pandoc/.
  pandoc -f rst -t html Test_Pandoc -o Test_Pandoc.html (convert file from 
rst to html, to file)

The file produced by Pandoc displays headings in bold and the intended 
cells and columns are retained.
The difference also shows if you open the html files with Libreoffice Calc 
or MS Excel.

The leo_to_html.ini settings I used are
  flagjustheadlines =  No
Considering this plugin has recommended status, may I suggest the settings 
for leo_to_html plugin be moved to myLeoSettings.leo file.
At present configuration is via editing leo_to_html.ini file. This file is 
overwritten if you update leo to a new version but would be preserved if 
read from myLeoSettings.leo file.

  Leo Log Window
  Leo 4.11a3, build 6163, 2013-10-18 07:39:31
  Python 3.3.2, qt version 4.8.5
  Windows 6, 1, 7601, 2, Service Pack 1

Regards
Lewis 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to