emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Henney <whenney@gmail.com>
To: emacs-org <emacs-orgmode@gnu.org>
Subject: Missing header line in export of tables that contain "special marking characters"
Date: Fri, 23 Mar 2012 17:41:07 -0600	[thread overview]
Message-ID: <CAKchnZPmFqwjp_86dHFzaC6fcdCkEQ6n0KKLLApmD2p75tPLZA@mail.gmail.com> (raw)

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

Hi list

When I export a table that uses `!' in the first column to denote the
column names, then the header line does not appear in the exported
file (ascii, html, or latex).  Please see the attached example org
file and html output.  Is this behavior intentional?  Can it be turned
off?

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

[-- Attachment #2: table-export-test.html --]
[-- Type: text/html, Size: 7544 bytes --]

[-- Attachment #3: table-export-test.org --]
[-- Type: application/octet-stream, Size: 1356 bytes --]


* Bug in export of tables with "special marking characters"
  :LOGBOOK:
  CLOCK: [2012-03-23 Fri 17:05]--[2012-03-23 Fri 17:23] =>  0:18
  :END:

When I export a table that uses =!= in the first column to denote the column names, then the header line does not appear in the exported file.  Please see the attached example org file and html output. 

See [[info:org#Advanced%20features][info:org#Advanced features]] for info on special marking characters in org-mode tables. 


** HTML export of this table works fine

| A | B | C |
|---+---+---|
| 1 | 2 | 3 |

It was marked up like this:
#+BEGIN_SRC org
| A | B | C |
|---+---+---|
| 1 | 2 | 3 |
#+END_SRC

** HTML export of this table misses off the header line

| ! | A | B | C |
|---+---+---+---|
| # | 1 | 2 | 3 |
   #+TBLFM: $4=$A + $B

It was marked up like this:
#+BEGIN_SRC org
| ! | A | B | C |
|---+---+---+---|
| # | 1 | 2 | 3 |
   #+TBLFM: $4=$A + $B
#+END_SRC

The same problem occurs with ascii and latex export.  The problem also persists with the experimental generic exporter. 

** A workaround is to repeat the header line without the =!=

|   | A | B | C |
| ! | A | B | C |
|---+---+---+---|
| # | 1 | 2 | 3 |
   #+TBLFM: $4=$A + $B

It was marked up like this:
#+BEGIN_SRC org
|   | A | B | C |
| ! | A | B | C |
|---+---+---+---|
| # | 1 | 2 | 3 |
   #+TBLFM: $4=$A + $B
#+END_SRC


             reply	other threads:[~2012-03-23 23:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 23:41 William Henney [this message]
2012-03-26 20:19 ` Missing header line in export of tables that contain "special marking characters" Bastien

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=CAKchnZPmFqwjp_86dHFzaC6fcdCkEQ6n0KKLLApmD2p75tPLZA@mail.gmail.com \
    --to=whenney@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).