From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26899 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Isaac Rabicoff Newsgroups: gmane.text.pandoc Subject: Re: custom style for table with docx writer / pandoc api Date: Thu, 19 Nov 2020 17:36:13 -0800 (PST) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_136_1814702426.1605836173549" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38017"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDTYJEHX3UGBBEF33T6QKGQEKR2L5KY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 20 02:36:19 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kfvLX-0009nh-7N for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 20 Nov 2020 02:36:19 +0100 Original-Received: by mail-oi1-f186.google.com with SMTP id n7sf2966195oij.15 for ; Thu, 19 Nov 2020 17:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=MiLhX6cyRgeRYI1qB+hZwB4pQQjL8GlWGaSTAiMC1a0=; b=lW9wlBKLDKaSLK1Mjuqdg3KSoLhFps7fI9WJFOSH5PoU54uJYcUWnecuUy4gA/yge3 8EMcZXQn1ibJMz7JjYUJ6ziYeam5RU/xWFugxHxtyEAMNZsZcFGoVnYcxtSob1OXr2Jn 71dQ/gLqRmh2kyohYcYB8BgutrP3O+HXZ31S+YUsToeVoxgDdphd1ileAsnC4vrP/Ate xemJkPTAkyJAAqC/Iij0wxL8pJw63CiiVObawMtAJ3Fu2Tq1KJjlY5yPG9kQwa3Ym4Sq 6MrZZGCpNrE5dGxU5FbV8Sfx+mNLOXvXSLQevy0GaIS6GrIgicgZAhniZel/5TpXv/wh 0lSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=MiLhX6cyRgeRYI1qB+hZwB4pQQjL8GlWGaSTAiMC1a0=; b=BS2rmXot9XTHjPI5QkV9+qdK4/Nn9hTJeOUqwlCPKTq2cHMqmoJkiLBrVTN6rfehOu 7sIFd+k6FBIUm4JInRGT5966lLPvSbh7n19MC+SYPBh+wc8qMhoJtVOeiC/Sje7MQ5wY LXQqxXMNo45dU8onemAVp7OHrB0Pr9P2YuJ6HzjeHhX0OVEcipAlgehtkiLQ2y0SZlPk RE9h111RVWwIzvIb0qNC/z+dygK3Tl+OaVq5VQ7ilmvdTEPYnE0kVX/MRl/PkfjtS+oU YFat8/NHnQ2NXwDbAlz900wRZEo7DW3WNeYsTQIEp64w3FuFTDKgiCqIwqdaL9+u7r6d Bg0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=MiLhX6cyRgeRYI1qB+hZwB4pQQjL8GlWGaSTAiMC1a0=; b=t95SjS3C/Rp+KgYzhXAJYSH2SPLXQlTDYJRbloGlAiGgdm0OvSs7ICcO4ETq0vWqhW +N4/xSppdAGDfs8Y0AhCpiY3wYbtkvkYBRUoTZBzNrg7NSR53TUd0Nb9SYAg8F73+iOW qzglAtptokrxStgO1uZGyjixyqX0/Xp7ieVJqyCWUhcMV5d9Vwbf0h1HSS1zVL4qIJHk StHPYFhFfzwMFPIMKRXC8FtbgNXClL/eqcvmgXJEaUzRfRVTCsywelcVObN0I+n57qRR Qx+p4vFYk9idwpBcCVsu1200xkZF3YwaaGf1HFiTSs/iP6zbwQwX5I87fHradczvaWKA FZJQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530PNvDE2RaM1uFf4LF7G11F1SBdtZzZGKu2PXrVhSMUXf6caSgm xLq1X49c6YUuCVveralni50= X-Google-Smtp-Source: ABdhPJxhDATxPwuO9/C/P1tKc4P7QsAStPDMIOVmVrXTSVPAp/9Fr+Vc3i4r+myg9gAoxVuDnNgIfA== X-Received: by 2002:aca:4f14:: with SMTP id d20mr4995700oib.14.1605836178240; Thu, 19 Nov 2020 17:36:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:5f11:: with SMTP id f17ls1242572oti.6.gmail; Thu, 19 Nov 2020 17:36:16 -0800 (PST) X-Received: by 2002:a9d:375:: with SMTP id 108mr11705883otv.126.1605836175875; Thu, 19 Nov 2020 17:36:15 -0800 (PST) In-Reply-To: X-Original-Sender: irabicoff-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:26899 Archived-At: ------=_Part_136_1814702426.1605836173549 Content-Type: multipart/alternative; boundary="----=_Part_137_320951663.1605836173549" ------=_Part_137_320951663.1605836173549 Content-Type: text/plain; charset="UTF-8" Maybe I'm asking the question the wrong way.. I'm really just trying to make a simple table with no borders, but keep the styling I have for Table Normal given in the reference doc. Or generally, any way to control table borders when working with docx writer. On Thursday, November 19, 2020 at 2:14:19 PM UTC-5 Isaac Rabicoff wrote: > So far, I've been successful using a reference doc to apply a custom table > style (updating the internal Table style with custom borders). > > But now, I'm simply trying to make a table with no borders at all. > > I tried to pass an `attr` to `Table`, `TableBody`, etc, with no luck. > > My attribute is: > attr = (mempty, mempty [("custom-style", "NoBorder")]) > > This works with `divWith` if I'm trying to set a font style, but not for > table styles. > > 1) Is there some way to use a Pandoc Table style, that overrides the > reference doc "Table" style? > > 2) Is there a way to set a custom style for a table, i.e. using the > "custom-style" attribute? > > Thanks much for your help! > -- 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/eb6aa5d7-fc90-4969-a164-0d34c9ba93dbn%40googlegroups.com. ------=_Part_137_320951663.1605836173549 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maybe I'm asking the question the wrong way.. I'm really just trying to mak= e a simple table with no borders, but keep the styling I have for Table Nor= mal given in the reference doc.

Or generally, any way to= control table borders when working with docx writer.

On Thu= rsday, November 19, 2020 at 2:14:19 PM UTC-5 Isaac Rabicoff wrote:
So far, I've been= successful using a reference doc to apply a custom table style (updating t= he internal Table style with custom borders).

But now, I= 'm simply trying to make a table with no borders at all.=C2=A0

I tried to pass an `attr` to `Table`, `TableBody`, etc, with no luck.=

My attribute is:
attr=C2=A0= =3D=C2=A0(mempty,=C2=A0mempty=C2=A0[("custom-style",=C2=A0"N= oBorder")])

This works with `divW= ith` if I'm trying to set a font style, but not for table styles.
=

1) Is there some way to use a Pandoc Table style, that = overrides the reference doc "Table" style?

2) Is there a way to set a custom style for a table, i.e. using the &quo= t;custom-style" attribute?

Thanks much for yo= ur help!

--
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/eb6aa5d7-fc90-4969-a164-0d34c9ba93dbn%40googlegroups.= com.
------=_Part_137_320951663.1605836173549-- ------=_Part_136_1814702426.1605836173549--