From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id zb2zEQxStGRBaAEASxT56A (envelope-from ) for ; Sun, 16 Jul 2023 22:24:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iLsBEAxStGQyJwAAG6o9tA (envelope-from ) for ; Sun, 16 Jul 2023 22:24:44 +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 A4E495AC4E for ; Sun, 16 Jul 2023 22:24:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=r08kPHe0; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689539084; a=rsa-sha256; cv=none; b=s9Fj9IBmPDarC8NoUA5K9GIAeyET2ycWxnXjYuJcqLOLcNST13kurTxIJ99OahN+48uJTq 51F91DJMp3qR5tcg2OwnU3DhP4o77V6TfX1pBUt59ACTwCbW8FA6BtpJsGdC2fBLyl7lgb ODUyXCYUxFypGw0JFVpjjnGmHoE7lmbAFSGzL81ivRxFxinUsJ0V3yVtPhPsYmFAmTn4Ar 1Jc3XrvlxatOfGlGAv0JFneKjaWTVqJvyYPowREh8c11HgT2pc391DkBFwgHqjz3gZ2i98 c68t9zHVyHe/9w2Ck/xP28BodDHPBo1Pp1vmsDM3SksmpNZd6vkyi8VD2XgQKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=r08kPHe0; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689539084; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6k8eU/+YHnaUxc+Ypmh669rUs88aHbBg8VA9y96wZl8=; b=sbGB8Y/qzJOYXD/OjUvEeLhnPfzztjXlaLRWQHys3WtfpT5T04kNLLU04PmFilea3k9VwE lnWtJEyBZjP6jp/upDZbkstiI8M2x4Be/pFL1to3PtnRsbtac9WQdqpOQNcjyIXn6SsyJi iZjnKkk/pj5D8PsguMFMf5UGMCLbLxcje3Oc+tMrkCe6O+j231HENq96fV7iFLiQJMf4dX /yaq6Y+dTNy8V1dbckZBmNFTa9pC758Keko17bYX8Hp3ceEHZ+PvxSP+EL4pZjBtKCWNqB 0w5i8RSRd+qfkXzihVPv02sTyX3cpNs5junQ74Qu6vJzIEIJIFMCcvizK66hmg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qL8HL-00061w-MH; Sun, 16 Jul 2023 16:23:39 -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 1qL8HJ-00061j-SB for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 16:23:37 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qL8HI-0007wE-3e for emacs-orgmode@gnu.org; Sun, 16 Jul 2023 16:23:37 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fbc12181b6so40521645e9.2 for ; Sun, 16 Jul 2023 13:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689539014; x=1692131014; h=from:content-language:subject:to:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=6k8eU/+YHnaUxc+Ypmh669rUs88aHbBg8VA9y96wZl8=; b=r08kPHe0DCfX8pxsUQOx0cCGchLjBab7MJGZQgAxPtHfidJamo9XdmwSVTfsA6grfB 6B7VB5DED9YIuJHkIjSvY9XQ9xmlUmvpBjQg2kPKgEaLAuKCm+hlmN0yhDyovWKDstQL sSZFDA+bXldoy6kuc1fXPXWuUbQ+WPKgFeo5y0tcUL29YYIfDynTrT4I+V2PgFBeYPLR CoKldDHkP4fYSFXoabJj9KKpEvLP/MPN8vQ1EOLT1vgYaW0CITjxl9oR7FGDaMyt4RXK //ebKBgV6fhCQGmTCZm3hmjh4XoprAFkpeK8cVV7IFEAqeVBA2ZqZoMx4lyqwOYDpFiK KTzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689539014; x=1692131014; h=from:content-language:subject:to:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6k8eU/+YHnaUxc+Ypmh669rUs88aHbBg8VA9y96wZl8=; b=Q6RlRtMvt5ueTGAil/7YgCmssXTSr7iJ34Am6jijUFqc++3hBtVfEiCotdbIbWgJ0a +EOqsaTfzwiCybqXTjDj8ShzVvBOuXjScvOtZbu4sROUvk8AGAHNwOCN8oCA8T5R34yS hoSMWeCUS+kBDpIGDoTlXb6NrlFVKsI0sg7iNR0JNUQIcaBWDAGRwv1dw9RzpDRZVq+i ppAQ3dHuIkN68LKNAlgGe5yyXK/UoSh+IPMZCmBzScsP/EHJDgTE7yvfnFSTkVmCQXGy +R6Pb3weYMWud0fWvfck6rSztC6uxsNVBMCYt3dKt88xq7oVr5sqZuufrdhgZ3DguxPY eNxA== X-Gm-Message-State: ABy/qLZ7+pqLWzttgjChqq+vSoTw1UPyF3tmyk7gfZysnSyiABNH8SxD OFSIDBSbRi3UZvZZ/wX0q7c= X-Google-Smtp-Source: APBJJlEvcmPpI1U86BOH3Sgw/NV7poaYjlfhDjdW9zXFmXcF+m9fMeYZPII8FJjPc56IC4d9GEJ1oA== X-Received: by 2002:adf:d4c8:0:b0:313:f07b:8027 with SMTP id w8-20020adfd4c8000000b00313f07b8027mr9740275wrk.36.1689539013899; Sun, 16 Jul 2023 13:23:33 -0700 (PDT) Received: from [192.168.0.97] (static-111-109-26-46.ipcom.comunitel.net. [46.26.109.111]) by smtp.gmail.com with ESMTPSA id m9-20020adfe949000000b0031128382ed0sm17220084wrn.83.2023.07.16.13.23.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Jul 2023 13:23:33 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------L1EGE5UtdcVkfpCuc03BQAeK" Message-ID: Date: Sun, 16 Jul 2023 22:19:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 To: yantar92@posteo.net, Org-mode Subject: Re: org-bibtex manual Content-Language: en-GB From: Ypo Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=ypuntot@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_FONT_FACE_BAD=0.001, HTML_MESSAGE=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." 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.15 X-Spam-Score: -4.15 X-Migadu-Queue-Id: A4E495AC4E X-TUID: Mq0+SOQX0fLy This is a multi-part message in MIME format. --------------L1EGE5UtdcVkfpCuc03BQAeK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks, Ihor. I would like to customize the name of the heading. I think it should be customized this function: "Org Bibtex Headline Format Function". Is there a guide to do this? I can see the default is: #[257 "\300\236A\207"       [:title]       3 "\n\n(fn ENTRY)"] But I don't know how to customize it. ChatGPT says: "Unless you are an advanced Emacs Lisp developer and have a specific need to work with byte-compiled code, you generally don't need to interact with or modify this representation directly. Instead, you can work with the function using its regular name and definition." And ChatGPT offers me this alternative, which doesn't seem to work (BTW, I am not able to install asoc.el): #+begin_src emacs-lisp (defun my-org-bibtex-headline-format (entry)   "Custom function to generate the headline text for org-bibtex-write."   (let* ((title (cdr (assoc :title entry)))          (author (cdr (assoc :author entry))))     (concat "Mi encabezado personalizado: " title " - " author))) (setq org-bibtex-headline-format #'my-org-bibtex-headline-format) #+end_src Best regards --------------L1EGE5UtdcVkfpCuc03BQAeK Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Thanks, Ihor.

I would like to customize the name of the heading. I think it should be customized this function: "Org Bibtex Headline Format Function".

Is there a guide to do this?

I can see the default is:

#[257 "\300\236A\207"
      [:title]
      3 "\n\n(fn ENTRY)"]


But I don't know how to customize it.

ChatGPT says:

"Unless you are an advanced Emacs Lisp developer and have a specific need to work with byte-compiled code, you generally don't need to interact with or modify this representation directly. Instead, you can work with the function using its regular name and definition."


And ChatGPT offers me this alternative, which doesn't seem to work (BTW, I am not able to install asoc.el):

#+begin_src emacs-lisp
(defun my-org-bibtex-headline-format (entry)
  "Custom function to generate the headline text for org-bibtex-write."
  (let* ((title (cdr (assoc :title entry)))
         (author (cdr (assoc :author entry))))
    (concat "Mi encabezado personalizado: " title " - " author)))

(setq org-bibtex-headline-format #'my-org-bibtex-headline-format)
#+end_src


Best regards

--------------L1EGE5UtdcVkfpCuc03BQAeK--