From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UF0PKiU1YV9yBwAA0tVLHw (envelope-from ) for ; Tue, 15 Sep 2020 21:41:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yF5uJCU1YV+IHQAA1q6Kng (envelope-from ) for ; Tue, 15 Sep 2020 21:41: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 129909402CC for ; Tue, 15 Sep 2020 21:41:57 +0000 (UTC) Received: from localhost ([::1]:48494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIIi4-0008BE-0W for larch@yhetil.org; Tue, 15 Sep 2020 17:41:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIIhT-0008A6-C7 for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 17:41:19 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:39007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIIhQ-0003x7-EQ for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 17:41:18 -0400 Received: by mail-ed1-f43.google.com with SMTP id e22so4530888edq.6 for ; Tue, 15 Sep 2020 14:41:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=YMDpA8tVcdnvy3aTh9miYY7xay/44SQwOeMGljZyCiI=; b=R/QkK/nLvmIr0zkvf5Ig7ddlspW1V6iBGQizqnoxXT53Aoy1lf1zFydfbHM5v6HzO9 +WBMvnlDUFWTWDAc09wBcvdaqu+yZyosu637zACxR8o3hs5q/RabV/M07esgHJlN5QHn 7f9zSQ9Af9lqxDmvMlrstDwFprOyuXJfPhqfq1l6EYoAOrZKMMtB417Q7KBqsxX33tnq 6dowgn/4Kdc6i+355hyA3zbH2ORHRMIjdSwqD/EVZ4bd8gQjGr3ky/tNNkaJjlqMQ7cZ cjh5gzlnQYXzxhgOFXbegRCrpsRlMskKBndOgTqY4fGeQFByrUmmNqr4SawTlAarqx2u v1qA== X-Gm-Message-State: AOAM532cy/WOvPm+0h0hdaurYXKKw66cgDTnVTBSt01Fyf65b9KfB+lO BbbS/SLKA3haLk/5SdVYSaxhLHrjUTZJz1kOXcg= X-Google-Smtp-Source: ABdhPJyaDO1LHo6Dzr+ZQ01z6raL+JrxHSL+AXY7REQaGlBqx52VkAYNnO/DjE+0mZk5htuT5N5Lul0aurVaNFOy8kA= X-Received: by 2002:aa7:ca4f:: with SMTP id j15mr20828025edt.233.1600206074516; Tue, 15 Sep 2020 14:41:14 -0700 (PDT) MIME-Version: 1.0 References: <87sgbi4usf.fsf@ebih.ebihd> In-Reply-To: <87sgbi4usf.fsf@ebih.ebihd> From: Corwin Brust Date: Tue, 15 Sep 2020 16:41:03 -0500 Message-ID: Subject: Re: using header data in document To: Emanuel Berg , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=209.85.208.43; envelope-from=mplscorwin@gmail.com; helo=mail-ed1-f43.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/15 17:41:14 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.01 X-TUID: Der3raA9vP2N Greetings! On Tue, Sep 15, 2020 at 4:05 PM Emanuel Berg via General discussions about Org-mode. wrote: > > How can I use header data in the document? MACRO seems to be the current means to expose these. https://orgmode.org/manual/Macro-Replacement.html | Org comes with following pre-defined macros: | | =E2=80=98{{{keyword(NAME)}}}=E2=80=99 | =E2=80=98{{{title}}}=E2=80=99 | =E2=80=98{{{author}}}=E2=80=99 | =E2=80=98{{{email}}}=E2=80=99 So you can use use, e.g. {{{author}}} in various places to get at data from the header: | Org recognizes macro references in following Org markup areas: | paragraphs, headlines, verse blocks, tables cells and lists. | Org also recognizes macro references in keywords, such as | =E2=80=98CAPTION=E2=80=99, =E2=80=98TITLE=E2=80=99, =E2=80=98AUTHOR=E2= =80=99, =E2=80=98DATE=E2=80=99, and for some back-end | specific export options. Regards, Corwin > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal