From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31744 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Large Document Date: Fri, 11 Nov 2022 14:37:58 -0800 Message-ID: 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3422"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBS45XONQMGQEZTB7FRY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 11 23:38:06 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f62.google.com ([209.85.161.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1otcf0-0000hK-OB for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 11 Nov 2022 23:38:06 +0100 Original-Received: by mail-oo1-f62.google.com with SMTP id b25-20020a4a9bd9000000b0047679132f18sf2167814ook.21 for ; Fri, 11 Nov 2022 14:38:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668206285; cv=pass; d=google.com; s=arc-20160816; b=OclgFJa1XQWteg/hWmp9x4cI8GYzcPXwQrfCVrsoe7y867fvJBFIuTtYnCplJmVK2P KtCcy9RO9sRUbiT8wVM8mAqPuCyIGn/WBGi3QfN6rgK7k6ewrulTWCW4YuKmXcx+UHPD 5gxYEu9bpKStrWqhwcRwFLDMMlJdrzi7hQVxK+7LEaY1XV5S2gbOP97i4itVgBjlpYpG gwLKaGr6CZ+6mNEa5aUdFCfRwyPcF/uyAth7Br5dIR9I67bVO14nF0/j4Z+3x4hKX//9 QfzpAy5MXdgUFPhKSOTDyza+ByJATN5vmsHg2il2ziHaq5GHxxAD01HuS6nH7KruxlDj 9u0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=3Afl1DvbuYNrdoDr761M9MMcMhTt90rCdU/6wf2U1/s=; b=qy19V6S53RlR0jaV+VT4ZD4QcjO1G6o7FNllfRGu+5bwMZg3Cx+bGdbrO67Ov+sctY lynd9DJ4/DHYQRnTPZPkfO+qssTQsHDJtRwZ/TqlldtWxFy1g1NZe8NzwLfCtCmdHvOL 2xBJKA7IiNb9To2a+p1/w6JolG22GaVh4imKCmxL3CupHhorfFF9bx/G6DiusXoaAaWh bYKyUkG6VKgmKeg4vdsqB0P1O/ID+BqSG8HjmgQds6wAz13e4/9mq3EeyyDLiFvLRWps 1Y5UweldgBKqQVJC9i8Ay83Hn3wRWICGdJfIj+E4lUx7rpdJyZc5MkbAj8Wiy6/DUrjt afZg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="YBvi2e/c"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=3Afl1DvbuYNrdoDr761M9MMcMhTt90rCdU/6wf2U1/s=; b=d0K6kYBqsnWFe62ze4cGi0u5mdeacGuGjGBaSBpYZT0jpIpG653Dp1lWBWeVLPdsLB uj8KXPGVFH3yG0/cfOuumwoGCC6agWmZeWOCxBG25+rs3i8YqD4Q8W9VGv61x+UO/5OI 3M56uKEoPr6xTUSld8I5rU5i0vpwowgHMpxeyXrBRBRm3snzPrb7aTI54P1IUAnif87F z/HUShfYx0SHqusZVV/7/oAlALs0DiNlxFsXDS4O8Aqh1NKQ6Mv6wFjopxRdW0wRrBnf lsAXOdDbvhZ/DqefQmQVlK4SoVX5z1L6fU/jYkzSZPwBiObv4k/usFOWgbc+0KF1d 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=3Afl1DvbuYNrdoDr761M9MMcMhTt90rCdU/6wf2U1/s=; b=S2S1u2dPyHp+ZGUXb6xugZUbhkCZLASnyT6BFMvtSMBxQDyF4XJFvhYOaQcJJ+G7tn CJVXINdhXIwaNpvR60LbjfoXNRzz+HpE/PdfyxBeHz1hbDQgmdqKtZCD6VjH9SUcAHPC lbFpO+AhpnSkMB/eHFJ0hxw0DCY+U93dbQM/rnJZ7cEBzNUQc9F8A+yrGJFU5zOUkY7s SthB/2wdCbF6Drn+AcYCHsfKnqFMAFRfW1XQLbtZIUfOuK63pMjC68nf/gtvNPRYRLWA O231v+QKqBO+VDl+XcQVnfVdIGAqyJ4u1IPKt8p6FyEh+4hPUNWzNWmEu9qd5NVAQ9B7 J 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=3Afl1DvbuYNrdoDr761M9MMcMhTt90rCdU/6wf2U1/s=; b=vGFtO6BpC7ZCXB+6m/ox8RkJS8syjbdfqNZtNLiB8GOX3ZBUY6/RWiVZKfnLmi8H9b Nd09DeptndqOGK0g6t4gXnNDZ54SSNQdNYO1uTWe4lvzK2Sf2iDqYPuaMJ4KHR76kwgl dq3QVdD8MwtD+wRGlENADE1RnnZTi3GOJ+8gy7SMG4pa7hOS6j7Bb+RSpiGb7niqCQoa sMQemRHQ9SlSgPFP3fOktaE6FHwWUNykGf7+2b/gkAKy9eVQDJkkmO6K6zaWU39FwgXJ rDeXTaYL7VYBPx8Dsp9E Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pkt/dmwgT+hyhU6+J3mbEzkX5+0FivEOzQp75mBWvGz3bBeL4YD mBaySfhLugt18L7vrLrEntI= X-Google-Smtp-Source: AA0mqf5iYYK9FZifYaO3s0B2fH4vsXEsDh1yLfYyiSlRr0ONt/fmtUdlAyzjsSV30cYOQ2ZvXYBX6w== X-Received: by 2002:a05:6808:13c6:b0:359:c652:ff7e with SMTP id d6-20020a05680813c600b00359c652ff7emr1759165oiw.254.1668206285655; Fri, 11 Nov 2022 14:38:05 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:7688:b0:13b:6766:edd8 with SMTP id dx8-20020a056870768800b0013b6766edd8ls2096168oab.3.-pod-prod-gmail; Fri, 11 Nov 2022 14:38:02 -0800 (PST) X-Received: by 2002:a05:6870:80e:b0:13c:5d07:e545 with SMTP id fw14-20020a056870080e00b0013c5d07e545mr2123355oab.203.1668206282726; Fri, 11 Nov 2022 14:38:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668206282; cv=none; d=google.com; s=arc-20160816; b=MwH4Vf1ll3W3cnrE4jlvriRyFReSYIlReaF8SrorUTMjj39xvEeeauecoK/wOdU1pV HxqmiF6h70m3B0z5R2tXQfmz98TJkdn8oyveft4c9o1Bk/P22nCsUGwWli02kSHDTh1y xGneoIMdl1GIUNX6PvvoLrYZFZT3/BdM7o9WXZbUyFCSHI3ZZv/7ovl6FyqGyjU27N+a jHKAz1GSfvvDSj1WcPGbKS27pwN0bzzoMpt4hjpoWzu7JNZe1+xOhJXUJYEg1L9rY19B J3fZ8BiajKXsnhy+LLAXq7ex/ORaulJdIxi17aNL5naaPVnXwziyqqnTityo5d6kL6n1 TNuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=QC/jZ8Fj0jHnFZoPrgUT2aL0mOe1Mede6wVlwAsKmng=; b=Imru/dMNrhFEOr7QZRQeOqPs5nMcsni4hHOHJiyDO3FgmJ2yIq5AWcGflIlsiIYS1R Zxq6EBuBGSfoQfhpq3oI8beOjxMulzzGcFeK9GNITg82y2pvZGtc9ylh8lxWPmA3j7JH Ax/ozzFDuyr0Go+y5JxfqjTWHSKzGav2HmjlzfcK1p0wig7H2OVtcAmukYOA6lvPNmbZ ONaMeCkNEjrDgOFxshmSn+LVFcDOSzshJ8DC5NhZQz6fTzUf8LPFcSpw8Bqums3mytzB DSxrtJuEnxhmMDq1MUc6mFnP7gZpLB46XJCXmoRssS6diku2YYGaKzTCQHo79D1qlLy+ +jww== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="YBvi2e/c"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com. [2607:f8b0:4864:20::62c]) by gmr-mx.google.com with ESMTPS id o5-20020aca5a05000000b0035446541a0fsi220702oib.5.2022.11.11.14.38.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Nov 2022 14:38:02 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) client-ip=2607:f8b0:4864:20::62c; Original-Received: by mail-pl1-x62c.google.com with SMTP id p12so5316136plq.4 for ; Fri, 11 Nov 2022 14:38:02 -0800 (PST) X-Received: by 2002:a17:903:328a:b0:186:8518:6c79 with SMTP id jh10-20020a170903328a00b0018685186c79mr4105388plb.146.1668206281496; Fri, 11 Nov 2022 14:38:01 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id g11-20020a170902e38b00b00186aaf1644asm2230353ple.87.2022.11.11.14.37.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Nov 2022 14:38:00 -0800 (PST) In-Reply-To: <4e3502ac-01bd-424f-9597-0e790f81f537n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="YBvi2e/c"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:31744 Archived-At: You can have multiple metadata sections in the same pandoc markdown documen= t, so if you just repeat the metadata, it will still work in the =E2=80=9Cc= ombined=E2=80=9D form. Nothing is sensitive to being seven lines long =E2=80=94 you must be mistak= en there, or it=E2=80=99s something else. > On Nov 11, 2022, at 7:52 AM, Craig Parker wro= te: >=20 > The plot thickens... I want to be able to make just one md into a pdf, an= d 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 p= ut that in file1.md: >=20 > ``` > subtitle: A catchy subtitle... > ``` >=20 > I could call the same table of contents whether I was making one single s= ection 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 th= e individual files have a heading that is seven lines long and includes the= subtitle, I can either make a single small file or a large merged one. Is = the expected behavior? The header for doing this needs to be seven lines l= ong 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 line= , and pandoc will concatenate them before converting.=20 >=20 > pandoc --toc part1.md part2.md part3.md -t html --pdf-engine=3Dweasyprint= -o wholething.pdf=20 >=20 > > On Oct 6, 2022, at 10:24 AM, Craig Parker wrote:= =20 > >=20 > > I'm trying to document ALL of a piece of software's uses/features/etc. = I was wondering if there's a way to do each one individually, then merge th= em in the end. I was hoping to just do one big doc, but 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"=20 > >=20 > > on the individual markdown files, but then the page numbers don't match= up when I join them all together in the end. I'm not sure where to start l= ooking, so that H1 still behaves the way it does, but so that H2 also creat= es kind of a title page, and the other headings get bumped down a peg (so H= 3 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 Google Grou= ps "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, send = an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/6eb43189-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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/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/C62D6A20-D362-4B4D-97C0-B5DC08CFA65B%40gmail.com.