[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Vertical bars in org file break export to ics
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Vertical bars in org file break export to ics |
Date: |
Thu, 30 May 2019 15:02:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
address@hidden (Thomas Plass) writes:
> michael wrote at 08:57 on May 30, 2019:
> : for the following *.org file running org-icalendar-export-to-ics will fail
> : with "Args out of range: [nil nil], 2".
> :
> : * This is a test
> : <2020-01-01 Mi>
> :
> : | | |
> : | | | | |
>
> Org recognizes the last two lines as a genuine Org table (with two
> rows), not as a collection of vertical bars having a completely
> different meaning.
>
> Making the export more robust by gracefully handling unequal
> numbers of columns won't help you as I guess you wish to have the
> vertical bars exported verbatim (which Org won't do).
You're right.
Meanwhile, I made export more robust in this case.
> Your best bet is probably to choose an unreserved character for use in
> the graphics, possibly just before exporting. Unicode code point
> 0xFFE4 FULLWIDTH BROKEN BAR looks similar.
Or use ": ", i.e., fixed-width area, or \vert as the first bar.
Regards,
--
Nicolas Goaziou