From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31745 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Craig Parker Newsgroups: gmane.text.pandoc Subject: Re: Large Document Date: Fri, 11 Nov 2022 14:41:46 -0800 (PST) Message-ID: <8244a3c2-4f40-413b-8bb9-ae2cb37761b1n@googlegroups.com> References: <6eb43189-eb50-416c-8f30-d2baf1dee459n@googlegroups.com> <2CBF2CCD-5F52-4719-B899-5BD72D120D04@gmail.com> <4e3502ac-01bd-424f-9597-0e790f81f537n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2122_1981401666.1668206506862" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21212"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDPL77HMC4IKZH53TMDBUBGD4BSGY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 11 23:41:52 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1otcid-0005DJ-9V for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Nov 2022 23:41:51 +0100 Original-Received: by mail-ot1-f55.google.com with SMTP id v17-20020a9d7d11000000b0066c33c3e0easf2951064otn.11 for ; Fri, 11 Nov 2022 14:41:51 -0800 (PST) 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:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=IuUDAFNpdd4lrZECaTgXr9Xfn70aPFGo7HuAnbsKWEQ=; b=UWNItQ0YgGDFkoZI9d6zNnKKzAxqhiWlFxIe46Z3AllxdhU8aYWLwVrNOS/quUWXWG G7lv7DiCaa+R5a6/UAs3vyzWBxERO6JShIjWrY0QyxVmFYpYoshEIIpZxAuCe26DfBU8 hyb/F+g3REg/jXUKqE/adFpbr62WpAeE3iQzNc8W86hwLKSX5JV3Ds//l6zFayHNsIf8 YrJNwbIUILoRG+dB0v8QZXNfOJJuAbn1IzxyEcVxBYkJstNMI3JA7u3n/lchQDgoDf8d WJchMxRbXYDn+NkPZG3CSChmJscpCStIAfJ3+w3nH9HX6Djue2Wl3yUYY8tIjsLuD/WD oa7g== 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:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=IuUDAFNpdd4lrZECaTgXr9Xfn70aPFGo7HuAnbsKWEQ=; b=nIPBqPeVgrLh7VY9152vLFKHxvPXUq+mCHeJbKQcqhmb8DpiRES1mH6vaCKeBFadZD vFhqwcPRoKc3El/PlF+Rl5zeqedKFHsxwN3+5LUoiI8w9jrzluy/4koCCMqFVuH9X/s8 QvYUmGPC3aW1iZexqT33lhx94uoACFxQEqLndDi+HRl7W9fv8vH4Oqyj72ZRGSxV4Y14 tNJNuhXRIgfK0nL9QeoBKKV3OotI3+xcrQSljVgWF9txKeRQq/+1mPIjW/vnNMEbGEvH AzLD+oFDR78OBu3MXXbwkbNsohMOXBl1jWKLzazDwx7t0z58TRuxJUSINE5oS3dvu1vY S2Fw== 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:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=IuUDAFNpdd4lrZECaTgXr9Xfn70aPFGo7HuAnbsKWEQ=; b=tssNA4wuNGkTPFYaQjDHFD648warfn4OlFvGtvpAQOw/WCtYvvqOtc+WXihFYVAlDT 0YgnfApx1TFOkExE7LXmg7FLyCjGHy0+f3kkScycK3YSglAnmsghD9X5bQCF/xRlt/4q t3W6ztQCaYRwpomiW8RD9p6OKIHt5c+m1z5mq5Sjo3CSsEoS3+/d63LQM++m4ntbjklf 3gjrMVBbPJ3UBMHKBfw/iLCQq+p+sDlr3GfYCPjnyC/LPWLJANfMGk04B8z7ZHou3wFB EDXPVSumPjEiSDtRIPgRYPQDnK7d3m5A2kd79vrpro4P3tGB0jaduRqnxTLUT6JzGg2C 0RlA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pnPyqKOB8h+fGd9oK4NNWp7cfnyapu6lBfxJo6fGEoMBTZYl4F+ vqeCJGHrCf5wdP/RksJEmCI= X-Google-Smtp-Source: AA0mqf5kzlVDOp9GSCkK6AfjBvH2ZESANAAOasrRrOgAVqUx/uhwuHZ9WG6BC0ezulWOYpCYgvxhHQ== X-Received: by 2002:aca:650a:0:b0:35a:90d2:b473 with SMTP id m10-20020aca650a000000b0035a90d2b473mr1771940oim.66.1668206510152; Fri, 11 Nov 2022 14:41:50 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:601a:b0:66c:4560:5984 with SMTP id bx26-20020a056830601a00b0066c45605984ls1146201otb.9.-pod-prod-gmail; Fri, 11 Nov 2022 14:41:47 -0800 (PST) X-Received: by 2002:a05:6830:1197:b0:661:a748:d3b0 with SMTP id u23-20020a056830119700b00661a748d3b0mr2166547otq.104.1668206507542; Fri, 11 Nov 2022 14:41:47 -0800 (PST) In-Reply-To: X-Original-Sender: craig.fossfolks-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:31745 Archived-At: ------=_Part_2122_1981401666.1668206506862 Content-Type: multipart/alternative; boundary="----=_Part_2123_1304731297.1668206506862" ------=_Part_2123_1304731297.1668206506862 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, I'm wondering now if it was just last markdown file to get read that= =20 had a subtitle tag was the one that got it's subtitle tag into the large= =20 document On Friday, November 11, 2022 at 5:38:05 PM UTC-5 fiddlosopher wrote: > You can have multiple metadata sections in the same pandoc markdown=20 > document, so if you just repeat the metadata, it will still work in the= =20 > =E2=80=9Ccombined=E2=80=9D form. > Nothing is sensitive to being seven lines long =E2=80=94 you must be mist= aken=20 > there, or it=E2=80=99s something else. > > > > > On Nov 11, 2022, at 7:52 AM, Craig Parker wrote: > >=20 > > The plot thickens... I want to be able to make just one md into a pdf,= =20 > and but also merge a bunch (two different scripts), but I'm having a=20 > problem with the TOC. TOC.md looks like this: > > ``` > > --- > > title: Wicked Awesome Title Here > > subtitle: A catchy subtitle... > > author: Me > > email: > > date: > > --- > > ``` > > I can call it with pandoc --toc TOC.md file1.md -o file.html > >=20 > > This is fine if I want one big merged file, but if I want to just make = a=20 > single one, then I have to have another TOC file (TOC-file1.md, for=20 > example). > > Yesterday I discovered that if I knocked the subtitle line out and just= =20 > put that in file1.md: > >=20 > > ``` > > subtitle: A catchy subtitle... > > ``` > >=20 > > I could call the same table of contents whether I was making one single= =20 > section file, or one big merged one. > > Today I found out that it doesn't work when I'm doing multiple files. > >=20 > > But wait... While I was typing this, it appears that as long as all of= =20 > the individual files have a heading that is seven lines long and includes= =20 > the subtitle, I can either make a single small file or a large merged one= .=20 > Is the expected behavior? The header for doing this needs to be seven lin= es=20 > long to work right? > >=20 > > On Thursday, October 6, 2022 at 2:00:52 PM UTC-4 fiddlosopher wrote: > > You can just put all of the markdown files (in order) on the command=20 > line, and pandoc will concatenate them before converting.=20 > >=20 > > pandoc --toc part1.md part2.md part3.md -t html --pdf-engine=3Dweasypri= nt=20 > -o wholething.pdf=20 > >=20 > > > On Oct 6, 2022, at 10:24 AM, Craig Parker =20 > wrote:=20 > > >=20 > > > I'm trying to document ALL of a piece of software's uses/features/etc= .=20 > I was wondering if there's a way to do each one individually, then merge= =20 > them in the end. I was hoping to just do one big doc, but really want=20 > section title pages. I am running:=20 > > >=20 > > > pandoc -s --template=3D"templates/default.html" -f markdown-smart --t= oc=20 > -c ./style-landscape.css "$n.md" -o "./$n.html"=20 > > > python3 -m weasyprint "./$n.html" "./$n.pdf"=20 > > >=20 > > > on the individual markdown files, but then the page numbers don't=20 > match up when I join them all together in the end. I'm not sure where to= =20 > start looking, so that H1 still behaves the way it does, but so that H2= =20 > also creates kind of a title page, and the other headings get bumped down= a=20 > peg (so H3 acts like H2 does now, etc.)=20 > > >=20 > > > I'm also not exactly crystal clear about how much of this is pandoc= =20 > and how much is Weasyprint...=20 > > >=20 > > > --=20 > > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group.=20 > > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 > > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/6eb43189-eb50-416c-8f30-= d2baf1dee459n%40googlegroups.com.=20 > > >=20 > >=20 > > --=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/4e3502ac-01bd-424f-9597-= 0e790f81f537n%40googlegroups.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/8244a3c2-4f40-413b-8bb9-ae2cb37761b1n%40googlegroups.com. ------=_Part_2123_1304731297.1668206506862 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, I'm wondering now if it was just last markdown file to get read that h= ad a subtitle tag  was the one that got it's subtitle tag into the lar= ge document

