From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33365 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: no color after LaTeX -> docx Date: Wed, 22 Nov 2023 12:20:50 +0000 Message-ID: References: <82960ecf-864e-4379-9726-303997983cebn@googlegroups.com> <2FA49E21-A3FD-449E-9292-F18ECEAC4291@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000927afa060abcc031" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30347"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBL7E66VAMGQE6VREY6Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 22 13:21:09 2023 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 1r5mE9-0007mB-1o for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 22 Nov 2023 13:21:09 +0100 Original-Received: by mail-lf1-f56.google.com with SMTP id 2adb3069b0e04-507cafb69e8sf6568606e87.1 for ; Wed, 22 Nov 2023 04:21:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700655668; cv=pass; d=google.com; s=arc-20160816; b=b6rBjjx23QMNizaw1y7YYd8HGy15umdajapghlNiKO/JYY3EsGEXZmuwlbmCZ4A3pG wNMzSbG4DU30OBAPrWtxumh+Jpy99DDFDsMD3Nktd2HXs6S0yHmF+WKDGBYnqUxlPM2x Fe/JblGWe04zN7UHt+eMYYpmkco4UvjH0M63ZrsnfF2e3bkWBbdBgsVcWupW6RGSBn0A gjqGWYQL/FmNj3SwS2PCxhBCYQutV3Aw/EkY+CjQf4yGkXl4TfNQJHtFdgJ9aq3lnV0t purkRNKekDLpe1o7WAi7UGpsxCV763IK5L07/OvnlmeVvSLylDs+9PvNyNTDUi3jZ4TX Gdrg== 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:dkim-signature; bh=wsZ5SqlNqowGhpKGnQNq5ZeiunUzDUw84KM1NtHddy4=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=c8dlSwd/Twq7FgGSO6j65DPPvsENW5htxB5l4BYUhouLWafkBVYF2R9XxUq/grLGVA zGUeMGYwdv2V1SnWM2FVp+Y/heBoxSBbxz/gTrpK44hMMBw4MNFlrn/aSf0KjQWCtFaw C78vCUHMwoxJnLZ0nTU56BFcolHSb/f5u/jSruubnEFPOpXfuozqXx902Go0SNMntSxS +RXPAV2c8Mg5rwwzkQDYr7ZPmOAqRcwG4gNmYENB2DGrV5oBl4QZjZ9sL+yfNyJfyao1 x4M/4KSgZ5SfECPJQkLxnD4u1+OZwqVg74Gy6AHrMbh81GyRaUntgbAlDawipBQcuJ1e ESGQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=pP4d20+J; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1700655668; x=1701260468; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=wsZ5SqlNqowGhpKGnQNq5ZeiunUzDUw84KM1NtHddy4=; b=bbPrCyJo5Ze+MbOQTb3kkLj4nUE66ZmicofxxuEjKf2/jsLlBtsd3HZo7Vz2twdeL1 +rxlxOPNNPlDvXIUsaF0liiXQ5vqhHWzKSt/punQhfwAxX2wu/NEYERl1KVzJ9Si5Odw kA5v1Ozl3Eqmu3MdztqAs+6/ZYkSYdwMlmjf7xE8BnB74ntjzRWfBZH/IuVNkzkNoNW8 aSEk9uzfKxAImQkuw43EXFLGobs6x0NJu+AaZiC8ICOFrFTYEKxpiVJPC7/dXrogipix Csz3TQvXcJ5ZtYZ9Z9x7OzASRKkjvXj+DBV6IWZ/HWRNA9VewkILAn6B9DG X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700655668; x=1701260468; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wsZ5SqlNqowGhpKGnQNq5ZeiunUzDUw84KM1NtHddy4=; b=B5bxwov5SshZvVwt40QDDnso9ocoh0R0JvAauNpZaQOYY4ysssR3zA4050R+oGGgZT usx7TbMSwGrY3aLfj49v43cQpdJDBVExvczWnS/ZjOjgexO1OQAqaqmvSKesGS7jGnkD m0dU21efVbNRwF9uUf11oWDoWe7Gug5wxVm4TCyEx7aOZCFaD1cpo1tgI5JJe+ifRdAZ RTL2p9phtlEK5u8i/wRbaTw5t7/XeyLCc+wd6VRw7gcyhmcEJTJsFzyHfBeVv/VUrhAp u8NnnRw1P2QSS X-Gm-Message-State: AOJu0YxHCrgMJw0nRtRM/KmdIGsK1Syc94SBPgHoWfVmDlKru7Gjy06o R6epD9u71d2xX8UmW3WNmQI= X-Google-Smtp-Source: AGHT+IF73nQSOYQondAVgw9fhNV+Hpv51K9OoTyxD0q3Vl+t5HgUhmiJlzl885GYG833hRAs3z04LA== X-Received: by 2002:a19:740f:0:b0:500:9f7b:e6a4 with SMTP id v15-20020a19740f000000b005009f7be6a4mr1202206lfe.32.1700655667843; Wed, 22 Nov 2023 04:21:07 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3b9b:b0:50a:a6be:136e with SMTP id g27-20020a0565123b9b00b0050aa6be136els620207lfv.0.-pod-prod-03-eu; Wed, 22 Nov 2023 04:21:02 -0800 (PST) X-Received: by 2002:ac2:54b4:0:b0:509:fc7:8853 with SMTP id w20-20020ac254b4000000b005090fc78853mr1632612lfk.12.1700655662071; Wed, 22 Nov 2023 04:21:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700655662; cv=none; d=google.com; s=arc-20160816; b=FI60S+EBrE6xKjUibYJffeEI4lBvM04GstXcf0RTf7SvoBjiiLOlN1kekNp1BQNsE3 ZO4eRqu864DEy9vJV2Z+9XSt3lJRXUyRzP0ZnOIaPp3H/skNkTViz/cDbs5CUzhRGqm1 oM+EDZJIELexnV6VsAhrXnMLhi32M7/aaVcBFhPESOwXb4etV4APZyMlXVvBu/5cUhFy yOwTR8TMjy3jrSsdBJ01Ptso1uPkAq1ABzaka5tbxAkvulPprQ5Y3u+hWMROx4WLcid8 dweqwUzADxNtw0I+TsvBFl9gLxGDNj64B01bGtGl+Bx9layzQ6UOVyOmVfyr+mcPgllk drJw== 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; bh=AMrXMPK1sOgPg/IflrnOAyFN5bwnWkk9JoT6JeGWxc4=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=g/Vzjz5c2mJv/Ta04vAh63csiZZk7148cLwQ98y5/vimYa7oWIBhv8OXtYFCXTxkeT F+R5g7KWR5dlWIrBkpbpN5/BoAyh2meGOH16Rq1U/X4HtmcVdQNgzb4jfYutOCJSO1No 2FVDnalJF5tTf15rKqZSwneLjrw2DHR6IbZCB2lVzAJuwKtcDZfj/AsrbE8zbZ83yfNV 5INC0DHhzBOy+pOSxkGWkF2lCh3knFJMfjJ6u/mW84lPOS3NfonduY7MOETKpwOJjnDO Yb/mJNtKf0H6E1kq95HGGwoJEHAEXCKh6+55sxUqzcnPdQdUBztmssSGyhIhXU/Dyo5s ANgw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=pP4d20+J; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com. [2a00:1450:4864:20::630]) by gmr-mx.google.com with ESMTPS id g4-20020a0565123b8400b0050aa77fac93si470745lfv.2.2023.11.22.04.21.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Nov 2023 04:21:01 -0800 (PST) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::630 as permitted sender) client-ip=2a00:1450:4864:20::630; Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a03a9009572so131555866b.3 for ; Wed, 22 Nov 2023 04:21:01 -0800 (PST) X-Received: by 2002:a17:906:f8ca:b0:9fb:ff27:3ce0 with SMTP id lh10-20020a170906f8ca00b009fbff273ce0mr1555306ejb.19.1700655661211; Wed, 22 Nov 2023 04:21:01 -0800 (PST) In-Reply-To: <2FA49E21-A3FD-449E-9292-F18ECEAC4291-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=pP4d20+J; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton 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:33365 Archived-At: --000000000000927afa060abcc031 Content-Type: text/plain; charset="UTF-8" Maybe (in the spirit of https://github.com/jgm/pandoc/issues/8988#issuecomment-1673442117, which was about writers, not readers) such info could be added as something like latex-style="textcolor: blue" (where "latex" is here derived from the reader name)? On Wed, 22 Nov 2023 at 04:36, John MacFarlane wrote: > Well, after saying that pandoc doesn't support color, I saw this. You're > right, this seems to be something the LaTeX reader does. > > % pandoc -f latex -t native > \documentclass{article} > \begin{document} > \textcolor{blue}{blue} > \end{document} > [ Para > [ Span > ( "" , [] , [ ( "style" , "color: blue" ) ] ) [ Str "blue" ] > ] > ] > > > Looks like this goes back to commit > d9439808f2fe226aad027c8c9d0a38217a1e8c34 in 2017. > > I don't think I ought to have merged this change -- this is too > HTML-centric for the LaTeX reader to be producing. > > > > > On Nov 21, 2023, at 6:37 AM, 'William Lupton' via pandoc-discuss < > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > > > It seems that the LaTeX reader encodes the color info in a style > attribute? (try.pandoc) > > > > \documentclass{article} > > \begin{document} > > \textcolor{blue}{blue} > > \end{document} > > > > --> > > > >

blue

> > -- > 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/2FA49E21-A3FD-449E-9292-F18ECEAC4291%40gmail.com > . > -- 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/CAEe_xxjk-39RuHkEvhZ34KFuZv1iq14RcEP8n9p8F8vsoYY9Ag%40mail.gmail.com. --000000000000927afa060abcc031 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Maybe (in the spirit of=C2=A0https://github.com/jgm/pan= doc/issues/8988#issuecomment-1673442117, which was about writers, not r= eaders) such info could be added as something like latex-style=3D"text= color: blue" (where "latex" is here derived from the reader = name)?

On Wed, 22 Nov 2023 at 04:36, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Well, after saying that pandoc= doesn't support color, I saw this.=C2=A0 You're right, this seems = to be something the LaTeX reader does.

% pandoc -f latex -t native
\documentclass{article}
\begin{document}
\textcolor{blue}{blue}
\end{document}
[ Para
=C2=A0 =C2=A0 [ Span
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ( "" , [] , [ ( "style" , &= quot;color: blue" ) ] ) [ Str "blue" ]
=C2=A0 =C2=A0 ]
]


Looks like this goes back to commit d9439808f2fe226aad027c8c9d0a38217a1e8c3= 4 in 2017.

I don't think I ought to have merged this change -- this is too HTML-ce= ntric for the LaTeX reader to be producing.



> On Nov 21, 2023, at 6:37 AM, 'William Lupton' via pandoc-discu= ss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
>
> It seems that the LaTeX reader encodes the color info in a style attri= bute? (try.pandoc)
>
> \documentclass{article}
> \begin{document}
> \textcolor{blue}{blue}
> \end{document}
>
> -->
>
> <p><span style=3D"color: blue">blue</span>= </p>

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/pan= doc-discuss/2FA49E21-A3FD-449E-9292-F18ECEAC4291%40gmail.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/CAEe_xxjk-39RuHkEvhZ34KFuZv1iq14RcEP8n9p8= F8vsoYY9Ag%40mail.gmail.com.
--000000000000927afa060abcc031--