all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [odt/xhtml] Export lists as tables (list-tables)
@ 2011-09-01 19:31 Jambunathan K
  2011-09-01 23:12 ` suvayu ali
  2011-09-02 17:23 ` Nicolas Goaziou
  0 siblings, 2 replies; 10+ messages in thread
From: Jambunathan K @ 2011-09-01 19:31 UTC (permalink / raw)
  To: emacs-orgmode

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


I am pleased to announce support for list-tables in the odt/xhtml
exporters. See below for some introductary note. Also refer to the
attached org/odt/html files.

Thanks for your past and future inputs.
Jambunathan K.


Related posts:

1. Thanks to Ben for introducing list-table in this post
https://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01101.html

2. Thanks to Nathan Neff for raising the topic of resumes in the context
   of odt exporter
https://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00998.html

Discussions with him led me to understand the "two column" style of
resumes. (Visibly speaking) the Eurpass CV template linked to below is
also "pre-dominantly" a two column format save for few rows which have
multiple columns.

http://europass.cedefop.europa.eu/img/dynamic/c1624/type.FileContent.file/CVTemplate_en_GB.odt

3. Thanks to Matt Price for passing complex table by me and registering
   some use cases.
https://lists.gnu.org/archive/html/emacs-orgmode/2011-08/msg01186.html

The overarching theme in all these threads is a multi-column table with
copious text where each column is variably sized.

List-tables is a humble first step in this direction. (Proportional
sizing of columns and support for grid lines is coming soon)

From the blurb:
,----
| ;; Notes on LIST-TABLES
| ;; ====================
| ;; When `org-lparse-list-table-enable' is non-nil, the following list
| ;;
| ;; #+begin_list-table
| ;; - Row 1
| ;;   - 1.1
| ;;   - 1.2
| ;;   - 1.3
| ;; - Row 2
| ;;   - 2.1
| ;;   - 2.2
| ;;   - 2.3
| ;; #+end_list-table
| ;;
| ;; will be exported as though it were a table as shown below.
| ;;
| ;; | Row 1 | 1.1 | 1.2 | 1.3 |
| ;; | Row 2 | 2.1 | 2.2 | 2.3 |
| ;;
| ;; Note that org-tables are NOT multi-line and each line is mapped to
| ;; a unique row in the exported document.  So if an exported table
| ;; needs to contain a single paragraph (with copious text) it needs to
| ;; be typed up in a single line. Editing such long lines using the
| ;; table editor will be a cumbersome task.  Furthermore inclusion of
| ;; multi-paragraph text in a table cell is well-nigh impossible.
| ;;
| ;; LIST-TABLEs are meant to circumvent the above problems with
| ;; org-tables.
| ;;
| ;; Note that in the example above the list items could be paragraphs
| ;; themselves and the list can be arbitrarily deep.
| ;;
| ;; Inspired by following thread:
| ;; https://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01101.html
`----


[-- Attachment #2: list-tables.org --]
[-- Type: text/plain, Size: 1190 bytes --]

#+TITLE:     list-tables.org
#+AUTHOR:    Jambunathan K
#+EMAIL:     kjambunathan@gmail.com
#+DATE:      2011-08-30 Tue
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:dvipng skip:nil d:nil todo:t pri:nil tags:not-in-toc

#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT:

* List Tables1
  A normal list

  - a
  - b
  - c

* List Table 2

  A homogenous list-table

#+begin_list-table
- Row 1
  - Row 1.1
  - Row 1.2
  - Row 1.3
- Row 2
  - Row 2.1
  - Row 2.2
  - Row 2.3
#+end_list-table

* List Table 3
  
  A degenerate list-table

#+begin_list-table
- Row 1
- Row 2
- Row 3
#+end_list-table

* List Table 4

  A non-homogenous list-table

#+begin_list-table
- Row 1
  - Row 1.1
  - Row 1.2
  - Row 1.3
- Row 2
  - Row 2.1
- Row 3
  - Row 3.1
  - Row 3.2
#+end_list-table

* List Tables 4
  A complex true-to-the-spirit multiline list-table

#+begin_list-table
- Row 1
  - Row 1.1
    - Subitem under 1.1
    - Yet another subitem under 1.1
  - Row 1.2
  - Row 1.3
- Row 2
  - Row 2.1
  - Row 2.2

    Subtext for 2.1
  - Row 2.3
#+end_list-table


[-- Attachment #3: list-tables.html --]
[-- Type: text/html, Size: 6974 bytes --]

[-- Attachment #4: list-tables.odt --]
[-- Type: application/vnd.oasis.opendocument.text, Size: 8611 bytes --]

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


-- 

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

end of thread, other threads:[~2011-09-03 12:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-01 19:31 [odt/xhtml] Export lists as tables (list-tables) Jambunathan K
2011-09-01 23:12 ` suvayu ali
2011-09-02  1:20   ` Matt Price
2011-09-02 17:23 ` Nicolas Goaziou
2011-09-02 17:48   ` Matt Price
2011-09-02 18:11     ` Nicolas Goaziou
2011-09-02 19:52       ` Thomas S. Dye
2011-09-03  8:44   ` Jambunathan K
2011-09-03 11:41     ` Nicolas Goaziou
2011-09-03 12:58       ` Christian Moe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.