From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29931 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Format cross-references and web hyperlinks differently in Word Date: Sat, 8 Jan 2022 21:12:45 +0100 Message-ID: References: <60a0cabf-884e-452c-b094-9f6b1a9f546an@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007ea18a05d517ba5f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30001"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBRXA46HAMGQEYDLI5TQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jan 08 21:12:57 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f56.google.com ([209.85.167.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n6I5B-0007dA-CH for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 08 Jan 2022 21:12:57 +0100 Original-Received: by mail-lf1-f56.google.com with SMTP id m8-20020a0565120a8800b00425edb1a456sf4264116lfu.16 for ; Sat, 08 Jan 2022 12:12:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641672776; cv=pass; d=google.com; s=arc-20160816; b=naoADuK2DkLErmEiTjVK4i4WmeEDaVe90ZY0FzaJpK5Nmmb4fPrD4szYMKYAXGoKjI y2bpptlov0hRISaNdB57tphGyjOudWC8n9crdLBFPF5uC4FP6kb61dSp9Ou/C0pt+Ds5 OdsfBs68BAuTekL9s0hypjvcZyOirO7fVO1kH9HuL06k96NmpYe5F2Gthox67yixn+3e XN0KFhnF3z27yqgC6i/ShF9Zik/5KeREBOZc/rBbMiDE2SLCn0WYkBzlBSV407OzZfsB pjKDFxtb3nAPHSzZOg+pCHe2BGD53nAHk3OGdv8sVntkyPx8V85F2vAgfWv22/O8lqLx QExg== 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:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=cwLw5Tpl8CfHwqAmqMYFhAW1GK3d7Xqk/cvXUDxWWMM=; b=T/KUZHfaA5w0e5YUxCpIkl5jr96LYHydzbfAgHnLR93ZVUBmhN0qreseQSwh0nS++h 8TOHNkX5LqrWFPmInvPgCauMNqLIqxGUilObJ6lvDLAGl5Mv4imyOEuHHRVr7vknitqc tFRQb3uZbEfOMZSt08Vsz/peJIcRr3m/81a9z+DnNUZ0pCOEfo4B0QxRcUP7imKciPRo U3nrCnQk+1sHCxEh9pSghGMEip836MxPhkuPVkbVGbq43IZW0RFnv1cP+IRgR/1PAb96 SlkkQBIbK9dPoMCKk42QMhZ5KeHt2TNI3xIXAtxbe5MFhSbwvGxSAJosuuDyAl4iPP0T 3htA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.167.44 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:reply-to:from:date :message-id:subject:to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=cwLw5Tpl8CfHwqAmqMYFhAW1GK3d7Xqk/cvXUDxWWMM=; b=JZ3AzirMk/5nQyvj2VEsRSAtNcSUcf9AT+SuDwsKbSMeepehl09y68eTEJ0+TVjIvU Pnk2yL0n1w5K1Q2I/ZfY01w9B0gmYIDzI86VNPNKtdbQHS4P9A6fTGIiw+uJTfASOpkC W8tr/nqNQP/6ID9uk3dllpQIjWZB+t6Uw8trnaiUNPZGvTnRyjI3NFP+ZOfT4s5Ei9mw rrliUEbNAWPevy+8RBPT+aTaha/29IoQibaZx1I7TL3XUg2Fwa/5Z5Uc6v1pVFiSr4c1 2FEbLPzbEE6Gi1L8XaBbkBVEYxNATpNYDP7Ksw+v4BzhhuoP0ZVadxbfHgy/alV8XDSS IJFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to :reply-to:from:date:message-id:subject:to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=cwLw5Tpl8CfHwqAmqMYFhAW1GK3d7Xqk/cvXUDxWWMM=; b=WnzcqzL9M6ZQFdqZUULgV2MOMbzqZlBxLhVXQ5s0nx6cUp3QoXXeyCcg3Aky+Wq0hv AMwQs0WIfIYS40SF+MXeZmmQrEzRhdKCm9ABnmmB1cE6gyHzApCMPa4/MA3cOBY4qHJp Mr+NoVF8cAKLGyNgjGZQ+bpWRJKupFN+d4RpYPApcZkqrCBW3ygxQ68s46onNN5bGJo5 dRXQnL3Ez7FM21k73YR8GjzUl9MbvLMde3xAxdlllsCjUWTzxM4Sv2Wpr9/XuG8/7JdM 4k1KlHyl81kLVtesyhNZw5e9QaLmSnTK3J56b9cujcGi55ZfCQkpBaNlPc46CHVZj5sG 21Pg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533rIpBAR8T9jyESklAj65YhGLl4a75QVzbdVGbpimkNc4Cf4vpI kf/q7OWJFygMc1TBUqXko1g= X-Google-Smtp-Source: ABdhPJw6bskYBBq/y0MeizutYFRoXbSnuGBYpCHY5hMFenOTtGuujZk++GkLVBeApRiYTo2Wt2/aTA== X-Received: by 2002:a2e:7f10:: with SMTP id a16mr33958049ljd.48.1641672776827; Sat, 08 Jan 2022 12:12:56 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:1112:: with SMTP id l18ls1730455lfg.1.gmail; Sat, 08 Jan 2022 12:12:53 -0800 (PST) X-Received: by 2002:a05:6512:3e28:: with SMTP id i40mr58201830lfv.436.1641672773903; Sat, 08 Jan 2022 12:12:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641672773; cv=none; d=google.com; s=arc-20160816; b=PKFdP5aAQ7LxDzk/Ec2+ipnavupDm2HBcCNf8YgUoRLQ7YvV8xzURNWkosTYNMhry/ dJbzKpeyffzFIwMt3XiuZN1xOFHmBciB4Ym8Oa+GuVELsSbPnElMC6hixXtoW4QImIzl nRsVaYqByN12OGJmJKnK6obOaUEYxMVzlYllAapAoBmL2Gyxu3FLgNINtnLjZgnhLSik +jlGM5CA6m+fYI14AotPKHnylXpcy+29vraxFnOQsE2X2XojaUoju4EAgj26X+QAoJm9 7uro+Mt+Bp4Z6xz34yjHiuUsLDycTfwrWJvahsod1p74kA0/6yq6jKQkKuiTjg3lIIEZ m0Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=DGHrzlwYIn18f0R4DvyVX4zGKRqiyNn2PSnQMCb+lo0=; b=ZIeHcw+2v4Lmt+f9FFqu+684WriYEgtxOXV7rV+w4eXTaMiVkR3oz/98ZUspZLjfKY wI79eWGoQ1aRxer3rfnrxJlTgy+VbVR5hkz2MZYcisgPl3jn3FiwgTU+JveEH7G22+gz 7kW6adjIFUgY6aTDx6Lm7ISuUCgWbcbFJcL8FAp8A5GPEjfZuyQP2LJlBCaqVnINtlKB jJA76WTEeO+8Q4X1xzZodCYvXb+xo43aS0ucaGSn++3aF97BztLLSKmq7MstO20wds7b VdlHrEruHmD551Fptzuny3ouAhty9M4eKMjAzv216DD/N+XgrwUx7d/Dltcqntu8wCag RFCQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.167.44 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com. [209.85.167.44]) by gmr-mx.google.com with ESMTPS id u7si128444lfs.7.2022.01.08.12.12.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 12:12:53 -0800 (PST) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.167.44 as permitted sender) client-ip=209.85.167.44; Original-Received: by mail-lf1-f44.google.com with SMTP id d3so2574883lfv.13 for ; Sat, 08 Jan 2022 12:12:53 -0800 (PST) X-Received: by 2002:ac2:44d1:: with SMTP id d17mr4350718lfm.259.1641672773377; Sat, 08 Jan 2022 12:12:53 -0800 (PST) In-Reply-To: <60a0cabf-884e-452c-b094-9f6b1a9f546an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.167.44 as permitted sender) smtp.mailfrom=melroch-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:29931 Archived-At: --0000000000007ea18a05d517ba5f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The links produced by Pandoc should have a named character style applied to them. Follow the instructions at https://support.microsoft.com/en-us/office/customize-or-create-new-styles-d= 38d6e47-f6fc-48eb-a607-1eb120dec563 for Word or https://documentation.libreoffice.org/assets/Uploads/Documentation/en/GS5.2= /HTML/GS5203-StylesAndTemplates.html for LibreOffice and modify that style however you like *without renaming* it, then use that file as reference document when you run pandoc as described in the manual https://pandoc.org/MANUAL.html#option--reference-doc There is a wiki page which I started once upon a time. It should still be relevant https://github.com/jgm/pandoc/wiki/Defining-custom-DOCX-styles-in-LibreOffi= ce-(and-Word) /bpj Den l=C3=B6r 8 jan. 2022 20:10Cassandra Lyderitz skrev: > Is there a way to format cross-references and web hyperlinks differently > when converting Markdown to MS Word with Pandoc? > > On the one hand, since the output remains digital, I definitely need > clickable cross-references to images, tables etc., so I need to set the > `ref-hyperlink` parameter to `true`. > I need the clickable cross-references not to stand out from the > surrounding text, i. e. they need to remain without underscores and black= . > > On the other hand, I would like the true hyperlinks, i. a. web links, to > be blue and underscored. Moreover, it would be great if the web links wer= e > clickable. > > However, in the proposed sample doc template, the same `Hyperlink` style > is governing the appearance of both objects. I have seen such unused > styles as `Smart Link` and `Smart Hyperlink`, but do they mean anything = to > pandoc? > > Thanks in advance for any response. > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/60a0cabf-884e-452c-b094-= 9f6b1a9f546an%40googlegroups.com > > . > --=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/CADAJKhAW8LSVGBS56UmSM%2B4xjV9skk4dMcE8HPTNFkFrdJQ9Nw%40mail= .gmail.com. --0000000000007ea18a05d517ba5f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The links produced by Pandoc should have a named characte= r style applied to them. Follow the instructions at


