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 11:38:10 +0200 [thread overview]
Message-ID: <87va5nd919.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CA+AfvvC8ZXhj5HwXWMKumPbbQoMF4j=GNHHYZ4Wuc2d5WCuS=Q@mail.gmail.com> (Emil Vatai's message of "Sat, 27 Oct 2018 16:40:38 +0900")
Hello,
Emil Vatai <emil.vatai@gmail.com> writes:
> So I have a web page generated by org-mode which has a fancy quote at the
> beginning, generated by #+BEGIN/END_QUOTE of course... and the
> signature/citation/reference at the end seemed off so I googled "html
> blockquote" and apparently the proper way to use it [1] is to have a <cite>
> tag after the <blockquote> tag. So I thought, this can't be so hard...
> let's do it... a few copy/pastes and search-and-replaces later... I
> realized that the #+BEGIN/END_QUOTE block is processed not just by ox-html
> but also buy the other backends... so to make things nice, I'd need to
> implement the same thing in them as well... which might not be a meaningful
> thing to do.
Could you be a bit more explicit about what you want to do, possibly
giving an example?
> I just had that urge that "wow, I want to contribute to that cool project
> (org-mode) which I use so much"... but it's not something what I thing
> should be extra useful. It can be done without adding a CITE block to the
> html export backend. I need it only in one place - so probably not worth it.
>
> But still, any opinion on this? (I got really good encouragement on IRC to
> write here)
You can add a feature per export back-end, using, e.g., "ATTR_HTML"
keyword:
#+attr_html: :cite The source
#+begin_quote
...
#+end_quote
For example, ox-texinfo supports :author for quotes:
#+attr_texinfo: :author ...
#+begin_quote
...
#+end_quote
See `org-texinfo-quote-block' for details.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2018-10-27 9:38 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 [this message]
2018-10-27 9:54 ` Emil Vatai
2018-10-27 15:01 ` Nicolas Goaziou
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=87va5nd919.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.