From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17984 Path: news.gmane.org!.POSTED!not-for-mail From: CesarJ M Newsgroups: gmane.text.pandoc Subject: Re: Reference links to numbered headers of README.md not work in converted formats Date: Wed, 2 Aug 2017 01:08:43 -0700 (PDT) Message-ID: <108edc7f-37e3-4764-944d-7689152df990@googlegroups.com> References: <74beb961-303e-49af-86d9-04193ca2b8b3@googlegroups.com> <20170801194100.GB29242@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5890_1228749099.1501661323690" X-Trace: blaine.gmane.org 1501661326 21968 195.159.176.226 (2 Aug 2017 08:08:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2017 08:08:46 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCQKDIFYYUHRBDERQ3GAKGQE3MK2EDI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 02 10:08:40 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f61.google.com ([209.85.214.61]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcohr-0005Gj-71 for gtp-pandoc-discuss@m.gmane.org; Wed, 02 Aug 2017 10:08:39 +0200 Original-Received: by mail-it0-f61.google.com with SMTP id v127sf2647805itd.2 for ; Wed, 02 Aug 2017 01:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=HRZpGcXfCtVqtgQivpT010BYLWis5VNl3bXN4+jnmKc=; b=fsTiKRBbvRGLEEN9WpaiY5S8p/46iIyV5FgytFUUyQJ2+1dJHqTGHVWLJtFx0QZpmA 57IBWZV3FIca/tHIriMsmE4GLkGt8UlL8dMlQen7koe7NZ7K3YPB7g5k8XN3VtogSShg Ap8timNRGcvU7yBvMoIYPcNninj39SEqFGCsHeouUr7RMb9wEtBhWoBd9Az8sY3VDb3q wGF5nTb1qgXHsLxYnTqQtRc8DmmXUtmL63AqNcx0L3zIH5CpLe2NKNmz7je/YGcf+er9 NkihEGLPHF+Tyg+1W7Nazc/shWiYRtsJOrFkAU1YVoMlZXnw9NxUoa1kD/zq4yeM41Yz x6ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=HRZpGcXfCtVqtgQivpT010BYLWis5VNl3bXN4+jnmKc=; b=Wah2fJIVEJa7RtL4fLqZTk0wHBtUDdmiAXNCu/py6ixTZcgxdlyTjgg2JHnEsDGWOM PXzgM45wKg+5ccR23DklXLj0QtI0ObLUxFv0qGbu23RLAqs3O0oaVITGGmbqAVVRR+Tk O6S9GjcvFqSDz+l1EqDqCq2q8A7+NsD7ElfNAibjra/Ee16GiFYn50PtMqtlORYbAPfT z4xiE7C8ObfZkPl6hqy3/kXds40pAGhUpZqRePH+LfExE3+vYYgtmUggJuAaHToivgJB h/as3qFTxhHtuQM3dAZscNPHZvsxI8lRcBpjDPqj01CnnNPhsNHTr2L9PzmxbJeicUas W8fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=HRZpGcXfCtVqtgQivpT010BYLWis5VNl3bXN4+jnmKc=; b=ptrOERPMaXNbNv1v7vWHxxQTGJcQQsW0zdxN5RhUH5M+sEHqhq1mLMnZCbTUYM3YfJ UC3H23eP3x2nx7u0gFisWZr657GlbrzaHVVzzWmjg6RXkJN4wy4vuNkTGH2NwZ7tBgcX AXk+PFX/iZypcer4ztdA/8swz+xJ+M/PxEpC6EkOhvTchr35uufgWXyfiXxXiBkQuHvY bEseSZ//LDQNBTOG0RMR4sDV4HixoITN5Me7jCbeurgmiela15QnLi6kZwVsg0mVsDlp D7VoWLx4AwPG2THNwuTwuAdhb/irgHI0pgfq8Qltx8hte4cl/uykWRPHhrLzNaC5ingz ammQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw113+5DWHzNhgkVvVzDBTHAVkdMF13KrxXDB4uEMbBq/ZHKybjcNJ i5W/rHhUomAPeA== X-Received: by 10.36.53.8 with SMTP id k8mr193960ita.12.1501661325131; Wed, 02 Aug 2017 01:08:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.43.81 with SMTP id r78ls11993450ior.51.gmail; Wed, 02 Aug 2017 01:08:44 -0700 (PDT) X-Received: by 10.36.103.4 with SMTP id u4mr193828itc.14.1501661324323; Wed, 02 Aug 2017 01:08:44 -0700 (PDT) In-Reply-To: <20170801194100.GB29242-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> X-Original-Sender: cesarjorgemartinez-Re5JQEeQqe8AvxtiuMwx3w@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:17984 Archived-At: ------=_Part_5890_1228749099.1501661323690 Content-Type: multipart/alternative; boundary="----=_Part_5891_991341273.1501661323690" ------=_Part_5891_991341273.1501661323690 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=20 link, modify hyperlink, destination in the document), appear as "1.1.=20 Title". I try to disable the auto_identifiers extension=20 (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=20 > the manual under "Extension: auto_identifiers" and also=20 > https://github.com/jgm/pandoc/issues/2821=20 > > +++ CesarJ M [Aug 01 17 00:22 ]:=20 > > Why the text of the reference headers is modified removing the first= =20 > > 1.?=20 > > --=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/108edc7f-37e3-4764-944d-7689152df990%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_5891_991341273.1501661323690 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I've been doing several tests:

The G= itHub formas does (from github.com), to resolve links:
- It downcases th= e 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:<= br>Header:
<h1 id=3D"title">1. Title</h1> (fail, m= ust be id=3D"1-title")
Link:
<a href=3D"#1-title&qu= ot;>1. Title</a> (correct)

Usi= ng --toc option, also do the same:
<ul>
<li><a href=3D= "#title">1. Title</a></li>
</ul>

S= eeing 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_gi= thub-auto_identifiers) but not work:
<ul>
<li><a>1.= Title</a></li>
</ul>

<h1>1. Title</h1= >

<a href=3D"#1-title">1. Title</a>

=
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
https://github.com/j= gm/pandoc/issues/2821

+++ CesarJ M [Aug 01 17 00:22 ]:
> =C2=A0 Why the text of the reference headers is modified removing = the first
> =C2=A0 1.?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/108edc7f-37e3-4764-944d-7689152df990%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_5891_991341273.1501661323690-- ------=_Part_5890_1228749099.1501661323690--