From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Emil Vatai <emil.vatai@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Possible feature request (but more of a request for comment/opinion)
Date: Sat, 27 Oct 2018 17:01:53 +0200 [thread overview]
Message-ID: <87lg6jcu1q.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CA+AfvvCMY4Q8ByfZ=DpdMoWs0oyFRX1nT0tGKEyQx4-AOwHUng@mail.gmail.com> (Emil Vatai's message of "Sat, 27 Oct 2018 18:54:50 +0900")
Emil Vatai <emil.vatai@gmail.com> writes:
> According to the developer.mozilla.org link, a quote and a citation should
> look like this:
>
> <blockquote cite="https://www.huxley.net/bnw/four.html">
> <p>Words can be like X-rays, if you use them properly – they'll go
> through anything. You read and you're pierced.</p>
> </blockquote>
> <cite>– Aldous Huxley, Brave New World</cite>
Note that according to some other site, I can see:
<blockquote>
Any inaccuracies in this index may be explained by the fact that it has been sorted with the help of a computer.<br>
— from <cite>The Art of Computer Programming</cite> by Donald Knuth
</blockquote>
> 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 – they'll go through
> anything. You read and you're pierced.
> #+end_quote
>
> But what to do with the:
> <cite>– Aldous Huxley, Brave New World</cite>
> 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 <cite>...</cite> only covers a part of the
reference, e.g.,
— from <cite>The Art of Computer Programming</cite> by Donald Knuth
I think including the author is tolerated:
— from <cite>The Art of Computer Programming by Donald Knuth</cite>
but the "from" part is still not within the <cite> tag. Therefore
a :cite attribute may not be useful.
Regards,
prev parent reply other threads:[~2018-10-27 15:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-27 7:40 Possible feature request (but more of a request for comment/opinion) Emil Vatai
2018-10-27 9:38 ` Nicolas Goaziou
2018-10-27 9:54 ` Emil Vatai
2018-10-27 15:01 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lg6jcu1q.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=Emacs-orgmode@gnu.org \
--cc=emil.vatai@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.