From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Possible feature request (but more of a request for comment/opinion) Date: Sat, 27 Oct 2018 17:01:53 +0200 Message-ID: <87lg6jcu1q.fsf@nicolasgoaziou.fr> References: <87va5nd919.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGQ6C-0005Kz-T9 for Emacs-orgmode@gnu.org; Sat, 27 Oct 2018 11:02:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGQ68-0004we-Sd for Emacs-orgmode@gnu.org; Sat, 27 Oct 2018 11:02:00 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36697) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gGQ68-0004vz-MA for Emacs-orgmode@gnu.org; Sat, 27 Oct 2018 11:01:56 -0400 In-Reply-To: (Emil Vatai's message of "Sat, 27 Oct 2018 18:54:50 +0900") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Emil Vatai Cc: Emacs-orgmode@gnu.org Emil Vatai writes: > According to the developer.mozilla.org link, a quote and a citation should > look like this: > >
>

Words can be like X-rays, if you use them properly =E2=80=93 th= ey'll go > through anything. You read and you're pierced.

>
> =E2=80=93 Aldous Huxley, Brave New World Note that according to some other site, I can see:
Any inaccuracies in this index may be explained by the fact that it has= been sorted with the help of a computer.
=E2=80=94 from The Art of Computer Programming by Donald K= nuth
> The quote part is straightforward in org-mode: > > #+attr_html: :cite https://www.huxley.net/bnw/four.html > > #+begin_quote > Words can be like X-rays, if you use them properly =E2=80=93 they'll = go through > anything. You read and you're pierced. > #+end_quote > > But what to do with the: > =E2=80=93 Aldous Huxley, Brave New World > part? > > So I was (for a brief moment) motivated to implement #BEGIN/END_CITE for > org-mode, but now it doesn't seem to make much sense to do so. I can > implement it simply by adding an export html block (for the one situation= I > need it). > > Hopefully this example clarifies what my question is about. As I suggested, "begin_cite ... end_cite" is not the way to go. If you want to implement this, it should be an HTML attribute for the "begin_quote ... end_quote" block. I gave you an example of such implementation in my previous answer. The issue, however, is that ... only covers a part of the reference, e.g., =E2=80=94 from The Art of Computer Programming by Donald Knu= th I think including the author is tolerated: =E2=80=94 from The Art of Computer Programming by Donald Knuth but the "from" part is still not within the tag. Therefore a :cite attribute may not be useful. Regards,