From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23508 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean SALMON Newsgroups: gmane.text.pandoc Subject: Re: [Word Docx => Gfm Markdown] How to custom hypertext internals links Ids ? Date: Wed, 2 Oct 2019 01:33:55 -0700 (PDT) Message-ID: References: <4688cf30-b3f7-4e82-a4ce-985e7fef6098@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3253_807450263.1570005235495" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="230060"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDXYV27ZUAPRB5GB2HWAKGQE3MB5DVA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 02 10:34:00 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f63.google.com ([209.85.210.63]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iFa58-000xeN-OL for gtp-pandoc-discuss@m.gmane.org; Wed, 02 Oct 2019 10:33:59 +0200 Original-Received: by mail-ot1-f63.google.com with SMTP id o4sf9405971otp.16 for ; Wed, 02 Oct 2019 01:33:58 -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=6QPtkuTWorJs8dZpiJkgqA+kEF5lHeSnKgxvnXIok7E=; b=FUlZUNq8tLKRUB3+/LmwdC0SQC4+ZcdCxTBarNZ8QtsdTnfkgQlqcKJD6tMyPd5wX3 5fd3Y7k1MajtpIAZ3NtHxZ2z4EVj37J60XCGJ0/Ltp0nu+uNHr819bjXL7F44Q4VyhaT 3aYN5JbSa3kBX4rSjNjzJISKD0r3cIUc5arZQZjeHBu/jXXRfsEqcgkl1gGcVHyDQgFe ICTp105uhsG8QZqKFo/zNF+NERrO3fCrdlg+Y2AX1ygFBkHyp/qEnMsmO9HHvlwh6rKn 2xLDf99+GEGwnAkmaCOamZ74l30hBxg+0UxNMpo5x9pjkPv4KHm0Cm+jLtMnMULhR8/Z Rmfw== 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=6QPtkuTWorJs8dZpiJkgqA+kEF5lHeSnKgxvnXIok7E=; b=kavh/WKa/dE29rALA79MnG9TU3IcscuILFvuDsaRznIZvrzB/x1NhUPzUN4Gq+N+TX VenAL7kwKnuNjd6g4yItAlt/iDpyjfzF/Iaqd+qhrms06l8WYn+GZiXjVxRRDB9mtodr IMGN7dWyRO5T92twwNJAt9stowIIQovxNBEH48aqfZohH7lgxbPsJBms6Q4paKvFLdmF vUUF1gDESf5QDHYi+suK/vN9psTWoikjRZLK0q2tFoU1e8UfKWbluBcPAiQ1E0OFESva bQbzlDhR0VKTLgmqsSIiVaxU4KRWsBoZ8v0+OWnxKrc8+FsVpFo7A1ybVX/SIjBTlo38 kD7w== 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=6QPtkuTWorJs8dZpiJkgqA+kEF5lHeSnKgxvnXIok7E=; b=nXwcJMchE+i/zqnNSMsKJDsTwHkSHEDgpDg/1yOrRD0IEtQ5tIB6SbxXFWDfMT7IBA /twbG4Xv6eU8lQGzviV6cXBb5KK9AN2BC7p8ZBTwcd+vtTk4WMd6IQOShQq+ChSLRqJf S6T2IABrP6wokEJ5eReiN3OkkOczvDySzUb9zfEj4aEeg+5B86bDq5vrPuKbyDvicxzI 5d94M6JwinGcWNlLqbujBele1eN5E/mfnbjmsvXiRv/TzGAgrC3lcmtPLPecBZVTarP1 Q9OZznttTUwGeAVe02F6+ubgPfPJCIGUm7BK6A1YHjkDCxb3cXDdzt6ybuv8tQ+GzagN exfg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUdtVqSwHLCsu5W/rIE25C9Liu62Z/xQ6a+Y63BeLJKmu8qzadU CMJ47zvh/uGDfeJ7JI0f3mg= X-Google-Smtp-Source: APXvYqzuzs/oXgimhvsEgeLQNz/Vbzr2TYY9jroJxaWAMCnZLk18GVu082HvVnh1A7aBIECSq/6CLA== X-Received: by 2002:a05:6830:454:: with SMTP id d20mr1809552otc.63.1570005237246; Wed, 02 Oct 2019 01:33:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1343:: with SMTP id r3ls306003otq.2.gmail; Wed, 02 Oct 2019 01:33:56 -0700 (PDT) X-Received: by 2002:a9d:aa8:: with SMTP id 37mr1715327otq.56.1570005236222; Wed, 02 Oct 2019 01:33:56 -0700 (PDT) In-Reply-To: X-Original-Sender: jean.salmon.orange-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:23508 Archived-At: ------=_Part_3253_807450263.1570005235495 Content-Type: multipart/alternative; boundary="----=_Part_3254_571375140.1570005235495" ------=_Part_3254_571375140.1570005235495 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi John, How are you ?=20 I'm agree with you. This is the proper way to encode text in an URL. Nevertheless, I have other needs. After converting docx in md, I'm also using md-to-pdf and markdown-toc in= =20 order to convert files in pdf. All hypertext have to be coded on the same way. If you have an idea, I'm interested! Thanks in advance, Jean PS : I'm watching in live the rugby match between France and USA in Japan= =20 World Cup. May the best win ! ;-) Le mardi 1 octobre 2019 19:55:42 UTC+2, John MacFarlane a =C3=A9crit : > > > This is the proper way to encode text in a URL.=20 > > Jean SALMON > writes:=20 > > > Hi,=20 > >=20 > > I have to convert many docx files into gfm markdown.=20 > >=20 > > I would like to custom hypertext internals links ids.=20 > >=20 > > After conversion, special and accentuated characters are coded in=20 > > hexadecimal UTF-8.=20 > > For instance, for the french accentuated character *=C3=A9*, we have=20 > *%C3%A9*.=20 > >=20 > > In hypertext reference :=20 > > Sc=C3=A9nario=20 > >=20 > > How to keep accentuated characters or transform them (slugify) during= =20 > > pandoc conversion please?=20 > >=20 > > Thanks for your help.=20 > >=20 > > Regards,=20 > >=20 > > Jean=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/4688cf30-b3f7-4e82-a4ce-= 985e7fef6098%40googlegroups.com.=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/ef3b5ffa-293e-4d61-b467-35e3f23c499b%40googlegroups.com. ------=_Part_3254_571375140.1570005235495 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi John,

