From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uBhlFV4cE2dhAwAA62LTzQ:P1 (envelope-from ) for ; Sat, 19 Oct 2024 02:41:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uBhlFV4cE2dhAwAA62LTzQ (envelope-from ) for ; Sat, 19 Oct 2024 04:41:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=fGyJ4s8f; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729305694; a=rsa-sha256; cv=none; b=rSJkdiTB6ok4UjX3l9A3hRk392mmSkiOwxDHRDn+O+LS/EOkoVbroDvpSD2q1aQKldbH40 jPdwZGGCxxx+4OMIDT8xvSJWhmv/zZ7Eg2t1fwbBDEgTiN9AhL9B/Bo5DpynJ5PhQpYCZV z9FjgXgGv12/j2f/gZHRt2dF++5Yod3KRHj/Kdh8SYaFe/Ggqco3+RcmHjvBYr5252wRhQ DcEpnZYcwbT3jgQPZOD62Jr+S9/N8ZDdDKurgykiKwXSmCe20tDE76h+2991AO7SnaMWDb mCBfYagRy7oZCbL+gQjjQG2J/KE60dJg5kNZT5nl2t/DW5At+mcHmqJVn9SfZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=fGyJ4s8f; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729305694; 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=d5IvmW3u7J0VABpHtspawg291abygg2rwV4WxfKqXkA=; b=FsNO+nMZJ+z3hAInNwT4jMc6xNLXoxbGi1FQkK6oSAejItA9WXk7SLMweZI9y6hOBr60e6 mTmwQfki9ZZ+xyf6D+hZ20r6SU7M7pU7RN/bq3rmn/ACyLHLd68mRrdy3pFirFNRoT63tH FmbEDBTGY1otsbt8L7Sohey0cRUhxLdUQlAogWH+cKWoNsIAuWHDJbcrilfODCstt25IoB U/u7JLmQnjkGzmS3m5fAD8R3qMuT+qSk78xLAOU5y6Md/++841X66YgImLX9mYNFxaCxzH bflk8yEYVjSVjRpHue88nPowysnJAgtk0939rPx/KSCFOnMay4I0P1HIoBzLHA== 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 B6B421F7FB for ; Sat, 19 Oct 2024 04:41:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1zOG-0007zg-FE; Fri, 18 Oct 2024 22:40:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1zOE-0007zD-69 for emacs-orgmode@gnu.org; Fri, 18 Oct 2024 22:40:26 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1zOC-00068Z-B5 for emacs-orgmode@gnu.org; Fri, 18 Oct 2024 22:40:25 -0400 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-71e580256c2so2047873b3a.3 for ; Fri, 18 Oct 2024 19:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729305622; x=1729910422; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=d5IvmW3u7J0VABpHtspawg291abygg2rwV4WxfKqXkA=; b=fGyJ4s8fTatC1NJll316UquxmzUi42mSvoHQznpY/E+YAe0VY1jEWAvJ9YSP4SnEJs f6LD2kOBzzh4w4PHlaA/0f5FZb5kIFuJ8FUCUWYWXkg7bu/XFIuT6nDYGshuAJRHDad5 SnoOFtlbOyyOi4ROuXR6tcjmGw+RKAEZuohSmeCCZTj8EGo3fAJTyt7UIU+W/xLXCV5y QTXRuP69CYqK6HUQyqEuVI1EYFE1Wyfovo+wZeDJ3ZAR9sNlp830+EEP22lYLK51KMej mXY8MT6qAzq/fpSdxmqWDPdY7/x3lDWWPl6ecUFMt1lrXG3+lB3uELHoltHxXhn46AU2 B8fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729305622; x=1729910422; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=d5IvmW3u7J0VABpHtspawg291abygg2rwV4WxfKqXkA=; b=lamzymiBCC5GYlntr//3IS5A2Bqw+pPCMG/GQUFeFK2STbYCfFFrZFovBby1qgmRn2 YZaC2wEhpGK4+cdNm2fRcD+LYgbKxgRgdrZe3QkX6Nj4rnvL9lT1CfFIteaGRqw30HPb +IAq33sj4FzBxtbunZvPVHSiOYzMy6STN3gv2RFMe+i5Wr6WO4qXFFd/YpGZ5zCx70tT PCoR5KH9IObbn38kHWGLXRRg1ir22ESOOVgrfkbdt+kg2sbVSwBNKyZysMjZIOqQN8Eg b6eeZfM/QNLooBqA77ae6xAYA9ZbfgEXSqlwZ8meh5YbUlFXp8b6pUI1HE2xuNvZyOsr lsdA== X-Gm-Message-State: AOJu0YzFC/QlsPuvKLUWFH92XIGnnBeEgExGzaBmPcUfJB+8/LttFoJo T5hXh7N1KeW743h/70TxHa0WciBoDl7S9KqHSTXfQebRDPiBQd/DMOYMULE+ X-Google-Smtp-Source: AGHT+IGxmWc6NgS3J/f7UmyysdHfDEpI4qk2ix1BJO9u1eAD7ZiozUzs+rr8nSI9Ncc50Iz0EYg7EQ== X-Received: by 2002:a05:6a00:2daa:b0:71e:41b3:a56b with SMTP id d2e1a72fcca58-71ea3339be2mr6328073b3a.24.1729305622051; Fri, 18 Oct 2024 19:40:22 -0700 (PDT) Received: from ?IPV6:2401:4900:1c5e:b98:166d:30fa:fb8c:466d? ([2401:4900:1c5e:b98:166d:30fa:fb8c:466d]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ea3459a08sm2174316b3a.156.2024.10.18.19.40.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2024 19:40:21 -0700 (PDT) Message-ID: <8c43d08b-f13b-4f43-82d2-bb042eb40cf3@gmail.com> Date: Sat, 19 Oct 2024 08:10:17 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: How can I export a table to HTML with header and footers To: "Dr. Volker Zell" Cc: emacs-orgmode@gnu.org References: Content-Language: en-US From: Raghavendra Nyshadham In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=raghnysh@gmail.com; helo=mail-pf1-x435.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, T_FILL_THIS_FORM_SHORT=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.33 X-Spam-Score: -4.33 X-Migadu-Queue-Id: B6B421F7FB X-Migadu-Scanner: mx10.migadu.com X-TUID: 6sjdrcCrx3P5 On 2024-10-19 02:08 +05:30, Dr. Volker Zell wrote: > But back to the main question ... is it somehow possible to generate > the footer elements ... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
NamePositionOffice
Tiger NixonSystem ArchitectEdinburgh
Ashton CoxTechnical AuthorSan Francisco
NamePositionOffice
The Org mode HTML exporter does not seem to provide any facility for using table footers. You can use the export-filter mechanism of Org mode to add the footer, but in this case it is simpler to use the columns.footer option of DataTables, as in the following sample. #+title: Org Tables to DataTables #+html_doctype: html5 #+html_head: #+html_head: #+html_head: #+html_head: #+html_head: This is an example table. #+attr_html: :id example :class cell-border hover compact :width 100% | Name | Position | Office | |-------------+------------------+---------------| | Tiger Nixon | System Architect | Edinburgh | | Ashton Cox | Technical Author | San Francisco | ------------------------------------------------------------ This is another example table. #+attr_html: :id another-example :class display | Author | Title | Shelf | |-------------------+-------------------------+-------| | Capote, Truman | In cold blood | D3B | | Chandler, Raymond | The high window | D3B | | Dai, Mamang | The legends of Pensam | D3B | | Desai, Kiran | The inheritance of loss | D3B | | Farrell, J. G. | The hill station | C1B |