From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26231 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: CC Newsgroups: gmane.text.pandoc Subject: Re: Switch to stop doc title being auto generated in HTML? Date: Thu, 24 Sep 2020 08:12:11 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1300_486807145.1600960331359" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13455"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCMPDZ4SYAMBBTPOWL5QKGQEKG2FPJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Sep 24 17:12:17 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f185.google.com ([209.85.167.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kLSuu-0003NG-QD for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 24 Sep 2020 17:12:16 +0200 Original-Received: by mail-oi1-f185.google.com with SMTP id b184sf956076oif.18 for ; Thu, 24 Sep 2020 08:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=WyBSeQ5MPrVndaL2gZ63dUIpvBrIzqcbb7kF4q++Kj0=; b=iPJqH9yndnXDvdDKHl6drvtdRw32y9FQuK4IirOxqDKB/O207bUgtBLTn6SOKl4EX5 M3PpJNzxUitXVgLg1MlfTRPv3oUosABc2a3PELFgl4zD55V/mtOwf7W9gWiomAGkdvgb PLQqcvElHkXkSvjOLYcPfywH4CpbxY4O8F2K0Kk8z3a0kwUqtzVR6lAumz7YIAKIkMSS 5Y4cd3mSOTqPGjSj7CHK1ByCAyPNTTbv0PZdlHYMT8iMCu3qcly6k7bFLm5EGuzinvWS CRJJ/RVuDilevc2io0YlxEF+mhu9j6xxOz4KpdPQ2KcsSs/43lnvzl/Z+oTDUE4eAp59 ptyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=WyBSeQ5MPrVndaL2gZ63dUIpvBrIzqcbb7kF4q++Kj0=; b=T+Oc5ttyMVNraEmVFLU3T9lVZno3pQH1n9JC4rdwd5ANtboLsz/Qm2ssI9fZ9ssv+1 2CxEgrq7xOjglmQNC1Nd+RmOJAalsNYam12tzvu8X3Ln09h655scH2apXJpz7vE207fg QMxm/aR7At93eKjzCrsAsExUY6Wo6dmutAYbZi9my0mXr3w+urWTA4NlaJQ5AiG0JwF2 KqkVLJ5TNdVlXL2TjWd8wZstBJmkWaPI+sYH8ijbHxyF3Ku27st9vxDTbBxhCL7spJfa umbInS42jwcK4152jSCnkRUOM+2zW2rKbqVYvn93LnU1lAveGPk9dfzZ0vuAHt5VmFO5 Targ== 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:in-reply-to :references: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=WyBSeQ5MPrVndaL2gZ63dUIpvBrIzqcbb7kF4q++Kj0=; b=kch/r32NgKRMVONVN+zsG5qm9D20ItqQkpMPhfgKcSU7X2ccgnCvXQnvAnCYzjYz65 5a5uFpuntb3+bBax2H6gd1Zj78bhhN+J2eOaRKHSGW51I4+dVk9Xx2DUFmcKmTuyhhuy OprQtjZv05iibE2BwttR0l+cOadLi21QR3TXwWBtSFZrlVoTBimgdQ9/kCkv1xe8WcDt 5yKiOEuQXk4qDMzemOJfK41yK1S8Wu8tfOhuLKbp/mW0QzTqJG7fbRhNIH3w/CwU4+nb KVVkx5fb8a9tAQ6HC98EP/0o8ufjf3iS+SZNZC+wf4hT2v65+/m39wcp+6gsMz1Lsh01 NvBQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531xZrMIZSooJPtl93MCu+OULZsvNJwwkw+AypuMc0wk5JW6LSFL aD5IaUU1TvnrpfvsJNcj5VY= X-Google-Smtp-Source: ABdhPJzRWk4byS7vc49gt0na2j+KWhfrTqd9RPHCH/yF54U/uY+uYa5jfIDEDZItbiX9cTwVDKMXEQ== X-Received: by 2002:a05:6830:4d3:: with SMTP id s19mr79693otd.57.1600960335838; Thu, 24 Sep 2020 08:12:15 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:2208:: with SMTP id b8ls806855oic.9.gmail; Thu, 24 Sep 2020 08:12:13 -0700 (PDT) X-Received: by 2002:a05:6808:994:: with SMTP id a20mr2802812oic.109.1600960332953; Thu, 24 Sep 2020 08:12:12 -0700 (PDT) In-Reply-To: X-Original-Sender: codemonkey2x-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:26231 Archived-At: ------=_Part_1300_486807145.1600960331359 Content-Type: multipart/alternative; boundary="----=_Part_1301_1684686079.1600960331359" ------=_Part_1301_1684686079.1600960331359 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I=E2=80=99m running pandoc 2.9.11 on windows through cygwin. I experience a= similar=20 issue if I specify a format name of HTML (in that it can=E2=80=99t find=20 templates\default.HTML).. But it will provide the template if you specify the format name in all=20 lowercase.. html. It also has templates for the format html4 and html5. You shouldn=E2=80=99t have to create anything for the default template. Jus= t your=20 custom template(s). Hope this helps. On Thursday, September 24, 2020 at 9:53:59 AM UTC-5 boardtc wrote: > My goal is that I typically have my title me a URL so I don't want it=20 > repeated first. > > I decided to look at this today. > > I fell at the first hurdle, the documentation says to: > > To see the default template that is used, just type pandoc -D *FORMAT* > pandoc -D HTML > > Could not find data file templates\default.HTML > > Also the default directory (confirmed by pandoc --version) does not exit: > > C:\Users\tom\AppData\Roaming\pandoc. The documentation does not suggest I= =20 > need to create it, do I? > > On Thu, 3 Sep 2020 at 17:25, John MacFarlane wrote: > >> >> Sure, you can use a custom template. See the manual. >> >> Tom Corcoran writes: >> >> > When I convert my markdown document it auto generates: >> > >> >
>> >

Name of document

>> >
>> > >> > Sometimes this is fine but most times I would like to control the HTML >> > that's shown myself. Is there a switch to stop this being generated? >> > >> > --=20 >> > You received this message because you are subscribed to the Google=20 >> Groups "pandoc-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send= =20 >> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/CAELuEwG4iN7r5qt_SWQLcs= k5hX2JJpLwN6DnAVyHfLn1a-LuqA%40mail.gmail.com >> . >> > --=20 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 e= mail 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/e3e64040-77f5-46ee-9094-d1137b35cf39n%40googlegroups.com. ------=_Part_1301_1684686079.1600960331359 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I=E2=80=99m running pandoc 2.9.11 on windows through cygwin. I experience a= similar issue if I specify a format name of HTML (in that it can=E2=80=99t= find templates\default.HTML)..

But it will provide the template if = you specify the format name in all lowercase.. html. It also has templates = for the format html4 and html5.

You shouldn=E2=80=99t have to create= anything for the default template. Just your custom template(s).

Ho= pe this helps.

On Thursday, September 24, 2020 at 9:53:59 AM UTC-5 boardtc wr= ote:
My goal is that I typically have my title me a URL so I do= n't want it repeated first.

I decided to look at this today.

I fell at the first hurdle, the documentation says to:

To see the default template that is used, just type pandoc -D *FOR= MAT*

pandoc -D HTML

Could n= ot find data file templates\default.HTML

Also the defaul= t directory (confirmed by pandoc --version) does not exit:

C:\Users\tom\AppData\Roaming\pandoc. The documentation does not suggest = I need to create it, do I?


On Thu, 3 Sep 2020 at 17:25, John MacFarlane = <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wr= ote:

Sure, you can use a custom template. See the manual.

Tom Corcoran <boa...-Re5JQEeQqe8@public.gmane.org= m> writes:

> When I convert my markdown document it auto generates:
>
> <header id=3D"title-block-header">
> <h1 class=3D"title">Name of document</h1>
> </header>
>
> Sometimes this is fine but most times I would like to control the HTML=
> that's shown myself. Is there a switch to stop this being generate= d?
>
> --
> You received this message because you are subscribed to the Google Gro= ups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to pandoc-discus...@go= oglegroups.com.
> To view this discussion on the web visit https://groups.google.co= m/d/msgid/pandoc-discuss/CAELuEwG4iN7r5qt_SWQLcsk5hX2JJpLwN6DnAVyHfLn1a-Luq= A%40mail.gmail.com.

--
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/e3e64040-77f5-46ee-9094-d1137b35cf39n%40googlegroups.= com.
------=_Part_1301_1684686079.1600960331359-- ------=_Part_1300_486807145.1600960331359--