From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30753 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: Re: Feature Idea: docx -> HTML table styling Date: Fri, 17 Jun 2022 09:56:45 -0400 Message-ID: <98db6638-9fe8-90bc-8fc0-051d0307983c@usa.net> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1474"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBH4QWKKQMGQEHF2H3SQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 17 15:56:50 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f188.google.com ([209.85.166.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o2CSw-0000D2-GM for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 17 Jun 2022 15:56:50 +0200 Original-Received: by mail-il1-f188.google.com with SMTP id 3-20020a056e0220c300b002d3d7ebdfdesf2686810ilq.16 for ; Fri, 17 Jun 2022 06:56:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655474209; cv=pass; d=google.com; s=arc-20160816; b=whn+rGdKEUaSPN3QDS8Trr1ZTQBSiCc+RC/QCl9xmblXCDUfPO6bZ0yeSDEz98avup YIIyGI6lovPInU7Mh06E20sl9P2dL5I6ZLtPbPcm0IwcSJisaR/euGjhtcBQLQxcKufQ 0J/GJJqVZJRUV0X4rI4j9uGuLPYu0tW47y8V2Uwp8dajI5yvr6l1TgbIFUXeyeXqARPd MwWQUdCLm+gKIcfxzrBhDP/Qe3wE60psDMdTAdKde2DL50sgfUT9wVo4kmzHPdiyZYIB EI4zJ0KLLpr2SnES7M58uzlFrfaGGJjJjqz2nCGfcn5ZIBTONON4GCNTvg8LtF9YYjNv 5rVQ== 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:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=MlCgxPdOofnHJiJ8uZ7zq2RvnxgB0K3itHpEo5eEfSo=; b=XXPHfCcG6LLt1wE0EoWoPtVSyfF7XMNtmpU4XeAl004wSpHVmrlDvcp94w+u6CK+bU +Co1UxKU90CdoSgfoS8Wijy2xZTxvz0H1lSvGEOwSQ9KBAjrFWUXM/SF3EFBdWk1zLup lT3devn6NGSj7RxG/9ugSeVlu/JVORqgDpbe/Bv9iAZ8QwAz/C5KgSG7qroJBeOS2ytf 3BquKwmPYaOwLCVMbRNmzweek1rkU1mHoXh732ASrYjDowX/BKtKZmmty0oncAKJ+9Xj +BHTyL9J226+0UXsX5bS0EUlc/parCdVOPDdqk90JOtD/Wvy2S9wNK1YummR5nF2PRMI PUgA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=MlCgxPdOofnHJiJ8uZ7zq2RvnxgB0K3itHpEo5eEfSo=; b=h3BaZwcGJJI97FBLw3KlIgkRpmutY2a/u2O/vlQanW/DJFnsxpLIjUL6bzg3sRLxJH kRjUMGgVPKsig50cnyIRL11eCAOLtdXp8WlQGSplGe5S/1uzwW5rJM0AlluCtmX5t1Ug BVTvkKlN100BmTg6FEhEmChKQY7JvEg9761CqVnIAHdZTzMFHic/wuAlFfK0styTEUXN x+2qD4ZAc5KpsrxT8nSgI88TV+78ww8rU5ceTNyPHhCyfV9XhdTYOIw+FB5FsL3n4KJk LvcrP3Q7y48vqzOZDCVOxaawhzByr49Mb/XF/jxx0pQRJtwBvyVoo8XoTHnN7DtMpbjh 0dwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=MlCgxPdOofnHJiJ8uZ7zq2RvnxgB0K3itHpEo5eEfSo=; b=08CHkjv/Cd0RXLqe+haNCaw2mqr2rfIAisMLUukLHPP6XCVvaYFZPcZXPDd5zd+xho ZrN0zL4XiGJmpc9aTRaWagXKMeL7S14Mn1p+oViNo4Mf3jXlyoEJ87C/bViRXAw1ZVGT S4GCEQ8k7wotjutzB8Y8dUch453pHbom1AqrE25SLnOu/PSX06MTTIgrJ/jEqdDbizUp iirneT2e/lfuUybIu3jOoWpeU4tKg7NhTzgiigU8bbwzp1Lf/ao2mDxBUzwkeHituCWJ z2uuiHYzlOmNwFCbZLhai7yG/zc26wky9RM8fXIt4p5i31v0rUv528OyQxmPeJ4Z+lq9 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9BIUnxIcSKTA2ZopDaqURWM2Su/+3qJkVrs2CsSfA8e3GNU0Cd hc58JmKdafLcSyaRc1aeyno= X-Google-Smtp-Source: AGRyM1upPFxw4tGGJsjCcTREBnIzhefCGSFB6gNo2lzPttyohGTlllcwcu9ESLZg7XFKAKCxoJ1TaA== X-Received: by 2002:a05:6638:1409:b0:332:221d:1136 with SMTP id k9-20020a056638140900b00332221d1136mr5642083jad.3.1655474209423; Fri, 17 Jun 2022 06:56:49 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:1d8e:b0:2d1:978f:1f39 with SMTP id h14-20020a056e021d8e00b002d1978f1f39ls822232ila.9.gmail; Fri, 17 Jun 2022 06:56:46 -0700 (PDT) X-Received: by 2002:a92:cd84:0:b0:2d3:e6bf:7760 with SMTP id r4-20020a92cd84000000b002d3e6bf7760mr5673211ilb.139.1655474206698; Fri, 17 Jun 2022 06:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655474206; cv=none; d=google.com; s=arc-20160816; b=pXta5D0bvb+OxSMNbOr6LNKCie1ddl0zZyYS7x1S4gZa3PUHzcJwxWVPFdloY2lUPe QFzdBcXbGMRupFHFxeSbHk6RcPsACUo/O48Y+IpdNYotkvt0VQAgU8ehvb1GFEXRcZUq LkR7l+n9xYU5Jn66jErWOashPf/USvnaNsO3RkCUqovhOywkfLlj6se6Z9CnMJApgCaU ZCKwZ//Q9m1yaP5hr4eIfjtuBGZMgZwuD9KJo2wPmNEOqTtRkLLm1IkIhMtodlqP+Zvs Cc91MOX/Yue6pdiFdEKBit4DOGnRtukVwkU/k+ELWIuWx3vAdTngCLj+HzfjVzSxcaXu r/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id; bh=eo2oZVPsVrBYaudvBx+sq9AYKmQ86yWMLKEbzgo7apA=; b=xiRAMuDL58TKpM5Umx8HSTl5EeH4bQJwANoFsZcVL0gE3EqGjuyLHlEaHIxOIB0Zcl TfYPW0QmYZ8Wkq51jn+M/Ed7qlRroS+aan9d98PsAJ4SEcaePbvF1b0rLNSnhh+wDvce xiZ1MNsF+74LIzeK5hgAWEKeHiJCsWBBT3HMLqpXi/0n3OsJjLUrlPRkE+RwRZsee3Mm PGRHw0EC+tOPiptS8jC4WHZuL7IwIlKCkmHFATMCBOpEKYjQq6XqnvZAo/1BHEECMTFc JWEbnkqhlw+/3D9VtjAhkwtvibZNXLq6swcPjjozG9y2Ndhx46K/1KnILySUb04Ue7ok Yf4g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id y17-20020a05663824d100b00331b2ef714bsi282952jat.7.2022.06.17.06.56.46 for ; Fri, 17 Jun 2022 06:56:46 -0700 (PDT) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from [192.168.1.27] (unknown [192.168.1.27]) by mail.magehandbook.com (Postfix) with ESMTP id 4LPgZQ0kJnzH9q for ; Fri, 17 Jun 2022 09:56:46 -0400 (EDT) Content-Language: en-US In-Reply-To: X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net 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:30753 Archived-At: 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. Of course, it does tend to push Pandoc more to being a platform for converters than strictly a converter itself. Daniel T. Staal -- --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------