* Problem with colored urls or links
@ 2022-08-12 18:44 gnpan
[not found] ` <589c27c9-ccf6-4693-8f14-98b59a61047fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: gnpan @ 2022-08-12 18:44 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1087 bytes --]
I used to be able to get colored urls just by adding urlcolor: red in the
YAML header or -V urlcolor=red in the command. This no longer seems to work
in 2.19, unless I use older templates. I tried loading hyperref under
header-includes and other tricks suggested at various places, but no luck.
So the following example (file test.md):
```
---
urlcolor: red
---
[A url](https:www.google.com)
```
with the command:
```
pandoc --pdf-engine=xelatex -o test.pdf test.md
```
or with no YAML and
```
pandoc --pdf-engine=xelatex —V urlcolor=red -o test.pdf test.md
```
gives a black url rather than red.
Any help appreciated.
--
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/589c27c9-ccf6-4693-8f14-98b59a61047fn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1425 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with colored urls or links
[not found] ` <589c27c9-ccf6-4693-8f14-98b59a61047fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-08-13 7:40 ` Albert Krewinkel
[not found] ` <874jygpoz9.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2022-08-13 7:40 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
gnpan <g.panayotou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> I used to be able to get colored urls just by adding urlcolor: red in
> the YAML header or -V urlcolor=red in the command. This no longer seems
> to work in 2.19, unless I use older templates. [...]
This is indeed a regression; it's fixed in the development version and
nightly builds. As a workaround, call pandoc with `-V boxlinks`.
See also <https://github.com/jgm/pandoc/issues/8226>.
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with colored urls or links
[not found] ` <874jygpoz9.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2022-08-13 8:40 ` gnpan
0 siblings, 0 replies; 3+ messages in thread
From: gnpan @ 2022-08-13 8:40 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1110 bytes --]
Many thanks, Albert. With boxlinks: true it works fine.
George
On Saturday, 13 August 2022 at 10:44:21 UTC+3 Albert Krewinkel wrote:
>
> gnpan <g.pan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > I used to be able to get colored urls just by adding urlcolor: red in
> > the YAML header or -V urlcolor=red in the command. This no longer seems
> > to work in 2.19, unless I use older templates. [...]
>
> This is indeed a regression; it's fixed in the development version and
> nightly builds. As a workaround, call pandoc with `-V boxlinks`.
> See also <https://github.com/jgm/pandoc/issues/8226>.
>
> --
> Albert Krewinkel
> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
>
--
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/81ffc979-cc79-486c-8333-33c1b78eba0an%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2026 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-13 8:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 18:44 Problem with colored urls or links gnpan
[not found] ` <589c27c9-ccf6-4693-8f14-98b59a61047fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-08-13 7:40 ` Albert Krewinkel
[not found] ` <874jygpoz9.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-08-13 8:40 ` gnpan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).