From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17968 Path: news.gmane.org!.POSTED!not-for-mail From: Melroch Newsgroups: gmane.text.pandoc Subject: Re: Reference links to numbered headers of README.md not work in converted formats Date: Mon, 31 Jul 2017 17:46:44 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114aa5fee0e0040555a09d5c" X-Trace: blaine.gmane.org 1501523216 15753 195.159.176.226 (31 Jul 2017 17:46:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2017 17:46:56 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBD627XFQKGQESLY35RI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jul 31 19:46:51 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qt0-f191.google.com ([209.85.216.191]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcEmI-0003n6-LD for gtp-pandoc-discuss@m.gmane.org; Mon, 31 Jul 2017 19:46:50 +0200 Original-Received: by mail-qt0-f191.google.com with SMTP id l22sf13412007qtf.1 for ; Mon, 31 Jul 2017 10:46:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1501523216; cv=pass; d=google.com; s=arc-20160816; b=d8dsY775C1D7DImDcWvrCEywRuoKMIf3HMYsdBt15DD7AuJ/wQQmq+EPYvlxUXoYv9 8HHcH5JFpBjlKTdX/FqI4zAZYpLoxpSIYRGyv4Z5D7ppgWqOx+oZzRctfTIZgqOBrtpe 2YQBE3RfpzSRZaOvxQnhJNnsqXiXYBhsZm+mg5WCs2I47LQcJd8spgqr9NRdgjFLUeEW e9vaezSH0rYv0F3cPMLdYaOONHXU0lNDHNQrl+fxAg9cpBWvvXFhswGi2bozKGLpZnfv 2UxClcS4Z83KMAWJu9cf94FlhdzRDlzHDelN/c3//aVPRzaUH3lZYOmL2FWmDaiQPkR7 r8Xw== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=/7gzlQylr2e6nCpTd+sC1uTQ5WpPsX97afWqgz23yLI=; b=mu4LmtOuum0+QOops1eIBnNQ9WfznVKMIJCaKDuSofLcVMNXaTTb6chJAFAtNxu3fw O3r050lJzJF9sPWAHx5SqhcmC+LRQeloiN1Z1Kjj1rBwg4IVLaC/HwlImMXcb5K8cEnt SO5+W+GqhpSyJOY3PypVYn5xabEnY6YDg9sicODfbKFmS2bPhLPHCSAh/1LFVLX0bodb vq47yG6TWsNWa9l6iNFiOH76YjnWpPlcVNn+5U5BYHP3VY7Eu9AZc8tL0A9UhCd76IUE 5YQpcN24k5A612RyZi+i1/ESmqNpxek2MbtzHH3riGZJBCOzgEZ/yqHs9zkKRm19ZTaA xU3Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=CMBVcKay; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c09::22f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=/7gzlQylr2e6nCpTd+sC1uTQ5WpPsX97afWqgz23yLI=; b=UdCnWR9SPQA+Pko0hzZwr8y9uYIifeNP/Q0vBmGtngeWZPea6s+3HKh1v5AS7Y7Y7X AywGuxkUjOzUsmsvCxWqvNuGl/dL+assPs74g/uLW6y7Ij6BTXIje8x2REfEN5/xeDHT 2dMPYk9i14lGnVun5RNuyW9lbcOAqUdGXstuVEam5FBQ4nzGnEVrrLWbVEp0x3cN1q+x JxyDJEDs63xGSlPOCLDTjJLma0YOatN/u398s+1db4W4wej5y/0vClJdl0hPJIB5vymk E0TrX+oCpKQtSiwGpFn/0lmXUsmoysR/7WZs6kzjyFfDWSpL1CnPPkJoWRLWZQydIQfa rpug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :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=/7gzlQylr2e6nCpTd+sC1uTQ5WpPsX97afWqgz23yLI=; b=WBGnRds6T7jU8hGcRd4Nvz/YRGgbCsjK7rtWXuQesMK8KA31DIKj8ywzyH8otLQhiu H+Izuh2SN8Wuez0nCWywLCqfcrV2Zfzp0Ju2PKn/19zc+n1bq4pdcZBX5fhuJdVa8ipE K8TFFBrMQw7mIy1QurAg/ulrbZvGSmhFxXQQSkAnmnXu3QnSCX356+K3/9XM7mMOI77/ Mu7fBgoq+1iUb8lq6yLl/JyOuNtlfUiTo/G7Ge2xKYOvXan0gBGmrloX8e8axMaM2jSz zgtdEQDKGejREo63AAI+WMk91FjQnSbsePCPGvy/OtvH9TFow+1NISQS04yyz1D2Y3M6 SZOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=/7gzlQylr2e6nCpTd+sC1uTQ5WpPsX97afWqgz23yLI=; b=affv/+Ghar2+yr4f5kCH8uAMI2nAshEjjWcwjO0Q5oE+a3aIHCVnCIp+/HMw9FGmmK YakiRIqdw39CM50mfoDxTohtO+JPBjnZLEjSdMboWIc5pGRlAiKFMEDANedcF4FNA9uF ObIfLZhFSVDMmWWZMCRV5UncQBwvYFaWLOWznQNx5S0vRgb7EZtcnUuVIkrC3TpRHUx8 H+CBeknc1uSyHktXWBv/QymnshtYFZv/FHStXC9ZX/zNu6dCHq1fFfjKbdO0nAHVgJu0 hqtuBjXCzEFTF/atJKp0NotMw6eZ2JpVXPk8vHrurzZL8/eRi6JMfxs1XSUZlyjugAxH CgGA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw110MWoCvUeAho5bypUDveqX6AzBwkAeJNEaM48ricKswA4DRnzNt y59VXmdwYdbB5Q== X-Received: by 10.36.88.4 with SMTP id f4mr163807itb.11.1501523216565; Mon, 31 Jul 2017 10:46:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.18.141 with SMTP id 13ls190575ios.7.gmail; Mon, 31 Jul 2017 10:46:55 -0700 (PDT) X-Received: by 10.107.135.83 with SMTP id j80mr6915631iod.60.1501523215811; Mon, 31 Jul 2017 10:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501523215; cv=none; d=google.com; s=arc-20160816; b=XpPPgJO830rEK/lbGTwPaRNKY6jOIkwn4PYaurPdHF9sookOO0C6VXGoLonANmdFa5 ctpfXdWbHETbIMbDvmvBEOob6Co8oZ65puf/FgvqcJumNjvileoq3dBlbms5XswzslU3 RfdzURnyanWEeCr4gb9zrz94m4iA8UnEfF6DDmZNBzZYHAOAUr76UKyhuTtAfpW/2dQ8 +nMqISpSnxRt3c27NbyaWb5uphtV/fyc5BgkO/ddrNAUNCztAsfSUT5pnhGiRuj9yEnZ kMDYazoXc/JUJ91VHhWnS1McRx+eJj1gnvQFESEC3JNgd1k826CYt0kacJ/dSRVWjLgf WDsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature:arc-authentication-results; bh=6l8v5SiFjzuoNnlDo6Y+VGYT6ZO6s6I4XC3JIoYHJao=; b=bu4+fRd9hj/VRKFlxrFa4gRlfliLclPn+G65IcJDI6AttMcDXfbKtkM1j8rnzK31z5 lp6Qy94rQb8PYn3PsL+IgRI8A6zl3aYKHt35yC4JhmGfqWhogChO2dDoYwOHhp74lG1u zLazCDekNmw9g5n/fnoZNNQJ3608SSm6VuZskrg8tuLxqWegNHGtn1TsiJrOvk4zhyIN 9X98iACE6M7fpelGA1n1EMufVEKvVEVeG0OZ8Yn5Sn2Jh1TLWsz723BetHvF29DCE0VA LYUzZlSjhnZHhfSOx2sgeujUonN/nzxAlSlHIAEhlpBBpu/NlLyFxAhAJqROJrnnuI7M /fKg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=CMBVcKay; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c09::22f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com. [2607:f8b0:400d:c09::22f]) by gmr-mx.google.com with ESMTPS id x136si604140ywx.6.2017.07.31.10.46.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2017 10:46:55 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c09::22f as permitted sender) client-ip=2607:f8b0:400d:c09::22f; Original-Received: by mail-qk0-x22f.google.com with SMTP id x191so85630432qka.5 for ; Mon, 31 Jul 2017 10:46:55 -0700 (PDT) X-Received: by 10.55.66.23 with SMTP id p23mr21983970qka.270.1501523215440; Mon, 31 Jul 2017 10:46:55 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=CMBVcKay; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c09::22f as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17968 Archived-At: --001a114aa5fee0e0040555a09d5c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You can either keep a separate version of the file in Pandoc Markdown with manually added GitHub style ids, which Pandoc will pick up, e.g. as `doc/readme.pdc` and convert it to GitHub Markdown when you make changes: # 1. Description {#1-description} or add an anchor tag with a pandoc-style id as value of the `name` attribut= e # 1. Description which for some reason will be preserved by the GitHub sanitizer and let you use `#description` as URL in links. The latter method looks uglier when unrendered but has the advantage that you can have only one version of the file which looks good when rendered on GitHub. m=C3=A5n 31 juli 2017 kl. 12:41 skrev CesarJ M : > Correct the message: > > > I number the headers using my own numbers, and links to these headers, a= s > example: > > # 1 MyTitle > > # 2 Other Title > > ... > > [MyLinkTitle](#1-mytitle) > > Then, when I convert this file (by example to docx format), and open it, > the MyLinkTitle is not working. > > > In the documentation it is said that I need to write the reference as: > [MyTitle](#mytitle) > > But, if we use this form in github repository, the link is not working in > github web. > > How do I fix this problem? > > Regards, > > -- > 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 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/a5021369-5323-4cdc-ab5a-= ecac3b78983f%40googlegroups.com > > . > For more options, visit 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/CADAJKhD_x%3Dxv55RC%3D%2B-1hoLM38bUXsQgTXQPEg7nGto4hZrC3g%40= mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --001a114aa5fee0e0040555a09d5c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You can either keep a separat= e version of the file in Pandoc Markdown with manually added GitHub style i= ds, which Pandoc will pick up, e.g. as `doc/readme.pdc` and convert it to G= itHub Markdown when you make changes:

