emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Columns with marking characters are exported to latex (Org 8)
Date: Wed, 20 Aug 2014 00:23:47 -0400	[thread overview]
Message-ID: <8738crzt4c.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 87ppfxyue4.fsf@pierrot.dokosmarshall.org

Nick Dokos <ndokos@gmail.com> writes:

> Thorsten Grothe <info@th-grothe.de> writes:
>
>> Hallo Nick,
>>
>> * Nick Dokos, 19.08.2014 00:13:53:
>>
>>> Sorry - disregard that. I didn't test with radio tables, I just did a
>>> straight export. I'll try radio tables later.
>>
>> the attached file is a showing the latex code after the export from
>> orgtbl -- see the result, I made some small comments on it...
>
> Yes, not only can I reproduce it, I bisected it and (surprise!)  the
> bisection fingered commit 79873390edd26a44cefc2050c7af470a7ed8fd07: my
> "fix" to your previous complaint:
>
>         http://thread.gmane.org/gmane.emacs.orgmode/88634
>
> I'll take another look at org-table-clean-before-export.

OK - I have taken a closer look and I think my "fix" was wrong: I'm
going to revert it.

That will of course restore the previous behaviour where a first column
that's empty is deleted on export. There is an argument to be made that
that is "correct" behaviour: first, both the original version and
Achim's rewrite implement that behaviour, but also the relevant section
of the manual (section 3.5.10, Advanced Features) which lists the
special first column characters includes <space> among them.

That leaves the somewhat counterintuitive case of a completely empty
first column which is therefore deemed special and gets stripped. This
could be "fixed" as a special case but instead I propose to document that
behaviour in the above section, with a suggested workaround: if you
really, really want an empty first column, then add a second one.

WDYT?

-- 
Nick

  reply	other threads:[~2014-08-20  4:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18 19:59 Columns with marking characters are exported to latex (Org 8) Thorsten Grothe
2014-08-18 21:44 ` Nick Dokos
2014-08-18 21:55   ` Nick Dokos
2014-08-18 22:14     ` Thorsten Grothe
2014-08-19  4:29       ` Nick Dokos
2014-08-20  4:23         ` Nick Dokos [this message]
2014-08-20  7:23           ` Nicolas Goaziou
2014-08-20 11:58             ` Nick Dokos
2014-08-20 16:38           ` Thorsten Grothe
2014-08-20 17:16             ` Nick Dokos

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=8738crzt4c.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@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).