From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30783 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "ivo....-xwz7R8GQi1g@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Re: Feature Idea: docx -> HTML table styling Date: Fri, 17 Jun 2022 17:19:23 -0700 (PDT) Message-ID: <3dff9bb1-eed9-4252-9b72-1aa090c5865fn@googlegroups.com> References: <98db6638-9fe8-90bc-8fc0-051d0307983c@usa.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_26_1064066436.1655511563353" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21856"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDBYFH6DREEBB7HMY6KQMGQELF5TZ4Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 21 18:49:03 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f185.google.com ([209.85.128.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o3h3n-0005U0-8i for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Jun 2022 18:49:03 +0200 Original-Received: by mail-yw1-f185.google.com with SMTP id 00721157ae682-317bfb7aaacsf55285547b3.1 for ; Tue, 21 Jun 2022 09:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=CxiQEd7Rtv4pFsdEv1vAVzB13jUhM7s8siV8x4FCGc8=; b=nrFJl6U3DTQ5ZCCizIGzSUrO8nsl7MvnchKNJ16J80plsorOis7NIk5bKIc+WpDesX Cv+oA/vuT2VK5oUUZwfhNOdX2wumQvse2HySvbL2OoythXkxg/vpDDATSu5rU8ej5TAd +srDberr5vppTvG8QNEIEGbrqP7FwC3PYvjSQF0gmB0Fzt3OmNQM15F/3fJTfUpYlmDA A5jkKuGa/KfNSoMQqI1fwhKuhtqfxFQPQRzUIoLinCZ7qXvY4n/wCQL7y/Lpx7MXM3Ls Ohaodn4reN9oYcIojLFTzodBf4PpZqtxOU0lDANHLu5zCFbQC0Hs5WyzpRtpUJvh6PCB 2MCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucla-edu.20210112.gappssmtp.com; s=20210112; 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=CxiQEd7Rtv4pFsdEv1vAVzB13jUhM7s8siV8x4FCGc8=; b=niemhTGOvjs/Ow0w2nqqM/EwnDFZwtsJrvb2eyBvBmD2TWp8+G+as/kRZg14Zyi5C9 4B4SxHhQAt61UURh5FcpnzblC2Ab2l+IA/wLMnbqDTm3DNA1t9azUjQgl5JKLikcxqoI pBh+FGFCXOSNduOYj45cZ3TaEq6le5JnTz1fKZD8mKijxDjqgz0w7NPpGqdS9WGuVPqJ r5BOHgo+s2stkW8Gog5X8V5lNT+hYRPl8FsGcoi8lZFb9L7W/H5WI7inOKZu97pyb8S9 BQv5fgkS/TtuP4JRL3WnAJUnOV3JXOoo+nE/KyXtn8yqkWXfPlLJtYvh1Guyfye/7fl0 8+6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=CxiQEd7Rtv4pFsdEv1vAVzB13jUhM7s8siV8x4FCGc8=; b=OkKicvKwwNerrxueyqJGdxKI+sJOCI6Lf/RSoE/pyAgQ9RomzUMZykySsLqccFoaFE Ngqxz2xX5nATdm6Ct/jgFsUREv8l/0V2RNq7+IDwexDrhv+4cijFDe0/9LXf3XOhKjuU GseB4T+r/UAz8j1vP3U2lLRdDpp6poRa0M7s1cu1+juqOIwtz0RQg9teLMPv8qQeOU4E /YLto6ZzoNr02som/v7fVbsmdWWggwnRbmNYIr37S6UpQUPzLYHyHpaYywyxd3fAYjaD UPg6BruTcRL4MmFiEZptGw8Vod5df625w94dJWmmHkHwR1YGHJcghxfOEzakFYV6PpoP 6WMA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora+POpRsMhdoIYjrBmn5neYU/K5RYzxFCdpU3hCiO1u3pshrTWju 5RvliKlqwa1HpRHDJZybPVI= X-Google-Smtp-Source: AGRyM1tT7rW1ZhyTmPKU2nClIXNbvIRmGNXidx6bTmTqyb/8DQPxb+YiWp85zypaoTzSasmCvouJNQ== X-Received: by 2002:a25:dc43:0:b0:664:81c7:2ca4 with SMTP id y64-20020a25dc43000000b0066481c72ca4mr32253472ybe.534.1655830142152; Tue, 21 Jun 2022 09:49:02 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:37ca:0:b0:669:12d8:77a6 with SMTP id e193-20020a2537ca000000b0066912d877a6ls4155250yba.2.gmail; Tue, 21 Jun 2022 09:49:00 -0700 (PDT) X-Received: by 2002:a25:6041:0:b0:663:6f4c:b3b8 with SMTP id u62-20020a256041000000b006636f4cb3b8mr32853305ybb.236.1655830140031; Tue, 21 Jun 2022 09:49:00 -0700 (PDT) Original-Received: by 2002:a81:7b85:0:b0:317:5a48:9c54 with SMTP id 00721157ae682-3177d1b9cafms7b3; Fri, 17 Jun 2022 17:19:24 -0700 (PDT) X-Received: by 2002:a25:7747:0:b0:668:bc04:a0aa with SMTP id s68-20020a257747000000b00668bc04a0aamr5074630ybc.68.1655511564247; Fri, 17 Jun 2022 17:19:24 -0700 (PDT) In-Reply-To: X-Original-Sender: ivo.welch-xwz7R8GQi1g@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:30783 Archived-At: ------=_Part_26_1064066436.1655511563353 Content-Type: multipart/alternative; boundary="----=_Part_27_277925055.1655511563353" ------=_Part_27_277925055.1655511563353 Content-Type: text/plain; charset="UTF-8" my use case is to use pandoc md as a quasi-universal way to write text that I can output to pdf, html, and pptx. unfortunately, I am limited by the lack of multi-column cells :-(. On Friday, June 17, 2022 at 10:36:15 AM UTC-7 John MacFarlane wrote: > Daniel Staal writes: > > > On 6/16/22 1:21 PM, John MacFarlane wrote: > >> I don't know what the best solution is. Pandoc is really > >> designed to preserve the features of documents that are encoded > >> in its types. Anything else -- including the use of > >> "stringly typed" attributes -- is a bit of a hack, and tends to > >> lead to unmaintainable messes down the road. > >> > >> We could try to establish some generic conventions for > >> representing things like vertical-alignment in the attributes, > >> e.g. with a "vertical-align" attribute that gets interpreted > >> by different writers, but as I said, once we depart from the > >> structured types things get to be a bit of a mess. > > > > A thought: One option would be to suggest some generic conventions for > > readers, but maintain that *writers* will ignore anything not in the > > official AST. This would allow people like the original poster to > > handle many issues with custom LUA filters/writers, and if any > > particular attribute becomes widespread in readers you can decide if you > > want to adopt it into the official AST and add it to writers. > > That's more or less what I was thinking. > -- 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/3dff9bb1-eed9-4252-9b72-1aa090c5865fn%40googlegroups.com. ------=_Part_27_277925055.1655511563353 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

