From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eHJ3INPPVmFKBQEAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 11:07:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EL05HNPPVmG2OQAA1q6Kng (envelope-from ) for ; Fri, 01 Oct 2021 09:07:31 +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 CDE4215098 for ; Fri, 1 Oct 2021 11:07:30 +0200 (CEST) Received: from localhost ([::1]:37066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWEVt-0008Cs-Er for larch@yhetil.org; Fri, 01 Oct 2021 05:07:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWETl-0006yO-84 for emacs-orgmode@gnu.org; Fri, 01 Oct 2021 05:05:21 -0400 Received: from mailer-211-160.hitrost.net ([91.185.211.160]:38561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWETf-0007zD-3Y for emacs-orgmode@gnu.org; Fri, 01 Oct 2021 05:05:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmoe.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: In-reply-to:Subject:Cc:To:From:References:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/kQ5+SgK0JK9lqto4vlGgtzqGS4n1QduUAHEjmiQUcw=; b=VLi+5VUXhqvyBSYOt0Ec6+eOgV 5brn8kDjTZ795b2j/kxDwO9vgFanASo22G4aQaMd6uGUO8Z3ujiZNW/1qcjV5ud/cNYiJFxv1ojyY lRCSWMeRksMRsrIeKgKo+HPDIjHdRvoQ0pGQkpR6pdgVI3uUht9eM2X/oies75vzTmxMOXw6yQKv0 Le/t9+5Cbdb3XYQ9VUvHrvGzZ1i23j0tgEGkb1CsHRqomVErqXEZFMQ4O5AJRLTAI8gbEzSfsXJaW Oq4KTw+Gijj0fDqGF0FwcHHR63JXKv6tH4nucjrdeCmO3JT5lVRrEKJ2hP2FH/mYs6ZW5krM3IrR0 NFIcy7Rg==; Received: from lk.84.20.244.215.dc.cable.static.lj-kabel.net ([84.20.244.215] helo=Tauriel) by b1.hitrost.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mWETW-009X2I-2A; Fri, 01 Oct 2021 11:05:02 +0200 References: <87bl49grfg.fsf@mat.ucm.es> User-agent: mu4e 0.9.19; emacs 25.3.2 From: Christian Moe To: Uwe Brauer Subject: Re: adding a header and/or footer when exporting to odt In-reply-to: <87bl49grfg.fsf@mat.ucm.es> Date: Fri, 01 Oct 2021 11:03:12 +0200 Message-ID: <87pmsp6rsf.fsf@christianmoe.com> MIME-Version: 1.0 Content-Type: text/plain X-GeoIP: Country [IP], SI [84.20.244.215] X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-Authenticated-Id: mail@christianmoe.com Received-SPF: pass client-ip=91.185.211.160; envelope-from=mail@christianmoe.com; helo=mailer-211-160.hitrost.net X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1633079250; 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=/kQ5+SgK0JK9lqto4vlGgtzqGS4n1QduUAHEjmiQUcw=; b=kQZpf8VoqdKtx5/32XGadZen4/ENRCJ620xUGGrUjFi6tv3/2GABOWf8RRgOaANcpoUdnE wcSrEObc62calU3T/99bgQzlZhLPfiaV8tdppa9n36k4cvh2PxOimnB0IJa4GI4yrXdRnW OlkyZaTkbaDeR7Hp6dhmRpkd8qMX+oxwo14a5UDUnq5LOyRRKyyf6MDQGuX3OQgSOfiwAb mHdZqEIwAtCh/BJ2nyVorw0CkF2OSfwp1yzjULTbJZY+nTQcyAgyhLaqiL/foyF5oFotaA 6upJrP3lGcLBAXvNazh71qHT2DOLurfxG7P5rqfqnAQ6vLHxNN2XOr9COgLHlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633079250; a=rsa-sha256; cv=none; b=Yay79wYwpQ3++aWGcbQ1/ax+WvHaxAELFNwh0XcnLZV8MDatFs/NDyQiR80kGVboVv03dO vsZ5wcV8obJNTw3g6t54TiUJjtf4Ghtm6zam2M9lVYfy4nnWnEWrtm9ibV4Iytk3MFDVBr 9Xw/3NIQ6PVaOnx3nR/edcGS1TxTe5IP207zO/Lew3nAOCUm5tk3QOxatgkUzHcE3HZdjQ d+tRclvKlV8Yer21q7norwSNOo/ubQPjhLihZ9ETDjj8tp5CwG+YddlUDnmjm29vcl+Qd/ aI8EdGNXfwI0lytilwRJGyF9lUOWOFRenCxuHZdOz6f3MFnvrXsPfz0pC0NXgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=christianmoe.com header.s=x header.b=VLi+5VUX; 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: -0.90 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=christianmoe.com header.s=x header.b=VLi+5VUX; dmarc=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: CDE4215098 X-Spam-Score: -0.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: M0RFhELbIy23 Uwe Brauer writes: > Hi > > Is it possible to have a header and footer in all pages when exporting to odt? I presume I have to use a odt style I create with Libreoffice/Openoffice? > > Thanks > > Uwe Brauer Yes, that's it. Just export your document, add the header you want (and do whatever else you want to do with the style), save it as "my-document-styles.odt" or whatever, and add the header #+ODT_STYLES_FILE: "my-document-styles.odt" To reuse a template for several documents with variable header content, you can use LibreOffice's Insert > Field for Author, Title, Date etc. With images, etc. it gets a bit more involved. See the Org manual, Advanced topics in ODT export: Working with OpenDocument style files. Yours, Christian