From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26024 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Norman Ramsey Newsgroups: gmane.text.pandoc Subject: How to use Lua filter to insert elements before title? Date: Mon, 31 Aug 2020 11:18:58 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1012_2107503014.1598897938778" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3942"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC5MLC7FZABRBE76WT5AKGQETLJK2PI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 31 20:19:03 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kCoOU-0000v7-VU for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 31 Aug 2020 20:19:02 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id i1sf4814832ood.9 for ; Mon, 31 Aug 2020 11:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=EFvgLPXsijWaooCf+DsWOv5XzZ6fPWXbAtVNP3IIM8o=; b=p6f9O2iDClG3xUhfyN65Qg3ZpFibv1BieC6g8I24t8m46npOMmphvumADBkCM1a0zG Cect9dp2t3ftdreCt2UAazMliCiu+UNHWERCgS8sXxrAr35uhDJWxrmAZVAbKPTy+efl Q220MT9EeZsvasLvKM986HDKJ5OD9g4NAIJ12wmQJXHEvZpg6rw59ICDZBjzm1vFMPyu /5GIgWrCd9XVIAl7XjfuGMw/21MvNudw6A/uTO++cxhkFH+LywDQFL1Y0XMmUuBwhzBw HwkQnyrCb17nrjBjd3+MFFiopqTrA3DCYJvdHXnHc757Qouiu/7NvfrqhrTz6XD4iIHh ctbw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=EFvgLPXsijWaooCf+DsWOv5XzZ6fPWXbAtVNP3IIM8o=; b=hB4Me410LbuWirApYQghU65I1kRZDXU9gWvnkbkuenmpwuq6IgGIhJL6U5IDlpWtL6 /qjNgPbTjlrqKJuw3rzpdsB0GN2QX+mjRWfW+WbL4LrBlPkHVS5AvoPrMVcdnq+Xv8Ge +CgVqq/IFvFqe6T5ExDHoU1/aonEMUCuFWGBQM3Bl5HJLA/4w8MubH6dCicisewu2bL0 ROJUhKZQsUygKRDiPu2OsU4x5GEgjuy41XrWMP+QJHt0MbTNUCz9wudwZLoDcvcyz8+6 SzDNdff+50N0p63t8KN5v3XGLNk+cpWzkrEIKCoqZnKgqfp7YfAnbOrFFIJNYO0+DB5k Rulg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=EFvgLPXsijWaooCf+DsWOv5XzZ6fPWXbAtVNP3IIM8o=; b=OtP1K98CWMC31M5C9+zWQJ1R9juTRRwgmP73khtkMDrmFWJHmnw3/FESU0q1XHwVC5 byF4WMLzr0f+Kdp9klwgdxf8CFZbFPX0GJdYAoDAMwuPeylyoA3THxDmkWOq7M4CV9f/ KxTPV7dlJoqZQZwtqQ1o6k+9fR7A2X3HetaVBN5rlgU11oAGn7T+BPKQYyQch6vjNeOQ UKDG8wOZb2w/Qkldzek42Z/uEZqCIKpAVjy8dd+YUmQY9xwDmryVgVyQNMN5Q5ZCaTy1 StiuRo8io4/VxjWeIcMtXzLbg/gxwJaSK4Q4QZfbml74/cZUmikhrUPB5bRBFZDd6rL6 WzWw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533TnmocjYMwTdcwmSs2BbSnL4PCRkv7eIxS7Uv1dnukRrQ33SDR yGpKbtF3qxsBqTBnzgUsNLk= X-Google-Smtp-Source: ABdhPJw5HVEzhHgsr7M4okUomYsFDGmRi8fqg984O0bh3vFp4NH2dwH3L0Pb1I1QJTY7BxgzLCPCCw== X-Received: by 2002:a4a:81:: with SMTP id 123mr1161809ooh.80.1598897941992; Mon, 31 Aug 2020 11:19:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:d555:: with SMTP id q21ls508131oos.11.gmail; Mon, 31 Aug 2020 11:18:59 -0700 (PDT) X-Received: by 2002:a4a:6255:: with SMTP id y21mr1424639oog.19.1598897939433; Mon, 31 Aug 2020 11:18:59 -0700 (PDT) X-Original-Sender: fellswalker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:26024 Archived-At: ------=_Part_1012_2107503014.1598897938778 Content-Type: multipart/alternative; boundary="----=_Part_1013_1986934895.1598897938778" ------=_Part_1013_1986934895.1598897938778 Content-Type: text/plain; charset="UTF-8" I'm using a Lua filter to construct a navigation bar, which I'd like to have appear as the very first thing on a standalone HTML page. However, looking at `pandoc -D html`, it appears that the metadata title is inserted before anything in the body that I build using the Lua filter. So my navigation bar doesn't show up until after the page title, which is not the result I was hoping for. Is there a way for me to alter the `include-before` list from within a Lua filter? Or is there some other approach I should be taking to this problem? Norman Ramsey -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f6a8164f-db8a-4c16-83a1-199dce28ab8en%40googlegroups.com. ------=_Part_1013_1986934895.1598897938778 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm using a Lua filter to construct a navigation bar, which I'd like to hav= e appear as the very first thing on a standalone HTML page.  However, = looking at `pandoc -D html`, it appears that the metadata title is inserted= before anything in the body that I build using the Lua filter.  So my= navigation bar doesn't show up until after the page title, which is not th= e result I was hoping for.

Is there a way for me to alte= r the `include-before` list from within a Lua filter?  Or is there som= e other approach I should be taking to this problem?


Norman Ramsey

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/f6a8164f-db8a-4c16-83a1-199dce28ab8en%40googlegroups.= com.
------=_Part_1013_1986934895.1598897938778-- ------=_Part_1012_2107503014.1598897938778--