[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exporting: how to exclude top/bottom hline for tables?
From: |
Yasushi SHOJI |
Subject: |
Re: Exporting: how to exclude top/bottom hline for tables? |
Date: |
Fri, 24 Sep 2021 11:42:55 +0900 |
Hi,
On Thu, Sep 23, 2021 at 5:09 AM S Boucher <stbya@yahoo.com> wrote:
>
> Is there a way to exclude the top and bottom hline of tables during export?
I don't see any option to change. But you can do:
,----
| (defun my/remove-bottom (borders)
| (remove-if (lambda (x) (memq x '(bottom top above below))) borders))
| (advice-add 'org-export-table-cell-borders :filter-return #'my/remove-hlines)
`----
tweak the list to change the behaviour.
> When I'm exporting to UTF-8, the top and bottom lines of the tables do not
> display correctly for me.
>
> Though the number of chars is correct, the face used by emacs does not match
> the face used for the rest of the file.
I guess fixing the faces is the right way forward.
--
yashi