From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OD/yE0WQAGOEHwEAbAwnHQ (envelope-from ) for ; Sat, 20 Aug 2022 09:41:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gKgdFEWQAGNGgwAA9RJhRA (envelope-from ) for ; Sat, 20 Aug 2022 09:41:57 +0200 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 086553816F for ; Sat, 20 Aug 2022 09:41:57 +0200 (CEST) Received: from localhost ([::1]:35502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPJ7D-0000VP-LI for larch@yhetil.org; Sat, 20 Aug 2022 03:41:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPJ6j-0000VF-0C for emacs-orgmode@gnu.org; Sat, 20 Aug 2022 03:41:25 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:42779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPJ6h-0006LH-Ag for emacs-orgmode@gnu.org; Sat, 20 Aug 2022 03:41:24 -0400 Received: by mail-pj1-x102f.google.com with SMTP id s3-20020a17090a2f0300b001facfc6fdbcso6123897pjd.1 for ; Sat, 20 Aug 2022 00:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=qYtsC6MHW2+3HYQPhrWoRpQL8Y8dHyDLrVBsaU5x/aU=; b=MWEWcAR2x5fEBcxBDkfkXaSWu1XE8Mnid2Te59xdQ67lXmsUNrNS72eLrLC7T3XD5I kMQ/HkekhbG9xc1W7pxxfKmCmc4oGydpgS2x2OnN4O0CtMWVqb8yTjKxOLnEIQDn0Uh2 ioRDJ/pyYS5Q0LeH+ZCIBfqCR2NIwE4l4W/zGx5Xj7aK00C2xAHpp+UbPXXpGP1T2Dwg LGOey2Yr4vg+izQRAc0CvmPKK6H+rcavRUPY9Kwtgvi3Vc8IzXhv72tWGARNa7wf7C05 o8Yjb7UEJ+XTGRRX6ax8oroGtID9/eVlm+2cfx9M1KE6IsTR+WKrqXbQrBrSlP3sOeh0 vWVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=qYtsC6MHW2+3HYQPhrWoRpQL8Y8dHyDLrVBsaU5x/aU=; b=v7yxxChFRo+dmTpf3cYZVzy+40zmPrugMAaINwaPaP8/8KPM2kSJFlkW4tnSVoQwdu TDZy6rCkbiwoUvwqysWgHzrRtTLEnJxh7405MfaXoHVfXMr2x1weSp62s/m+5X20JNky kVwoe9grPbtCTt60yRJH/iSbmiDuTl/tkk4Jt+ZXFv55YFWm1WLv6tZHEvofgDBP9ZAZ UZsxE9eZ+a7Llis9KArePpKk1jB55xKB0/agIJ4kmS7V8EbYdi0J2wdalNoM0SUF2EqJ xvzJtiXpHuYSdHJ6aXQCgQnU8x4dpj6YskWMW7QANhzntGyfrlvdByF3jcPA1bsnAf3T pnaQ== X-Gm-Message-State: ACgBeo1zlF4zPQRFwsDxpZhwHn5Mgt/UfqcwEqW9scD5AmRpsUuhF4Kl kNZowZqEJuKtv0r0vkiqh9U36o8dZEA= X-Google-Smtp-Source: AA6agR5Z3RODaakcO2LJDgNabf6H0EThh8zdbgO9CggOaHz5WbSzU1eyyb8w80GJdvpt1o+fQAFLSg== X-Received: by 2002:a17:90b:4a8f:b0:1f5:ee3:a6a1 with SMTP id lp15-20020a17090b4a8f00b001f50ee3a6a1mr17972461pjb.149.1660981281675; Sat, 20 Aug 2022 00:41:21 -0700 (PDT) Received: from localhost ([2409:8a70:2b9:1e80:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id n12-20020a170902e54c00b0016d773aae60sm4360237plf.19.2022.08.20.00.41.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Aug 2022 00:41:21 -0700 (PDT) From: Ihor Radchenko To: Alex Fenton Cc: emacs-orgmode@gnu.org Subject: Re: table alignment tags in Org export In-Reply-To: <9ea782f0-1633-d709-488c-24c2f18c06ca@pressure.to> References: <9ea782f0-1633-d709-488c-24c2f18c06ca@pressure.to> Date: Sat, 20 Aug 2022 15:42:20 +0800 Message-ID: <874jy7nyxv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660981317; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qYtsC6MHW2+3HYQPhrWoRpQL8Y8dHyDLrVBsaU5x/aU=; b=JYmfb3fh4PTJcglFaD8ARxdWYATpTX2lm+BJLA0FY3ZW8TQDb0feVk8vxFaTDvyYdHKg6f /kvSiTqmzjuBHdhlbGKTlmb4NqWkR/9jlopATSbymsrX6DWREtIOkKKPsnPGK9CcHYeCHO 5oeuL9lDaxL+ILpCyzbzuafqLaOLj0ToSBAY3IvW/EUgxVMd4mPqV0rxkOoudK2g0ts/Ff wgjCtSW+W0YHe7UkaBBFrniOpucbQpmffj3phIOAhoIOE0pHzg/KpN7o6pnGnzcmNpyUam p9y4ySFTmC6B/gq/vWxEyyZ1HKfn9sgIfn/G+h7DgMuunPca+n4qKz3wzbFBAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660981317; a=rsa-sha256; cv=none; b=Op6G2fYs0cRokHbGsgMDoPJenteavxeMe5QiIKcNqgwXfWZxK+utgaABPsO9+1ckIANT05 HyZCzAYGediNt5+YBd6Yv/qynVzM0KBYYI13nyGei3rjXL9SbUI/GvXDxCLJ90JABbWL4x mkYw/M2BYjY4FTwUxoH800Ab8+gc73O82PKqo/0VOsPmhvyVswX8t0ksy+cQPmh72pN9/c v5qSZ4YTIsByVuQUBe39/sO5QFVNfOnldy7NzdklkpdoDV4asZa4AesuafodKPwrd0jjps M4Veg/D9wd/I/ZtTYSHOFRzOuKCZ+zhKvbMG3Dm2Q4uJKuE4FqORsp48w/kaQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MWEWcAR2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MWEWcAR2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 086553816F X-Spam-Score: -4.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: MfPTqdEZXWKH Alex Fenton writes: > Trying to export a table with alignment tags, e.g. > > > #+caption: left-, centre- and right aligned columns > | =C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 | > | a=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0 b=C2=A0=C2=A0=C2=A0= =C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 c | > | aaaaaa | bbbbbbbb | cccccccc | > > In, for example, HTML or ODT output, the columns are aligned according=20 > to the tags in the first row. > > If exporting to Org (org-org-export-as-org), the tags disappear - i.e.=20 > the table is as-was, minus the first row. Confirmed. > Is there a way to retain the alignment information when re-exporting to=20 > Org? - either a function or some setting somewhere No. Currently, ox-org.el currently disregards table cell alignment and widt= h. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92