From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31034 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Huntsinger Newsgroups: gmane.text.pandoc Subject: Re: How to convert nested tables? | longtable vs tabular Date: Tue, 19 Jul 2022 14:01:58 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_284_1321613756.1658264518242" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9382"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCFYNC6M64FBBSFX3SLAMGQE4Z3NRLI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 19 23:02:06 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f192.google.com ([209.85.219.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDuM0-0002BJ-KS for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 19 Jul 2022 23:02:05 +0200 Original-Received: by mail-yb1-f192.google.com with SMTP id k13-20020a056902024d00b0066fa7f50b97sf11724077ybs.6 for ; Tue, 19 Jul 2022 14:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=9cFN5Or4zQnURwLLu3C1yIzGrvHaecHxAA00C9iSr0I=; b=mP+baECyja7kYEkinkags+93LIN64Xdyk8bzg7ykl1xsnSSM5DjcGyhDzmIVej8abl 4Yby3tFOZ4Ex/J/EpK6Xtj6qb5M++pbLl2mLP6+d1pwl878vjsLKf8aRZ9IoER8T8ezz W0ZJZR/tV1uQfgmI2wtctRkKmzwMc4o7EvbP8/cbxv+3Bnuwqfv8+0HbknWYEhYpACDe TNmgYqbgy8ZN74RJZaSAUznq4HVcesw33+8Fzvg+Ascd3LfpkjnG3CjmLMpoWN+9iiAv Fd9lvmBcCm9dm+jZ1gHnVlPyi5qWAKNjk6Kc4c5Yt8ijo+taRTAKVHHZAbeS7IlveJhq L/Tg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; 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=9cFN5Or4zQnURwLLu3C1yIzGrvHaecHxAA00C9iSr0I=; b=HICnioxVZOVJTj7lEcdw9/5jeyD5lKwXfTeyct/+vj82Y06BBaMEx5o5eScIIJvJmt wWH+c9urhPk13WCx/UjdmjYqGne3bDTgrSMH9XoSntVhLHin3Lqr7gCKtRS/CdvQtF3Y 2i817Ti0BfT2Bi8tiz/Zam32+YxwyEHgKcDg8351uLRX7j8VnG2rMlkwEvZ47mIIkbsT Rzz5BT3xaOdQqbYP8z841V2qkRIxzjD0hOYCNWhUxIXAQGbOVFYTpneIpIAdzvFzISYE 4wlW0AQOI8kWU9NvRflwbNNujcASqNvnrfPpaIjgMKx6aGhGiO37PLqEDnJmwAnFU5Xp gIfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=9cFN5Or4zQnURwLLu3C1yIzGrvHaecHxAA00C9iSr0I=; b=jEkgUKDUVRxNbK9mssug92Tz2WzE74+y1mTfzJ3J9FQvla999cjo7BIFFkHm55FTOK /FzjBzecwQ84UaCwXw1d/KFOmjsWpiqNyYMF8qZwDjpSmJMFe3u4+otK8csqgvgGj3AX 1L/L0mCwdwdW+GGKK//LIJ+WpBe3KwavVh+7QOB4+bcRZG6IjLUF7Z6QxErFE5WG0o04 RpSdHs482GPmqmrTDMr122BEZSC83616b4OV75yX+1AYa1svWU3S2Pc/f6eY5eeZhzGl kXRflScMZsecPsKREdICrQ2Vi+uy24cl8UUdvRS/wW56I0B+A6z/8HBJn6tLROVCQDpH HX0A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9V9tC4Goo/hxL++EV434+ojo41NmFK8S8B0x/P4lvWEW6SgOmr ZUBr//SJJIPHIe2O4R5HbSM= X-Google-Smtp-Source: AGRyM1vJW0DFhQ9MjuhSuJ8V5AyEZEYyvE5RQoF7ebfl9pXd6j+GouZQ9vGKuFd+FxIGnOymN6rICg== X-Received: by 2002:a0d:db4a:0:b0:31e:5c26:5c0 with SMTP id d71-20020a0ddb4a000000b0031e5c2605c0mr5132216ywe.357.1658264523131; Tue, 19 Jul 2022 14:02:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:b046:0:b0:66e:c981:ee92 with SMTP id e6-20020a25b046000000b0066ec981ee92ls519977ybj.10.-pod-prod-gmail; Tue, 19 Jul 2022 14:02:00 -0700 (PDT) X-Received: by 2002:a05:6902:244:b0:66f:8383:b51c with SMTP id k4-20020a056902024400b0066f8383b51cmr34642480ybs.471.1658264518977; Tue, 19 Jul 2022 14:01:58 -0700 (PDT) In-Reply-To: X-Original-Sender: rhuntsinger-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.io gmane.text.pandoc:31034 Archived-At: ------=_Part_284_1321613756.1658264518242 Content-Type: multipart/alternative; boundary="----=_Part_285_1533962795.1658264518242" ------=_Part_285_1533962795.1658264518242 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I found a filter on an old thread that attempts to produce tabular tables= =20 rather than longtable tables, but as noted in the thread it does seem to=20 work for all of us:=20 https://groups.google.com/g/pandoc-discuss/c/RUC-tuu_qf0/m/h-H3RRVt1coJ Perhaps someone can provide a new working lua filter to produce tabular=20 tables? MUCH appreciated. On Tuesday, July 19, 2022 at 1:32:47 PM UTC-7 Richard Huntsinger wrote: > I=E2=80=99ve successfully converted Jupyter HTML-format simple tables to= =20 > LaTex-format tables using pandoc.read(raw.text, =E2=80=98html=E2=80=99).b= locks in a lua=20 > filter. The resulting LaTex is \begin(longtable} =E2=80=A6 That=E2=80= =99s okay for simple=20 > tables, but longtable does not support nested tables, which I do need. > > How to convert to LaTex tabular tables (which supports nested tables)=20 > rather than to longtable tables (which does not)? Or is there some other= =20 > solution to converting nested tables?=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/f8c8c8fe-036e-41f0-a2cb-c744ca96176cn%40googlegroups.com. ------=_Part_285_1533962795.1658264518242 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I found a filter on an old thread that attempts to produce tabular tab= les rather than longtable tables, but as noted in the thread it does seem t= o work for all of us: https://groups.google.com/g/pandoc-discuss/c/RUC-tuu_= qf0/m/h-H3RRVt1coJ

Perhaps someone can provide a n= ew working lua filter to produce tabular tables?  MUCH appreciated.
On= Tuesday, July 19, 2022 at 1:32:47 PM UTC-7 Richard Huntsinger wrote:
<= /div>

I=E2=80=99ve su= ccessfully converted Jupyter HTML-format simple tables to LaTex-format tables using pandoc.read(raw.text, =E2=80=98html=E2=80=99).= blocks in a lua filter.=C2=A0 The resulting LaTex is \begin(longtable} =E2=80=A6=C2=A0 That=E2=80=99s okay for simple tables, but longtable does not support nested tables, which I do need.

How to convert to LaTex tabular tables (which supports nested tables) rather than to longtable tables (which does not)?=C2=A0 Or is there= some other solution to converting nested tables?=C2=A0

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/f8c8c8fe-036e-41f0-a2cb-c744ca96176cn%40googlegroups.= com.
------=_Part_285_1533962795.1658264518242-- ------=_Part_284_1321613756.1658264518242--