From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 30 Jan 2019 20:22:12 -0500 From: Ken To: Ken Dow , pandoc-discuss , John MacFarlane Message-Id: <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> In-Reply-To: Subject: Re: How to Assign Class to HTML Table using a Filter --5c524f3d_2eb141f2_3458 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline That would be great - it comes up because frameworks like Bootstrap and S= pectre uses to apply their stylin= g. Thanks for a brilliant tool BTW=21 =46inally getting a chance to apply it= to a client project. =E2=80=94 Cheers Ken +1 (519) 270-5338 =7C https://kendow.com The place where you are is called here, And you must treat it as a powerful stranger. - David Wagoner On Jan 30, 2019, 7:37 PM -0500, John Mac=46arlane , w= rote: > > Probably at some point we'll add attributes to Table; > it's certainly not ideal that you have to work around this=21 > --5c524f3d_2eb141f2_3458 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
That would be great - it comes up be= cause frameworks like Bootstrap and Spectre uses <table class=3D=E2=80= =9Ctable=E2=80=9D> to apply their styling.&=23160;

Thanks for a brilliant tool BTW=21 =46inally getting a chance to app= ly it to a client project. &=23160;

=E2=80=94
Cheers
Ken

+1 (519) 270-5338 =7C https://kendow.c= om

The place where you are is called here,
And you must treat it as a powerful stranger.
- David Wagoner
On Jan 30, 2019, 7:37 PM -0500, Joh= n Mac=46arlane <jgm=40berkeley.edu>, wrote:

Probably at some point we'll add attributes to Table;
it's certainly not ideal that you have to work around this=21

--5c524f3d_2eb141f2_3458-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21984 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ken Dow Newsgroups: gmane.text.pandoc Subject: How to Assign Class to HTML Table using a Filter Date: Wed, 30 Jan 2019 06:50:09 -0800 (PST) Message-ID: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2613_1426383608.1548859809533" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="30846"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD7LJ7PVSXEJB62ECCRPHRXCAUNAJN7JN5JQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 30 15:50:13 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gorBs-0007gM-4z for gtp-pandoc-discuss@m.gmane.org; Wed, 30 Jan 2019 15:50:12 +0100 Original-Received: by mail-oi1-f186.google.com with SMTP id n196sf12527715oig.15 for ; Wed, 30 Jan 2019 06:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=pSH0c4PU5vX1NUSqy+PA2Dw8UFsyIhAAzvQrvgXg2Ho=; b=FjFE1eetqbBw34tHOTBoJlIJiIMIln1Efl2zhR5/Ob86TAprljznyqepd8tkLUPTsU mIE5qxxxXbUb1rx6v2Msjh5zaKLqr82EH9GC3QGcjt+xxSoYam3ZV3KBUf5SL5aEw7gn 7D+HQBN5skwXEoJCoXTbVrk0QHaHjbtITINoZgsV8gh1welrUDpXCOY2XOpJYXeeXWtO b9bImfti8nNZ/k6Fcxb/AqeOCs/2agXQAbc5OB23sxvnublRzPAiVEfgpYvay84AFbu9 buhzBIhUKoWqq3yLx6L760wJbArZb0WVJpmjHQPOrpa82ugl5SZPN7DVvJlQhZiK+Tb/ VKlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=pSH0c4PU5vX1NUSqy+PA2Dw8UFsyIhAAzvQrvgXg2Ho=; b=JZeMS3008stWDiszakFkrk1MLep09+9MggNrxpbt6xhMnHuQkdWwIE8nhLUtiVtC9J +ZTZ/qv0sSHpuClq4UJ3q/RVeGTF+NMyPeBvY2trZGGIdtPSnHbkz5qQv8kIciExnLHV Vr3NDWAgwGz48jt2ehZeWvE8B5C7wjhkpCBDk7mGlGYlNwPX6TwQyO88dqHEhbnbzt0t 9BJqBrhbxqRrEZlyVktSY5wu0amWOroNCROqyoSm+JOsJ+89Uue2hz5yGJ2hINdEaewG 4pSp7BJA74UP7xBrjGxo37I6QT0i982TD9+oH3TBKPDQNLGBrWmkSr8PY9wsTleU1X8p zXXA== 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: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=pSH0c4PU5vX1NUSqy+PA2Dw8UFsyIhAAzvQrvgXg2Ho=; b=EDM39L8oTDJTGjMh3Kcbsdlma2U9r95XgcPRuGKxirAVAPt7gSRG8/vyK1i7K5yXW6 QIA7HEjI6T6zydTABiIYMEUTbLHmyZ3UKWp4xWvANMRbTCbrp9OhR3/Z7mg8C1C2p4TE PQEJLybnQO6keOYmZ/FMx5GZhh1UIDXeAsA8O2Zzr9zB/kVdQoRIWPcLzktj2LW9lfvE aa57P3quf00arFBqTgLatLQ+esYK2oc5gEi0PeWXk72RDJtDmOPVvnSJ4zIEd1Ey1jfG GCmjQNzPo2UMcDuOtka3+BehotGvydV06eFymbTo0up9Phyg7YmgQScBeyRNpkQUp2sN wWJg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuaJVZpB+pBnGJuDV2J44mH6iUlFsEI1h/XwNhpcl1BhZUwz7AZB n0eO3dXlTIXGOWJ+DhYS+ao= X-Google-Smtp-Source: AHgI3IaxWbnmNXz6pmgOqgHNRzKgn9YjGGdKQNXZoJqu5bdHDtJL2peajxKUd/XkjIqRzN/MZhE4zw== X-Received: by 2002:a9d:6f14:: with SMTP id n20mr147578otq.2.1548859810818; Wed, 30 Jan 2019 06:50:10 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:32c8:: with SMTP id u66ls1041427otb.0.gmail; Wed, 30 Jan 2019 06:50:10 -0800 (PST) X-Received: by 2002:a9d:da3:: with SMTP id 32mr144758ots.3.1548859810073; Wed, 30 Jan 2019 06:50:10 -0800 (PST) X-Original-Sender: thekenshow-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.org gmane.text.pandoc:21984 Archived-At: ------=_Part_2613_1426383608.1548859809533 Content-Type: multipart/alternative; boundary="----=_Part_2614_1124678588.1548859809534" ------=_Part_2614_1124678588.1548859809534 Content-Type: text/plain; charset="UTF-8" Hi, I'd like to assign a class to every table in my HTML output. I've got PHP filters working but can't figure out how to manipulate the AST to do what I want. Building on an example PHP filter, I have: Pandoc_Filter::toJSONFilter(function ($type, $value, $format, $meta) { if ('Str' == $type) { // use mb_convert_case instead of ucwords so filter works with unicode return mb_convert_case($value, MB_CASE_LOWER, "UTF-8"); } if ('Table' == $type) { $attrs = array('classes' => 'table'); // return ??? } }); The 'Str' manipulation works as expected, and any code I put into the 'Table' section is executed, but I can't get started on how to proceed from there. Any pointers would be very welcome! -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/553f3670-7cb1-402f-9a92-89f3774d17c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2614_1124678588.1548859809534 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'd like to assign a= class to every table in my HTML output. I've got PHP filters working but can'= t figure out how to manipulate the AST to do what I want.

Building on an example PHP filter, I have:

