From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17986 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Reference links to numbered headers of README.md not work in converted formats Date: Wed, 2 Aug 2017 06:49:22 -0700 Message-ID: <20170802134922.GB38349@Johns-MacBook-Pro.local> References: <74beb961-303e-49af-86d9-04193ca2b8b3@googlegroups.com> <20170801194100.GB29242@Johns-MacBook-Pro.local> <108edc7f-37e3-4764-944d-7689152df990@googlegroups.com> 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 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1501681785 32109 195.159.176.226 (2 Aug 2017 13:49:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2017 13:49:45 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB4NQQ7GAKGQE7WJAM2Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 02 15:49:38 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f61.google.com ([209.85.213.61]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcu1j-0007fc-Rc for gtp-pandoc-discuss@m.gmane.org; Wed, 02 Aug 2017 15:49:31 +0200 Original-Received: by mail-vk0-f61.google.com with SMTP id s199sf2869953vke.1 for ; Wed, 02 Aug 2017 06:49:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1501681777; cv=pass; d=google.com; s=arc-20160816; b=AkiwDcOBG5ATmKkfyQ03DLjLl53gPi0aUGiAEkerJDhX5LhZWccqXWdRujbfLLI2jq +D7H4hkAetBbrW40z2Nmfwht6WB+5vbg/i46C9hsrU/gtTAR0bvDSjeLyK87Jm+uz6TK q7hCNQqmBpb0bdPHTaKMHvKPbxWGzXD39aM3zCztpsmI/K7/pBCznHH8HBS12g6T5JsM zUyNpb73LMvn+CraOIrOseowTziQQwsLhGtq8rkUV4AFzY3BKPEPNLm/ZC2P5/3eUJN6 434fwfoXOGB4W7nB7e3i6U2HKTS2L7/sx67f2sf0sjWHcTLGHmvbvYhls1gZUGC2nra/ GNfA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:date:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=lvjeNF9/UN42yY5X2zif18bbYTzvlyWrZCi0t8HV7m0=; b=AKtObzBNy1cHi45oGn76/ZMlRTq/NWbAeonwLGJXuRoD0SnXxB7G12lVQ5A9/iExut KstHmL0ekbfkazq/wSaMRhGTVhnwvQnM1cQHYXMU35vbTr7PH6TcIzX/8q9MIz4phLoM UceK7csLf3+p/npJTyZL2WDi8hPsNTiVIP/ReYnD2gHYKif74papk20iXoE9zdFX4ypu rb8PPXs5lNB+VcffsthdDP92YceULIWw2d52pIoljm0h+hMGpPB64gHTWGVVdHZ/SNkH 4yQrWiFZ0EStS2q3DLbhDP+aRXkqQn78fObSHVjfDF ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=G6v/qxJw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::229 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:content-transfer-encoding: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=lvjeNF9/UN42yY5X2zif18bbYTzvlyWrZCi0t8HV7m0=; b=XjkS69uFJzNYdiy+ZggJ196DzfX/QoDIngMyvPoTyrOMYmwIK5afnkLvv/i+s1bDvr GmZu+oqW2XsY41G3EiJGFXRhS6dhpUcnETKkZKdSwPy5lck7YLZYlnPLVZvPf1U6Ls9a qCY9awCXXfwhcHwMfmC+4aKBSVeKZ1WPbRhJRzPXbntFYnScAwp4eHYg7NjDKrgFzqg7 WiRHBFAUezvlPiCfZjsvGidlZN86Zfsswi5avdTnC0o1tSvc382uWkxkWetRA4Du8nEr 75dr75E+HkAJuLTl9VpMQrj7XkguM7UXv8aZ3hTipoZ5IclTW1fKVjIJEyRBCOfDRPJ/ eL4w== 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 :content-transfer-encoding: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=lvjeNF9/UN42yY5X2zif18bbYTzvlyWrZCi0t8HV7m0=; b=gM3kjoNKvIl7F/l3MxF7w693BLA+6wR030rKNksMDq0D1uD3GDr1eKf5KVABHi1huf KKoFjNK6W0XTf2z+iKAc7j3FOR+Rr0tlaYUaz+Qz0myXv5GtQE9FpsOsZ8BM7+0kRkjM Yw2nfP3SfZqgtW3efpuML2VW/U8ouNdPz74riz/O4I6RHMRbLFLdrsiZYkySEC5p+Kyc AeD/L/n/0wJUCXQctuWu80s5IaqNaHmDHakTh6Jb6BqDRIntoQFv4/2zShS7IG6HNEAx i6qOH5au1D3k2wxeqlBv0OinQH1Ont9Y6 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw1132/fHZVMV4XvbVx1d/bVvN6p0GaEFc0F6ku41L5tHtmPU3AXBX krNS1pDWlCwLSA== X-Received: by 10.36.82.83 with SMTP id d80mr237957itb.8.1501681777886; Wed, 02 Aug 2017 06:49:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.20.134 with SMTP id 128ls3877039iou.8.gmail; Wed, 02 Aug 2017 06:49:36 -0700 (PDT) X-Received: by 10.129.135.65 with SMTP id x62mr1299271ywf.134.1501681776884; Wed, 02 Aug 2017 06:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501681776; cv=none; d=google.com; s=arc-20160816; b=GK7vkJUx5Zs/DA8NBEXi9KbbSIcn2CT2ImDZIS/eq9VE3Nr5HCi7/nivk8e3wB5fQz zmU73qb8ZZPvA67Ks7LX5f1iNCUi2Noh/wpC3k0353mP745hYuHZ9OXrbru7Pak84U+r H4CZ/cTe84MgzUyWoSpthzYqM8+EQRtwXKSmlqXp+FddrSuWmsjETKRtFyM5adB79xDd 2M9bUBWWWf0jCE9bCc1NCyhBCq03Efb38yyQLDOj/YO+dKiNHyBtM/RbmpDDvhMBbG/w ssBbz/+QohIcLFskVzDPsu7ndriUoJbXwV6iQ+3++BIUW2e8S/ogrUwI80wlp/g2yKhJ 8gnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :date:from:dkim-signature:arc-authentication-results; bh=xFUnRVwfOQF8570tAX/E/E/w0ovrKwLKXt1Y+sBuBE8=; b=t2ZDLOgsjymVkwmZLl10JDdp6qym54VklsyKWVoO6VUhz3fopojsCbfJYyhjxIQuLZ dksNeimWrGfdV/rFa7kBACMuwahsmIDnhnnXpcPj+KCYI9FaiDnZdMeQ2gru6Zs7BjjA leBsVqZO7E74p/sBWhaUclPGaSBjIdnmAdseQsdbXANv8P6QLvwGBUA7uGqwTn1cE3WO tUmLWeeon/zMGkuWUexfmI7KZZ/OoIg5/koobXV/QJFF9DvCgZCDZsTY0nbWXcWhMfvu dO0X5CRP5FuW7mTBP3m+5hncrIAaVQUMLvz5UPyrZ2EiSz8AW1PZeJVQU7RcmwOQZho+ ZGkw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=G6v/qxJw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::229 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x229.google.com (mail-pf0-x229.google.com. [2607:f8b0:400e:c00::229]) by gmr-mx.google.com with ESMTPS id z83si915316pfd.17.2017.08.02.06.49.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 06:49:36 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::229 as permitted sender) client-ip=2607:f8b0:400e:c00::229; Original-Received: by mail-pf0-x229.google.com with SMTP id d67so21394321pfc.0 for ; Wed, 02 Aug 2017 06:49:36 -0700 (PDT) X-Received: by 10.98.214.28 with SMTP id r28mr23384040pfg.156.1501681776273; Wed, 02 Aug 2017 06:49:36 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s67sm40253286pfb.100.2017.08.02.06.49.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Aug 2017 06:49:34 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D6FE0A1C5; Wed, 2 Aug 2017 09:49:23 -0400 (EDT) Content-Disposition: inline In-Reply-To: <108edc7f-37e3-4764-944d-7689152df990-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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=G6v/qxJw; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::229 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:17986 Archived-At: Please see the issue I linked to, and comment if you think any information on GitHub's algorithm is missing there. +++ CesarJ M [Aug 02 17 01:08 ]: > Hi, > I've been doing several tests: > The GitHub formas does (from github.com), to resolve links: > - It downcases the header string > - remove anything that is not a letter, number, space or hyphen > - changes any space to a hyphen. > - If that is not unique, add "-1", "-2", "-3",... to make it unique > Using the markdown_github, trying to convert to html, convert to > follow: > Header: >

1. Title

(fail, must be id=3D"1-title") > Link: > 1. Title (correct) > > Using --toc option, also do the same: > > Seeing a odt converted file, the title destination (right-click in the > link, modify hyperlink, destination in the document), appear as "1.1. > Title". > I try to disable the auto_identifiers extension > (markdown_github-auto_identifiers) but not work: > >

1. Title

> 1. Title > Disabling not workaround the problem :-( > El martes, 1 de agosto de 2017, 21:41:15 (UTC+2), John MacFarlane > escribi=C3=B3: > > See > the manual under "Extension: auto_identifiers" and also > [1]https://github.com/jgm/pandoc/issues/2821 > +++ CesarJ M [Aug 01 17 00:22 ]: > > Why the text of the reference headers is modified removing the > first > > 1.? > > -- > 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 [2]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [3]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [4]https://groups.google.com/d/msgid/pandoc-discuss/108edc7f-37e3-4764- > 944d-7689152df990%40googlegroups.com. > For more options, visit [5]https://groups.google.com/d/optout. > >References > > 1. https://github.com/jgm/pandoc/issues/2821 > 2. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 4. https://groups.google.com/d/msgid/pandoc-discuss/108edc7f-37e3-4764-= 944d-7689152df990-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter > 5. https://groups.google.com/d/optout --=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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/20170802134922.GB38349%40Johns-MacBook-Pro.local. For more options, visit https://groups.google.com/d/optout.