=C2=A0 =C2=A0 # 1. Description {#1-description}
=C2=A0 =C2=A0=C2=A0
or add an anchor tag w= ith a pandoc-style id as value of the `name` attribute

=C2=A0 =C2=A0 # <a name=3D"descripti= on">1. Description</a>

which for some reason will be preserved by the GitHub sanitize= r and let you use `#description` as URL in links. The latter method looks u= glier when unrendered but has the advantage that you can have only one vers= ion of the file which looks good when rendered on GitHub.

m=C3=A5n 31 juli 2017 kl. 12:41 skrev CesarJ = M <ces= arjorgemartinez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
=
Correct the message:


I number the headers using=C2= =A0 my own numbers, and links to these headers, as example:

# 1 MyTi= tle

# 2 Other Title

...

[MyLinkTitle](#1-my= title)

Then, when I convert this file (by example to docx format), a= nd open it, the MyLinkTitle is not working.


In the docume= ntation it is said that I need to write the reference as:
[MyTitle](#myt= itle)

But, if we use this form in github repository, the link is not= working in github web.

How do I fix this problem?

Regards,

--
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 pandoc-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/a5021369-5323-4cdc-ab5a-ecac3b78= 983f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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://g= roups.google.com/d/msgid/pandoc-discuss/CADAJKhD_x%3Dxv55RC%3D%2B-1hoLM38bU= XsQgTXQPEg7nGto4hZrC3g%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a114aa5fee0e0040555a09d5c--