From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id eN9zL+pCIWM3VwAAbAwnHQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 14 Sep 2022 04:56:42 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id 4DegLupCIWO0VgEAG6o9tA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 14 Sep 2022 04:56:42 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 5CE06168AE
	for <larch@yhetil.org>; Wed, 14 Sep 2022 04:56:42 +0200 (CEST)
Received: from localhost ([::1]:34214 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1oYIZt-0004Jd-89
	for larch@yhetil.org; Tue, 13 Sep 2022 22:56:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48518)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oYIZO-0004IH-MK
 for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 22:56:10 -0400
Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:40718)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oYIZM-0008J3-So
 for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 22:56:10 -0400
Received: by mail-pj1-x102b.google.com with SMTP id
 q9-20020a17090a178900b0020265d92ae3so17473508pja.5
 for <emacs-orgmode@gnu.org>; Tue, 13 Sep 2022 19:56:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date;
 bh=sLa/juDysgtysHMhtNDD+l3CFPwAUoa69qCKDE/uhmM=;
 b=LSzLtw5/CXsBUSXWrsbNjgsgtwg//IRWXQwVmeAtoY8akI3U9ne8IPhyclnnid9P/Z
 CH/2kwEB+0S09I/BE8P0Poa9HfKNAxPDdjthJXs/uixzn5jhdb8qXXadRTrL1HsEx2yh
 PfpCgCoMzpMox6ZqTWA6vKSFtOzYGk51ezNUM1WVDMxqg8/IdwTrAdZrSdb79M5AXOGB
 nkgV2RbTOPOW2OZgWTm3MSh581i9EUYXMWGIZRA61xMEFHDBAuls1MtcLmGET0gA+5SC
 QHD8jMljzs1qgQ4tI+3r6St8hCztc6GporI9pDYcpCmYf8oWyJrWUQsU4NOAHEA/Ef/w
 rVRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=sLa/juDysgtysHMhtNDD+l3CFPwAUoa69qCKDE/uhmM=;
 b=6DBWxhaq8QdS4LA8Ns1n/NjnNIkeIjflZWNSb3eb/yxeGuBhdhw+tOB9G6cP2OzYy5
 RUkgebEiH8Wj8MlJwzTTp5fbiX6RXuF/Arrpks1sSnABCphGRXn1QTkhySX+irdi5u4v
 6yqLmlez8tEi7WXTiUW2Csjt6m6jtATWsW83lNr7ltDu7htS1q46yc9H+JLtUsSqWGVs
 XcKcQs1FFClP8a0L9S28m4MehRiy2s5xKPbpKWnAL97p2t3sAu/oTkQ5x6hUf/o8plxW
 MNfKFt+vjhmlB5ZAHefe6Qh2TV/CFZAxiQq7FCbiSP1OB7JpGC9HEpsxjhrlbGhNhrGC
 LXkQ==
X-Gm-Message-State: ACrzQf1iOSUPtd+EaJNPVwidhvkZy8tkeWeu/W6Ocw8SfX4EqGJmgjre
 1B7+7n9YVEAare79P9SITuM6YZ3GpDFCag==
X-Google-Smtp-Source: AMsMyM5mctPG3qle4Sq3+mNKRA5C3GTXbHN1G/UmesnqnvHGyVXrL7LAtKUyuu9rgrT4y/joKN6OFQ==
X-Received: by 2002:a17:90b:17cc:b0:202:bccc:f552 with SMTP id
 me12-20020a17090b17cc00b00202bcccf552mr2441486pjb.154.1663124167620; 
 Tue, 13 Sep 2022 19:56:07 -0700 (PDT)
Received: from localhost ([2409:8970:a81:48f7:8ec6:81ff:fe70:339d])
 by smtp.gmail.com with ESMTPSA id
 x22-20020aa79ad6000000b0053e20a0333fsm8925763pfp.93.2022.09.13.19.56.05
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 13 Sep 2022 19:56:06 -0700 (PDT)
From: Ihor Radchenko <yantar92@gmail.com>
To: Dominik Schrempf <dominik.schrempf@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Question about cite_export basic
In-Reply-To: <874jxbtly2.fsf@gmail.com>
References: <CAF+0kSg8O3RQBG1wXoHjMEHwnGFz0gaDkTTSGv+ZaOt4d4myCA@mail.gmail.com>
 <87h71f26af.fsf@localhost> <874jxbtly2.fsf@gmail.com>
Date: Wed, 14 Sep 2022 10:57:01 +0800
Message-ID: <87leqmy876.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::102b;
 envelope-from=yantar92@gmail.com; helo=mail-pj1-x102b.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1663124202;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=sLa/juDysgtysHMhtNDD+l3CFPwAUoa69qCKDE/uhmM=;
	b=ouwIhT3wRIYSGmfw9fgnJScIxrXl3EGy1usQ9Dg+jXWQ9lNerSmGI4Y/UlnhOg0d3F7ABN
	GDYPSb356llHcdYygceE4xExXCIqntdRl903SDW/SuPSK+fFjvRA++0LR13a89vWfeCMZc
	dUFRPVq4QGjLVmkHoxodc/DK6K2r7SIG1G9erSpuxp+frRsuf0BjvUgecR2Sk7FpG18jtl
	o2yFjZ2V7Os/HmijAskLLLQKjqzeY1CgvVklZzdzUM/2v7osuSpa6+ajQ5+uH+i5US75Jt
	I15Hr6mzQasxXF02dKdR7ra/XiCaVpD5TXEbBwslLEwiLGvnE7h0QBdTx4NEHA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663124202; a=rsa-sha256; cv=none;
	b=WV06WM97FiTeH/NSqY+UhFxeqkKmhUZTBU4zoV7sI6R9TBBcyItRvNbhrth/z/+0IGnJMA
	5zfunTpK56hRndlbBh5+JO508AscKpimUz4f2xP+2pQc/AvefrxT8tblNhm9uIkFpSqfJq
	Tve75U+oIy5YebCYiDgiCVdmOQuSj61uLozF0H0HCtdqDhKnY5HNE8x7sE1oZ8XLlmQb3M
	d4/Py5WwWxc+A5ti8XtiAP/YPS01BAAaP8zpmF9QRs/Hlz8wkhwnsakli1wSwsoGR6lUG3
	6Q3gHeMm6RhIhNc3UhYEVx9mySqAfwx+Tye/542yklTi2uFz4R+oBoHWi9Iewg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b="LSzLtw5/";
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -4.61
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b="LSzLtw5/";
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 5CE06168AE
X-Spam-Score: -4.61
X-Migadu-Scanner: scn0.migadu.com
X-TUID: XmmB6LbOuVHR

Dominik Schrempf <dominik.schrempf@gmail.com> writes:

>> For now, I reached Emacs devs asking to provide the parsing within
>> bibtex.el. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57712
>> Lets see what they reply first.
>>
>
> Dear Ihor!
>
> Thank you for posting the BibTeX brace problem upstream. From what I can
> see by reading through the conversation, we are going down a rabbit
> hole. It seems to be pretty difficult to convert a BibTeX entry to a
> proper ascii string (I think this is what the basic export processor is
> doing). Is that true?
>
> Not sure how to proceed. I do not think that post processing
> `bibtex-parse-entry` output which seems to contain LaTeX code makes
> sense.

Parsing itself is not that hard, actually. We just need to follow
http://www.bibtex.org/SpecialSymbols/. However, it will be better if the
parsing is done on bibtex.el side.

If bibtex.el maintainer refuses to implement the request, we will just
do the parsing on Org side.

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92