From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18547 Path: news.gmane.org!.POSTED!not-for-mail From: Nizamudheen Ahmed Newsgroups: gmane.text.pandoc Subject: Re: Pandoc Python filter + Table constructor Date: Mon, 6 Nov 2017 09:45:48 +0530 Message-ID: References: <1be02d85-bd95-4709-82f8-f6a5460930c6@googlegroups.com> <20171104230532.GC97257@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c04f5969e5fdd055d48b59f" X-Trace: blaine.gmane.org 1509941752 20567 195.159.176.226 (6 Nov 2017 04:15:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 04:15:52 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDG5REGGQMDRB5WD77HQKGQEYXQURKY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Nov 06 05:15:44 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f187.google.com ([209.85.223.187]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBYp5-00052i-Ri for gtp-pandoc-discuss@m.gmane.org; Mon, 06 Nov 2017 05:15:44 +0100 Original-Received: by mail-io0-f187.google.com with SMTP id i38sf20524365iod.10 for ; Sun, 05 Nov 2017 20:15:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1509941751; cv=pass; d=google.com; s=arc-20160816; b=esjzSWYpc6sKozzXUDV+tZb1oXRLRVkw2nk8Hvh9dZC7E8vJQq4PEAZkkYhEa/W2WD RDLJbyxWT1VZT7zm1CQvdotqv8wOPPJyyaCdl2uskJcaKvpGv3FdXKG/JheWQxc1F3/k wMqEkzqkYjmdRsfBCXoUj6v5SKkq8kf3PvNoa9X0Jq+TRbQaqgKEtuPOcX+Kwt3Yd+5/ s/o9cXNCh2hsNRe9XAcbgtTLSghJRqU3MZqL2dOBn5+P5pfeGjA7V52B2yDiC6vAxF+O EWY3H9GrGQXR+e8daIAH/4j6VIlbEiJz8l9gbE/dWS07mjf3fp/WmyE17M/9ONDBLRu3 yi+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:references:in-reply-to:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=1p+Y7qmsZPV4jMu7FB5uo6Dcnw0rS+8IU5WWogZ7uaY=; b=btekcuTPgNxVC5ccRRhtSSLQ02obcYQwm87Yfvms/nY1VhBt3JE/SJRd4ddB9zk5la yU7+Q0a0nVk7IIdoeHbgeDFFDgH+baG0Qnifl2rxa7/pIwuJOCliXgxfS3x5fadFN/k8 F9p/FfQDZ0EH8hv2pzOBs3jgkUHnON88f4EAXDOlHhL+GoFB2FDZocCB7FvJZxf1l8dQ WWekQ9wLNnVGW4R89g08LXKoo/+Ufd1oVut3YUg4HcPywtptG/5kAGyXwBpmYzf/IhzS 6W1B8y5Wn7yl11axlkFStPkOsxw3G5W/Pd8WuK5E8GHAaCQqdyP3SmY9v81MJ7xemDUT PrRw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YW5ANa4a; spf=pass (google.com: domain of nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22b as permitted sender) smtp.mailfrom=nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=1p+Y7qmsZPV4jMu7FB5uo6Dcnw0rS+8IU5WWogZ7uaY=; b=OZqexMTv9b2CxHcagnGPJYJFdq7viSfxWrVsMiXYLgVwxdCErFZw5rM4Yl4ri4BfhR x6Ecu7uLeVFzquKLUtDgzzLM28IQMVv6T3kYdhI65Gw4qO5mC34eLulfBQIZ4+BVdaL8 HVVkCCcWkblYoA3ZHDSQUmWN9p4AuzMbYyv06fCb6Mh5YuN8nr7nYRJcNc++8TIpkRFx shFfEYRnKMyEEER53udT/ziI2kTR3KLWdyqAtgO6QSygCc9wZv8u1prLVA/15iiQ9Qvm tjRCsw9jZ4gQXoPKL8J7me2RFE0pw/hUef/BcsC5DU+Paual6CLhdR7h5cARZRtB3oyv kvpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=1p+Y7qmsZPV4jMu7FB5uo6Dcnw0rS+8IU5WWogZ7uaY=; b=B+dwIdVsdF/lD0yj7rYUfC+uHf8tPfBB4OyEPgoAc1PxlWr1gROaeiZe15/XO99f6q DgLpbwRuk/6IUZWw1+A2Pr4g2OcYF4jgDpjQJtoG0dX5XdfJYKAza+mjmA7hddL3Rpox 9JaWZAny6sSfSv2xPzjGYHuvx0CMiDVSzujbbd5z2BSzBYMT7me2rJq72wHVaCwlBrcf Moos6af75v40AM38iNxntgkg6CYhytJ6GtTLEqvJyhy7FpPokXjGdX6sNmt/vn9b+GmR J02h93F14nxl91M/FjXivbiFUyh6GzUwCS5KahNtWTN+xjG1wZCjtmSMhRw/pbwr8Mmr 3G0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=1p+Y7qmsZPV4jMu7FB5uo6Dcnw0rS+8IU5WWogZ7uaY=; b=V6eHwUCTxaULNXv9n7ffeM5T3j7yGSCW5WUdpo7i8U3vA8UiwD0NzmU7evV/xcyv+T etDJ0y+tlm1psJzhJgxsHhhErPBMhWWnY6EltzgXtn3FD2e7PJBel5S7ofLlPHj7P7IO t9vXPEKgRtcnZIQ3D/ZlPnm+xD2b0ygx0al/1czXTv14i8tugEiFbGL531AzABYIzOTL mId+s2q/fl/pA/isdcGQnCdWF2sOu5LEkIc3ZiwvZVNQw6G6DknSEJcnftqsRIpWcTVg HBPpzDmD2HD77ddFvsfqnlq4gr6z7pw0ndnYnqL6SsOqWgXHkV3PTTFZ11XhmXHC2CPe mD3w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJaThX6j7WvwOoICq2a4iDP+mJrju9pPTK3RanA85Cx+wEAdmIl2XeKD 6UNq5q5/7SX2ri+xgFZ/l1o= X-Google-Smtp-Source: ABhQp+SlbXPlx//sM/Fc3hAZ4+ZZwpQxH2seAoPsqAcXfpTGU3MskLB3rYA3Iz2jpcOtSahJ13/sdw== X-Received: by 10.36.115.6 with SMTP id y6mr119627itb.6.1509941751084; Sun, 05 Nov 2017 20:15:51 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.180.141 with SMTP id d135ls2128307iof.6.gmail; Sun, 05 Nov 2017 20:15:50 -0800 (PST) X-Received: by 10.107.168.102 with SMTP id r99mr10949433ioe.11.1509941750271; Sun, 05 Nov 2017 20:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509941750; cv=none; d=google.com; s=arc-20160816; b=z9Iz16wf8P/BZ21pq61QGqMm/81aVgohIKiQUrbPPYD7M6s7eYb8w1y3bDCa9pn6nz IcP2Bq5H3xdC9SJYi0Gh4JRYcWozbAC0/LAsfajC348yNA83543P989lpDS+XOLT35gX ruqPdOu8dxfdU6zR9hDpy/ifS7DzxwBJbC+5ToniQbgbo0Flme1u6Q7hH40FqFOtfR// YIzYDiyXLbA2crHuOQ+CiagJBkvoLxl9k0nM5O73eETCvpJ+w7Soqxjxq22QaIWII5SZ ilmmZ2SzU56Q/wYdk8ddStsiHSj5kYW1MwBHTF6vp20gAwxCQmLZMO/0ZrHScaM7oO/W DC9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=IH6OxThEn2sFEE9Oqkt/mupsPHRRONgRMy6kTnOfdo0=; b=mt7LQLGbX16po8PTWS+++HUMOq+SLPkWL12wGVD6p1Z4pfnt2JnOXkfx0cw7qlfGAI 6srOM4GvN3zaP26H6aBMAFC01kK6WhdGh5aS5iwiQpUZRLTfysdicj3qk2HZ0yur6k+T 7QGYWkgAq/tauuDrcm7+gBZEZ6TrGS1lEvUl7lXt5KqkkRYd2r/AoFshfdRsva531sNN rYdvtUMooFIWGULEgvknnXc9XZs7mDaV9ddz7suNllWRhmwPNvmX+FH9ALXkXjp238Lk Vjx+7vJm0NFHObM99SsvbFNEKt6rI3P8vwOKXtbshSNiX3uQyznN/RTgnN7wAB2bwzjB foug== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YW5ANa4a; spf=pass (google.com: domain of nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22b as permitted sender) smtp.mailfrom=nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com. [2607:f8b0:400d:c0d::22b]) by gmr-mx.google.com with ESMTPS id w8si714925iof.1.2017.11.05.20.15.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Nov 2017 20:15:50 -0800 (PST) Received-SPF: pass (google.com: domain of nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22b as permitted sender) client-ip=2607:f8b0:400d:c0d::22b; Original-Received: by mail-qt0-x22b.google.com with SMTP id k31so9448980qta.6 for ; Sun, 05 Nov 2017 20:15:50 -0800 (PST) X-Received: by 10.200.25.46 with SMTP id t43mr21083053qtj.204.1509941749635; Sun, 05 Nov 2017 20:15:49 -0800 (PST) Original-Received: by 10.140.30.202 with HTTP; Sun, 5 Nov 2017 20:15:48 -0800 (PST) In-Reply-To: <20171104230532.GC97257-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> X-Original-Sender: nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YW5ANa4a; spf=pass (google.com: domain of nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c0d::22b as permitted sender) smtp.mailfrom=nizam.ahmed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com 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:18547 Archived-At: --94eb2c04f5969e5fdd055d48b59f Content-Type: text/plain; charset="UTF-8" Thanks John, Kolen. @Kolen, my use-case is simple. I have users of my filter to describe "situation". The "situation" description itself is free-flow (can use any markdown foramtting scheme and such, except the description itself not contain markdown header). The "situation" is associated with one or more "tags". My current idea is to use the
...
block container to describe the "situation. And the "tags" are annotated as div-kvs. In the filter, i would like to create a table for each "situation". The table should look like the following +------------------------------------+-----------------------------------------+ | Situation Name | | +------------------------------------+-----------------------------------------+ | Tag1 Key | Tag1 Value | +------------------------------------+-----------------------------------------+ | Tag2 Key | Tag2 Value | +------------------------------------+-----------------------------------------+ Hence, i require to generate a table for each div with ['situation' in div.classes]. Any comments/suggestion in my approach is welcome. Thanks and with best regards, Nizam On Sun, Nov 5, 2017 at 4:35 AM, John MacFarlane wrote: > If you're using the pandocfilters library, I suggest you > check out the alternative library panflute, which is more > pythonic and easier to use. > > +++ Nizamudheen Ahmed [Nov 04 17 08:34 ]: > >> Hi folks, >> I am new to Pandoc. I am trying to write a filter using Python. I >> wanted to create and return a "Table" as part of the filter function. I >> understood that the Table constructor takes 5 arguments. But the >> details of them (at least from the Python parlance) are not available. >> My novice code to construct the Table looked like the following >> tab_le = Table ([Str("This is the title of the table")], # >> Table caption? >> ["left", "left"], # Alignment? >> [0.5, 0.5], # Relative width of the >> columns? >> [Str("C1"), Str("C2")], #Column Header >> name? >> [ # Table rows? >> [Str("A1"), Str("B1")], >> [Str("A2"), Str("B2")], >> [Str("A3"), Str("B3")] >> ] ); >> With that code, i get the following error >> >>>> >> Error in $[373][0]: expected Object, encountered String >> <<<<< >> I am sure i am grossly off in the constructor. Can someone help me to >> create Table? >> Thanks and with best regards, >> Nizam >> >> -- >> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to >> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> [3]https://groups.google.com/d/msgid/pandoc-discuss/1be02d85-bd95-4709- >> 82f8-f6a5460930c6%40googlegroups.com. >> For more options, visit [4]https://groups.google.com/d/optout. >> >> References >> >> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 3. https://groups.google.com/d/msgid/pandoc-discuss/1be02d85-bd >> 95-4709-82f8-f6a5460930c6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email& >> utm_source=footer >> 4. https://groups.google.com/d/optout >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit https://groups.google.com/d/to > pic/pandoc-discuss/OBlbFj5HJ9I/unsubscribe. > To unsubscribe from this group and all its topics, 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/ms > gid/pandoc-discuss/20171104230532.GC97257%40Johns-MacBook-Pro.local. > > 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/CA%2BzEWHCd%2BEGXRoWsJcxk0hb_fn2JpWsmVuCnmKJz5ge6FzFCjw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --94eb2c04f5969e5fdd055d48b59f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks John, Kolen.

