From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6BtVBq7SwmJJhgEAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 13:44:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EEVUBq7SwmLQiAAA9RJhRA (envelope-from ) for ; Mon, 04 Jul 2022 13:44:46 +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 B949D3EE55 for ; Mon, 4 Jul 2022 13:44:45 +0200 (CEST) Received: from localhost ([::1]:37964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8KVQ-0001c7-I9 for larch@yhetil.org; Mon, 04 Jul 2022 07:44:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8KUW-0001b1-So for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 07:43:49 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:54982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8KUT-0001pQ-Qh for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 07:43:48 -0400 Received: by mail-pj1-x1036.google.com with SMTP id s21so4542257pjq.4 for ; Mon, 04 Jul 2022 04:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=/jKM2ojrDBLH3+0FUUy0fIkHsZpCMW6kOuAu9vYFL14=; b=mzBfo7Wv5ETfdFLSHSGNgxFwau9v58q9D1jJC3x+jLMnkVsyDM8XUtwK583vUoUX0d dZotfDwcmt7ttes6nzvrrlMSAeab6lU52+LW0YcL9ANlCmpIQ0s3i5wgVUjPuEEeB71A 064UgNiVQ0hUnmREe3HngI+NorAdr6lRNDH9y11Qo7Vi4cifSA3PNNeGRisyH3NYU5Ji VrGQpZQ805Mng4oOVnckQpoePmNl1ASUawGVlCLQh7eJT2UA4xxS84OwaXEybC/wOrXe WBm57FzdY4w9XAEDEJkhB0mOr30oL5eo469EDqkHrf7utlqhRnlWR5YCVXh+LQ6LyJ8I bVIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=/jKM2ojrDBLH3+0FUUy0fIkHsZpCMW6kOuAu9vYFL14=; b=V7yAHJ78w+KJ9dcHmlutD1DfRlMWjlsR0sEWKEYyCwqtmZsb+9NakLaKZxWKirGZhl xbVjcuKoKZEsV1G8kD2FQfa851iir2bWRUpUgr9UdXCgOjgndzhlswXCTYKc+XD8Ni8W Whbs1j0M1K019rDH9hjnk1uQA1txMjRlE60B5A63BjQu+igingcXppP8+f5a9R+xWJBo o2YKUqh+iFknb5/LzRhupBWbHj5AEvwAkZneeUh1Cl+RAnRVnX2WvcPjnTMEgs80CMrv fNgSs7JYV5qvTRGl5NAA5sM8UGM7dV+YdK/cF8AYrXaoI5uzmbTFWqTX77oniveztSUf dubA== X-Gm-Message-State: AJIora8L9inmY9ZiGKq5yHBXmuGi5pjg6GYFT/pLWw+FcOOvKitMoKUS r8CqDRttTL+w8yEENrQzm3zgKIX8HgY= X-Google-Smtp-Source: AGRyM1u9eA/r++qTLjdHBJbDOLKNhGNMd1F+rt47q9Fskft2b9Ux30wph/6ianDcg2BhkSIX9rGfZg== X-Received: by 2002:a17:90b:3b44:b0:1ec:d7a8:7528 with SMTP id ot4-20020a17090b3b4400b001ecd7a87528mr36749389pjb.231.1656935023695; Mon, 04 Jul 2022 04:43:43 -0700 (PDT) Received: from localhost ([104.223.86.8]) by smtp.gmail.com with ESMTPSA id 70-20020a621849000000b0051bb79437f7sm20889018pfy.37.2022.07.04.04.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 04:43:43 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [patch] ox-html.el: add html attribute (verse numbers) to verse blocks In-Reply-To: <87k0a2c6g7.fsf@posteo.net> References: <87v92cooga.fsf@posteo.net> <87czfvoban.fsf@localhost> <874k1758x9.fsf@posteo.net> <874k161ebo.fsf@localhost> <87k0a2c6g7.fsf@posteo.net> Date: Mon, 04 Jul 2022 19:44:51 +0800 Message-ID: <87mtdpnlu4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1656935085; 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=/jKM2ojrDBLH3+0FUUy0fIkHsZpCMW6kOuAu9vYFL14=; b=WFLaEa5uke9Gs6tGSjkkJ8GPbKGfc+OBPW43sw/gCbKprLdYVgpvhD9p4k7Tk6fxSLaiCS WCv/rf8uLW4G6ocukbpduIOkUibBSlYOlde+yCauQN7DULHi1jryLzyKu5E2zJLd0V6yOK 6kkSDCYJBQ3z26iQ6RByuBOp7l0uz3nuHnVFKlKsp/d6QmskWZ/sgsDDKbj+dXnwEGfREF 3j/lXXsVhZS3q0p6FUpZGCm/NZ+H4Zf7tPjGswnBECnqWhcQnTSQcVYQOQyDLOriHlUaq+ 4CjnfX6U32Evf/DbG6+M/q/96UxqV/u+9MBTnRbsSeNTcvKYQ2A/e2e9zuKFZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656935085; a=rsa-sha256; cv=none; b=N4Vph1ps4LkJ9omwDjBAhEclk0+y5mxvF8lGeiXyPoYQ2W+vkNW8fFM0Tzik5snT3nG+tP JmSBs/eO98dhC4YQT13RN4pEDWuacmc4jFWhmWPbhdOpcgKvHklHLezjLTia+zahHqZ9yt hJxZxDCnx/EdUVRqrHCaeM0TFSLOJ3EA2HWDG68ZivcS/Hzj5bwtCVcdAWFy+mJIFDwgJT S8ErZssKOWaw+VYtQKD46hX2eFKf38+Hcz7iTJalRkA+86SPQ8lq+UwfZyo2CrAIywQ15r CsmY0C+fndo2d7T9FlH/wx7zeh267XcuNuzrHZ7XHFBdEtvL11eG/m0DQrgohQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mzBfo7Wv; 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: -7.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mzBfo7Wv; 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: B949D3EE55 X-Spam-Score: -7.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: CwBCVy/DKRFM Juan Manuel Mac=C3=ADas writes: > Nota bene: I understand that all these functionalities for verses are, > at the moment, a minority in Org, since Org has a small number of > Humanities users (here in Spain I try to gain followers among my > colleagues, but it is an arduous task). In any case, I think features > like this can attract more Humanities users... I do like the proposed feature. However, I'd prefer if instead of introducing a whole new functionality we could extend the existing one. This approach generally leads to code that is easier to maintain. > There are some differences between code numbering and verse numbering, > which is a convention used in Humanities and used by wikipedia and other > sites as well: > > - The first verse is never numbered; > > - White lines are not numbered; > > - Numbering is added in a sequence, never continuously. The sequence is > generally 5, but it is common to find sequences of 3, 10 or other > digits (with that I answer your second question). > ... > I think line numbering is an idiosyncratic case and should not be > confused with standard line numbering as understood by Emacs linum-mode > or any other text editor. What I don't know is if the switches code > numbering could be reused in that peculiar case. An interesting > functionality could be to choose at which number the quoted fragment or > poem begins (because it is common to quote fragments of long poems. In > the LaTeX version this is obtained by :latexcode \setverselinenums{}{} >From the above, the verse numbering looks simply like an extended line numbering. Normal line numbering can be thought as a subset of the proposed features. Best, Ihor