From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/3741 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: EPUB toc for whole book? Date: Sun, 29 Apr 2012 09:31:27 -0700 Message-ID: <20120429163127.GC24897@protagoras.phil.berkeley.edu> References: <6465376.92.1335560944887.JavaMail.geo-discussion-forums@ynfi5> <4232951.768.1335608514852.JavaMail.geo-discussion-forums@vbbgl4> <20120428150316.GA405@protagoras.phil.berkeley.edu> <2012135.1423.1335707398048.JavaMail.geo-discussion-forums@ynlt11> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1335717096 23181 80.91.229.3 (29 Apr 2012 16:31:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2012 16:31:36 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCO38oIeaEBDi2fX8BBoEjV-8jQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Apr 29 18:31:35 2012 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yx0-f186.google.com ([209.85.213.186]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SOX23-00027R-EW for gtp-pandoc-discuss@m.gmane.org; Sun, 29 Apr 2012 18:31:31 +0200 Original-Received: by yenl4 with SMTP id l4sf2495019yen.3 for ; Sun, 29 Apr 2012 09:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id:references :mime-version:in-reply-to:x-pgp-key:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type:content-disposition; bh=E/AiHs7leb/YcRdgYxyOwkNp+YBnVmoCqkDpHrwg3vc=; b=V9b6psUHv+E9QV1HHZk5vDnyo7zlWAAuQUQOF83hZEFih6SJLkotwaBuLP8H+Hw5Eo JCcNiC2B7FhrmbZyKQzT9eYyR+H0axm+FWJDy5/1X3B9qdgo5bRzAb102FN60UzBNSs0 95dKcd7Pur0ZpdaKtjkGvu6flXXTUygw57uxo= Original-Received: by 10.68.220.104 with SMTP id pv8mr818215pbc.16.1335717090061; Sun, 29 Apr 2012 09:31:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.68.75.45 with SMTP id z13ls8533161pbv.7.gmail; Sun, 29 Apr 2012 09:31:29 -0700 (PDT) Original-Received: by 10.68.236.170 with SMTP id uv10mr14035272pbc.4.1335717089403; Sun, 29 Apr 2012 09:31:29 -0700 (PDT) Original-Received: by 10.68.236.170 with SMTP id uv10mr14035271pbc.4.1335717089389; Sun, 29 Apr 2012 09:31:29 -0700 (PDT) Original-Received: from cm05fe.IST.Berkeley.EDU (cm05fe.IST.Berkeley.EDU. [169.229.218.146]) by gmr-mx.google.com with ESMTPS id g5si9724072pbk.2.2012.04.29.09.31.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Apr 2012 09:31:29 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 169.229.218.146 as permitted sender) client-ip=169.229.218.146; Original-Received: from protagoras.phil.berkeley.edu ([128.32.137.142]) by cm05fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (auth plain:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org) (envelope-from ) id 1SOX20-0008VS-Gk for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Sun, 29 Apr 2012 09:31:28 -0700 Original-Received: by protagoras.phil.berkeley.edu (Postfix, from userid 1000) id F355423126; Sun, 29 Apr 2012 09:31:27 -0700 (PDT) In-Reply-To: <2012135.1423.1335707398048.JavaMail.geo-discussion-forums@ynlt11> X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 169.229.218.146 as permitted sender) smtp.mail=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: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Content-Disposition: inline Xref: news.gmane.org gmane.text.pandoc:3741 Archived-At: +++ niczero [Apr 29 12 06:49 ]: > It would be very useful if there was a --qualified_auto_links that made > all > auto links be qualified with their chapter ref. > Currently > # Foo > ## Bar > means the subheading gets an auto link of "bar", but I'd like the > option > of having it as "foo_bar" so it's not impacted by the possibility of > another chapter having a (sub)heading of 'Bar'. Pandoc won't produce duplicate identifiers. If you have two sections named "Bar", the first will get the id "bar", and the second will get "bar-1", etc. See the README section on header identifiers. Also see the --id-prefix option. John