From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29372 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: Convention to follow to write frontmatter, body & backmatter of a book in markdown Date: Thu, 14 Oct 2021 08:10:28 +0000 Message-ID: <9832d297bac04b0bae390bce9f11e3ff@unibe.ch> References: <85786528-2797-49ee-9643-c131a60ec523n@googlegroups.com> <08c9532e-5688-4beb-aefd-e99999569d0cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 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="3860"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBB56LT6FQMGQEL6TLV6A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 14 10:10:33 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f61.google.com ([209.85.221.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mavov-0000o2-Ed for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 14 Oct 2021 10:10:33 +0200 Original-Received: by mail-wr1-f61.google.com with SMTP id 41-20020adf802c000000b00161123698e0sf3908590wrk.12 for ; Thu, 14 Oct 2021 01:10:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1634199033; cv=pass; d=google.com; s=arc-20160816; b=t7pdF8tZ/IlzXfL4FMmzejMqS2VSe9zzMUyEQTBvpDLeOJSHB53QY65CAXDOWOU5aF NZYaDBkjSMLIbQ1fIeo6pZeyC2S/igu67vRje0E6/IYZauSxc0fMKUh9MdX0bTjuZR7E ot/ClI941iWol3PIDOHEYW+A6bkoco6Bma14M8KP7AkUssIA9t5oI3KqetVsueKOFDXu WG9sjmOMRY4sCDzz+exETANb6B3yPjZfGZ7Ulha2ySSxUzEe56JdB6dMdVJKZ5nsh5a5 QUGYfYnDqAzFpv1GuuZmIY8kDb6XXXPdL3YuS3mqJ2MK0QdYg7sy3IKlI5xr+d1Uq451 gUHQ== 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:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=WMYy1jFUY2e4FjH8hDDe/eIcTKiOmiCsePtcnwayVJM=; b=LNSTERuAlltQMQ1wFKFGk5kPSwFlueaNwtNCnjXdAhq7QN+xal//pvij6ixkjxyhuL yuCBpjg/u53W8nCVVihE5DAO7/+ns8noXAyt62+l5pmOK1cgngrl0hVK7HCbrEESXr4e tWflQN7x17y6OHWey8EGTZIJM32OOK2Z2QusIspSJiWsmnXfWpD1iOarL+7V1wakrgAI xirxHfM8UWJj8fjw9/u1GUU/o7Ev3I7rTODNjai5KIhL43RmItuAZHihkRJjpsRsPDOx rdj1vFceQbVvho/FHjCeG5vB5Uy7N+z7Zaq9D6K+fg+NybcN/3vwvRoaYrp14I26eo3t 92Dg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=WMYy1jFUY2e4FjH8hDDe/eIcTKiOmiCsePtcnwayVJM=; b=t4GLpZMgivcvpvJUWiTroU0rBK3AWZdrNQphAt2nueUsa+2r3HFLUF3GEl4hWD3CD/ WqXJtMr3HjRBgK3Y5eBKbgDnQTgRera/opXSR+kOmCsNqw1eZBnT3JHOJmtLpmlyHUmV zXf3h3b/7mar8G4aj/npgePLL2Pjt+4Du7GqRX0o7iyT8vPdFqCvqCXdoWItobkUK2Yo 3Sr7nHUs/psldyvXbwr3MvuPFA4Ahj9jYhgMgt3qXe8a3fDOSOx1QQSj7TqFtiLirDmy Wm9UyiVYQEemAbnodRHtY+fcZZ+SoLbDchE+TlWMRC32kB3ejo X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=WMYy1jFUY2e4FjH8hDDe/eIcTKiOmiCsePtcnwayVJM=; b=FUHqMsabox5KTT6BZdGHOK59IJ9tJ5ah//WY1Ak4WjDIi+HHOIEUdMvk7PtsMo9bI7 OkZNgS5IiDA8g47DNqGGQDQ2yvwXgjYd4VD/PEoWymrl6Cj4xEXIVScBeAy0nfGZxYO9 IyQfAe4YNLMqi2iTbszId63qDgJajqXAOQqm6IuiHPgrRw5x/3S/cLwvEuH+LbAumZ5i n3JWIbK550VtA1HgDvHdB1BqEPJPdpL6FhcSr9Fi+q8LHI5pQUF5mmjY0799PBHSUIEy 2Nhyi Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533aEfizihaVj1qtAqYQwLFecZvUWdzbblvbmk0iPft6timFNWo9 IfnOBu9PLsyF0Fg8LkXH7Bk= X-Google-Smtp-Source: ABdhPJwYBK/AIqYoJH1JGSdRxmEYv4H9lfOEKw05SqPWRbIPcwyEJVi7ZD4M9igiaD7c3qO711U4pg== X-Received: by 2002:adf:a502:: with SMTP id i2mr4763046wrb.311.1634199033066; Thu, 14 Oct 2021 01:10:33 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:8b92:: with SMTP id o18ls2162709wra.0.gmail; Thu, 14 Oct 2021 01:10:30 -0700 (PDT) X-Received: by 2002:a5d:4344:: with SMTP id u4mr5108619wrr.106.1634199030511; Thu, 14 Oct 2021 01:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634199030; cv=none; d=google.com; s=arc-20160816; b=dsTBLi/jxNLzmakkEBRJeZG3TaaFm+GJJ5LInAESABqfLcq63pDmTyimnT7VX1oqfE CBmuKr02aHiOBLlY/gWq7Iw+MACjS62dA+Umgy7M3tA1zrpC5QZ0FW5TJwe+k3EZ//0J WR3gQniSgMxzSzKXjYfFK92dyxBvfxp7wOKI0zJ/YMgmMfXCJBI7NP6q9fOlnEwClqlZ yC05dBbdF6hx6+qO4V13WbdiN4RuUD8GbNXcvhI1e03Ysaqe1NnwLRjoU5oEriscPQxV P060cbi2ynAe6zS632XvtD7C+xL7ltiewyTTG4+krQABERSP58sM633eQ6ga1zilg4jx yFOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=EJg2//yzUVcYIGl/R5OHZHSIwtz2IVr23ztDn36SwAg=; b=krkyESPN03qXwHDl8FJbTqxsD5xWC5HxKlhvSj2EkqORvfGQD8V+fYNQZbhCPN/dOR hpFtkXPw0ZaPdoiiPJ8u5YaE9ucCO61SyzQ/j0aKuWJkt1Nt/i5sU2Ya1T5WdxVhus0v s8fPNTlHuGtWQp8AgIrLyktQi+i1lJMqcZzAPnB2bX4LaUAuhTKdzzs9PEuozo+js82y QR7+6BNKj1RFXTXOuUdFPesHYInhIiW7a91z5lnBEjf5AgBojv09k12Oj00c4UVQVS/C IqKZNBtQppC7RSDBHdkmIN5rGlJAdr3UfoeJin8zjbQ3lnO15JMFUk8+SHIvu7euJvDe Am/Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch. [130.92.0.84]) by gmr-mx.google.com with ESMTPS id a1si142319wrq.1.2021.10.14.01.10.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 01:10:30 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) client-ip=130.92.0.84; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id 3BC9B500093 for ; Thu, 14 Oct 2021 10:10:29 +0200 (CEST) Thread-Topic: Convention to follow to write frontmatter, body & backmatter of a book in markdown Thread-Index: AQHXs7GotXJNAtxDnEuommcHKR2cCavQ4g+AgAAEGACAAVeDYA== In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:29372 Archived-At: Just to explain: literal latex should be passed through when exporting to latex. OTOH, when = exporting to most other formats that should be ignored: https://pandoc.org/= MANUAL.html#raw-html See also https://pandoc.org/MANUAL.html#extension-raw_attribute If you need frontmatter etc. also in other formats using a filter might be = more appropriate. Denis > -----Urspr=C3=BCngliche Nachricht----- > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Im Auftrag von Bastien DUMONT > Gesendet: Mittwoch, 13. Oktober 2021 15:38 > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Betreff: Re: Convention to follow to write frontmatter, body & backmatter= of a > book in markdown >=20 > Have you tried inserting \frontmatter, \mainmatter and \backmatter in the > right places in your markdown document? >=20 > Le Wednesday 13 October 2021 =C3=A0 06:23:19AM, Ashok Koyi a =C3=A9crit : > > This looks like a pretty common requirement. Did anyone try this? > > > > On Monday, September 27, 2021 at 8:39:20 PM UTC+5:30 Ashok Koyi wrote: > > > > I am writing a book in markdown & use pandoc to convert the book to= pdf > & > > epub > > > > Is there a way to specify in the markdown document that a given sec= tion > (`# > > Preface`/`# Dedication`) belongs to `frontmatter` & `# Appendix` be= longs > to > > the `backmatter`? > > > > Please note that I want to write `frontmatter`, `backmatter` & > `mainmatter` > > all in markdown > > > > PS: In the documentation, I see an option for=C2=A0[1]epub, but not= for > > pdf > > > > (I have already posted this question in=C2=A0[2]tex stackexchage fo= rum) > > > > -- > > 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 [3]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > > [4]https://groups.google.com/d/msgid/ > > pandoc-discuss/08c9532e-5688-4beb-aefd- > e99999569d0cn%40googlegroups.com. > > > > References: > > > > [1] https://pandoc.org/MANUAL.html#the-epubtype-attribute > > [2] https://tex.stackexchange.com/q/616905/195215 > > [3] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [4] > > https://groups.google.com/d/msgid/pandoc-discuss/08c9532e-5688-4beb-ae > > fd- > e99999569d0cn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoot > er >=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/msgid/pandoc- > discuss/YWbhNs8G28oLFOYW%40localhost. --=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/9832d297bac04b0bae390bce9f11e3ff%40unibe.ch.