From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SKMHNXJUtGR1SgEASxT56A (envelope-from ) for ; Sun, 16 Jul 2023 22:34:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WEcINXJUtGRdxQAA9RJhRA (envelope-from ) for ; Sun, 16 Jul 2023 22:34:58 +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 829754E8F0 for ; Sun, 16 Jul 2023 22:34:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WcxFa23D; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689539698; a=rsa-sha256; cv=none; b=MKtJrrSnzT0XSV2KuLhgMkwqUt2po3t7GhbSmxfooCxf3f7SVeGVECxZnd59vSoBNIXI7X btJJXbM3tbOAjAGIxsOxQZEVB58T3TTTD7UTb6DmgwMaSDKwB2etqMwMC2HuBEcTG2ZcUZ YpSzcTzR7ML9nF16/MnjntLSBhT69/QiYkXzEbdCqNxqwK9MsC8eOVIRPfskIcdjHebH56 VSq0O4C19csLKFTXQGkGjRnMYrVa5y8JLKcx+O3OfYjlcH1JtxlWJ9gCyCFMJFzKVNY285 WnZEwX1fNQaAU/mvJmJTaMaNDbyS+EX3J3JLDM56GtUolmOXG39Z62msAWwMHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WcxFa23D; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689539698; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IrS4Q48ayNKQ7mN6EDDbUD4IXbZPbc+t7mdHwyBiiF8=; b=a3+2krAUEisb3f8F12f+fZj7W9wa5Bp3avZRVcPPvmWg71DlocOMl3efntM4jdwi+nFbIK 2I3xhgEZGgUSD/nDA6SBYXDfGXl9TcZYSqvdK8XlabrbejB+QsQDVAzzBH5gpyGTrcDwuC uHdPu4olVuq4scE//on/ZmMhDyuynvuXB/o415X2UPdx3N45dcDDRwjSObIvqXJA9oeDNB mnD74LqJQfjBjBKasJbFiznjT38u9UPZSEpbSHpUfcTsnANu5Z/gYigQ7rH4RgEU3X2Fw4 7Fe6+k0pAcOGfPIrI6H3SocPUHOHpnXGhpSCWEHLu67s0cixs/GoBQg/yzc93A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qL8Rt-0008St-Cb; Sun, 16 Jul 2023 16:34:33 -0400 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 1qL8Rs-0008Sk-Ad for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 16:34:32 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qL8Rq-0002vY-LE for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 16:34:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A3E07240028 for ; Sun, 16 Jul 2023 22:34:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689539667; bh=yuXC3PUL1RaGPnwcyrnP+u1EFNiBVzGCwHviTIgid+Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=WcxFa23DRpFemvF8IdBvXgGXPy2zNw1pyKHDGS3R0CKuibMHE2v0dQT15m7juaiqr Q1Shf/Stlo3xb4B7StQLA19Wvh2YdWsyRYmyBEBiSacIdVDVQWXznN5fKZS8MiiI5C ZSvNAYkyorxWNXztg8yLFgXCph6+LjgD0TDF44X8wtYuAbFTX6F5Ld8gaubEX0h0uD RAagFhEUVnH+RtDsLEAmefMF0OEQod/kdC8BFCOdVgIsq2rThzGBuFRbWmu3Pa8YXt Zj7Q7NJQ2nvKOuYzlMvzMrJZ5LghhXm+TwphY94KFotbN3+BCf51se/h96lBLo7jLL G8KeDcxI1NDHw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R3xlR1jvpz9rxF; Sun, 16 Jul 2023 22:34:27 +0200 (CEST) From: Ihor Radchenko To: Ypo Cc: Org-mode Subject: Re: org-bibtex manual In-Reply-To: References: Date: Sun, 16 Jul 2023 20:34:41 +0000 Message-ID: <87bkgb1tpa.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 829754E8F0 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.83 X-Spam-Score: -4.83 X-TUID: bflt97Espivq Ypo writes: > And ChatGPT offers me this alternative, which doesn't seem to work (BTW,= =20 > I am not able to install asoc.el): You do not need asoc.el.. `assoc' is the built-in function. > #+begin_src emacs-lisp > (defun my-org-bibtex-headline-format (entry) > =C2=A0 "Custom function to generate the headline text for org-bibtex-wri= te." > =C2=A0 (let* ((title (cdr (assoc :title entry))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (author (cdr (assoc :au= thor entry)))) > =C2=A0=C2=A0=C2=A0 (concat "Mi encabezado personalizado: " title " - " a= uthor))) > > (setq org-bibtex-headline-format #'my-org-bibtex-headline-format) > #+end_src This is correct, but this customization only works in `org-bibtex-write', which works together with `org-bibtex-read-buffer' / `org-bibtex-read-file'. `org-bibtex-create' hard-codes heading to be the same with BiBTeX :title field. Yes, org-bibtex is not very polished. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at