From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uF1iHm07TWEjmQAAgWs5BA (envelope-from ) for ; Fri, 24 Sep 2021 04:43:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OJQoGm07TWENagAAB5/wlQ (envelope-from ) for ; Fri, 24 Sep 2021 02:43:57 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 19A0A20A9D for ; Fri, 24 Sep 2021 04:43:57 +0200 (CEST) Received: from localhost ([::1]:49386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTbBr-0000rj-JU for larch@yhetil.org; Thu, 23 Sep 2021 22:43:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTbB8-0000qs-LD for emacs-orgmode@gnu.org; Thu, 23 Sep 2021 22:43:10 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:35439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTbB7-0002M6-5N for emacs-orgmode@gnu.org; Thu, 23 Sep 2021 22:43:10 -0400 Received: by mail-lf1-x132.google.com with SMTP id m3so34395295lfu.2 for ; Thu, 23 Sep 2021 19:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vqz2lU4P/triQsFfsK+Jcb6FtR0LRn7buoTVbeRr0ro=; b=YJMfzVTaZDaBsE4BhZdc+nAKXLt+hdhtpO/mKLoia1RS9mSh0sSSXUVFlLtLiMt/il hl4V3mbs5NqM6I/oO60iYE8h/jjQTRb0Prc52R36H0UGShKYlnZHoCU0A94/2ZARltWy v3IwwaAkCXA+hY5oZGJJGzesG2wowKcRFPNQLHgqaK7UL117uoEM7wsBwHyXzUF7ovXL 2kbqKBtSjRo8bMXJtBRIlx1dIMjK46F/ilhFGKv/2+M8s9ffbqomiU7gJv1zAHOPqDAz a0CILcUh+rBVZvL+YaSgJrtMAOxMusAukKG6ipJ57j1dEOM6b59QlWHBI0RIzSIIWH7X xBLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vqz2lU4P/triQsFfsK+Jcb6FtR0LRn7buoTVbeRr0ro=; b=m04C2ecCPlP5cxR5p7DQF55cD8JM4ePYIVSNAgjoikQMgvgCMZP4NJ6Hlpn3cjyT09 dxK0eKF1XXLkMhEcZ7h+Q4u1LdZbF4iXjebONw0wXPDCJjyY5/P2G5/4H1E262V8w0vc J6fLtbf6kmTtc4x3LjRgurwmCUygGUgtb9KPvbEf2cnwETmVoHsZVmtS+FdyoNZRzdOI jFXbGY/W1nYuwmX4XJagCJOuGzPs0SDZ5fqZSlLoEiYB/3lqzfr+jUjSZ55yzX2RH7ZU OcUv56UJfAqMATXuZbsKtGX/utseglOOoRhUCU3RH0PTGFDvvF66H6zN08ZbEICYybr9 +AdQ== X-Gm-Message-State: AOAM533s0C5SvvIWmzFYJ/6WRqgZ7wA1Gw/n/qoCwlutfXloZAXmnJaV vaEov1XnhFv1ep1cL4Gfaidnf21qZRXltnPXKFFMu1XBZldfvg== X-Google-Smtp-Source: ABdhPJy+o2xpAVRrj3Tt88nqf0yU64vXM1S1NYElEde7VMupEi+M00b11fYrJ3BFq1M1NBCoydaizBvUV4DjzxlcsTs= X-Received: by 2002:a2e:b8c2:: with SMTP id s2mr8738882ljp.171.1632451387324; Thu, 23 Sep 2021 19:43:07 -0700 (PDT) MIME-Version: 1.0 References: <1523724262.760140.1632336559832.ref@mail.yahoo.com> <1523724262.760140.1632336559832@mail.yahoo.com> In-Reply-To: <1523724262.760140.1632336559832@mail.yahoo.com> From: Yasushi SHOJI Date: Fri, 24 Sep 2021 11:42:55 +0900 Message-ID: Subject: Re: Exporting: how to exclude top/bottom hline for tables? To: S Boucher Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=yasushi.shoji@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632451437; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vqz2lU4P/triQsFfsK+Jcb6FtR0LRn7buoTVbeRr0ro=; b=uxofdcHtiUXdgITUuMaS9KxiLJntx6qvBRggQgs7pLAnhm1zlYvLZSIMZAmiqikIiqLNkn 7fWCQwmx/GzFaY49EqX8Ieec1skKEoOXJXOZHMjMfrrGQByq7SHqWwUnz5wxHuiXoinLl4 kj8Te9YShDTdHSDvt2ejtzT6w8o4+2TSfX4IixD94yspZgHhxkj0aMFr71rBCoy56PBB9j 5R5QJjLuuCtzhOT7x2+AgnQDIcKdu97S87+k2F++jposlCeS8oG/kLo9MjA46EvJIFnYop +3Rptmx/JlsidrfMWDy+uZAPgcQLf11PFXthweXgQMBLATjQ9PZvWOh8KGQUaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632451437; a=rsa-sha256; cv=none; b=V6F4YC1TGytYrQdnXiuLaVRJG7n2Tlc8F3UP63AqoWG5DTf20eQYW3YExLSOGXl0364R/M xf0kv3aUGlSn9OJhwOyTyyaYdC0IZBBx9SySLvmLi7Wwf+IO3sTmduKEA1G7GDkZOOCjYB Pu6IK9QooO9xeRqPlQP8MN5NixTYBqhrsnGSPF67yQNTv2wOilIYtlmIK69cMU7q7JXt/T mJjadj9bSqz7g4Fgod1GOsgevgFaLLz4HIv7PJJTb6ZtkxE52X0LDZm2aK0qvr+vHSZn5u MrKsIYWbGJ2ipi/yMz4pF0ZvmNqF8frFa0NnN8nWe5Nyw+jKMj+I3qMRzCxo+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YJMfzVTa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YJMfzVTa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 19A0A20A9D X-Spam-Score: -2.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: HjvP5iwz3Gds Hi, On Thu, Sep 23, 2021 at 5:09 AM S Boucher 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