fo= r LibreOffice

and modify= that style however you like *without renaming* it, then use that file as r= eference document when you run pandoc as described in the manual


There i= s a wiki page which I started once upon a time. It should still be relevant=


/bpj

Den l=C3=B6r 8 jan. 2022 20:10Cassandra Lyderitz <cassandra.lyderitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> s= krev:
Is there a way to format cros= s-references and web hyperlinks differently when converting Markdown to MS = Word with Pandoc?=C2=A0

On the one hand, since the outpu= t remains digital, I definitely need clickable cross-references to images, = tables etc., so I need to set the `ref-hyperlink` parameter to `true`.=C2= =A0
I need the clickable cross-references not to stand out from t= he surrounding text, i. e. they need to remain without underscores and blac= k.=C2=A0

On the other hand, I would like the true = hyperlinks, i. a. web links, to be blue and underscored. Moreover, it would= be great if the web links were clickable.=C2=A0

H= owever, in the proposed sample doc template, the same `Hyperlink` style is = governing the appearance of both objects. I have seen such unused styles=C2= =A0 as `Smart Link` and `Smart Hyperlink`, but do they mean anything to pan= doc?=C2=A0

Thanks in advance for any response.=C2= =A0

--
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-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/60a0cabf-8= 84e-452c-b094-9f6b1a9f546an%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://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhAW8LSVGBS56UmSM%2B4xjV9skk4dMcE8= HPTNFkFrdJQ9Nw%40mail.gmail.com.
--0000000000007ea18a05d517ba5f--