@Kolen, my use-case= is simple.

I have users of my filter to describe = "situation". The "situation" description itself is free= -flow (can use any markdown foramtting scheme and such, except the descript= ion itself not contain markdown header). The "situation" is assoc= iated with one or more "tags".=C2=A0

My = current idea is to use the <div> ...</div> block container to d= escribe the "situation. And the "tags" are annotated as div-= kvs. In the filter, i would like to create a table for each "situation= ". The table should look like the following

+= ------------------------------------+--------------------------------------= ---+
| Situation Name =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | <Name of the situation > =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0|
+------------------------------------+------------= -----------------------------+
| Tag1 Key =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 | Tag1 Value =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
+------= ------------------------------+-----------------------------------------+
| Tag2 Key =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Tag2 Value = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
+------------------------------= ------+-----------------------------------------+

Hence, i require to generate a table for each div with ['situati= on' in div.classes].=C2=A0

Any comments/sugges= tion in my approach is welcome.

Thanks and with be= st regards,
Nizam


On Sun, Nov 5, 2017 at 4:35 AM, John M= acFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:
If you're using the pandocfilters library, I suggest you
check out the alternative library panflute, which is more
pythonic and easier to use.

+++ Nizamudheen Ahmed [Nov 04 17 08:34 ]:
=C2=A0 Hi folks,
=C2=A0 I am new to Pandoc. I am trying to write a filter using Python. I =C2=A0 wanted to create and return a "Table" as part of the filte= r function. I
=C2=A0 understood that the Table constructor takes 5 arguments. But the
=C2=A0 details of them (at least from the Python parlance) are not availabl= e.
=C2=A0 My novice code to construct the Table looked like the following
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tab_le =3D Table ([Str(&qu= ot;This is the title of the table")], #
=C2=A0 Table caption?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ["left", "left"], # Ali= gnment?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [0.5, 0.5], # Relative width of the
=C2=A0 columns?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Str("C1"), Str("C2")],= #Column Header
=C2=A0 name?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [=C2=A0 =C2=A0# Table rows?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Str("A1"), Str(&quo= t;B1")],
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Str("A2"), Str(&quo= t;B2")],
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[Str("A3"), Str(&quo= t;B3")]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ] );
=C2=A0 =C2=A0With that code, i get the following error
=C2=A0 >>>>
=C2=A0 Error in $[373][0]: expected Object, encountered String
=C2=A0 <<<<<
=C2=A0 I am sure i am grossly off in the constructor. Can someone help me t= o
=C2=A0 create Table?
=C2=A0 Thanks and with best regards,
=C2=A0 Nizam

=C2=A0 --
=C2=A0 You received this message because you are subscribed to the Google =C2=A0 Groups "pandoc-discuss" group.
=C2=A0 To unsubscribe from this group and stop receiving emails from it, se= nd
=C2=A0 an email to [1]pandoc-discuss+unsubscribe@googlegroups.= com.
=C2=A0 To post to this group, send email to
=C2=A0 [2]pandoc-discuss@googlegroups.com.
=C2=A0 To view this discussion on the web visit
=C2=A0 [3]https://groups.google.= com/d/msgid/pandoc-discuss/1be02d85-bd95-4709-
=C2=A0 82f8-f6a5460930c6%40googlegroups.com.
=C2=A0 For more options, visit [4]https://groups.google.com/d= /optout.

References

=C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
=C2=A0 2. mailto:
pandoc-discuss@googlegroups.com
=C2=A0 3. https://groups.googl= e.com/d/msgid/pandoc-discuss/1be02d85-bd95-4709-82f8-f6a5460930c6= @googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter<= br> =C2=A0 4. https://groups.google.com/d/optout

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/OBlbFj5HJ= 9I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm.
To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/20171104230532.GC97257%40Johns-MacBook-Pro.local= .

For more options, visit https://groups.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://gro= ups.google.com/d/msgid/pandoc-discuss/CA%2BzEWHCd%2BEGXRoWsJcxk0hb_fn2JpWsm= VuCnmKJz5ge6FzFCjw%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--94eb2c04f5969e5fdd055d48b59f--