my use case is to use pandoc md as a quasi-universal wa= y to write text that I can output to pdf, html, and pptx.  unfortunate= ly, I am limited by the lack of multi-column cells :-(.



On Friday, June 17, 2022 at 10:36:15 AM UTC-7 John MacFarlane wr= ote:
Daniel S= taal <DSt...-Jdbf3xiKgS8@public.gmane.org> = writes:

> On 6/16/22 1:21 PM, John MacFarlane wrote:
>> I don't know what the best solution is. Pandoc is really
>> designed to preserve the features of documents that are encode= d
>> in its types. Anything else -- including the use of
>> "stringly typed" attributes -- is a bit of a hack, a= nd tends to
>> lead to unmaintainable messes down the road.
>>=20
>> We could try to establish some generic conventions for
>> representing things like vertical-alignment in the attributes,
>> e.g. with a "vertical-align" attribute that gets int= erpreted
>> by different writers, but as I said, once we depart from the
>> structured types things get to be a bit of a mess.
>
> A thought: One option would be to suggest some generic conventions= for=20
> readers, but maintain that *writers* will ignore anything not in t= he=20
> official AST. This would allow people like the original poster to= =20
> handle many issues with custom LUA filters/writers, and if any=20
> particular attribute becomes widespread in readers you can decide = if you=20
> want to adopt it into the official AST and add it to writers.

That's more or less what I was thinking.

--
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/3dff9bb1-eed9-4252-9b72-1aa090c5865fn%40googlegroups.= com.
------=_Part_27_277925055.1655511563353-- ------=_Part_26_1064066436.1655511563353--