From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23346 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: [LaTeX] Problem with Links in headers Date: Sun, 01 Sep 2019 20:52:18 -0700 Message-ID: References: <9600a513-8196-4747-953f-70ada224a688@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="177339"; mail-complaints-to="usenet@blaine.gmane.org" To: Andreas Scherer , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB75DWLVQKGQEAE4NVGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 02 05:52:36 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1i4dOM-000jxP-1b for gtp-pandoc-discuss@m.gmane.org; Mon, 02 Sep 2019 05:52:34 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id 100sf8153838oty.18 for ; Sun, 01 Sep 2019 20:52:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567396352; cv=pass; d=google.com; s=arc-20160816; b=Z90EMWz7CXrog2JoEFkTeYXAlP+oRZp+/w8WbTlNZZXgIYWyksujb1/yNt32TTcRV6 Fvz184hKJX5+HmcbTzpQXUNBB+jC0UUU87A9IiBBN0+eEMNjRpv2IInrS/N4LN4d0eY0 KAEMK8RAzm+oTOdu2A7CeAUnX8I51vn6O610CJFW3WFYxd4Cq4SQzh9XTHqaj2CoDRMb yDu/huEYNRTdGRcgn9J0QseiHaOqUHpGHvXoifBVCDTZNScJlMi12pUALLZeLvP4K6RW IlfNUXXlWqWpXfFGB7ATeQW/KEOMtaszoaUNsnb12zWYTqHZEWWUWg2hbVGONxpCdc5M vS6A== 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:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=tvBcwVK5i1PfUuwATUceYSLx7sJ+sYNdT6ow1t+zkqU=; b=F07lpZ66g6JssH+iznUghMH/Rjw9FKQT4B+M4EJTQj5GbT0SOeOvlBf1x/OxWBasUO 45IOaMEWnjssUe1J5YWtlQ1p1+4t/zvnVpnc0u+eCs2zD6AodG/VS5u9b2suobgN58GT 1jj1xwlkyxyHylDfgN7BnUVna7rlZZ4hZKc2PJHYi2H+6RkVmKtrtUOhcH3rPcBHUgB9 lPnpbJ/vOqx3MZ70cDWNbsq7K3Ewx06ZCG6kAuV0eT7Z94EtfhEPuzyta/7nqH/xeege xv1EXG41TtwMoO8LMGOdkpXZvy5zlBnl7sFwiHHmSWqMCRtzDMORuEx54IBTejFiOsUV S8SQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=L1JWVovC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52a 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:to:subject:in-reply-to:references:date:message-id :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=tvBcwVK5i1PfUuwATUceYSLx7sJ+sYNdT6ow1t+zkqU=; b=iIRohfBt8Nm8hkUnFhq2cvgrKC/xZcq8AtqeW44PFUDhOsSuGKQpBz47OrfS8k1WN1 7AJKe5asfNF5hO32SuDIWQ/DR4iB6m4e8f9d5fMuQEbLsqN8B29o/xTp35aC3d+LCCES s5LHPQLIzUk23X0eDLY2WMBqFCL4XE8NXw0A46p9izwTXKChf6Zd6xH4jd8hKKYGvCPp XbZvFrco2ZOK9CtIDKVSa2iMawOUJkhWKLBlDNLDXUNjbvbXN7X+2SResTMSMhvg2Egm WLzk3NQHIqJzxnJ94w/LYugplO1a0RQdu8vFh5QOw8ex8p6CaXZVZ96jeBmCk7bqk+t6 5tYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id: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=tvBcwVK5i1PfUuwATUceYSLx7sJ+sYNdT6ow1t+zkqU=; b=mUp4br8f0wztKV/C/eiKvDpraPaQkoh9pXOWJrYb/JKcBdu/A6d+pgchPeg1cWjOUi iQOV5Vd4xDAS7M3tjVfORqWw/vBz4ch4keTssrqfNQpzuullAiS0WDR9Ky2i1rVcYlDR j43N4LsOGQeYdf1jsWUUXh5Gyrx5ZEgqUqJKdSSz2wPIvadmxYr8vxrz2+B5buDgSR2v /4LhJblevNakTHcvrLdlI6ftTBO19G4+aVD9GrpdBNVjCf2zB9mSUl/8AWkfRuf66LCm hXFh2y6Vu4jy0K6TAKq88O6t6hg/H3r2kA7NCBZC+WA4KyM7hJtXVE7dg4KDVAmIYysQ 7LSQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXPjEHtJ8nEhmoPW22bt+ivtBcjq6igs7FK+zD0dLnCN23Fmcrd h9ciXHoblGasnqet74h9dE4= X-Google-Smtp-Source: APXvYqw7hSmbiZQ7TEN2ls0Na4LMjqz/n/lGM3opJ8uc5G1NKHR+29xpIFqmama62Ddw5DNnmul74A== X-Received: by 2002:a05:6830:12c9:: with SMTP id a9mr4329124otq.359.1567396352751; Sun, 01 Sep 2019 20:52:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1095:: with SMTP id y21ls1443788oto.11.gmail; Sun, 01 Sep 2019 20:52:31 -0700 (PDT) X-Received: by 2002:a9d:6218:: with SMTP id g24mr22119025otj.304.1567396351614; Sun, 01 Sep 2019 20:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567396351; cv=none; d=google.com; s=arc-20160816; b=ZQCgfSk4EGJfr6gE4hZOpJ5yCKjoJiMPDlrTs13el4GZCqd3nOsxLQT5hqD5W8XG8m fH7zDf0OO1HGD2VIUz8LfJ1ZI2fCHWpJmYZeVrcB/bA3mqPkk2mSf+neZ3CIibic7ECA imd1QbBCdnGhFep7rSfAAxj+a8iC/tNDoWnxgFfgrjaeKV/tFjszDJ1HanpeEHbGnt1f 407NvSaACMM92rTk/6c+ik4PnSPkTLg/8/Ac/80lAFVGTXexu0kGHmlHnBYRXw7JUX3R 6IO/+WnuDYwjuuBQP4J61aMIAaBtgKXsKJVCrYrQAA1vFqe5KUUH+gmHE4xLdls4MtLZ 57mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=a1aMtjstgMre43JasBodaM2pEtoAWuZwAswOK+IsIbg=; b=AJBHolRFdlrlWHFoHXKDmrllgk78eCoUZTd+abqtF2brxRpAruTKRxdXJOOP8o3GXH ZDsmxXNBB8+XGoLNXKSW3HdOcjKecyeSvRWNbEUDFTDGKKRnv4W2ulDnvKkBa1JNXsZu Nd51JzDsIqoeuB1lKSpeP/gg7DH2Fj7igllxYL6vNxzUAYvoV72xyWJjCBOhYgAKLuSp mwvWgEQ4bfm9I4EEUwU6wbd8GIlCftHENwN/SVvAAgBZ3VYFcMxszNq4dL1WvoCb6GEY orUPcUHqtSeO4UGs/6zvRC3qiAz+J8YbXSeIQNYLWqjZGG9Oo4dIh5jv8ZJ1MNa2dO4h scDA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=L1JWVovC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com. [2607:f8b0:4864:20::52a]) by gmr-mx.google.com with ESMTPS id w131si507606oif.2.2019.09.01.20.52.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Sep 2019 20:52:31 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52a as permitted sender) client-ip=2607:f8b0:4864:20::52a; Original-Received: by mail-pg1-x52a.google.com with SMTP id x15so6714538pgg.8 for ; Sun, 01 Sep 2019 20:52:31 -0700 (PDT) X-Received: by 2002:a17:90a:d981:: with SMTP id d1mr10799395pjv.79.1567396350873; Sun, 01 Sep 2019 20:52:30 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id p189sm2834278pfp.163.2019.09.01.20.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Sep 2019 20:52:30 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 0D230A16D; Sun, 1 Sep 2019 23:52:19 -0400 (EDT) In-Reply-To: <9600a513-8196-4747-953f-70ada224a688-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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.s=20150623 header.b=L1JWVovC; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52a 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:23346 Archived-At: Not sure. The way to diagnose this is to use pandoc -t latex -s to generate a latex file, then build using pdflatex; you may get more informative errors this way, and you can inspect the intermediate tex and see if anything looks wrong. (You may need to enlist a tex expert for this.) If something is wrong in pandoc's latex output, it can be fixed, but we need to understand the problem first. Does anyone have ideas? The latex is produced below: \hypertarget{fascicle-1-for-section-1.3-mmix-orig}{% \paragraph{\texorpdfstring{Fascicle 1 for Section 1.3: \href{file:///opt/archive/Code\%20For\%20Books/TAoCP\%20(Knuth)/fasc1.ps.gz}{MMIX} (\href{https://www-cs-faculty.stanford.edu/~knuth/fasc1.ps.gz}{orig})}{Fascicle 1 for Section 1.3: MMIX (orig)}}\label{fascicle-1-for-section-1.3-mmix-orig}} \href{file:///opt/archive/Code\%20For\%20Books/TAoCP\%20(Knuth)/err1f1.ps.gz}{Errata for Fascicle 1} (\href{https://www-cs-faculty.stanford.edu/~knuth/err1f1.ps.gz}{orig}). Andreas Scherer writes: > What's wrong with the attached MWE? If I try to compile *taocp.md* with *pandoc > taocp.md -o taocp.pdf*, I receive the error message from LaTeX: > > Error producing PDF. > ! File ended while scanning use of \@writefile. > > \par > l.49 \begin{document} > > > If I delete either non-empty input line, the compilation is successful and > the links work in the PDF dile. > > (*pandoc taocp.md -s -o taocp.html* works fine.) > > -- > 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/9600a513-8196-4747-953f-70ada224a688%40googlegroups.com. > > #### Fascicle 1 for Section 1.3: [MMIX](file:///opt/archive/Code For Books/TAoCP (Knuth)/fasc1.ps.gz) ([orig](https://www-cs-faculty.stanford.edu/~knuth/fasc1.ps.gz)) > > [Errata for Fascicle 1](file:///opt/archive/Code For Books/TAoCP (Knuth)/err1f1.ps.gz) ([orig](https://www-cs-faculty.stanford.edu/~knuth/err1f1.ps.gz)).