On Friday, November 11, 2022 at 5:38:05 PM UTC-5 fiddlosopher wro= te:
You can h= ave multiple metadata sections in the same pandoc markdown document, so if = you just repeat the metadata, it will still work in the =E2=80=9Ccombined= =E2=80=9D form.
Nothing is sensitive to being seven lines long =E2=80=94 you must be mi= staken there, or it=E2=80=99s something else.



> On Nov 11, 2022, at 7:52 AM, Craig Parker <craig.f...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=20
> The plot thickens... I want to be able to make just one md into a = pdf, and but also merge a bunch (two different scripts), but I'm having= a problem with the TOC. TOC.md looks like this:
> ```
> ---
> title: Wicked Awesome Title Here
> subtitle: A catchy subtitle...
> author: Me
> email:
> date:
> ---
> ```
> I can call it with pandoc --toc TOC.md file1.md -o file.html
>=20
> This is fine if I want one big merged file, but if I want to just = make a single one, then I have to have another TOC file (TOC-file1.md, for = example).
> Yesterday I discovered that if I knocked the subtitle line out and= just put that in file1.md:
>=20
> ```
> subtitle: A catchy subtitle...
> ```
>=20
> I could call the same table of contents whether I was making one s= ingle section file, or one big merged one.
> Today I found out that it doesn't work when I'm doing mult= iple files.
>=20
> But wait... While I was typing this, it appears that as long as al= l of the individual files have a heading that is seven lines long and inclu= des the subtitle, I can either make a single small file or a large merged o= ne. Is the expected behavior? The header for doing this needs to be seven = lines long to work right?
>=20
> On Thursday, October 6, 2022 at 2:00:52 PM UTC-4 fiddlosopher wrot= e:
> You can just put all of the markdown files (in order) on the comma= nd line, and pandoc will concatenate them before converting.=20
>=20
> pandoc --toc part1.md part2.md part3.md -t html --pdf-engine=3Dwea= syprint -o wholething.pdf=20
>=20
> > On Oct 6, 2022, at 10:24 AM, Craig Parker <craig.f...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:=20
> >=20
> > I'm trying to document ALL of a piece of software's u= ses/features/etc. I was wondering if there's a way to do each one indiv= idually, then merge them in the end. I was hoping to just do one big doc, b= ut really want section title pages. I am running:=20
> >=20
> > pandoc -s --template=3D"templates/default.html" -f = markdown-smart --toc -c ./style-landscape.css "$n.md" -o "./= $n.html"=20
> > python3 -m weasyprint "./$n.html" "./$n.pdf&qu= ot;=20
> >=20
> > on the individual markdown files, but then the page numbers d= on't match up when I join them all together in the end. I'm not sur= e where to start looking, so that H1 still behaves the way it does, but so = that H2 also creates kind of a title page, and the other headings get bumpe= d down a peg (so H3 acts like H2 does now, etc.)=20
> >=20
> > I'm also not exactly crystal clear about how much of this= is pandoc and how much is Weasyprint...=20
> >=20
> > --=20
> > You received this message because you are subscribed to the G= oogle Groups "pandoc-discuss" group.=20
> > To unsubscribe from this group and stop receiving emails from= it, send an email to pandoc-dis= cus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.=20
> > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6eb4318= 9-eb50-416c-8f30-d2baf1dee459n%40googlegroups.com.=20
>=20
>=20
> --=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 email to pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4e3502ac-0= 1bd-424f-9597-0e790f81f537n%40googlegroups.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/8244a3c2-4f40-413b-8bb9-ae2cb37761b1n%40googlegroups.= com.
------=_Part_2123_1304731297.1668206506862-- ------=_Part_2122_1981401666.1668206506862--