From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17886 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pandoc creates new XHTML file in EPUB for every 1st level header, can we have option not to do this? Date: Tue, 4 Jul 2017 11:15:25 +0200 Message-ID: <20170704091525.GA26431@Administrateurs-iMac-3.local> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1499159791 30663 195.159.176.226 (4 Jul 2017 09:16:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 09:16:31 +0000 (UTC) User-Agent: Mutt/1.7.0 (2016-08-17) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB2VZ5XFAKGQECTFEZZQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 04 11:16:22 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yb0-f183.google.com ([209.85.213.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSJwT-0007Xa-PX for gtp-pandoc-discuss@m.gmane.org; Tue, 04 Jul 2017 11:16:21 +0200 Original-Received: by mail-yb0-f183.google.com with SMTP id o20sf19770052yba.1 for ; Tue, 04 Jul 2017 02:16:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1499159786; cv=pass; d=google.com; s=arc-20160816; b=D78uJN8bBZsKC+51C24mXCt6iWhz2REnMvqoJ4QP1FlGQNlUV/bOyvExs7n9othXEx mdDdgHonYwtoMEMP812B5vG1LDnAZWiJh3bCpiS3U4lhlcIq4hYc38kV0726q1t2gxDA s6grpellRhXyzinnG2KgKP144V7nhLCdSDZW8yY1bOcAfS8S9OCpWJFJiFCXDe7YXNso ViwT6lBqb5py65gbFrErvXfPwN3OHvp8NZ+IDApbWLFbkolfdyGlmi4kZlyM9ZoS99xr /CR1kC3fuIkTdqzs04Zo6IO8r0pzxlc6O6Ot7yVbk2eJd3tz9UYSPSfNjvd1pyrDgiJv qUMw== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=4V+qdojm75JCMpeXD/EJOx3ZhLHMCvQQToMHkr8SuM4=; b=WVZ/r6DL1g++yZJs45ApJjzR9kCppI0yRiP7M6rg6mj+CKHkkkgDncwG/dV3n/iVyz r5DyuurqSJGGRqFpIKTG6xeRcpeQzvlBnB2H0Ox0g48xwVjJrwTlR59HE1IuhnA2CE1D iT4SkXEFQSiHQrjGmIm4yxd4DArsPItQFVrB7noUNXbamXHFml9/689bhEnzU2wIOZ7c 4gtyCayFXhJF+myxzqMUbvDOOF9sddpCZTTbW5Gsdfb8eDBYL/OZmJBKyxpX6cLKN3YY gGrdJlaC11EcWpodTtLWUezPmID9e07sQdQEh2MsVrNUgWYvKMGecZWbHrR1WP69Cqdx ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=Rpaac0Yw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent: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=4V+qdojm75JCMpeXD/EJOx3ZhLHMCvQQToMHkr8SuM4=; b=OZxEvVg7UFCMFYmVht+T44WHp+1BOyLYigPJkarF4VzKFEbLGbJMBK/2DqEiQkNf2l q6lKNn76VdELYLnZQ1uiCrG6ikfhadqnFtYCS+F4UynkaTghMi0EREzTB9+zLBPzwlG8 P2Ez8nFciCdFFVRQUO88+imIYuKmjvMuQAQF7FnQdeq/bh063Uksp2gpudXLJL/4eoeH KUvh/pOHx44mhGlp6vFqFZZba4IXF90jsu8UrfVYuAaPYvszkwpeiqiON+vaxlqb6wPJ gNE+AjczfrCzXs2agYk09BN5V4dj3kUCDYcEK2efRWzul1Bx2iFnsReD5PHGH0Er7pgo YopQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :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=4V+qdojm75JCMpeXD/EJOx3ZhLHMCvQQToMHkr8SuM4=; b=GVGe+lphnt2Eby6RU9e7DbJVQKZamiU4UcsYtjDtEkRZacy7nmoosqigjDN1do8zkX RMlfsfRHZMXl9HJfisoCddtldflR5VXbibpc62aIR83ki0t4CqWts+YK9KONd+qZp87W u8CiLb8CautN+FHTLrC4ObnrDh9OfM13n5G4Vn69qpw6OzP3Vx6dS2auXGOysDDw8c4p EiBjBT/pBF4TQqMaONczZF3rYS0pVG2bYW8CJaAbR1jHHnUGDf+WpKniyU6vcjNpTHhO 5C7732H+LsklDpcWxs2vAoltHIBAwxEYSDRU6T+XwVxdCCrel2Bq4LSjUI99WNM/OlUM Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKS2vOzv+3KBcTVviH0+KgG2nxsnOVik/QufDqR9NtgXxemawTLBweXz kmVWzT5Zv42xaQ== X-Received: by 10.36.69.103 with SMTP id y100mr1000022ita.0.1499159786750; Tue, 04 Jul 2017 02:16:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.93.4 with SMTP id w4ls7910957ita.22.gmail; Tue, 04 Jul 2017 02:16:25 -0700 (PDT) X-Received: by 10.107.158.19 with SMTP id h19mr24332972ioe.50.1499159785935; Tue, 04 Jul 2017 02:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499159785; cv=none; d=google.com; s=arc-20160816; b=ubJGABsjk3JA/56M/39bEN+CUPjCAjkLWtzPaB+xDOegTI/+D43Ex3b0Lp56s1kvea cvqwovlSCw/e8StTGkxFoTqWT5FFPoOOcEQ1VqkVkecKFmsaDIkiEqyBNR/M5g3AxSf8 ZLqBHPt4Z5GyAigQeibqXsag4VR3Vs+pkWfVbIIbCU+Lpib/xwXhHsPS0D5/5qyvpEfe QXta8wWQnGtebb2tQXkY7+sxB2/aQZrseLPtNM4/v2VUkT6rs4HKcTaVY8H5a1A6g9AH KsT3sUHzkSFzKLHtNllyraczjWKEUquf5DSXgg0CJ46AfcPaGwZzzJRrqy178VMDXZum vsjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=PPF7oGL/FiVGqyrphnfs2V5tvKWbjoS512hMC5Zhk1Q=; b=WeomFh9p5ivVjCMzRfU2xRPRanyIlbRGy5zcNYjUaundKNqMnyFnO2ZDzukDdtd3lb S1DvBOKtgO4U/elHEMwn9zFSOXSFtExPkLihXBdX0+bxqbLY53HolgiZGpcHDQ4+dn4f URDl7emYDAwZlpz9kQj17ukFbRgbnVr8r1cG4mS6DVH48wpj9d6O6/t0RIYzCQsqli3o X5VJ4f9Fwdomkha5ELg8/+iMfRa6fOIzMaaXVqNmcdankifftGbqO9PGTIhmlFuOr/Xi egRhNN7LF3qkjIU/mfspevQdlDUxPOGhPAx/9VJozRPIHxqjh0m0+MqYaLelUFRQgNJn UUjA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=Rpaac0Yw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x230.google.com (mail-pg0-x230.google.com. [2607:f8b0:400e:c05::230]) by gmr-mx.google.com with ESMTPS id e70si4156305pfb.7.2017.07.04.02.16.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 02:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) client-ip=2607:f8b0:400e:c05::230; Original-Received: by mail-pg0-x230.google.com with SMTP id t186so107975398pgb.1 for ; Tue, 04 Jul 2017 02:16:25 -0700 (PDT) X-Received: by 10.84.191.165 with SMTP id a34mr15015713pld.243.1499159785474; Tue, 04 Jul 2017 02:16:25 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id j14sm42445506pgt.7.2017.07.04.02.16.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Jul 2017 02:16:24 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 3F456A1C5; Tue, 4 Jul 2017 05:16:14 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=Rpaac0Yw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::230 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:17886 Archived-At: +++ CR [Jul 03 17 08:37 ]: > * Pandoc 1.19.2.1 on Windows 8 > * I'm making an EPUB book from multiple markdown file, which are > 02intro.md, 10stuff.md, and 20stuff.md. > * Command line: pandoc -o %outname% -f markdown_mmd -t epub > 02intro.md 10stuff.md 20stuff.md > > In 10stuff.md there are multiple instances of header level 1 formatted > like "# header 1". Each time Pandoc finds this it creates a new XHTML > file inside the EPUB file. Is there an option to not do this? I only > want to create a new XHTML file inside the EPUB if a new markdown file > is found by Pandoc. > Thanks! No. There is --epub-chapter-level, but this only gives you a way to get more chapters, not fewer. It shouldn't make any difference to the user of the epub.