From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +DQbF8dE5GBGQAEAgWs5BA (envelope-from ) for ; Tue, 06 Jul 2021 13:55:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sOrtEsdE5GDdUwAAB5/wlQ (envelope-from ) for ; Tue, 06 Jul 2021 11:55:51 +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 7FE2E1F5F2 for ; Tue, 6 Jul 2021 13:55:50 +0200 (CEST) Received: from localhost ([::1]:41664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0jg5-00086V-IT for larch@yhetil.org; Tue, 06 Jul 2021 07:55:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0jfL-00086N-Dc for emacs-orgmode@gnu.org; Tue, 06 Jul 2021 07:55:03 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:43853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0jfI-0003Nt-TK for emacs-orgmode@gnu.org; Tue, 06 Jul 2021 07:55:02 -0400 Received: by mail-pg1-x530.google.com with SMTP id o18so20506902pgu.10 for ; Tue, 06 Jul 2021 04:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=28sW1LQU8qHBPEgJ0+lKwmMZxLbHgPiE7+8WEuoRRn4=; b=KYrK1RpniRyWbB7LlHtRJY580jw5Imlm4XFcFRW9dBIuEL2xt2hs1mTT11mNA1DLO+ uK2eFOCx7Q359H209ooqm3gEeVN3OCByo18qyrFQpZTwGrRmsNHjgls0OHerQUiRlp3v WoxNbw6zRHkmoWHM3dhgD/3e+npCQNpDjz1s67gkqf91F86kZURzKLHGqvTT/yt+y0qW ftOHTO3xEeAW5UXX0GmvXfLj//n7JnB5MwqRd2zhUaZJw3HbhaKgsdEK1mPpKGPuVp9r AmMPJEurZLSGL60WU7OAOeY1h3B5j40kGzz5uiD6wmS1RG4cJBe0WNv4WJLdQDsOFTbs W6rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=28sW1LQU8qHBPEgJ0+lKwmMZxLbHgPiE7+8WEuoRRn4=; b=f3m4gT/goGrRXn4A6aNF8Ep96sW9r9MB/nBL+Si0sxMoCklmauBMNlokhGz6ysAWV8 8sV7J2fpMWa+B83/LNxo+O9pi1+4RdgJfNdvhIMKub0IteyLVYr4wHl0jmrGDBOyc12M 7poDoBjbqwsRu6R0OqO+VIBnGpzluUXpRtLlKwqNyXfqZ/zV0YRWvljUAFXIzwFn+DP0 2U1ukJS9IWkPoeI3QZqVp8XfQD8e0VaPtAd92ehv10728aSbgo/NZfZ5JomTieYIeWud IVoJA/LAjqIblEN5acVmaGscFmVt5nH/6nErOf/7fxbhK2FDUW+DOU6ya6eGk+MwobVw Hz8g== X-Gm-Message-State: AOAM532UeeGB0xxuYLyKl66f5Cg2hR5y0r5w29f107U5XE1TBXTOVHfr bARJRGK9pedLEDsaf9l6ZofH8u4XYWI= X-Google-Smtp-Source: ABdhPJw3jDs9fwRc0LU/TmGukEN8w9z8ZFC1QijE8orOHfsTRY6NJv+BHYw9yFYSjofaozfBXBs3bw== X-Received: by 2002:a63:b15:: with SMTP id 21mr20281669pgl.443.1625572499346; Tue, 06 Jul 2021 04:54:59 -0700 (PDT) Received: from tim-desktop (220-235-1-69.dyn.iinet.net.au. [220.235.1.69]) by smtp.gmail.com with ESMTPSA id 18sm2549943pje.22.2021.07.06.04.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 04:54:58 -0700 (PDT) References: <87r1gcbdnb.fsf@gmail.com> <87k0m4m32u.fsf@gmail.com> <875yxn9066.fsf@ucl.ac.uk> User-agent: mu4e 1.5.13; emacs 28.0.50 From: Tim Cross To: Eric S Fraga Subject: Re: convert subtree or nested list to table Date: Tue, 06 Jul 2021 21:49:08 +1000 In-reply-to: <875yxn9066.fsf@ucl.ac.uk> Message-ID: <87bl7fmzcg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x530.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: Org Mode 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=1625572550; 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=28sW1LQU8qHBPEgJ0+lKwmMZxLbHgPiE7+8WEuoRRn4=; b=sZhdbOKfPmE+34PlNWKM5TQriAT2lIjnDGQhcVKD5/PQezs1Frr/4MT31RCXAjJ1bmr9Hk y5d9E3jGQntpYChaMTOQyOUY56z2AmF3ToR6TQbelHLxyjXeA5Uripek+3YFfoM3QGXYbR CQSPxlTuwcGwQp4YAvnZ4tAWnJRV6xIeh7MBABa7Wn4Z+qfnb4VwT8RUbmD0Nj88+9i4/N Lxo0p22OZhQtF+Ue9NAZZMniEJKbCaIIapQjkhFnXKN9oJq3wE7289DLCfnIxjHTcXTvgZ GO3SN1NQz0qkV0xtr1h7YWPAdsPjG20aj24TIteZ8ZLn78px+5FNXlovxWB3kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625572550; a=rsa-sha256; cv=none; b=QVo2hj3aahytvHL6Nr6QnidVsxaMD2XTkTjiKdT8eKMYhAl7zyZ9e5jRCc9yQM3njkoHYq Wo2yBlxDszxZ2eOJTtAfu1Gxc/OFTnxoPZr4ukiS9mAIsZJnQH4+vXH/s6StG/k5XN41HT ZrW9t09FSPPBrTj2DZ9KJlrRHMkeoq0qNIFc9/4Oo1Yc5jCybx+v694KBnhXv8GQee/9Tm 89/Y0glBgkkWQu4fkq+ioQmcnfiwGjxtBULJa1t4Dru6xspsbpMZfyyGipLCWGo+lYii9T rBEnvtJzPcqT2cRdmyUy05PmUbvd/09R3somaWoKFBMogf6WND4G2xXP8CI+Ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=KYrK1Rpn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=KYrK1Rpn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7FE2E1F5F2 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: YTJd+cE7E1lu Eric S Fraga writes: > On Tuesday, 6 Jul 2021 at 15:10, Tim Cross wrote: >> One advantage working with HTML has over latex is >> that you don't have to worry about lines and line breaks and can have >> really long cell lines which will get wrapped in HTML rendering. > > Minor point: in LaTeX, the standard tabular environment has "p{X}" for > paragraph columns (as opposed to "l" and "r", say) where X is some size > (e.g. 10cm) and each entry is formatted as paragraphs. You don't have > to worry about line breaks etc. So quite easy really. Yes, that is true. However, you have to decide before hand how wide you want the columns to be (i.e. it won't auto scale based on other data). Typically, you have to do some 'trial and error' to work out what width to make each column and avoid overful parbox warnings etc. With HTML, you just specify the number of columns and it will scale to fit to the page (screen) width. So, HTML great for display, sucks for printing. latex, great for printing, but sucks for display. Getting things right for latex tables/tabular environments is much harder than for HTML. Then again, HTML tables sort of suck as well - much more flexible to have div elements which you can style using a good grid/flow layout scheme. -- Tim Cross