From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31354 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gadi Newsgroups: gmane.text.pandoc Subject: xwiki output does not use a template at all Date: Fri, 9 Sep 2022 14:38:48 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_432_1524640128.1662759528433" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35620"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCOL7ENQRYMRB2PE52MAMGQELAEMB3Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 09 23:38:52 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f59.google.com ([209.85.219.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oWli8-00096C-M8 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Sep 2022 23:38:52 +0200 Original-Received: by mail-qv1-f59.google.com with SMTP id o6-20020ad443c6000000b00495d04028a6sf2091572qvs.18 for ; Fri, 09 Sep 2022 14:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date; bh=U32n7zDCi1OflhqS6KJwnYXjsL4oHyIgWHl8PuJX8Ec=; b=OoGkmahktPAjsB/ICi70TEYh8BBt14ZCzj5rB5PEwdxmsimy+qStOcowRdDn1Mupv5 Ey+R7mOxfej2wNmCmtPQzk7bLhugbBsnyt62pZQ04hPTZQXdegMlhEwhm6tgk5/1doRm 4vw3DJjqlsH4CeKR5NbidgR2RiXvy+NEMlQuU/bSew7d6liIzMlrvAs8lhob4CoPE/Vu a7a33u1s/ZCvL5L71RWfWPHD9VvEOcGHq57qryourj6HFab2gQK1XsSoim7WN6PepPV7 UtvnNUFOWa1RgFQGeOMcM8YwDNYqozjTp0srrxY0a1EehKbvoBy7Qn2jhhDWi/tvkU2Y M6xg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date; bh=U32n7zDCi1OflhqS6KJwnYXjsL4oHyIgWHl8PuJX8Ec=; b=XdETHTsNMZwKRj36Q8bMyjkWO2j3qS3lN8Jz+TXsIT7+hKLSGSY6v8jPuD8+efSurA 7h2ZL57tgD6YBB/BgFOm70c7f0gbJkS8uI/N8E1Sxzb7QToU514gNgvboTjqv9Yn9HlO NQFAk5K7GH2ylFsesINltxabJCh5Gfvtr2CYkQCJFDrrB0xI0dgGzhE9rYpfVoqmSb6c liVQL/DKCYMDUFdMZQrHye3uPXGM48QWTljWlUZFzEDk6woomI1h1/Q7PbF65VojgUDb vb7f1YfN0nDhspESNJIB/r14t4Grd2h2qc4KCxwajjDrcrVxOfd6gbj+iMB01IVWN480 SiKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date; bh=U32n7zDCi1OflhqS6KJwnYXjsL4oHyIgWHl8PuJX8Ec=; b=x//EPGyxVUkToIt0gGXVfFOMsJP3vWoTAJjbtiNm7FbptHHGsm3LfIS77ssGbI5bXA XFw9Ubq6RhBDsQV6vXeRN5674YquxFXQt8CASawj28+Du9MQvSsjcMNxMiV7eb/9XDMB boYNtcjBKD5Xjb9StWHrgLq1pgkbzuNjQTexhy4g1cfs2StM+rfFla+yI1+7d/Tpi1Pq eq0pBkOIVdfhNs2jryZQiTijvHf8lAru1wuW4cuWe6qTMC1lRZYH/HyMv2Flm9GWZMX8 2vVFW2HQyRBw3h2xv75KnrLoaNZS5lYYCyyrdGqVfWZqKsM9C8ji60/NbEP1XrvhrmbT E0tQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo0k6nvvaFaizoe+79mF5swnBk0X5TSbsWR4huf06+a+k+Snee0m cggVhbfkvdpJbElFdoNhYwg= X-Google-Smtp-Source: AA6agR5lqoyveg1uXg8sIDgL7Jsdrn6siePXNycJL8jQr1vkdI8zh+Hyjh3AsbgR/MDaLz0t4cw9ZA== X-Received: by 2002:a05:622a:1716:b0:344:1e56:9436 with SMTP id h22-20020a05622a171600b003441e569436mr14149150qtk.289.1662759531643; Fri, 09 Sep 2022 14:38:51 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0c:b2d9:0:b0:4a4:8d60:8e5a with SMTP id d25-20020a0cb2d9000000b004a48d608e5als3135479qvf.0.-pod-prod-gmail; Fri, 09 Sep 2022 14:38:49 -0700 (PDT) X-Received: by 2002:a05:6214:29ee:b0:4ac:8956:7ac0 with SMTP id jv14-20020a05621429ee00b004ac89567ac0mr4342183qvb.48.1662759529235; Fri, 09 Sep 2022 14:38:49 -0700 (PDT) X-Original-Sender: ggolan-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:31354 Archived-At: ------=_Part_432_1524640128.1662759528433 Content-Type: multipart/alternative; boundary="----=_Part_433_355287342.1662759528433" ------=_Part_433_355287342.1662759528433 Content-Type: text/plain; charset="UTF-8" Greetings, I am attempting to use the xwiki output of Pandoc but wanted to use a custom template. When I used -D to get the default and then modified it and used the --template flag the modifications did not show up. I then attempted to see if the default template was used by specifying --table-of-contents and --include-before-body=FILE but neither of those effected the output. Is this a bug or am I making some mistake. I have tried replicating the same command line but just switching to HTML output and see the templating system working as documented. Example commands used: pandoc source.md -f markdown-auto_identifiers --template pandoc_template.xwiki -t xwiki -s -o output.xwiki pandoc source.md -t xwiki --table-of-contents --include-before-body=include_before.xwiki I attempted to review the source but I am not familiar with Haskell enough to understand why this might be happening. Thanks! Gadi -- 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/b2b91cf3-d13e-4b69-8e3b-aef81848caa4n%40googlegroups.com. ------=_Part_433_355287342.1662759528433 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Greetings,
I am attempting to use the xwiki output of Pandoc but wanted= to use a custom template. When I used -D to get the default and then modif= ied it and used the --template flag the modifications did not show up.= I then attempted to see if the default template was used by specifying&nbs= p;--table-of-contents and --include-before-body=3DFILE but neither of = those effected the output. Is this a bug or am I making some mistake. I hav= e tried replicating the same command line but just switching to HTML output= and see the templating system working as documented. 

E= xample commands used:
pandoc source.md -f markdown-auto_identifiers --te= mplate pandoc_template.xwiki -t xwiki -s -o output.xwiki
pandoc source.m= d -t xwiki --table-of-contents --include-before-body=3Dinclude_before.xwiki=

I attempted to review the source but I am not familiar w= ith Haskell enough to understand why this might be happening. 

Thanks!

Gadi

--
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/b2b91cf3-d13e-4b69-8e3b-aef81848caa4n%40googlegroups.= com.
------=_Part_433_355287342.1662759528433-- ------=_Part_432_1524640128.1662759528433--