From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id gAAPG/81Q2ZzTwEAqHPOHw:P1 (envelope-from ) for ; Tue, 14 May 2024 11:59:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gAAPG/81Q2ZzTwEAqHPOHw (envelope-from ) for ; Tue, 14 May 2024 11:59:27 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iWuAgVMe; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715680767; a=rsa-sha256; cv=none; b=DMW0/s/2g1GSbKdNGOIMlL13DmdvNjQ9J3SttiqvvfPIKBkIYkjtZbI/7z7nqdrj7TqC0K y4x4RbMJMOuarjl6Fhc9EXdUNVzHaO09jhkEjQ3zo7fUvfI2jR3TuIm3nhVV0Kl4+tfRy5 E495ZytbcOAOw0g+etja+rlwUUq8TPCCmEA7p2icqRWNiW+6hj6FoXsORRlHHmjw5xcVMk JL6aNhLjXzSX1cy+sOGy3AdaCyVdKaYHMNhvc3mUVzlwCrKVLI+p2NXY0erG+tMopPKe9n ad/wBm3ovDEKsb0owE8rPL1n98x324VkmViam2mLPVFqvm/XAkUJam3ltkaWFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iWuAgVMe; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715680767; 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=1GwcZWn1PI/BCxgJuLCsUQebujm1tB02YChAFGPsWmg=; b=lKUF1vxKNxy6+ZDRDDdpEOlHFxk5mGrCO9JDhRzDA5mALnFdKvFO6K8ubwRMfEzJjZ5rnZ zqGR1kysQeW+H4jTA4rhgEaYThbN63Wxfnd0ew5hzvTzVqH7wM8FXe7w3gJAmrdy0OVDz/ 0fqEtWuV76I1yzBdSc+IHvdk+d7O3aLJsjs2F8OYy+thUm/KiTSRgelPu5/ditdSA6nw49 VSwcAYfoQJ9yYnvac99sOplYpZ8KLvNQmzBTXfQ4THT5RK4XHner73jWEQmO49PAawJJ/z 1bG+/WVuATVwO2uYzKx41a/Kv7IlfbViz/bcsEu5HU5YPYbvTT3Gef1sPnFCqA== 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 3BE7F67D79 for ; Tue, 14 May 2024 11:59:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6ovl-0007vI-1f; Tue, 14 May 2024 05:58:45 -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 1s6ove-0007uL-Ol for emacs-orgmode@gnu.org; Tue, 14 May 2024 05:58:39 -0400 Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6ova-0007yM-VE for emacs-orgmode@gnu.org; Tue, 14 May 2024 05:58:38 -0400 Received: by mail-vk1-xa33.google.com with SMTP id 71dfb90a1353d-4df439e1056so1743394e0c.2 for ; Tue, 14 May 2024 02:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715680713; x=1716285513; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1GwcZWn1PI/BCxgJuLCsUQebujm1tB02YChAFGPsWmg=; b=iWuAgVMeWE0VFc2gxQYrQh7xbbZLQQtXw9E7nnm3VOXiT9P4e157VYnebWv/bCvSxb qrktle4bzntUdh4K9UBXOZm+KVLQnXcm0/pms2b6FsgwIU8Tv3gZOr6cg0RJn9l6JZ6I T9+NCm6uotofgmFy5ik/OrcEwzqaF/yNd0+xPyX9mYqwZP6Jf1UVmoWiQaNKzehe49Jt 3UJ2RkwTgPignVsWteJmvoWQrQm8FPMnX8hIWo+ZuOIKf/3Z0nPnCVnBOdHplXl/bjEL YhmBA8bN4Qw5QUYccyq6IdXtnVcAon6/dPC8I0WG4eBBz6jJ5X3lisS1Eq2uXD4CzUz0 eM+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715680713; x=1716285513; h=content-transfer-encoding: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=1GwcZWn1PI/BCxgJuLCsUQebujm1tB02YChAFGPsWmg=; b=t8RNOV/gDWft5/gpfDowvA86YvSwoYsaL+ev7jCXJDv7xlxwfqM948fhJuj0JBGXcF pAcW14Zajlnmzko9f3dYUqbtwh4EdqtBBEn0iSaszdl3x866VaYeJuhx6um3TYlaz81D 45+WDX8Lct1/9ARybUe61wuB/x2f0Mq+OP4pl7CPMWM8p0fBwqkAYpi0VUiSoGQ5GBgc y0qaRI1qMrtIbkuXm9e+RcMPyIactBvej1f2rapHhzKCBW6E4lVnds/9PwlECQW3kd1q PQTtlKmgGePOaWRE6YbfRteNnKJPFzMqGrQNDjB0Tg5XXc0lx3MroBvprBU1i8jVoodx bspw== X-Gm-Message-State: AOJu0YxdrY0UCPU2bMAb1L5e2WGC6VQRRBoDE0u+8Uf9+AmTEtVYBXug fU+RIdnQRf2dXRou8J5/j6A4UN068FFYrlL+1WxJNrocCv00amYyw937qAX88tsxOKxH/ATdFoa Qq1Kz9Bz4VDzzqdrZeVKtX9KnvHLb+YvarNI= X-Google-Smtp-Source: AGHT+IGPD9wncmH+KjBA8XBLaRcsharF04lFWc5C458xgC8yyPwcOyLmu9BX3VP/FRQEyTev189WyN1KU9Wp5DZXiIg= X-Received: by 2002:a05:6122:1806:b0:4d3:b326:5ae8 with SMTP id 71dfb90a1353d-4df8838024emr10999906e0c.14.1715680713551; Tue, 14 May 2024 02:58:33 -0700 (PDT) MIME-Version: 1.0 References: <87zfswtg3u.fsf@localhost> In-Reply-To: <87zfswtg3u.fsf@localhost> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Tue, 14 May 2024 11:58:21 +0200 Message-ID: Subject: Re: [PATCH] oc-csl: New custom option `org-cite-csl-sentence-case-bibtex-titles' To: Ihor Radchenko Cc: emacs-orgmode list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::a33; envelope-from=andras.simonyi@gmail.com; helo=mail-vk1-xa33.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 3BE7F67D79 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.05 X-Spam-Score: -6.05 X-TUID: k+74QhTfT1n1 Dear All, On Sat, 11 May 2024 at 19:24, Ihor Radchenko wrote: >> > since bibtex and biblatex requires title fields to be in title case > Are you sure? AFAIK, bibtex and biblatex (depending on the bibstyle) > does not care about capitalization and instead applies its own, unless > the title explicitly protects the capitalization/case with {Curly > BracketS}. Yes, I'm pretty sure that the expected casing in .bib bibliography databases for the title fields is by default title case, plus protective braces around texts whose case shouldn't be touched during formatting (of course, formatting itself can produce both sentence and title case from this input depending on the used style). This requirement was already clearly stated in Lamport's original LaTeX book. To quote the relevant part of "The Bibliography Database" chapter (2nd edition, p. 158): > The bibliography style determines whether or not a title is capitalized; = the > titles of books usually are, the titles of articles usually are not. You = type > a title the way it should appear if it is capitalized. You should capital= ize > the first word of the title, the first word after a colon, and all other = words > except articles and unstressed conjunctions and prepositions. BiBTeX will > change uppercase letters to lowercase if appropriate. Uppercase letters t= hat > should not be changed are enclosed in braces. These requirements haven't changed since then and also hold for biblatex, see, e.g., https://tex.stackexchange.com/questions/439440/what-is-the-proper-casing-to= -use-when-storing-titles-in-the-bibliography-database. If you are interested, you can also look at the discussion concerning the citeproc-el conversion implementation at https://github.com/andras-simonyi/citeproc-el/issues/71, see also the "Capitalization in titles" section in Pandoc's User=E2=80=99s Guide. The proposed default makes it possible to use a .bib bibliography database that conforms to the standard title field format requirements (title case etc.) and get the intended output corresponding to the used citation style both with bib(la)tex and CSL styles. Moreover, it matches Pandoc's behaviour, see https://github.com/jgm/pandoc-citeproc/issues/269. best wishes, Andr=C3=A1s