From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71364: Fix Table.el export Date: Sat, 8 Jun 2024 12:27:42 +0100 Message-ID: References: <8734ptj6lj.fsf@gmail.com> <86r0dagv7v.fsf@gnu.org> <87frtpqltu.fsf@gmail.com> <86jzj1f2fb.fsf@gnu.org> <87h6e4jiav.fsf@gmail.com> <86le3gdjm3.fsf@gnu.org> <8634pnemgn.fsf@gnu.org> <861q57el7i.fsf@gnu.org> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000096469061a5f358a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30987"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pranshusharma366@gmail.com, lockywolf@gmail.com, 71364@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 08 13:30:08 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sFuGt-0007mR-Fk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jun 2024 13:30:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFuGc-0004bL-Jr; Sat, 08 Jun 2024 07:29:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFuGZ-0004b3-9E for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:29:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFuGY-0004I2-Qs for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:29:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFuGo-0004UU-Hg for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Jun 2024 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71364 X-GNU-PR-Package: emacs Original-Received: via spool by 71364-submit@debbugs.gnu.org id=B71364.171784615917194 (code B ref 71364); Sat, 08 Jun 2024 11:30:02 +0000 Original-Received: (at 71364) by debbugs.gnu.org; 8 Jun 2024 11:29:19 +0000 Original-Received: from localhost ([127.0.0.1]:37597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFuG6-0004TG-Fj for submit@debbugs.gnu.org; Sat, 08 Jun 2024 07:29:18 -0400 Original-Received: from mail-yb1-f178.google.com ([209.85.219.178]:44140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFuG3-0004T2-RI for 71364@debbugs.gnu.org; Sat, 08 Jun 2024 07:29:17 -0400 Original-Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-dfb0ccbd401so483346276.0 for <71364@debbugs.gnu.org>; Sat, 08 Jun 2024 04:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1717846074; x=1718450874; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zOuvV87/Zc1wMier/Pg9cWyvwUn6Nt01E/zNvAWMmDI=; b=U+lKZGvEpxjr+0RKc2QWR6Q7JmyJ5LGbFw1sDtMwN15fWsZlZd1y26PksyPHo4gWnv Qu9QRDZb/otA1F8nXACWR4+loXt/RHV3GkvEgGkn7rdwIT14MlxnS1LDKE98OlpD3IdJ 0DR8AtfGY/XJ6vzRPTzhVnevDNiNdF/AFQJm8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717846074; x=1718450874; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zOuvV87/Zc1wMier/Pg9cWyvwUn6Nt01E/zNvAWMmDI=; b=nvsNcqCdKaiINcNcLYDtAnVzE2e7ZZiwXCq15d69P+7tOuqwqijVPky44ImU4Ix95J tTekXIqF49JhOJe6Xk/AWg1KxwjleQejk/n63go2ZEHs2t6223LhC67iACjYmLoFn3LF /DORAtE7bt2gZK2FWs+ni+ZIteQpiPqCQmhv/T+bmZErSKDaCkETzHOCw/QRb+IIte/j xq7He2fiJVmFyMIpknmNjOShXF44uToS510XlAXrcFsBiJcQ20Fg/qEQupbTUhpldL5p QiOJHdXuEP7grh9/nuRnzNXNNeqPKVMUXGNtoSpqnHljF2vLb0cTEy/GV0eH+w1BACFy rtLA== X-Forwarded-Encrypted: i=1; AJvYcCUc/+ygvuZ1acnahVlF54l3X7muFOQODHtFo0624o/T/5uODhm6kZlbxCNhIJa9UDkF6sWqmrQSPGQO31xFo4n0vbTS1UA= X-Gm-Message-State: AOJu0Ywtb/UNFStWweGunw7Q+FQBgHU73Oif5J+g0eAXD8ngzCBdxUGu 2K5OcPoYaPv70oupGXKpLTf6YGsKjEo28Lm4dIpJzY+wgpW0Gs7JVlwPJv3QTIXXS7c66AKs9gr JIYzrCClHo5h5uqYNZCiM2jbZLdhgVnxa4ryCdw== X-Google-Smtp-Source: AGHT+IEyHG36sBZADDgPAnLTZls8Mfw/6/XUPgteGDHzVyHLUQGZ/Uh4RSx3HMl0M00BmGk8qORllI2dt5pWgrssXOM= X-Received: by 2002:a25:ce48:0:b0:dcc:5a25:ae88 with SMTP id 3f1490d57ef6-dfaf64b7e7amr4972238276.19.1717846074278; Sat, 08 Jun 2024 04:27:54 -0700 (PDT) In-Reply-To: <861q57el7i.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286830 Archived-At: --000000000000096469061a5f358a Content-Type: text/plain; charset="UTF-8" On Sat, 8 Jun 2024 at 12:19, Eli Zaretskii wrote: > > From: Reuben Thomas > > Date: Sat, 8 Jun 2024 11:59:52 +0100 > > Cc: pranshusharma366@gmail.com, lockywolf@gmail.com, > 71364@debbugs.gnu.org > > > > On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii wrote: > > > > > From: Reuben Thomas > > > Date: Sat, 8 Jun 2024 11:05:25 +0100 > > > Cc: Pranshu , Vladimir Nikishkin < > lockywolf@gmail.com>, > > > 71364@debbugs.gnu.org > > > > > > Specifically, it works fine if, like me, you do not want to put LaTeX > markup in tables. This was certainly > > my > > > case, as I was using it with org-mode. In this case, any character > that is active in LaTeX can and > > should simply > > > be escaped on output. > > > > > > What is basically broken is the ability to export to LaTeX when the > table contains LaTeX markup. > > > > But the function being discussed is said to be specific to export to > > LaTeX, so it should expect LaTeX markup in the cells, no? > > > > No, it is supposed to export arbitrary text as valid LaTeX. At least, > that is my understanding. > > So it's a YES, because I was saying the same thing. Or maybe we > disagree about whether a function written for exporting to LaTeX > should or should not expect LaTeX markup. > It looks like I was wrong: `table--generate-source-scan-lines` is expecting LaTeX input. Good luck with that! -- https://rrt.sc3d.org --000000000000096469061a5f358a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 8 Jun 2024 at 12:19, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Reuben Thomas <rrt@sc3d.org>
> Date: Sat, 8 Jun 2024 11:59:52 +0100
> Cc: pr= anshusharma366@gmail.com, lockywolf@gmail.com, 71364@debbugs.gnu.org
>
> On Sat, 8 Jun 2024 at 11:51, Eli Zaretskii <eliz@gnu.org> wrote:
>
>=C2=A0 > From: Reuben Thomas <rrt@sc3d.org>
>=C2=A0 > Date: Sat, 8 Jun 2024 11:05:25 +0100
>=C2=A0 > Cc: Pranshu <pranshusharma366@gmail.com>, Vladimir Nikishkin= <lockywolf@gma= il.com>,
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A071364@debbugs.gnu.org
>=C2=A0 >
>=C2=A0 > Specifically, it works fine if, like me, you do not want to= put LaTeX markup in tables. This was certainly
>=C2=A0 my
>=C2=A0 > case, as I was using it with org-mode. In this case, any ch= aracter that is active in LaTeX can and
>=C2=A0 should simply
>=C2=A0 > be escaped on output.
>=C2=A0 >
>=C2=A0 > What is basically broken is the ability to export to LaTeX = when the table contains LaTeX markup.
>
>=C2=A0 But the function being discussed is said to be specific to expor= t to
>=C2=A0 LaTeX, so it should expect LaTeX markup in the cells, no?
>
> No, it is supposed to export arbitrary text as valid LaTeX. At least, = that is my understanding.

So it's a YES, because I was saying the same thing.=C2=A0 Or maybe we disagree about whether a function written for exporting to LaTeX
should or should not expect LaTeX markup.

It looks like I was wrong: `table--generat= e-source-scan-lines` is expecting LaTeX input.
=
Good luck with that!

-- <= br> --000000000000096469061a5f358a--