From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/3789 Path: news.gmane.org!not-for-mail From: David Snopek Newsgroups: gmane.text.pandoc Subject: Re: EPUB toc for whole book? Date: Mon, 7 May 2012 17:13:55 -0500 Message-ID: References: <6465376.92.1335560944887.JavaMail.geo-discussion-forums@ynfi5> <4232951.768.1335608514852.JavaMail.geo-discussion-forums@vbbgl4> <20120428150316.GA405@protagoras.phil.berkeley.edu> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=14dae934040bfbb2a804bf799505 X-Trace: dough.gmane.org 1336428842 29759 80.91.229.3 (7 May 2012 22:14:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 May 2012 22:14:02 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCNPBuN7lAhCkkqH9BBoEM4Rpmw-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 08 00:13:59 2012 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qc0-f186.google.com ([209.85.216.186]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SRWBo-0004Uw-Ve for gtp-pandoc-discuss@m.gmane.org; Tue, 08 May 2012 00:13:57 +0200 Original-Received: by qcsc2 with SMTP id c2sf5896786qcs.3 for ; Mon, 07 May 2012 15:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to: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; bh=sT2zOSleBsBXVepi8IFrpM7k/usp0DkxbhfiruI60vs=; b=A237LE/XR017As+fMKN9LepcDEwct6f9ZmDSH5zqTr3mDJX8sP4iAp2Z/X+8/Dkdkh BtBCioXBJPNKk/2b07uFTESTQbO70KRtrpaytr5YVVHz9CBf3bSBVbjaYZbaqqfg1KvH NnU5EkKVyK9cgb+THlHHm1+SSkG7lBI3awpeQ= Original-Received: by 10.236.170.197 with SMTP id p45mr958003yhl.15.1336428836127; Mon, 07 May 2012 15:13:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.236.123.164 with SMTP id v24ls780348yhh.3.gmail; Mon, 07 May 2012 15:13:55 -0700 (PDT) Original-Received: by 10.100.246.23 with SMTP id t23mr6927778anh.10.1336428835341; Mon, 07 May 2012 15:13:55 -0700 (PDT) Original-Received: by 10.100.246.23 with SMTP id t23mr6927777anh.10.1336428835323; Mon, 07 May 2012 15:13:55 -0700 (PDT) Original-Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by gmr-mx.google.com with ESMTPS id k35si20456052yhb.3.2012.05.07.15.13.55 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 May 2012 15:13:55 -0700 (PDT) Received-SPF: pass (google.com: domain of dsnopek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.213.54 as permitted sender) client-ip=209.85.213.54; Original-Received: by mail-yw0-f54.google.com with SMTP id m50so5619769yhg.13 for ; Mon, 07 May 2012 15:13:55 -0700 (PDT) Original-Received: by 10.50.189.135 with SMTP id gi7mr9625795igc.37.1336428835090; Mon, 07 May 2012 15:13:55 -0700 (PDT) Original-Received: by 10.231.123.228 with HTTP; Mon, 7 May 2012 15:13:55 -0700 (PDT) In-Reply-To: <20120428150316.GA405-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> X-Original-Sender: dsnopek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of dsnopek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.213.54 as permitted sender) smtp.mail=dsnopek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@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: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:3789 Archived-At: --14dae934040bfbb2a804bf799505 Content-Type: text/plain; charset=ISO-8859-1 2012/4/28 John MacFarlane : > > Internal links between chapters do work in pandoc 1.9.2 -- but > maybe not in the way you expect. You need to create > the links using the implicit identifiers described in > . Hey Guys! Sorry for my late reply. I just figured out what was wrong with the internal links in EPUB. For some reason, if you have any content in the beginning that isn't in a chapter, internal links break. For example, the follow document will get a bad internal link in EPUB (but not Latex or HTML): % Test Book % Test Author Here is the forward. # Chapter 1 I am chapter 1. # Chapter 2 [See Chapter 1](#chapter-1) I've also attached two files to demostrate in case this isn't clear enough. Anyway, to fix in my case, I just made a chapter for the forward material. When I generate the latex, I have a preprocess step that removes that chapter. Best regards, David. -- Blog: http://www.linguatrek.com Product: http://www.bibliobird.com