From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.bugs Subject: bug#69266: 30.0.50; bibtex-parse-entry misreads escaped \} Date: Sun, 25 Feb 2024 18:50:12 -0600 Message-ID: <87edd0xd4r.fsf@gnu.org> References: <87cysshl3j.fsf@localhost> <87a5nr9p8f.fsf@gnu.org> <8734tixdf9.fsf@localhost> <877cit26g8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2797"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , 69266@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 26 01:51:59 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 1rePDr-0000Uu-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Feb 2024 01:51:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rePDX-0003ps-8t; Sun, 25 Feb 2024 19:51:39 -0500 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 1rePDV-0003ph-P7 for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 19:51:37 -0500 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 1rePDV-000880-GI for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 19:51:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rePDu-000612-8K for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 19:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Roland Winkler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Feb 2024 00:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69266 X-GNU-PR-Package: emacs Original-Received: via spool by 69266-submit@debbugs.gnu.org id=B69266.170890866422973 (code B ref 69266); Mon, 26 Feb 2024 00:52:02 +0000 Original-Received: (at 69266) by debbugs.gnu.org; 26 Feb 2024 00:51:04 +0000 Original-Received: from localhost ([127.0.0.1]:38191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rePCx-0005yN-1r for submit@debbugs.gnu.org; Sun, 25 Feb 2024 19:51:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rePCt-0005xf-WD for 69266@debbugs.gnu.org; Sun, 25 Feb 2024 19:51:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rePCM-0007nW-G9; Sun, 25 Feb 2024 19:50:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=s+T43p5LoWkXWrcmhf3Bqxw3YhJgGnCNFhwk6tugeTs=; b=MCuhsFEQ3BGO/SdrqPri RpUR0zyzc+G6I58A0IToRaZk28fExBsbwrqOHAR0xjphjpEn95RmiKuWq0OxrbyWru+N+de/R2d96 H37tS6vuyPsLOTtXDJpUOSgsbRYmS/aGPfeYcXZ5VTJezip2Oy8HWEfl+H0P6rq/0jR0uH9/9aC35 USrjPzRvSdRSHhYdgw+bsqIvJfaa5+MVwpV+aE3Eri0hXDq04uarlj/iJ8IXL4yV60w8EzR/P0A2Q 0nWng96hcUkZTfB1AdcDqGDNelv98zRwzyNiuKdQtAdkR8F/oQLXQcvw7pnbf6Dl7Hriiq9ptcdvG BGoXNNa2OF7cfA==; In-Reply-To: (Arash Esbati's message of "Sun, 25 Feb 2024 18:50:09 +0100") 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:280649 Archived-At: On Sun, Feb 25 2024, Arash Esbati wrote: > The following code doesn't throw an error for me with LaTeX2e > <2023-11-01> patch level 1: > > \documentclass{article} > > \begin{document} > > \noindent \{x\}\\ > \textbraceleft x\textbraceright > > \end{document} Indeed, "\{" must have become available as a command outside math mode after I learned LaTeX many years ago. (I believe it is still correct to say that from LaTeX's perspective "\{" is a macro that is very different from escaping available in other programming languages.) > Would you reconsider this if Biber handles \} correctly? I didn't > test it, though. I am happy to take advice from more advanced biber / biblatex users. For the fun of it, I just created my first LaTeX document using biber / biblatex. That worked fine with balanced braces. But it choked with a biber error message when a biblatex field contained a single "\{". Biber uses btparse to parse BibTeX files. The BibTeX data language, as recognized by btparse is explained here https://metacpan.org/dist/Text-BibTeX/view/btparse/doc/bt_language.pod My reading of this document is that btparse does no take steps to deal with "escaped braces" inside a field.