How are you ?=C2=A0
=
I'm agree with you. This is the proper way to encode tex= t in an URL.
Nevertheless, I have other needs.
After co= nverting docx in md, I'm also using md-to-pdf and markdown-toc in order= to convert files in pdf.
All hypertext have to be coded on the s= ame way.
If you have an idea, I'm interested!
Thank= s in advance,

Jean

PS : I= 'm watching in live the rugby match between France and USA in Japan Wor= ld Cup. May the best win !=C2=A0 ;-)


Le mardi 1 octobre 2= 019 19:55:42 UTC+2, John MacFarlane a =C3=A9crit=C2=A0:

This is the proper way to encode text in a URL.

Jean SALMON <jean.sal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi,
>
> I have to convert many docx files into gfm markdown.
>
> I would like to custom hypertext internals links ids.
>
> After conversion, special and accentuated characters are coded in= =20
> hexadecimal UTF-8.
> For instance, for the french accentuated character *=C3=A9*, we ha= ve *%C3%A9*.
>
> In hypertext reference :=20
> <a href=3D"#Sc%C3%A9nario"><span class=3D"= underline">Sc=C3=A9nario</span></a>
>
> How to keep accentuated characters or transform them (slugify) dur= ing=20
> pandoc conversion please?
>
> Thanks for your help.
>
> Regards,
>
> Jean
>
> --=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 email to pandoc-...@googlegroups.com.
> To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/4688cf30-b3f7-4e82-a4ce-985e7fe= f6098%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/ef3b5ffa-293e-4d61-b467-35e3f23c499b%40googlegroups.co= m.
------=_Part_3254_571375140.1570005235495-- ------=_Part_3253_807450263.1570005235495--