emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Manuel Giraud <manuel.giraud@univ-nantes.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-html.el: Fix export of table.el tables.
Date: Tue, 26 Apr 2011 19:19:03 +0530	[thread overview]
Message-ID: <81tydljf74.fsf@gmail.com> (raw)
In-Reply-To: <87d3k9qif8.fsf@univ-nantes.fr> (Manuel Giraud's message of "Tue, 26 Apr 2011 14:57:31 +0200")

Manuel Giraud <manuel.giraud@univ-nantes.fr> writes:

> Manuel Giraud <manuel.giraud@univ-nantes.fr> writes:
>
>> But AFAIU, with org-export-prefer-native-exporter-for-tables to nil,
>> simple table stays      in HTML, no?
>                      ^^^^
>                      simple

Our understanding matches. For the sake of clarity, here it is:

For simple tables,
1. org-export-prefer-native-exporter-for-tables => Non-nil => Use the
   HTML code generator in table.el => HTML *source code* has Lots of
   &nbsp

2. org-export-prefer-native-exporter-for-tables => nil => Use Org's own
   code generator => HTML *source code* is easy to look at.

If I consult my patch, I see that the outputs I have included for the
simple table.el table (with both the on/off options for
org-export-prefer-native-exporter-for-tables) is consistent with what is
set forth in the previous paragraph.

May be you are exporting a different table.el table? Can you post your
example? With point within a simple table.el-table, the elisp form down
below should eval to false. Is it any different in your setting? 

#+begin_src emacs-lisp
(let* ((dim (table-query-dimension))
       (c (nth 4 dim)) (r (nth 5 dim)) (cells (nth 6 dim)))
  (not (= (* c r) cells)))
#+end_src

It is possible that I have misunderstood how table-query-dimension API
works ...

Footnotes: 
[1] http://patchwork.newartisans.com/patch/764/

Tip: Search for post-patch, Table.el Table with no Spanning,
org-export-prefer-native-exporter-for-tables

Jambunathan K.

  reply	other threads:[~2011-04-26 13:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-24 22:42 [PATCH] org-html.el: Fix export of table.el tables Jambunathan K
2011-04-24 22:47 ` Jambunathan K
2011-04-26 12:55 ` Manuel Giraud
2011-04-26 12:57   ` Manuel Giraud
2011-04-26 13:49     ` Jambunathan K [this message]
2011-04-26 15:14       ` Manuel Giraud
2011-05-24 13:06 ` [Accepted] " Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81tydljf74.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=manuel.giraud@univ-nantes.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).