From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31029 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Huntsinger Newsgroups: gmane.text.pandoc Subject: How to convert nested tables? | longtable vs tabular Date: Tue, 19 Jul 2022 13:32:47 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_102_769098353.1658262767172" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21583"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCFYNC6M64FBB4FJ3SLAMGQEXMJKFRQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 19 22:32:52 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f189.google.com ([209.85.128.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDttj-0005Oh-M6 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 19 Jul 2022 22:32:52 +0200 Original-Received: by mail-yw1-f189.google.com with SMTP id 00721157ae682-31c858e18c8sf127350237b3.4 for ; Tue, 19 Jul 2022 13:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=rLO9pgbyyEz7Nfp6UczcMMQa78Uouc4fC6Ms3DywQ74=; b=k1tJvd1onsvaBoap2syNXbPRR7hEKxFnJw0mpeZpppiitLkW04rWxMz9vtNI/Vx8xa 7A1tJD2Fk6qpEvlAYyX2+Znp5qNgNbYeVmXLBehAH/88RCPZGfQgpSFNhl47kkWDK+JO VSceURdKTsAPc/ASBBKLZ+BqggYw2EXcZzW8VBDWfLQZIrkvP2iOtOQw6SaiuqdKJ86Y jXWvdqx52PzEQASlhf7cZ+qJM8Wdju/6frqxTLigi0pM8ZKR49RGeeV2rsbHOuGFBwjd x+AK4jXqx9ANcv1KonxuiPv8qb733VoqUsXgaF3aeIcuuz8gXDFC9DCl4vXa6oEYJWgE 8O/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; 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=rLO9pgbyyEz7Nfp6UczcMMQa78Uouc4fC6Ms3DywQ74=; b=P2ZzH555T5/Qem/jwWd5zV1ZgkEnC4yyTghp/RJ5v3sPzR/muH5ShIa0rNo+alqgPw kf6evmfh+KZ5MVfV0HATUrgcZ3WvwvzCbqlzN01c9HxDku6tvJJORoLeyPts4yc/tf5D xlxr5qMeZRAwRGLGg/wCyUE8bGLVA5je0YV58oHn6X88dXzO+dskbXqL+MPx1+VI764j CzkzU++HTvMWHQmhrvGnmodm9q7hcPU3afqRM6LnE0usHP3OfKCCIh4/OiLHBGk5TbR2 zZJdGrbXXmOH+rIu+Yuxv97Ds8oU5rQHoQdhjJrTA/Lh+Kmd5+1YiV3mTVMxebS3wGGn KoeQ== 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: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=rLO9pgbyyEz7Nfp6UczcMMQa78Uouc4fC6Ms3DywQ74=; b=yg8j+DOcUkR+BrVIAGsfB5jrP0tAP028+sjvaEXY9/KFVIfnLvBh/NxOXa0cslz9sg vAcw91jYkSdcPIeDXYdeRVP1EdB40bVUJvMCi8PUc2kgA63dKr3dO1xqw5Dx5QEfEPmH MAjHTetiQ2+RHtFe/cwwVTudSCHP/vJ53IEhBT6wXBJM0EH/2wHSUJ70OBNT9cPSYTHi DKlZnNUwStYwk8R/oD2zMS77ERSem1AyCBbqNabnISB0gW/7LTh4oatsrnIDJ9Ive7Jo HjBiTxP+eb4TUe3GcC06pfpihSFOEqUNp2y9vqc/aUbvvSBQDzpp9fOM2ZHv1qpUWnW8 gXrg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/Zz6R7N/MqN4uzoUlJH6DzTiainz3RRyHbYj6CF99c5iebt8+Y 7W6cZIFRdvh81pcW/fs2US0= X-Google-Smtp-Source: AGRyM1tuBrU4E/7HKcdjpz1gkJaJB98yWgDp/wP5uRniZoU1AoNVuTRKc583yL3qVmns62Uqu/h0tg== X-Received: by 2002:a81:4809:0:b0:31d:848:4b3b with SMTP id v9-20020a814809000000b0031d08484b3bmr38777716ywa.69.1658262770748; Tue, 19 Jul 2022 13:32:50 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:690c:30c:b0:313:306d:ddc7 with SMTP id bg12-20020a05690c030c00b00313306dddc7ls61208ywb.3.-pod-prod-gmail; Tue, 19 Jul 2022 13:32:48 -0700 (PDT) X-Received: by 2002:a81:58c1:0:b0:31d:6b54:3fd5 with SMTP id m184-20020a8158c1000000b0031d6b543fd5mr38238013ywb.7.1658262767783; Tue, 19 Jul 2022 13:32:47 -0700 (PDT) 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:31029 Archived-At: ------=_Part_102_769098353.1658262767172 Content-Type: multipart/alternative; boundary="----=_Part_103_1058470129.1658262767172" ------=_Part_103_1058470129.1658262767172 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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).blo= cks 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/a477931c-2479-47f4-9cf7-d5880a429a38n%40googlegroups.com. ------=_Part_103_1058470129.1658262767172 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I=E2=80=99ve successfully 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.  The resulting LaTex is \begin(longtable} =E2=80=A6  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)?  Or is there= some other solution to converting nested tables? 

--
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/a477931c-2479-47f4-9cf7-d5880a429a38n%40googlegroups.= com.
------=_Part_103_1058470129.1658262767172-- ------=_Part_102_769098353.1658262767172--