From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28542 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Milan Bracke Newsgroups: gmane.text.pandoc Subject: Re: docx: PAGEREF fields with hyperlink switch Date: Sun, 6 Jun 2021 23:56:43 -0700 (PDT) Message-ID: <049824b0-3953-49d5-906e-116b219bc75fn@googlegroups.com> References: <5e2ae841-6cd5-4c6c-bb58-acbb2aa428ben@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1968_801003441.1623049003917" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11352"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDM4NA6G6UGRBLEG66CQMGQEIUOOOCQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 07 08:56:48 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lq9Bn-0002mC-LB for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 07 Jun 2021 08:56:47 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id r16-20020a0568301350b0290363e6a9392fsf10981717otq.13 for ; Sun, 06 Jun 2021 23:56:47 -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=LRAgzbKQ/lFUrBkDAkEsKEmktjZNlIVolbY4cj39WV4=; b=Ru+iEJGOarj7KwxiS3DgjDsP9Sf+D9hv1XrVi0E7Dt+qL7UX9wxGUgbV8hMHyRTdcf 15GzcqKGFM4NjmR/tuKfXSGW8wfcwpAbDxzmrzRjPjSouJ0JhKOKUzko3TRJRzgIaayr SBbYgCmS8ndBd7I7RQ0b3TscAnlR5Q7sm0xW+J7IVkw4P/+s/Kr6rsO4ZGHH8/MG2uiG NXFtZ+upgB9XUV1u9mom2NA2fM5CzyAmt5jVX57RhFNPD8phNtp0oMmYWl+oiJV1Xs5S A/wN0Sp9qNrLzRjI+/+DP+gQdk2mKvzGf6n4ZHAJXtfSgmMXygDGdsvykz8K/oXJVmrd 3mmA== 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=LRAgzbKQ/lFUrBkDAkEsKEmktjZNlIVolbY4cj39WV4=; b=QdSvH1IXEE6tuR8rR6meIy7u/gQxqmlS1LJrTzVez4THIbwd/Pz1M3a9Xg2QbGLPG3 auRb73fg03wZ6Mou1bZr4p8dlx5yw58mtFj0Knp1krBKxl4tkemSLVz1SuqcDo8OFXAb pnRinzyS1+BI6F0Pi1KE2Q+QIA/CJROMiCPG8SYQYv0Q2gwXjPnKvtpD9TjCSArZwUn9 YYteDuMY1MR/dNrloSGXuJGqisPUrHB8+B6naJws3o7REE6FaWBOR+JNyX/JdHBbALnJ BBtanoSh11v4dqA3iqDxEhG7xTPyomuVNc6oloNiPs/eQqSVQAc81PMiDSmldUtrxCTg Ls+g== 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=LRAgzbKQ/lFUrBkDAkEsKEmktjZNlIVolbY4cj39WV4=; b=tqKnylGHWB33pQPBiemfh9Gg+XE8Zr5HKzeRUrWuJetnNj/XMkCKg1SA6O0DErguOv FagbUnoTWdcCujplL0TrU/87bnJ6Ehc6TSwpT9jebXp+97SCFqNucUaMLEmgYdcEa1yQ hM0NbFR8GYC1w71WoNu9uK2MEn7AmzdxYD4kCQkdCbwcbwtsF7mEVi+o/prYrEvvYBDl 6G6st5ll2IbWOPf3RYlLZUn5naveAcg8p7nhBV/KU6xmBBveRwEJ/IzSbc4BBHDFUMSw RDymiedVE/S63agFxr564joaUTPasKyuloX+coWX4NZXlfWc/8/JTTI24WXft5fFnQG6 xVyQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532k4pQ87WAzWvn63gjHXgv+9a9JCt3PKIFAMpnuuORpSdyGVKMl Nk49TbLUadH9wMq0G6GJjrM= X-Google-Smtp-Source: ABdhPJykW1kocozzj6n4kUkomOCb2DF6/inVCqolHHF2FLwgZ9B+NXe7G+zovBeVcbNO9+X3ZeUJQw== X-Received: by 2002:a05:6830:1687:: with SMTP id k7mr13221130otr.220.1623049006173; Sun, 06 Jun 2021 23:56:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:310c:: with SMTP id b12ls4592152ots.9.gmail; Sun, 06 Jun 2021 23:56:44 -0700 (PDT) X-Received: by 2002:a05:6830:1653:: with SMTP id h19mr257630otr.312.1623049004487; Sun, 06 Jun 2021 23:56:44 -0700 (PDT) In-Reply-To: <5e2ae841-6cd5-4c6c-bb58-acbb2aa428ben-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: milan.bracke-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.io gmane.text.pandoc:28542 Archived-At: ------=_Part_1968_801003441.1623049003917 Content-Type: multipart/alternative; boundary="----=_Part_1969_551717001.1623049003917" ------=_Part_1969_551717001.1623049003917 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If there are no objections, I'll start implementing and a pull request will= =20 follow soon. On Thursday, June 3, 2021 at 3:23:22 PM UTC+2 Milan Bracke wrote: > Hi, > > In a docx, we can have a PAGEREF field like this (omitting the surroundin= g > fldChar tags): > PAGEREF _Toc293064234 \h > where the '\h' switch indicates that it's a hyperlink (as specified by > ECMA-376-1:2016, =C2=A717.16.5.45). I've encountered this feature in a ta= ble of > contents. Pandoc currently processes the similar HYPERLINK fields but not= =20 > the > PAGEREF fields (see module Text.Pandoc.Readers.Docx.Fields). > > I would like to implement treating the PAGEREF fields as hyperlinks when= =20 > they > have a hyperlink switch. Any feedback or objections? --=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/049824b0-3953-49d5-906e-116b219bc75fn%40googlegroups.com. ------=_Part_1969_551717001.1623049003917 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If there are no objections, I'll start implementing and a pull request will= follow soon.

On Thursday, June 3, 2021 at 3:23:22 PM UTC+2 Milan Bracke wrot= e:
Hi,
In a docx, we can have a PAGEREF field like this (omitting the surrounding=
fldChar tags):
<w:instrText xml:space=3D"preserve"> = PAGEREF _Toc293064234 \h </w:instrText>
where the '\h' swi= tch indicates that it's a hyperlink (as specified by
ECMA-376-1:2016= , =C2=A717.16.5.45). I've encountered this feature in a table of
con= tents. Pandoc currently processes the similar HYPERLINK fields but not the<= br>PAGEREF fields (see module Text.Pandoc.Readers.Docx.Fields).

I wo= uld like to implement treating the PAGEREF fields as hyperlinks when theyhave a hyperlink switch. Any feedback or objections?

--
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/049824b0-3953-49d5-906e-116b219bc75fn%40googlegroups.= com.
------=_Part_1969_551717001.1623049003917-- ------=_Part_1968_801003441.1623049003917--