Pandoc_= Filter::toJSONFilter= (function ($type, $value, $format, $meta) {
=C2=A0 =C2=A0
if ('Str' =3D=3D $type) {<= /span>
=C2=A0 = =C2=A0 =C2=A0 =C2=A0
// use mb_convert_case instead of ucwords so filter works with u= nicode
= =C2=A0 =C2=A0 =C2=A0 =C2=A0
return mb_convert_case($value, M= B_CASE_LOWER, "UTF-8"= ;);=
=C2=A0 =C2=A0=
}<= span style=3D"color: #000;" class=3D"styled-by-prettify">
=C2=A0 =C2=A0 =
if<= span style=3D"color: #000;" class=3D"styled-by-prettify">
('Table' =3D=3D $type) {=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $attrs
=3D array('classes' =3D> = 9;table');
= =C2=A0 =C2=A0 =C2=A0 =C2=A0
// return ???
=C2=A0 =C2=A0
}
});

The 'Str' manipulati= on works as expected, and any code I put into the 'Table' section i= s executed, but I can't get started on how to proceed from there. Any p= ointers would be very welcome!

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/553f3670-7cb1-402f-9a92-89f3774d17c0%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2614_1124678588.1548859809534-- ------=_Part_2613_1426383608.1548859809533-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21986 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Wed, 30 Jan 2019 11:06:39 -0800 Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="176682"; mail-complaints-to="usenet@blaine.gmane.org" To: Ken Dow , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBTPLY7RAKGQE3L52WOI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 30 20:06:55 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vs1-f64.google.com ([209.85.217.64]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1govCI-000joH-OD for gtp-pandoc-discuss@m.gmane.org; Wed, 30 Jan 2019 20:06:54 +0100 Original-Received: by mail-vs1-f64.google.com with SMTP id g79sf218266vsd.6 for ; Wed, 30 Jan 2019 11:06:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1548875213; cv=pass; d=google.com; s=arc-20160816; b=DL3wRHhawfIb6xvgzs4NdyRx+IOd1YXFSvddxyuBzoCeOqYHi6P5GdTjmrNclnphoN YrzuCkobJdDmgEMXCbQ8vAP3widRRqpKo2pzwToSfpfmEtadW3Q/gM9Rk4dvg1DhCoJW hBppzO80hwXG7Cq0cZyxRhCE9Z8GdTPNubEzfQZA1EtGkO7XKDHgdGW2NDqikjGV76Mz Fz5QPqkFGS+LSkUJA7Gi6ihHJD4m2wUKLLG6e3AgdxsqJ0gIj5rULEH1DlvVsBOSHIKQ 4h2KS/eWHaBZlYWurkBp8LFaOIsqJmTo7d4VjJMihrf5A/RxBO2erwBzwoeuRmzqZEWk HJwQ== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=T9cRG6JOkRpcoPB1SqDaRFS6kHS94BZ2LvlwKeExrd8=; b=qxQE7JuUaif+f5z8HwbwHe7FWoPG3LQT8gI0y5YLiQzN6Z22OEm0NCaO5Td1v9+1aH rojWnepx/0TN2p07eNNPnF3kjtxFcXcVxTtZEc3Jka4XoXNYQE9qC39bkaysj5Xyyhxk exnNVUJj7B2A27zqsEK3ye5lrGzPkQafeghGGzyZUIAPZi7sthzmqkYYC5EwU7YmT+v8 gYm+COLVE0pwQR3ZDQfsgkWgQTS6zrGL+GC73TAZhWkx8uei6cVyKi75Z1RlyCqyD2p9 vAJrppjD49jGbDNvmLX2qujKwaBl57Dyh78gMhZuMKxgQVXePr5pTvvY8YvkAV6KBdMQ HDAQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="S9wb/+4r"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::429 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=T9cRG6JOkRpcoPB1SqDaRFS6kHS94BZ2LvlwKeExrd8=; b=dZUEtGQj4AhkWhNByoN4LB0jx4iJZHfLnycK0SDmb1gLaPOoOHGqfHp8g0ELHqwTw+ H7CkqxU1vAoFG4Vg1fjYLfXoPV58UL7uG6RpNKuX5jxHBJQpdHiIQZ0C6xziK/9OvAIh b2vsii6t2+QtubsxUFmPsjT6VCg/0bDJwTJFa1efS/VsQOY2+b2inqCIy6c1DFEnXZeO rmjklksyKBWEQ+NesNTQylW3SqULq9Cw08ZscnpinsSr4sK18pdLLe+9m5H21NBvuywB fSKnRdTys3bX8XqQo3BGxaPWgmCH02cH+0ihJw276FXgOmZtcrcKwrLGanfpH7JnbmmY m0Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=T9cRG6JOkRpcoPB1SqDaRFS6kHS94BZ2LvlwKeExrd8=; b=U9Wgf5hSuvF1ShZXxNpKWY34FuDWl+YnISH6bYrT3epaSi1JCgXxQYighs6yWOKT3U z3HsZ9NifAUkfVHrb7IJ8wfJTLpZR9ahtx3E5MjITZMYIqRMqepT5L41d4E51JEN/Neb uNz7emCADCdaKlK4xweppqEB1PRfSq5pOic8J9gCFa4gdbieEdKLB5d1aS0rdJnNoLi9 mb8hk2ljhgR+CR+dmjWEqJp2TJS9Mu5xd1drHu9USV3zLbxMn2g4X5NSwqktYmM5Ak8r QZHWBj/woXJ0u2SzTr0j+R0UelOqd2lmHMG4o/O1f54mkvPBaL0ZCfca7R3H+YWzst0p U1bA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAub6L3PqsI5eDw+A4fuMxsiVI6/YQ1HPC/3j/JjLww3Jngb8Vm9C egv0fwvCnEN4GBoWMDkLFeE= X-Google-Smtp-Source: AHgI3IaR5lDuhk72CZknhe5IB4ZB4RJ9yDLpP0vJXbMHitmjk/9tmhzpFSOvIfWn4WyNIBRLUkmoUQ== X-Received: by 2002:ab0:4162:: with SMTP id j89mr56293uad.1.1548875213509; Wed, 30 Jan 2019 11:06:53 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1f:ac91:: with SMTP id v139ls598291vke.2.gmail; Wed, 30 Jan 2019 11:06:52 -0800 (PST) X-Received: by 2002:a1f:a553:: with SMTP id o80mr8280300vke.0.1548875212798; Wed, 30 Jan 2019 11:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548875212; cv=none; d=google.com; s=arc-20160816; b=NILxXnfQh1IUR5k8uo5hE6+GXh+Luj4BvFBqwkCOJLC2lH6wiVHT8o4qMp/WHLJMUN xcSAbtdP+yDo3lHKH7kkk/4iKjkPxUnV16SYi8pc4pVQHfaj8eW64zHLY4R20lfbbZsp pqvP2VwhnwnmJ8c+8LopQgI2hCoCLRFJNpUxBAyALNb3yWinmOdT7oLLqr+1kQ8/9o5G 3KAZ5/UxglhPxkC0VnlTs2vdf8Gqi6XJIFKxpf/KGuPsgexIBdV1v+IvU/78o043sOo+ FwpcSWZNv+8AgPrPdj13cqp3LN/Alsksa6pWvfWj2mVRriCMXMoxMq+J7dddBCHDqYcl 7sFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=CgKjQbRReJ4wPMAailgKu2j5mOITjClcqxtP6UZExWU=; b=Qio+Jbndzlj6qghwMYRwPbxcSmb4tHLH3LbHy810e+0U5L9y7ve9YX0+Bo2cYsW3GP OylJQC9yT2ZVIWGKRP8ekWRv3fdeLfUfHv4nmjuTDHBvuzX1eBt4G4sB5ge3q54v4zz+ c120qduawzm8RtEJIeFgm7vvxsya5CcOZR++n5q5XWLbanrsamu9qznN2oVfP+mhfoOA t/AxX2LdzLdon4UcJd+vLlD2hjb2Fej4LPqARQ/wIA2rvry1VGHNRuORsvFfaonY49Bt Un5BX9c2epmItN6k4w4xMcliTl70BoTMxCP/I4hluBbaOaitjv7x4JJnhbV4UOB7rSUF OIdA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="S9wb/+4r"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::429 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com. [2607:f8b0:4864:20::429]) by gmr-mx.google.com with ESMTPS id h203si164109vkh.0.2019.01.30.11.06.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 11:06:52 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::429 as permitted sender) client-ip=2607:f8b0:4864:20::429; Original-Received: by mail-pf1-x429.google.com with SMTP id z9so262565pfi.2 for ; Wed, 30 Jan 2019 11:06:52 -0800 (PST) X-Received: by 2002:a63:2d46:: with SMTP id t67mr29193157pgt.140.1548875211847; Wed, 30 Jan 2019 11:06:51 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id h69sm2883558pge.4.2019.01.30.11.06.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 11:06:50 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 950DBA16C; Wed, 30 Jan 2019 14:06:39 -0500 (EST) In-Reply-To: <553f3670-7cb1-402f-9a92-89f3774d17c0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b="S9wb/+4r"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::429 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:21986 Archived-At: I don't know anything about PHP, but if you look at the API docs for Text.Pandoc.Definition, you'll see that the Table element doesn't have attributes (including class). Best you can do is insert it into a Div with attributes. Ken Dow writes: > Hi, > > I'd like to assign a class to every table in my HTML output. I've got PHP > filters working but can't > figure out how to manipulate the AST to do what I want. > > Building on an example PHP filter, I have: > > Pandoc_Filter::toJSONFilter(function ($type, $value, $format, $meta) { > if ('Str' == $type) { > // use mb_convert_case instead of ucwords so filter works with > unicode > return mb_convert_case($value, MB_CASE_LOWER, "UTF-8"); > } > if ('Table' == $type) { > $attrs = array('classes' => 'table'); > // return ??? > } > }); > > The 'Str' manipulation works as expected, and any code I put into the > 'Table' section is executed, but I can't get started on how to proceed from > there. Any pointers would be very welcome! > > -- > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/553f3670-7cb1-402f-9a92-89f3774d17c0%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21989 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ken Dow Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Wed, 30 Jan 2019 13:53:15 -0800 (PST) Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2792_1383506635.1548885195342" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109146"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD7LJ7PVSXEJB62ECDGLTSHCAUNAIFU64ZYQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 30 22:53:19 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1goxnK-000SFU-Jg for gtp-pandoc-discuss@m.gmane.org; Wed, 30 Jan 2019 22:53:18 +0100 Original-Received: by mail-oi1-f186.google.com with SMTP id r131sf507836oia.7 for ; Wed, 30 Jan 2019 13:53:18 -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=Pz/GTXm71ah9NfXyJoJZqgLwZfGYtdfGcRHxiZcFBHM=; b=cVJQ4KxGYfwv3sf/3GNDRWpSOJTRPKpZt4bMLBb7og+jV7ZsHHdYRoHeQ2edWp15NY M07zLJPsllHpVPaL4Hj2hxbQjjDUNTpChEWGrlYT9j8VU0Pv2AAGRyjkyGj64oPT882K /wFenHnL4J9cdhijRkODAtYhJ+cEs00zol/A3cy81r2d1Fin9WKmSuMFJgInSf3jQ1/h tMGADEaDq83vuh4fXb5qgReYt1XUMxIPHjVnMWF2Ny0oTETInLbT71aT4Xe5zjx+ymkX w3k9AkaYh58ulltQQjRo72x5rwCQp56ibDKX1kOm88wJQVBy8swumbJXNumzdNIJsihr O5mg== 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=Pz/GTXm71ah9NfXyJoJZqgLwZfGYtdfGcRHxiZcFBHM=; b=U/slwH5FKtGfoCr/fYQpAFZ6px6f/IdXOtf8Mp/y9YI8zcAJyHBz+z11vM0DwAWZpO 8q+dATU0wVyW83F2vXw4FoGGRBmZxiod9LURuisoSSsgw+xY1AjU+qB+4M6HzNS/66wF /RWvjhf7YZ5cwC+MviNu0CZ7XABwDa5F7tEzeaLoG5FK4Xa63mkINlH4xc81RHObxfE7 cWXK/3CiCDiW/aQ1xk6BjLf/dm6QnVQPRCRLjm9npojyGpqoA0bcXM1wIfU0aIbpUbHL /NK34tFnK5GJkcLBfOKrcZT8EQyYnrPrzTmtzyG7KRNgQ/dXHBUo5ILF7cK0cJdTffIp wrvQ== 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=Pz/GTXm71ah9NfXyJoJZqgLwZfGYtdfGcRHxiZcFBHM=; b=eXpCLpaiun3pwj5mZWu74IibPWm8/qjVbVZ/LjZD91FQ4VRF1oRBHgJWr3bpPpW7sD Bh7RhKbCyIOqiklQe1xUXAlgZLT6vaFMfjjF+rDQEK/i05gwME/KL6976cvNagzF0YAi DIbt9tDnRjHjIhpBdbq0CxPj7NlnPP6zD63xKwEFlfFmEwnVkTO5gHbJ6majsutVtZuG Q+e10k5Qvkv+21E1lcgz+gYAao05OJevrnohyq6a8jBXrtN9TS9xUXwKpSQQ5psEmBKu UGJrkjiQXi0ONdLy7D3GLgI9KIa83zFZoaPsjOztREKtcMcyJx0MMX7e3SoZlQUvEdEA yh7w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAubm1HPVxNKIl1AK6W7sT9S5HqFLzIYg/yV8KlHBhJfF98kX5bOr qzIwEMvbFy//5gZHdaheizY= X-Google-Smtp-Source: AHgI3Ia6uAlrNgoswq0JkZSTJsRoxhehadDHgrfzkbekl3iV1hP2jwROk55v+AFFSI3sGeAXcspOlQ== X-Received: by 2002:aca:5395:: with SMTP id h143mr180520oib.6.1548885196965; Wed, 30 Jan 2019 13:53:16 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:803:: with SMTP id 3ls2239625oii.3.gmail; Wed, 30 Jan 2019 13:53:16 -0800 (PST) X-Received: by 2002:aca:4c97:: with SMTP id z145mr179660oia.2.1548885196014; Wed, 30 Jan 2019 13:53:16 -0800 (PST) In-Reply-To: X-Original-Sender: thekenshow-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.org gmane.text.pandoc:21989 Archived-At: ------=_Part_2792_1383506635.1548885195342 Content-Type: multipart/alternative; boundary="----=_Part_2793_1806589038.1548885195343" ------=_Part_2793_1806589038.1548885195343 Content-Type: text/plain; charset="UTF-8" Hi John, Thanks for the quick reply. Now that you've pointed it out, I can see that: Div Attr [Block ] Means that a div can have attributes, but Table [Inline ] [Alignment ] [Double ] [TableCell ] [[TableCell ]] A table does not have that. I did look at this page, but my next task is to learn how to read this documentation format...! Looks like I'll need to post-process the HTML output with a separate script. On Wednesday, 30 January 2019 14:06:54 UTC-5, John MacFarlane wrote: > > > I don't know anything about PHP, but if you look at > the API docs for Text.Pandoc.Definition, you'll see > that the Table element doesn't have attributes > (including class). > > Best you can do is insert it into a Div with > attributes. > > Ken Dow > writes: > > > Hi, > > > > I'd like to assign a class to every table in my HTML output. I've got > PHP > > filters working but > can't > > figure out how to manipulate the AST to do what I want. > > > > Building on an example PHP filter, I have: > > > > Pandoc_Filter::toJSONFilter(function ($type, $value, $format, $meta) { > > if ('Str' == $type) { > > // use mb_convert_case instead of ucwords so filter works with > > unicode > > return mb_convert_case($value, MB_CASE_LOWER, "UTF-8"); > > } > > if ('Table' == $type) { > > $attrs = array('classes' => 'table'); > > // return ??? > > } > > }); > > > > The 'Str' manipulation works as expected, and any code I put into the > > 'Table' section is executed, but I can't get started on how to proceed > from > > there. Any pointers would be very welcome! > > > > -- > > 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/553f3670-7cb1-402f-9a92-89f3774d17c0%40googlegroups.com. > > > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b411caba-b372-4f99-aca5-36c5b614c91c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2793_1806589038.1548885195343 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi John,

Thanks for the quic= k reply. Now that you've pointed it out, I can see that:

=

Means that a div can have attribute= s, but


A table= does not have that.

I did look at this page,= but my next task is to learn how to read this documentation format...!

Looks like I'll need to post-process the HTML out= put with a separate script.

On Wednesday, 30 January 2019 14:= 06:54 UTC-5, John MacFarlane wrote:

I don't know anything about PHP, but if you look at
the API docs for Text.Pandoc.Definition, you'll see
that the Table element doesn't have attributes
(including class).

Best you can do is insert it into a Div with
attributes.

Ken Dow <theke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi,
>
> I'd like to assign a class to every table in my HTML output. I= 've got PHP=20
> filters <https://github.com/glassdimly/pandocfilters-php> working= but can't=20
> figure out how to manipulate the AST to do what I want.
>
> Building on an example PHP filter, I have:
>
> Pandoc_Filter::toJSONFilter(function ($type, $value, $format,= $meta) {
> =C2=A0 =C2=A0 if ('Str' =3D=3D $type) {
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 // use mb_convert_case instead of ucwo= rds so filter works with=20
> unicode
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 return mb_convert_case($value, MB_CASE= _LOWER, "UTF-8");
> =C2=A0 =C2=A0 }
> =C2=A0 =C2=A0 if ('Table' =3D=3D $type) {
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 $attrs =3D array('classes' =3D= > 'table');
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 // return ???
> =C2=A0 =C2=A0 }
> });
>
> The 'Str' manipulation works as expected, and any code I p= ut into the=20
> 'Table' section is executed, but I can't get started o= n how to proceed from=20
> there. Any pointers would be very welcome!
>
> --=20
> 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-discus...@googlegroups.com.
> To post to this group, send email to pandoc-...@googlegroups.com.
> To view this discussion on the web visit
https://groups.= google.com/d/msgid/pandoc-discuss/553f3670-7cb1-402f-9a92-89f3774= d17c0%40googlegroups.com.
> For more options, visit https://groups.go= ogle.com/d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/b411caba-b372-4f99-aca5-36c5b614c91c%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2793_1806589038.1548885195343-- ------=_Part_2792_1383506635.1548885195342-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21990 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Wed, 30 Jan 2019 16:37:40 -0800 Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="5871"; mail-complaints-to="usenet@blaine.gmane.org" To: Ken Dow , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBYMGZHRAKGQEVIH5RTQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 01:37:55 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yb1-f192.google.com ([209.85.219.192]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gp0Md-0001Pj-Pa for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 01:37:55 +0100 Original-Received: by mail-yb1-f192.google.com with SMTP id t9sf795623ybd.5 for ; Wed, 30 Jan 2019 16:37:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1548895074; cv=pass; d=google.com; s=arc-20160816; b=Rj9Fmkx7ZDLKGrartFuYAMd+6Bu0IJOEg8ZYgCFtQ2rH1dyP2Yi2o7YXq0un/aqCp5 uh4h4BFSM4Zh0keB3MEvZ/6ppGhBr1gNS0rmPiKfAmp54pNvsyTBt3d8tTvqAGQiw6gx 9xKdxdUFYHsd7x1AFcnSalTEjClREQjlnSsiW7j/DGqGLgYdmHW0/U5gXdeCXgqF0VLJ hAenWS9KLNZGUpw68KFzgZQ3zkT4xaOMJS2DumYeqnH/tdU5HY62urVdw8yI4Xe6uoeD Oemzu7EPoMDipZZaMzudIe6pNHK4Y0oxMA09C6na1zP+vDT3qoBfZg41+yUK/9kkC4tK A6rA== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=J0TWKoTZga3ax8Y2llQFZh9b9w6frxboZl6lNw7sF5U=; b=e2i0NrEPdCScyYmRjonFYAmDXwPeqnYvF2YOivgQPoWAXFgsEpmjkKu3qq211Bj9nN B8wzZmTjHp6/FwlM1IC3JG2vOFhKjpv0SJhjOeMaUWVmdufmVFgraNH54lUuiuEvOFJX OXNe9bdyKTSmWOoaT3TV/EUjgSqgnWGA/bjcRZgM3p4wPtH22AVOl6OpbWEewjlZh9LQ tW8gmqpJiGqO8hJvzm6r6lWtR7DgTLdMa9jejGnuiiJ7ZxC+cnVuHPy9RDPRV3evd26O v4zObR3vrUIi0AfG1YBOb3huWZRLi8hs17c0n3bxtsRf8+bno68bCIVsQRW1JzbO7Z/B n41g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=JzBulGOO; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=J0TWKoTZga3ax8Y2llQFZh9b9w6frxboZl6lNw7sF5U=; b=GxOS2lmqIhWHSxBJK3GRB+EYSZI2IvRH1eKRN1eEdFHBKsJN8U5FYJasNp1z0XKeek C1p9Lyu9JV/rQlIQU6RTcMEyH+lrKnw7HCbkC5YyIAiimiujBHlKlYn4NopXiRyEP3UI uQZKgb1UuJs+fgih5pj1qUVFpHFEckdecdylG2PPCzAl6LkNHLPdVs0urfqVt9dKt508 abegC6SHudw7qpPxS1N9CAz+zgUfAXJ482T8z5E4uHdpB3IiN4zlCoJz3PxwWHnskwFB NFKq2rvJ0RMwWEttj3Rb6s+3wy6ynYd+0IqfdtRLDcC6T7LjvB6lxxDr488y3hY35iGe trKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=J0TWKoTZga3ax8Y2llQFZh9b9w6frxboZl6lNw7sF5U=; b=R21N+FvCodNxrBb3S9iADLnsRH1ZzK9YZSQnTcCRd4Jrk19OgAw//MdjHoX9JEdzyQ YnOT2jqgJPemgWS0Nx0fYqkTU4gr4GGssY7DvHZK1t8XfdbMIKsPAPFlf8atmI4D9ZRI 3FUNAhz4rH0MnjGh+a2WLOThjiUbfxDaPKSCxMHJvfPoBtJUAL2bVal1RIU/ZSuRFnNV NfcwNqdGTHLPfTSxXmsv24Tv5JC9KfTN84x4qnTWsB0G9msOAbi8+9WHeW7/YfUMzeJQ K1GSgd2WPGnHFovbbK+UVuT2eLvOVY5tOIKOjlK+qNKPHV5bK8GlHahw3BnggA3xX3oO uegA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAub4JNOMc8yiN5pwOtMGpOSXbO/jGgpNf1hLnhy3j8moqe/ymv3b BJ69TK6WPvXPIC44ldBPNOg= X-Google-Smtp-Source: AHgI3IZr8BhVgGzmf4oM6hj5jChgzGHPgmiKcuGHvTXlvPR67enurdxJb78XwKLML251EfjuPQRHvQ== X-Received: by 2002:a0d:dd4e:: with SMTP id g75mr157743ywe.5.1548895074122; Wed, 30 Jan 2019 16:37:54 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:850d:: with SMTP id w13ls1398643ybk.0.gmail; Wed, 30 Jan 2019 16:37:53 -0800 (PST) X-Received: by 2002:a25:bcd2:: with SMTP id l18mr5068213ybm.23.1548895073112; Wed, 30 Jan 2019 16:37:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548895073; cv=none; d=google.com; s=arc-20160816; b=EJPw+hsiD4GhWpD6yaNxLkuSz7gIJ6cS+fDdb/rIkdtvSd+ohSQRnpQk6xiOf4G8nB cszyflJs/FELP8CBCcc34CSwXo6nN1qAAA+l2jf5vzmi6PzntlSf+aXbUDFJ9ytWtLI1 7Ni9hrYjy0iFIozmTKaS01BO4C99t23R0qL9YO3OXFwYBtVJcuEbOtiMswwKOFY/xEvL 1jpSQ4PUybQMXBUgT+s2jpdCAuj08YNAA+qglShm3p/KsdqNuw0NDI4jkNgVKToY2qae nOT30XiYvUQrQy5Fs/Zkax7wi+mqkP5Ihrl+BjnmZcIOqm3X9T+NLWxKx7I16aaHbKP5 cSbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=DtPIuYkCAFjPjKwg+4+abewy/ok9j4a8DClTfl8o5xY=; b=C8mxMeob0nB3977PB5BDFgSPpBsl6jZUYCgkqg4PYSL6Ld2lYgeckhioPJmzk1EFcf m87MuybswbcXpCuYiEWz0CCi4OSudLWiViDld/zRCptpPSeQ8xwKH0K8VchtwdMwPVks KTwuGVdsnTRMA4tp0b9t3GqCYoGOHJyQSGNZWAT7uJRzChtYAqZ/mZQeO06deGJaYvj/ fbienUupC/lHyKxu+/AelkbaFWB+SajdjLWNPYgXJfJq4rcJhX9nK+kdvhkw+ScX8rYu YYz5x/HEDNVyFxLEV4evXLRnGuptmrV7zADqdlWR0Rp4YzyBK+MPb6sD3wQN3XkPM9ys pfvA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=JzBulGOO; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com. [2607:f8b0:4864:20::434]) by gmr-mx.google.com with ESMTPS id i11si165877ybk.1.2019.01.30.16.37.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 16:37:53 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) client-ip=2607:f8b0:4864:20::434; Original-Received: by mail-pf1-x434.google.com with SMTP id y126so637450pfb.4 for ; Wed, 30 Jan 2019 16:37:53 -0800 (PST) X-Received: by 2002:a65:4381:: with SMTP id m1mr29038473pgp.358.1548895072734; Wed, 30 Jan 2019 16:37:52 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 125sm3745182pfg.39.2019.01.30.16.37.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 16:37:51 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id E6B4BA16C; Wed, 30 Jan 2019 19:37:40 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=JzBulGOO; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:21990 Archived-At: Probably at some point we'll add attributes to Table; it's certainly not ideal that you have to work around this! From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21991 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ken Dow Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Wed, 30 Jan 2019 18:51:16 -0800 (PST) Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2007_587725254.1548903076554" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="5141"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD7LJ7PVSXEJB62ECCS4LSPCAUNAIKBKZWDQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 03:51:20 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gp2Rj-0001FH-Hj for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 03:51:19 +0100 Original-Received: by mail-oi1-f187.google.com with SMTP id j13sf838205oii.8 for ; Wed, 30 Jan 2019 18:51: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=H1wbst6pz6K6KOdHfG57JJbjEthqfcxR3itqj2y0JUA=; b=a+ObDCxsN3jJ4nw6hmM+6fxCdBYiZAo7yR7Br5Yny6oeIydG4NH9SB9bcSoxYxJ9oM 7b6aR/Xc+XwLvKpF9T+vVsa1nb774BTu7y/Rw7HsZ/ItPosWQk4dk+gjhI/nqt6ilmKb +XkYT166b/vk6CnW9KYNNMAk7zd9KzFGdaCVnZjXwOz3YTUeijTGrb2/6Zz6sPkpvaDG jV9TZ5r9xvFE0pyHYh8osvyX4OfFZHXtEc1IsL337HYR2yxcOggwaFf07M6UxVHadIV4 71fF41B2O01hPkEWfm2AjYdExOfr/ZskAg6yiYvGW3ONsNrf8GlIaHnR4+Mv+znvg83L 8O3w== 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=H1wbst6pz6K6KOdHfG57JJbjEthqfcxR3itqj2y0JUA=; b=h89TW3/QidV2EWSDaqA2KDUb9McD2skJ/loOAVba5ayFzI28sb6oRIa3W+QhJOaTmi BL9NpAbgAeBewKqig+s5zTEs8yBcxih2p3JfZa189X+Sm93z6Zu/DXwnAHPy47HJMqQF FBkrdR5ivTPeiSsIrYOey4G7zX536qXltG8795bauyVxOsxpzhcffdY20fHG7uerA4+V zMdWDAPMIkzR3C19Xe5lYUDlgV3R4vs+saSMydz31/Y4q/Cror5hc9G5kwmj9Hrtfx0f 0wdqyo0ZDWDZV2mTzZxOUOreFs2DeCvy5MWa/ELolkrXzkyf0RELD+kQRUUTtPZPsmM3 UnDg== 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=H1wbst6pz6K6KOdHfG57JJbjEthqfcxR3itqj2y0JUA=; b=drkOyUbs18yhe13ZV0OxpxchG61w944zpR+4hGHzkVzyneOk67vshmXrnxbO4wojf8 MwOQFnjvXOSMjwOJ0l13X2LrRpqVM9LgowXnvHjBBkWPaw72XuFLOGCeIMv+4E6Q0I+W 9K1G62+xqbSV1rGTweybhmhdoQ1LvebIGMBm2EXXMsECqvjj7Fkdnm2objXWU+2h3m+y n6/HDpZhyJx2X/hlpLL3WmetSB91iy8tRgEI3i4bIh/PX8slW+bM0Sp31NPiYAdvu2eD pZ8r3sDlEy8yRNuZy4HRz3DwvT5gjLvInJQRoY9fdbFwaBpB4LqKIU/Y3Bo1P/4mDUdI UjYw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuY+8d+qvV2tjvyAhLLVW2SNzeNDi3Y5B53MUmI65NDmwB4ZuHPB RvPNNff4mGQJyHQssdf8okA= X-Google-Smtp-Source: AHgI3IaBCEqiKGb/sqt3sOusClzbQYsa+NFqsnMj/GRLd9A1eIDeXLUSeG2xDab206JnRfJZNKV6xA== X-Received: by 2002:a9d:da3:: with SMTP id 32mr173561ots.3.1548903078316; Wed, 30 Jan 2019 18:51:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:ecc:: with SMTP id 70ls1781504otj.1.gmail; Wed, 30 Jan 2019 18:51:17 -0800 (PST) X-Received: by 2002:a9d:2c22:: with SMTP id f31mr176827otb.4.1548903077330; Wed, 30 Jan 2019 18:51:17 -0800 (PST) In-Reply-To: X-Original-Sender: thekenshow-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.org gmane.text.pandoc:21991 Archived-At: ------=_Part_2007_587725254.1548903076554 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That would be great - it comes up because frameworks like Bootstrap and Spe= ctre use a =E2=80=9Ctable=E2=80=9D class to apply their styling. Thanks for a brilliant tool, BTW! Finally getting a chance to apply it to a= client project. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/ec1f587b-a756-46af-9662-e56ff972811f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2007_587725254.1548903076554-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21992 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Wed, 30 Jan 2019 21:10:52 -0800 Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="21693"; mail-complaints-to="usenet@blaine.gmane.org" To: Ken , Ken Dow , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB3EGZLRAKGQEH4OXLBA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 06:11:10 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f189.google.com ([209.85.167.189]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gp4d4-0005WQ-2i for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 06:11:10 +0100 Original-Received: by mail-oi1-f189.google.com with SMTP id s140sf991249oih.4 for ; Wed, 30 Jan 2019 21:11:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1548911468; cv=pass; d=google.com; s=arc-20160816; b=V0cFCfmV7+o7b8nDPZGssLLldgg1NjKi56tcSvFVOgGHqBVPAXx2EOH5zkD3EvOItk NwTh8thxjwQ6Ur3vk35FQFU80qXoacGKOZe9rXRNAhJaPjEKVXtEapg0fF8rriqV5SQ1 H86M/h7m97pqwrjXz1excV9PM8LEmWsO7vCQUVr9t02G5ZQGjTwo+rC9Xj8Lyh/zxcHB +n6ryFgiUXKjRH/3cpnpuFvcBR6Ayb/DMJ/YgAJ5xPzyS8X9FeZoWwBRnu21DZvy70H8 p6PXNKAbQ3+owfxeNziN/PDbEncZqVn3Mnarz3y9OeO5Ao/WvPANCudmL8JR+5Ysfnw+ 4WMw== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=iHPv8m9kaupBaVtoHN4QZMJruMy40/eZ5Rlpy36F3sM=; b=ZrmJFYK8RLP9zyl/zVERnZHOfYRrEpmEfhtmWzS0c6w8W+9FefG1L1jWBFJwoZPOxG tgAvvSAu0qjlWO3BPV5CxlP23wqarGXQJQs/b0z4tsiFQpPIzuZfpgcUw11flZEflTyF fjTa5M9amZijTyPJmrpxp+gr6KBoHvQ5aCWwfnGLU5wUIrwUIn451d7VjXu/oLzajR3/ yIvliszoKtKDAaoyuC7Dg3GuxVTYu0I4y7WC5igXPdoNcgFPPPu0/1zSmdDIPgq69lG7 AuLs4t6MTyWgEZAvxBPWoCFFmDNdf15vIrB8nNgwrRnzZpt8aOCLr9Ny9rajx3QKlzFm bSpw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xVo4Rfqq; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding: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=iHPv8m9kaupBaVtoHN4QZMJruMy40/eZ5Rlpy36F3sM=; b=tAIetO9D/fZbajLSOxm9G1Kyg4CmT/H91ka11g1hMnIsFyPvCEBXlLhauHZuUKIwWi uO3HgnPgELNF73JHtbfPWFTsENm7ge6T8eUi2W3R93OsVhsrJBhWGMH1PgZ8pzhxiEyZ WzFKu5J6R6JoZ2QBJrvESOd90Z3tYR3hewKz8lW3YTisWULZ6oYglPTSf5kK/ocXvL53 8CuR4eptR2UTQTNWYBIFJgkXwTGbftsl3PsL66k9+TaGJRsNvRUyxWbm1D+4YpP1dXoR 683lhd1sFjMOwoOLQLMUx01M57uI/s7kJI2bPP+YxudXjR/lF/ZDjIemZgOiZz2VZDDX RoKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :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=iHPv8m9kaupBaVtoHN4QZMJruMy40/eZ5Rlpy36F3sM=; b=ZHSqEY8MwSmNOG3k9ehu8fzvgRiu1HQuMgjrqm09FGXik+yB1TG++j96ZQQq+Oj080 zplCPhOE41q+LWnQmSfRakUBytLe6SRWK2zk+bUTDqH7OKjWQN530opQdrtXNXMKFr9W wXgT/bd5NWva0hUaa01DSDzNj0aH3XgLPXd1OMI9IXNDPEc12mpDfgFt6XU1YoaKHBZh 5IYfU9USOF2EBGdFIvNU8OUex/oyJ9RTtKaaF9XrOpqHqzdd1xkWJyi5zTsMTKwxNMWd ErNHJmAlZlnlWTaO/ctLXuFAmO9jWH8B732lMRU4x6jaK2h/Gcv0idtJuf3ZY+q+pLx0 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuYO4nQhdFbQdernHZ9lHMpJitAU1Zyvh5sHdKhKadROHM81K5aT gcepLfQnNEUKyDpqyXrNxO0= X-Google-Smtp-Source: AHgI3IZodkIgyBiGPvDwEB/HuxhbxqZcL32p6ioTjFC9L6ei0a15Ps8tKGxFUZlvFXnBWYWVuRIlaw== X-Received: by 2002:a9d:ef3:: with SMTP id 106mr183664otj.6.1548911468854; Wed, 30 Jan 2019 21:11:08 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a54:4605:: with SMTP id p5ls2677499oip.0.gmail; Wed, 30 Jan 2019 21:11:08 -0800 (PST) X-Received: by 2002:a54:458c:: with SMTP id z12mr8883187oib.48.1548911468065; Wed, 30 Jan 2019 21:11:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548911468; cv=none; d=google.com; s=arc-20160816; b=mpM0QaHVrJc+vMXcYYw3y7FkvAVNRlCmFx0U/fJFwQT4nwf4r5X/04isl1OxDtzT2x O1LXjXOTIs6o+xccenLDYAmHyeM2qLFukAy8PykRtBVJnCbMJj8SRVK6mMPrjBqpn0oT WdEJBvgjoI+x+RUX3gzJtg/gtNjtMjzKSRFAlPt7vHExHi+Xu3HvzE+5L2Co2Kt5AXKY flADH2XBzEcHPyoBFEpcxKQOk0AFTIOdS3BqcuzQ0WaqNyT22Z9OhpXNhQy9hXK7yrAO 54sHSzcllBIQKubi2wTGk+dabywQKPrsK00UpqyF6zQ3eTE+WySg4slqawH7GKS0AK1a /RjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=QixGR9K8uGa1afHCGELy2EIvy30XxZB6mednTVPNcG4=; b=p1zQ835xHrYd9WXJpi/yaeQk6OKug8Xhm90oJ5ftXFbxW6eoEvaU7SqjOG2uCby7Rl MhT8u5QV+66bjL5ksPeJdUc8sevcxUBzZKSmpBktvWrNW1Ay2xMQPNNk8WLtn/v/5NVC YbZ61dJgKg/Tz4sotRVVwGf3WXVYxaVB5pgegB36M6CYH1WbuV0COcvtD4oHsnfob2ES 7eVKWImyDcxlyBJzhFhcz06JmpWfqMdSzm8AhAUonrdAOpaifqcwnN9/csPuq8wR/L7H XtjgzYyq5g8V5KB6CtAcQ3vwF8RAIcIAUUJc24WCqvZOC6wZLQ2PQFkDtWh7JDWmy4Eb RS9g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xVo4Rfqq; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com. [2607:f8b0:4864:20::434]) by gmr-mx.google.com with ESMTPS id g23si214927otk.0.2019.01.30.21.11.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 21:11:08 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) client-ip=2607:f8b0:4864:20::434; Original-Received: by mail-pf1-x434.google.com with SMTP id b85so950492pfc.3 for ; Wed, 30 Jan 2019 21:11:08 -0800 (PST) X-Received: by 2002:a62:798f:: with SMTP id u137mr33677526pfc.168.1548911467334; Wed, 30 Jan 2019 21:11:07 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id n186sm4223825pfn.137.2019.01.30.21.11.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 21:11:06 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id DAA25A16C; Thu, 31 Jan 2019 00:10:54 -0500 (EST) In-Reply-To: <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xVo4Rfqq; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::434 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:21992 Archived-At: Ken writes: > That would be great - it comes up because frameworks like Bootstrap and S= pectre uses
to apply their styling. That's true. It's tempting to just add that class by default in the HTML writer... I wonder if that would cause any problems? --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/m2k1ilxvhf.fsf%40johnmacfarlane.net. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21994 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ken Dow Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Thu, 31 Jan 2019 04:52:45 -0800 (PST) Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3061_1626404747.1548939165520" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="136667"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD7LJ7PVSXEJB62ECCPN7S7CAUNAIMHGSVTA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 13:52:49 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f56.google.com ([209.85.210.56]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gpBpo-000ZRg-Fg for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 13:52:48 +0100 Original-Received: by mail-ot1-f56.google.com with SMTP id t13sf1293926otk.4 for ; Thu, 31 Jan 2019 04:52:48 -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=2rJ5JT1hwT/wdn4IoEOj7Ik6/ZZ1d8KZGM+6HLy7FLw=; b=Xal6O7Nj2qWIfMeJwUiyt8rCIcIndnxNhFvyjZrdWbc8ZSPK683sKoOe7GZ6ZCfd6w RJGn5oUaEhkNvYhTbhlzC01ms0fCV4xSuOkWSAaeAIPAc2n4O5uCEu459jxm4fyt1UXw lgUBJnbezxyLd6DXnhoDiEEuDQ2Stv0X24Sx1pIO4/f1pedKMOS9yD/N0FjDlyqkEYGF OJuXhLgqnh+VUGWEeMke56VXIbFK6CNJYbfrqR/83IcHQD4+IsEp8/R2LbpimSXB+JHA uE0ZZFPFWbXku9XsPQLuKYHqvoykypYZTg86OZlb9Df6+4VPqDVdXR4gWhIv1D2qEgs8 3xiQ== 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=2rJ5JT1hwT/wdn4IoEOj7Ik6/ZZ1d8KZGM+6HLy7FLw=; b=kczBrk/7yJRsL4u3EJkCqDUe1sR7DxMAC5facP5DZf8LKJZX/XABbfFijaNZFxdkNp sPdZ3bSi66ZWOn0QxrXj3EyyVx2Zy3ZpbWTNAp9mDbP97k3WSGvIdrAb6zN0hPoQfT9g TyyEBx+bSX34wQ0bzrPLqNnqvaaCHgd+GIUFE7cvdlm5Juo0P8eZqlxqqOHqwsaYdTXD X6zufZR+PqfZRIiSDBJsqhXR2PytTx3TWDigvIo8K7qBFM4veW4ohJo894mVlGzpbNBS Fkd6065EpX4RMrZyEBLFg6/I1XwzYKIyrDQyMKVBeeMAYFVh9aTFOJaEaA0ez1IM+eXd ldSQ== 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=2rJ5JT1hwT/wdn4IoEOj7Ik6/ZZ1d8KZGM+6HLy7FLw=; b=r+9DdH1xQpjy8pUNrGTZnj6iVEBeJKtX3FWnIAHqfTvV16RMfb2maUZihg+3c7u0Au FqstL3UrVoWFQGdZySky7O2dc6RJkULA9c8lB2jPT7gB9LCohrag4dixAQQJow617hKe eEuxjfWdRwmavyx5aKvc+dY5ychZJQk2P6+NO+38xwy4pPgKnXV3r8virfCLywRmnnyV sVTyhZb67jvmi/AaBEu19IdxD7DFPBYUvjs4Y9KcGWp9DTJxjeu8RDLiaUQpITIarrh4 8U1Qc4rEKFajIlBjcTOO/n73gnqrXJrC3egLv6o305iSdTXYpbcr/HSr+TQO45/Uc1qh eOXQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAua+vHCWKZopf1opQpbKUYGBfDdxvsfeXA2tKaf7q4+h+RmAR07r Ay/V8M30lhYE/D81NbHaDjA= X-Google-Smtp-Source: AHgI3Ibo68JrqCA195k6IfAfmLb6svrwXfZprkU+bIYh+0YaBpiY5xzWkgc+qUPD15hnPmJuWKle4g== X-Received: by 2002:a9d:6f14:: with SMTP id n20mr202286otq.2.1548939167233; Thu, 31 Jan 2019 04:52:47 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a54:4017:: with SMTP id x23ls5081oie.2.gmail; Thu, 31 Jan 2019 04:52:46 -0800 (PST) X-Received: by 2002:aca:308d:: with SMTP id w135mr213364oiw.0.1548939166353; Thu, 31 Jan 2019 04:52:46 -0800 (PST) In-Reply-To: X-Original-Sender: thekenshow-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.org gmane.text.pandoc:21994 Archived-At: ------=_Part_3061_1626404747.1548939165520 Content-Type: multipart/alternative; boundary="----=_Part_3062_672284873.1548939165520" ------=_Part_3062_672284873.1548939165520 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It's not uncommon for people to use unbordered tables for layout in DOCX.= =20 Adding a "table" class automatically would produce HTML borders where they= =20 weren't intended. In your first response to this, you suggested "insert it into a Div with=20 attributes". Is there some way to achieve that with a DOCX source? On Thursday, 31 January 2019 00:11:10 UTC-5, John MacFarlane wrote: > > Ken > writes:=20 > > > That would be great - it comes up because frameworks like Bootstrap and= =20 > Spectre uses
to apply their styli= ng.=20 > > That's true. It's tempting to just add that class by=20 > default in the HTML writer... I wonder if that would=20 > cause any problems?=20 > > --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/fdd9a7c1-f66f-4116-bbff-2ee91842c4a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_3062_672284873.1548939165520 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It's not uncommon for people to use unbordered ta= bles for layout in DOCX. Adding a "table" class automatically wou= ld produce HTML borders where they weren't intended.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/fdd9a7c1-f66f-4116-bbff-2ee91842c4a8%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_3062_672284873.1548939165520-- ------=_Part_3061_1626404747.1548939165520-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21995 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Thu, 31 Jan 2019 07:06:54 -0800 Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="198306"; mail-complaints-to="usenet@blaine.gmane.org" To: Ken Dow , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBHM6ZTRAKGQEHFAYEVI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 16:07:12 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw1-f60.google.com ([209.85.161.60]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gpDvr-000pLZ-Ta for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 16:07:12 +0100 Original-Received: by mail-yw1-f60.google.com with SMTP id l9sf1933266ywl.11 for ; Thu, 31 Jan 2019 07:07:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1548947230; cv=pass; d=google.com; s=arc-20160816; b=kwSjgFs0is172+InOq0g5cWP7zzbEG1GA7WumTeHboE+cl3sUzTeXJoH+ehvlrf9VL +NFsQRde1F49dmYVl+cXKmWm35/KgpLzfP+YWeytqwTAaWrEmWUGZEZSvkfIOxOPjpK5 8Uuz/zgcEmp8VgDqFELSO5t6gNRt+EglqgdeTP9qZoeLDAbrL0DqdpatoGMhrlOFsTrI Ao2mtthIDchkMhu/HZwSc/adCkqsCAwVrQ+25BTfjq/xXCtj6Gt3Xq0quu1TOUcuHcVA yES4pSO94iLhLarTDDUFVc+8O1LpkCt6iY3V38/ePNOotnvQDJZH3RxI47DK1cpPDmzj FT6g== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=mFBg/L6bOBYgQ9NdZ69B5Xk4Xv/a9w+czTc9UlhLOlY=; b=Atl3dzXswEUhFw+vzQsN4ap7s6SPgNdg6ynKc1eMW0sjTJex2cE7wupH/lz0S+iQP/ G6w63Cdxri3T70TvFqXAM9vYLMVdhTNCE647SzrDrHc81bir8a1l2F6kIy3pFhDR7tpB xNDb2iCEZ8XYBuL6zYqV6FUUZptVtjPzGRysHb8fZPFm2320xlCHqaSMTAdpFNEH6Lr2 ADQA1Iwv1Ty8s+Wp77/k1j9fvZ7PMrMSOQd1U01MVJ/ohTJTf6T5BtK76sRleb+ah/Ts 3MG6vOvaCHCQgd9uB5i/HjTycSMp05XJZaEaN5seB427ZQ6zei5FsLqbTp1R4ezlTbnx wPag== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=T3AYCM6a; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding: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=mFBg/L6bOBYgQ9NdZ69B5Xk4Xv/a9w+czTc9UlhLOlY=; b=P+LeGxz9ydBMIcNCVv1Q3WyuUjneT6ulr62bi+GbhrukyD70OW7h0WR51a0tUQlP2c LoQvcM44MwgzBcOdcyQGml/gb+Jvofpaj8wq64TKWLK1m5IU2dWjqEaHzSJfFazzbigx GElLgRBcHEgtjbmI/I465n9xpnxb2BIHXNJ19Wtzei6S6+h4bAj93pzmvIR756/pT9Zw 6hjUXRUZWi90ObFEfTVanha9u1an1+TEFzxz7ShBlooksqbDKwjE0RnfeSE2EsVVXnFT JcNVcunxGPk+vxi89aQkF/YXNTO9833ObtM8YxSHpMGxG7zoALtjVYhcYoQ6zsKxIft7 lZaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :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=mFBg/L6bOBYgQ9NdZ69B5Xk4Xv/a9w+czTc9UlhLOlY=; b=A0Yn4dLDeTj+64XNhZHWF538Owpq3tdB3UqnUAAitYYOqWwAimU+J6cFTgSOKeYRjI 6rYtpCu7TuWQrbhBdf1J7oAAcGXWu1SmJUMN6JKN+/DdmW8nDD88/Exuf0pOEpYR1sjm hU+c52UFtnk/C1misJ9q4+7t8471c6otx9bARY4sE+MWVjcmk90DJtGiOHCD5v9f1550 +pk4h/l9VA+ea0U5+m2SIvXN/Gbr46937oSiSq254RXpQEwvmujrrg3/OE1YTNM2jDqY +Xh6J348qCAFyq5K9R82wlduh3orFJR2UD3D/tukt47yPsbZp67dA5nYt+51Ewj78lkG Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuZrbb3T99U4NtZXTBJC3epvkBPtJA7HFTw+wFubcAAO87PYYYKv FM3L6/hbULmwOhfYX4MCxno= X-Google-Smtp-Source: AHgI3IaPbVPp1uTdq+ZakzAXrgdNgNIIlJ2SInp8YB8/YGKQd0nxhnp4Bhp9f7bja4DpEE+kHc8DFg== X-Received: by 2002:a81:9841:: with SMTP id p62mr180382ywg.0.1548947230680; Thu, 31 Jan 2019 07:07:10 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:d55:: with SMTP id 82ls2066871ybn.12.gmail; Thu, 31 Jan 2019 07:07:09 -0800 (PST) X-Received: by 2002:a25:2e0d:: with SMTP id u13mr5782039ybu.19.1548947229565; Thu, 31 Jan 2019 07:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548947229; cv=none; d=google.com; s=arc-20160816; b=WMgZF13DYY4/dltTAltWvvrVNxs2ZDMw/Q0I0IE9WsXQtf5leE/KQR5iwXfhx7+KD9 l4cbvMKrRFbixPOZTlTHuLppub0KJnu/SsWVEJFE4815/fCOuaPP6YbjpPPhaM7S/WZv Wd06pxZW9Va7mO0jtnZtZtOvd5jVlfm1wouLQ96sgddKj7/xhpK4fsUfhZedJGbLQLYT kktZVxxSltVzTYQSHwC/5vlcBpdOe6DVFoxUI+XM5sqd+VMl/Y64IVi5C4WaJkNppVJ7 TVOeOMSfxsqu+iNfUelYvPDTvZWl3HRljXj9ztfpV0INSfgivWBIfeM2WKT1eqeYKsDU VtRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=Nz63U5E4lXzU38teLAmEalR6nNnzdu9cQd0oeftQpmg=; b=vHzV1Sz8ioUSy4psuR9vog02F7wPkTw7Df41Dw9LgKkuIixQ38jIBgsIMq+54op1vq hRFuInaAavyCZQK677bVSaQO283JS4ki16FH7yL5AQ0Qc3Pl7pcfS4gMAgJF/uxbh/Eg Bq79XqWApOCU0uWRe8I6GZwxkTwny6d9chB2fsWkmc5fIKnguuZ7d2qmMIKTcvZS2s6L G4kptLZSu9AvMIhYEjkq2xWCUuvx1vRVa2xEuPQkB0PJ15mCSV/tytwV30w/YA2vdPDa YecBNf1b3/NmX7pe35kHdlwR+ltTTEhFKWjTrcLSCWdsPdt78iBS3etp1sr8gF7TijxN 37Aw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=T3AYCM6a; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com. [2607:f8b0:4864:20::62c]) by gmr-mx.google.com with ESMTPS id j77si260163ywb.2.2019.01.31.07.07.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 07:07:09 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) client-ip=2607:f8b0:4864:20::62c; Original-Received: by mail-pl1-x62c.google.com with SMTP id w4so1607631plz.1 for ; Thu, 31 Jan 2019 07:07:09 -0800 (PST) X-Received: by 2002:a17:902:30a3:: with SMTP id v32mr35614546plb.26.1548947228946; Thu, 31 Jan 2019 07:07:08 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id m85sm10453629pfj.171.2019.01.31.07.07.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 07:07:06 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D7492A16C; Thu, 31 Jan 2019 10:06:54 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=T3AYCM6a; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:21995 Archived-At: Adding a 'table' class wouldn't affect docx output unless we specifically modified the docx writer to behave differently in that case. Ken Dow writes: > It's not uncommon for people to use unbordered tables for layout in DOCX.= =20 > Adding a "table" class automatically would produce HTML borders where the= y=20 > weren't intended. > > In your first response to this, you suggested "insert it into a Div with= =20 > attributes". Is there some way to achieve that with a DOCX source? > > On Thursday, 31 January 2019 00:11:10 UTC-5, John MacFarlane wrote: >> >> Ken > writes:=20 >> >> > That would be great - it comes up because frameworks like Bootstrap an= d=20 >> Spectre uses
to apply their styl= ing.=20 >> >> That's true. It's tempting to just add that class by=20 >> default in the HTML writer... I wonder if that would=20 >> cause any problems?=20 >> >> > > --=20 > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/fdd9a7c1-f66f-4116-bbff-2ee91842c4a8%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/m25zu4yigh.fsf%40johnmacfarlane.net. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21996 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Thu, 31 Jan 2019 07:09:22 -0800 Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="208229"; mail-complaints-to="usenet@blaine.gmane.org" To: Ken Dow , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBL47ZTRAKGQEDZLNBPY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 16:09:37 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vs1-f55.google.com ([209.85.217.55]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gpDyD-000s02-4Q for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 16:09:37 +0100 Original-Received: by mail-vs1-f55.google.com with SMTP id b203sf1374940vsd.20 for ; Thu, 31 Jan 2019 07:09:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1548947376; cv=pass; d=google.com; s=arc-20160816; b=TMyxlG0R/niTKEtS8yMR71JIdowRQkAXqF0LRQVt5DRwgqojAl76pedjEHR8oI4IPn mOuyU4eN0gWUrdkaY0S6Hk6Qmu4x5NEbaz2AKmf/lGJ8EW8VbKNC+aOqax/Tejsr75py +WpvVfUWQuseNfOaLKI8dFjBSJiu8aZDEoi1H9e7byEIsK2m6ZCa+lAtgmRqUnk/QWVc 8l43iKLLkUmN4Q7QjUb09ZcJ4BhEOkX+17m8c3Kc1j/oNNyGqiGvOObFOBGYkVREzzAK 6kFBRsBx9FxCMhIjYOYOwt2kQK5SCfn57Io0YDdldbO4ToaI21fMoYTwpj3jpzxEvgZr F/Ww== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=pz2D485ECJpZg915U6JhNZdEyYA7qk+T87HLWhwOtXM=; b=MqRwCQ56xBV1mtwX0nzdu4MZ4LUph8PQSYsM3XOS/KNxhy73N8AuiqK58PpriUU9V/ 5bdadalwvYMjvLz2Tn5ohWowIHfBL73w9KkytkABHGqEsy940neKgnuDay3LEyLzllJd 2q5kZvSXFYgBzxyOShrYmQ9H5LW6dgOQCGgQtuCGw275gRF6v1yb/+xuPb9Nz92xqtk8 F5qDZUoiOfda6Y/Z8M+BGkf7cetuYqK0Utm2BzFPCZ69B/o/Wdd2z7o+YHFmMMMRdZoF Z0EdUiuw8na5XpGfPx5gVda1IvfZbO8C2YbC3adhnUmfhcJHq4FhAkbPVIgsw58LwZXx 1KkA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=F5XWqcPJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding: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=pz2D485ECJpZg915U6JhNZdEyYA7qk+T87HLWhwOtXM=; b=g71zV89dA5mWjFs9Iv/Bn0mshO7mLMDG60nDaF2ry7vIOTFqXfa6jj5DD0LNxFXvUt K4/njSy3uqxterYOWYvOQ/aBdhtLGDywqMlqWsbCz37PUP5a7Da5OD2YlTHdmZ0OoYmX N48GX9utyJ9udUvxsBp9SMZIKjub6VA/ZNnFzOWg/MlPZ0pHeGMIv+Ser8hKXBjZwyig zshiDDt1n1lq21WQWUNGw9xxiByvB47fgDSb/FG+fMgwm5vrOUO0G/4V+6Uaw/Qk9bNq J2QzTw6tldgv5YC37Jd9nsmu+CL3H2bDqxoLwVnp/z3CzW9yNMaWHravpfoWaRVNDXRu ssww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :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=pz2D485ECJpZg915U6JhNZdEyYA7qk+T87HLWhwOtXM=; b=dOw9SOACtCcVcbYora68/Q6DdxvRZG6B/bWABVH69vp+EJ59cWc8jZe4y/sHU+7bN3 HgZ0pp99PwDta9P6Pmt05kddFsim6NM1NQh5H94jPNIvRUcEsee++MQNdTlwOPLC+yEE ilO9bezc8YnvsVb6lacODQ/n2no9cTRKmpZjBdZm8ICbVLlM/Qbm17CZXkrSRkjHx+Uq A20JEFnaPbRJ9qC+BEUltyz/+xbF6pA+cEveba1wzd/X0fncgoU6YYuGPcfA2Sus9ZX3 hmnoenfrZttvo9v8E1N6d8ASBW6AKcywmX1HCKdOgvNsFgMCiEbGEdpm8EDfHhADrpQp Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuYpPcjX6kFQo5ItEptq8X9XVK+9WjwFvnuL8Ku5bIsNsjC8L6ee PuSz6sUScMr762YFxeBENT4= X-Google-Smtp-Source: AHgI3IYEXuGtIyPxYysMd9KCJ4UdHlX19E1I0p933Wl3X0HvJNp5CxW/xdqNG3q7EVYRL5Z9OjaCBA== X-Received: by 2002:a9f:2d99:: with SMTP id v25mr77460uaj.0.1548947375886; Thu, 31 Jan 2019 07:09:35 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a67:e146:: with SMTP id o6ls1402776vsl.6.gmail; Thu, 31 Jan 2019 07:09:35 -0800 (PST) X-Received: by 2002:a67:4b50:: with SMTP id y77mr11539325vsa.13.1548947375363; Thu, 31 Jan 2019 07:09:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548947375; cv=none; d=google.com; s=arc-20160816; b=CEkPSs7NVBDCg+XdfRxPUN7nq2zOOgh/fNoK2/6DjR9Po80YU5DqBEJ5q7yT5stz6B vdh72tO5LxGNMiYSpZYUe4Xat80A/xpjofo9ahKGp+JVfCi4NiHtMg3kznsqdPf3vpuP iKBHK5kC9bx0GZ9oB+M/mxaRwerPI/4If1nUcgKK5q12AsTrq1sSnNN8Ua6ltwu0bFdJ tciaEJUa+ito0/c3t605breb62mj2b3I9BERD8SO+unar3TeEaPoPM9SAlPXl/EA1RSy IWnHnGg6I5cge0hzocdb1aTPwuffBvASKOpNui+VuQkhH1aA2YdyVDeT7DCuArq1+ywb HTpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=eCa2JZeVm/NL8xo0KoUHBKSGk59DkcXj4ckK/CyTvHA=; b=XtxkqUwDLtHgUEAqvGfdEuinIu67F56HRwxZZB2QKMZKhIzMccJmqyhkDkgxFfkvee DbMcRPeqfTtZ71yZ8NqAt779DkXgnjkMJTInHcLOlRQ6+ttsPQInPqLCPsET6KB4wQug w6ALzuCfgQB/nS2dq63QTCX6dbFsUPMKKC4bXPtFa/Iw48XCdV/Kv2GUpp/2ue7OdzN5 oFpvNw6LrCD9T/h2jlM3Snsgs5BlTPcs/DkvfSjLKHmgxFWXpyn7oJJkQcAEL8R1dvWI +NTSZi9vDKkawuUKRT4uA0HCM9mlEEW7r041Ax3bbVJMa9wGwvCeahnSi5ysP5WXevUC wqcw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=F5XWqcPJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com. [2607:f8b0:4864:20::42a]) by gmr-mx.google.com with ESMTPS id 143si317770vkw.4.2019.01.31.07.09.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 07:09:35 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) client-ip=2607:f8b0:4864:20::42a; Original-Received: by mail-pf1-x42a.google.com with SMTP id i12so1594441pfo.7 for ; Thu, 31 Jan 2019 07:09:35 -0800 (PST) X-Received: by 2002:a63:c848:: with SMTP id l8mr31481930pgi.78.1548947374903; Thu, 31 Jan 2019 07:09:34 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id m3sm10521793pff.173.2019.01.31.07.09.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 07:09:33 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id CC9C0A16C; Thu, 31 Jan 2019 10:09:22 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=F5XWqcPJ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:21996 Archived-At: To be more precise: The suggestion above was just to add the 'table' class to the default HTML output, not to docx output. I believe the reason bootstrap et al only style tables with class 'table' is to distinguish "real" tables from tables used for layout (e.g. columns) in HTML. However, it seems to me that all pandoc-produced tables should be real tables. There may be exceptions, though -- do people use pandoc tables for layout in HTML? John MacFarlane writes: > Adding a 'table' class wouldn't affect docx output > unless we specifically modified the docx writer to behave > differently in that case. > > Ken Dow writes: > >> It's not uncommon for people to use unbordered tables for layout in DOCX= .=20 >> Adding a "table" class automatically would produce HTML borders where th= ey=20 >> weren't intended. >> >> In your first response to this, you suggested "insert it into a Div with= =20 >> attributes". Is there some way to achieve that with a DOCX source? >> >> On Thursday, 31 January 2019 00:11:10 UTC-5, John MacFarlane wrote: >>> >>> Ken > writes:=20 >>> >>> > That would be great - it comes up because frameworks like Bootstrap a= nd=20 >>> Spectre uses
to apply their sty= ling.=20 >>> >>> That's true. It's tempting to just add that class by=20 >>> default in the HTML writer... I wonder if that would=20 >>> cause any problems?=20 >>> >>> >> >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/fdd9a7c1-f66f-4116-bbff-2ee91842c4a8%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/m236p8yicd.fsf%40johnmacfarlane.net. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21997 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ken Dow Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Thu, 31 Jan 2019 08:49:11 -0800 (PST) Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3224_1315781853.1548953351483" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="114217"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD7LJ7PVSXEJB62ECCEM5THCAUNAIH4VQPFQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 17:49:15 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gpFWc-000Tb0-EC for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 17:49:14 +0100 Original-Received: by mail-oi1-f186.google.com with SMTP id a62sf1742531oii.23 for ; Thu, 31 Jan 2019 08:49:14 -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=4ZYqcvtptWeiB/+C9P054Kn9fw1RSx7TC3oGQn8r2Zs=; b=FtHhVMWsjpGMCf776InS8RBJenwBAagIA9HzdKbveNxF62mRG60RPLjfegOusS+F7v JyQtAtAETKN9O33CHfDqj9E5YfJwW4gBYC0k072xtyXNRr2hmFyZ+mLtvOoWCoAqXb6l ccFa7jlODgF+ME9dGRHp4iO8pkbN4ESG97CcaYTOYOPw5iXcktO1dHstlXsJYg3GpilF WWl4bCwHELbRjUQbqUQEnsm4arO8ZfOLQszWkEVz/THFBrntN1hGSscs6eArvmNp7zuQ d9uypnPXD3eJuJE0V+pW5F+sUu97dcz3p9cBjgtDn/jz3BaNhrPPE2fxC9bSe2fQNPfK le1w== 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=4ZYqcvtptWeiB/+C9P054Kn9fw1RSx7TC3oGQn8r2Zs=; b=ETQVbe55uZceop04qxwLkuOHER3UN77p7TgqpHyS9uK/jUn3s1pGrLkHcKHZA/UGDe ZCu/VWlDnFTUKZxzj+RzJg4dbtemqUuzf/QIn5I9V3L76mLS3oFIWAwurwcmkeayo2UL hSDgX+ygdJLv96dL4trLx4kmkJYWiwzAffAy+y3lbnKab0tjOWuSFFINJSFNqAYaYj+b QiR7svhkPZ+IXLLpGqeEEVyUeFuDto7gAw5lgH6ggvipjg8VCbQ4c+eBzg6QguxuY+2q a0ARnrWwaVK3wlmJ1zU88L95sj4lKRcA8lTmBTg1CwqQyZ2nocPW9FOoXCc95cBjMnL3 stUA== 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=4ZYqcvtptWeiB/+C9P054Kn9fw1RSx7TC3oGQn8r2Zs=; b=ikeuyWoiuHUL4ONPHnKEeD+MVWyBS8sIa+boKWdDL+D+mI6pE0LZnkAtS3i2qkyuZr Y3uPTlVh9qPs5irU+rXqabXEpaPANkTYpuz9jrl48/BG0gpQiZI0dAgZ+mtOuW4SsYhv JywW/ZcQLB+brPyqc+wDCN4MaNrHZ3e0pXtDHa/ga0Y/moN899p4qVK6mQExHSkKbQ6z O6R7ujFhPsCyussW6qWK15mJkg3RTYtnLBFszdWLZU6BHtMmt9+9LaH0n4v2D5V3ZwM0 cLtIBC64GwNmZrfADNAF2QZexOQYXgoMkzNrkYUe5w+lmdxPKw6Aqo1lDF7ZVDqmr4W/ AnMA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAuZE0+16s2C9Zzv2+uLEl/Cz7X4E3EfSIE/7g2IeAhrXnwwswloI q+9ELUQPavqRQFtNSs/W3aE= X-Google-Smtp-Source: AHgI3IYVSFeH2RNo0VVjSCpWv1St4r9+Ms9o4LvvCfIh+XLn8RVweghj7oYU20oWOlnz4alTDsJcBQ== X-Received: by 2002:aca:d607:: with SMTP id n7mr229266oig.1.1548953353097; Thu, 31 Jan 2019 08:49:13 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:803:: with SMTP id 3ls88588oii.3.gmail; Thu, 31 Jan 2019 08:49:12 -0800 (PST) X-Received: by 2002:aca:d607:: with SMTP id n7mr229265oig.1.1548953352051; Thu, 31 Jan 2019 08:49:12 -0800 (PST) In-Reply-To: X-Original-Sender: thekenshow-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.org gmane.text.pandoc:21997 Archived-At: ------=_Part_3224_1315781853.1548953351483 Content-Type: multipart/alternative; boundary="----=_Part_3225_1662571900.1548953351484" ------=_Part_3225_1662571900.1548953351484 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Right, understood. I agree that the "table" class enables a distinction=20 between layout tables and real ones. My case is DOCX -> HTML, however,=20 something like: pandoc -s sourcetest.docx --reference-doc=3Dcustom-reference.docx --extract= - media=3D./ --css=3Dcss/spectre.css -t html -o sourcetest.html If the HTML writer were to add the "table" class universally, then tables= =20 used for layout *in the source DOCX* would end up with borders (assuming=20 Bootstrap et al). On Thursday, 31 January 2019 10:09:36 UTC-5, John MacFarlane wrote: > > > To be more precise: The suggestion above was just to=20 > add the 'table' class to the default HTML output, not=20 > to docx output.=20 > > I believe the reason bootstrap et al only style tables=20 > with class 'table' is to distinguish "real" tables=20 > from tables used for layout (e.g. columns) in HTML.=20 > However, it seems to me that all pandoc-produced=20 > tables should be real tables. There may be exceptions,=20 > though -- do people use pandoc tables for layout in=20 > HTML?=20 > > John MacFarlane > writes:=20 > > > Adding a 'table' class wouldn't affect docx output=20 > > unless we specifically modified the docx writer to behave=20 > > differently in that case.=20 > >=20 > > Ken Dow > writes:=20 > >=20 > >> It's not uncommon for people to use unbordered tables for layout in=20 > DOCX.=20 > >> Adding a "table" class automatically would produce HTML borders where= =20 > they=20 > >> weren't intended.=20 > >>=20 > >> In your first response to this, you suggested "insert it into a Div=20 > with=20 > >> attributes". Is there some way to achieve that with a DOCX source?=20 > >>=20 > >> On Thursday, 31 January 2019 00:11:10 UTC-5, John MacFarlane wrote:=20 > >>>=20 > >>> Ken > writes:=20 > >>>=20 > >>> > That would be great - it comes up because frameworks like Bootstrap= =20 > and=20 > >>> Spectre uses
to apply their s= tyling.=20 > >>>=20 > >>> That's true. It's tempting to just add that class by=20 > >>> default in the HTML writer... I wonder if that would=20 > >>> cause any problems?=20 > >>>=20 > >>>=20 > >>=20 > >> --=20 > >> You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group.=20 > >> To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 > .=20 > >> To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/fdd9a7c1-f66f-4116-bbff-= 2ee91842c4a8%40googlegroups.com.=20 > > >> For more options, visit https://groups.google.com/d/optout.=20 > --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/ae8d390d-1006-4c90-96ed-3f921f7a0dfa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_3225_1662571900.1548953351484 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Right, understood. I agree that the "table"= class enables a distinction between layout tables and real ones. My case i= s DOCX -> HTML, however, something like:

pandoc = -s sourcetest.docx --reference-doc=3Dcustom-referenc= e.<= span style=3D"color: #000;" class=3D"styled-by-prettify">docx --extract-media=3D./ --css= =3Dcss/spectre.css -t html -o sourcetest.html

If the HTML writer wer= e to add the "table" class universally, then tables used for layo= ut in the source DOCX would end up with borders (assuming Bootstrap = et al).

On Thursday, 31 January 2019 10:09:36 UTC-5= , John MacFarlane wrote:

To be more precise: =C2=A0The suggestion above was just to
add the 'table' class to the default HTML output, not
to docx output.

I believe the reason bootstrap et al only style tables
with class 'table' is to distinguish "real" tables
from tables used for layout (e.g. columns) in HTML.
However, it seems to me that all pandoc-produced
tables should be real tables. There may be exceptions,
though -- do people use pandoc tables for layout in
HTML?

John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:

> Adding a 'table' class wouldn't affect docx output
> unless we specifically modified the docx writer to behave
> differently in that case.
>
> Ken Dow <theke...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
>> It's not uncommon for people to use unbordered tables for = layout in DOCX.=20
>> Adding a "table" class automatically would produce H= TML borders where they=20
>> weren't intended.
>>
>> In your first response to this, you suggested "insert it = into a Div with=20
>> attributes". Is there some way to achieve that with a DOC= X source?
>>
>> On Thursday, 31 January 2019 00:11:10 UTC-5, John MacFarlane w= rote:
>>>
>>> Ken <theke...-97jfqw80gc5Wk0Htik3J/w@public.gmane.org <javascript:>&g= t; writes:=20
>>>
>>> > That would be great - it comes up because frameworks = like Bootstrap and=20
>>> Spectre uses <table class=3D=E2=80=9Ctable=E2=80=9D>= to apply their styling.=20
>>>
>>> That's true. =C2=A0It's tempting to just add that = class by=20
>>> default in the HTML writer... =C2=A0I wonder if that would= =20
>>> cause any problems?=20
>>>
>>>
>>
>> --=20
>> You received this message because you are subscribed to the Go= ogle Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from = it, send an email to pandoc-discus...@googlegroups.com.
>> To post to this group, send email to pandoc-...@googlegroups.c= om.
>> To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/fdd9a7c1-f66f-4116-bbff-2ee= 91842c4a8%40googlegroups.com.
>> For more options, visit https://group= s.google.com/d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/ae8d390d-1006-4c90-96ed-3f921f7a0dfa%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_3225_1662571900.1548953351484-- ------=_Part_3224_1315781853.1548953351483-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21998 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to Assign Class to HTML Table using a Filter Date: Thu, 31 Jan 2019 11:08:01 -0800 Message-ID: References: <553f3670-7cb1-402f-9a92-89f3774d17c0@googlegroups.com> <1cfe6e9f-6e03-4129-9162-d0ee0d74878b@Spark> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="193235"; mail-complaints-to="usenet@blaine.gmane.org" To: Ken Dow , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBHUPZXRAKGQEUOKWKAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 31 20:08:17 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gpHhA-000o91-JW for gtp-pandoc-discuss@m.gmane.org; Thu, 31 Jan 2019 20:08:16 +0100 Original-Received: by mail-ot1-f62.google.com with SMTP id n22sf1786796otq.8 for ; Thu, 31 Jan 2019 11:08:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1548961695; cv=pass; d=google.com; s=arc-20160816; b=zYNuiI87DW16lUjM8t3F9xeiw8EB3YooLNOezwvn301IKXZbsPm2oD8wpl4fvtXRTE t6yyDG6hh3SQat8BVThU5FJG/w/DQtLwWNZgR//On4bLjrq7iDqx6lYiEGa3YFqZeVhH IBJ3kU8GPYadCvnXUW6hDVkJg0WSNjARYkpZL0WluqRcOUmFUe+cC/jgcyLJ42jiHpWM 2BKl8GlOv1GX1WVtiqNdEt5pRDQvTQWsxmnAUNPhaATMGX0UxHmnmd3Fw/gjuCbfHCaD JWEPPQDSkZGWFZxnvPIHRpDoVFU/JClok4KL/TvvO3CLK2ldWjqf++Hv5GpITxuqUtXk jVkg== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=t3B1zMj2uJ8rv2Ybh7aRRfWqlIEzp6r+t6hP29vTaFo=; b=gFuicFUJdykcch78Q7otO4YniUyD24ndjY7PR1NzeMJRYUwxowOXkgFok6J/vGbnY9 j/q4r0GkhAEdNoPDGqn9X0pC1cgky7x6JpA73BKlbo8QZR43dRukUTugmQ4g0AR07OSz kt9MB02YvxHIIvdUEemWn32NZGDDuxJaQpSSu9ZgxEI9v+7aSkJ4rTCAzXyjgWt0wRtA 30wu6gPhNHMhsaNiVuxDqTZBkJFCp4m2UfQ1oEOk7s/3amxsBhVFbGt+UV1joT6IADvx ITzyq2U1JuQaaXDq6zfk1WC4DTNNWyMBzzyFoDqS7+A9EbVNqbb2ps/7YIj33ubH18h/ JF5g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=ggis8H7X; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding: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=t3B1zMj2uJ8rv2Ybh7aRRfWqlIEzp6r+t6hP29vTaFo=; b=ng1C51C3+IOVmebtPIwMtAbigOZC1MPY8OXPNZAEmpExk4Z5eGUbrVYTkI5uvG/LMR AiP3rkme6Vs6/LKn+2dcOvjj0eytQT29JHgQc8RqZ35sfg+lw0tGPsSCSBB2kQs0WPvd XZIgGk1UyFpiGrFHOlNhIaTURgwqBYyRG3P33N7WSwzQBzNkvcZZTl/2cYy6ogMQSoW9 OO9KMor2lQ5JrM6heM+DhdlIwhep1Pf/j1RnF3TOH/SO5l7Ws2FHMZKZNHj2wBAeDsrT 0SVu/07Y0X+ezPxLSVoUxk/Z990Gzj5krz7JY90wZL4UjQJfMMhPOei3AjmON0ftRxCq gDnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :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=t3B1zMj2uJ8rv2Ybh7aRRfWqlIEzp6r+t6hP29vTaFo=; b=m4Q60uHQMoGyvWy6+t9NnOmiBHgsDGrZv0f1gxNsX7yg3masBhYuE414yjGzkKO2B+ 45H9XGZW6nvHQBHvEhggxomHEGLajE3pZYS/r1spCyTTTGru4Hby+0B4Kw/h38wiS4eR CCj6M77vaJcxbHGa5Mc0QCTwAWNbi7gr48RRT2Z5E4bVzsCrvoagZsQyASPmF5iWY2IV 51IwUabyEcC7RjFdP8HMfyBIRgsL3BzsASILkuSe06ym4l2mqQw4HwJp8PSem7fJVVX/ hCsofYg/6PMHY6SkpdQxgENa2CYKEn26jKNpDQF/4lXtAeoWbVlRKJJzBvHv7/R36ND9 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAua/9UwCVMKkfavHKlHQ/CFlkZJ0X6sj2VrUPZinVHa9T1VqFVwS QyI/hHd66Pth+LfEaIdnl1Y= X-Google-Smtp-Source: AHgI3Ia6fK4LxqJf00JWJh6H+1aAanRX7w6xh8lTRPB2sjHKSlAMtwuEYTZ3wQSzlOckmfg+3bTjyA== X-Received: by 2002:aca:d607:: with SMTP id n7mr235629oig.1.1548961695335; Thu, 31 Jan 2019 11:08:15 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:6046:: with SMTP id u67ls185571oib.7.gmail; Thu, 31 Jan 2019 11:08:14 -0800 (PST) X-Received: by 2002:aca:4ac1:: with SMTP id x184mr10480546oia.25.1548961694283; Thu, 31 Jan 2019 11:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548961694; cv=none; d=google.com; s=arc-20160816; b=w5HREO0lU6w7JEBeYcxMSkAseLd72GAeJnhxb6MNCDV9q/6ZuYv2Jzl5JHPqreFi2n KEfS7UG1nQFaROthbAJ5whAgbe2n49k2m3qd5jIn0xIx7eSPsLAlpZjo7eiwpUVWSyR4 Nz2iDo8xAMA93DretxNnwIsRtaizTNxApeAOVqUVfYrpDSUD6Fi88nPTe30y46r6xCOM b0JzNmiePyqepqHrH9yzbIcgPlU13At7uRoiUvUhzW23OLdVEIDRsWeODAraomLNg+LW esb27LIcMm/9Lsttdofdam3vl7dDqG47yZaLJvA0gLtunrqRCIE/iOfgsD2w2xYw9n55 q/Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=27vtC4A4eMl3fubDnrQoCHDcN0eYDWYMTTlstyBXnX8=; b=Mp5DP8b36jjKgadrWgmDDvh1gFrkkXsWqpvPGaOsZhJf5UZezCfEFF5AEUXijtAV26 +8YcrI9jLyrNfYlEZUn+iysWX0byVWnbul8f4HmQgrK9VJxOSuSAm9ntiJRUZCCH+5ow h7DzL6rvvEPbvGbx7zX+xaU79mN0QrNodjER/DRJ1gPpGz1OWw9WDRd4/O1h4MJhM2nT mYEJAYVatizf+ZUVZmXFVuPOvSM9Y2zRAGnWGv412fEyXVx5jnbFfhQ20fAZq8DL6WxR ChCFx7hzefe5If+A7gjTTfCaEW380f/XTybHRgf90Ry+t4j+7zZcD8JVysxpzKqmj3ol VZYw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=ggis8H7X; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com. [2607:f8b0:4864:20::632]) by gmr-mx.google.com with ESMTPS id i3si288775otk.5.2019.01.31.11.08.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 11:08:14 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) client-ip=2607:f8b0:4864:20::632; Original-Received: by mail-pl1-x632.google.com with SMTP id a14so1882773plm.12 for ; Thu, 31 Jan 2019 11:08:14 -0800 (PST) X-Received: by 2002:a17:902:7443:: with SMTP id e3mr36133827plt.304.1548961693503; Thu, 31 Jan 2019 11:08:13 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id k63sm20056440pfc.76.2019.01.31.11.08.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 11:08:12 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 7CBB5A16C; Thu, 31 Jan 2019 14:08:01 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=ggis8H7X; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:21998 Archived-At: I see the issue. Of course, if you go to latex or another format, you'll get a formatted table from this input. So one might ask why HTML should be different. Ken Dow writes: > Right, understood. I agree that the "table" class enables a distinction= =20 > between layout tables and real ones. My case is DOCX -> HTML, however,=20 > something like: > > pandoc -s sourcetest.docx --reference-doc=3Dcustom-reference.docx --extra= ct- > media=3D./ --css=3Dcss/spectre.css -t html -o sourcetest.html > > If the HTML writer were to add the "table" class universally, then tables= =20 > used for layout *in the source DOCX* would end up with borders (assuming= =20 > Bootstrap et al). > > On Thursday, 31 January 2019 10:09:36 UTC-5, John MacFarlane wrote: >> >> >> To be more precise: The suggestion above was just to=20 >> add the 'table' class to the default HTML output, not=20 >> to docx output.=20 >> >> I believe the reason bootstrap et al only style tables=20 >> with class 'table' is to distinguish "real" tables=20 >> from tables used for layout (e.g. columns) in HTML.=20 >> However, it seems to me that all pandoc-produced=20 >> tables should be real tables. There may be exceptions,=20 >> though -- do people use pandoc tables for layout in=20 >> HTML?=20 >> >> John MacFarlane > writes:=20 >> >> > Adding a 'table' class wouldn't affect docx output=20 >> > unless we specifically modified the docx writer to behave=20 >> > differently in that case.=20 >> >=20 >> > Ken Dow > writes:=20 >> >=20 >> >> It's not uncommon for people to use unbordered tables for layout in= =20 >> DOCX.=20 >> >> Adding a "table" class automatically would produce HTML borders where= =20 >> they=20 >> >> weren't intended.=20 >> >>=20 >> >> In your first response to this, you suggested "insert it into a Div= =20 >> with=20 >> >> attributes". Is there some way to achieve that with a DOCX source?=20 >> >>=20 >> >> On Thursday, 31 January 2019 00:11:10 UTC-5, John MacFarlane wrote:= =20 >> >>>=20 >> >>> Ken > writes:=20 >> >>>=20 >> >>> > That would be great - it comes up because frameworks like Bootstra= p=20 >> and=20 >> >>> Spectre uses
to apply their = styling.=20 >> >>>=20 >> >>> That's true. It's tempting to just add that class by=20 >> >>> default in the HTML writer... I wonder if that would=20 >> >>> cause any problems?=20 >> >>>=20 >> >>>=20 >> >>=20 >> >> --=20 >> >> You received this message because you are subscribed to the Google=20 >> Groups "pandoc-discuss" group.=20 >> >> To unsubscribe from this group and stop receiving emails from it, sen= d=20 >> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 >> >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 >> .=20 >> >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/fdd9a7c1-f66f-4116-bbff= -2ee91842c4a8%40googlegroups.com.=20 >> >> >> For more options, visit https://groups.google.com/d/optout.=20 >> > > --=20 > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/ae8d390d-1006-4c90-96ed-3f921f7a0dfa%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/yh480k36p8r6ge.fsf%40johnmacfarlane.net. For more options, visit https://groups.google.com/d/optout.