From: Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: ox-html: Bug or feature for export of title and meta information?
Date: Mon, 17 Feb 2020 19:32:06 +0100 [thread overview]
Message-ID: <87tv3pxdy1.fsf@informationelle-selbstbestimmung-im-internet.de> (raw)
In-Reply-To: <87pnedpmu9.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 17 Feb 2020 10:47:10 +0100")
Hi there!
On 2020-02-17, at 10:47, Nicolas Goaziou wrote:
> Jens Lechtenboerger <jens.lechtenboerger@fsfe.org> writes:
>> Which “non exportable objects” can be skipped by that function (as
>> mentioned in a comment in org-html--build-meta-info)? Should they also
>> be skipped for description or title?
>
> That non-exportable part is confusing. I think
>
> (org-element-interpret-data auth)
>
> is sufficient. I pushed a change in that direction.
Thank you!
The function org-element-interpret-data seems to return the empty
string for nil. Is that by contract or accident? In the former
case, maybe use
(org-element-interpret-data (plist-get info :author))
instead of the let statement?
What do you think about applying org-element-interpret-data (instead
of org-export-data) when let-binding title, like the following?
(org-html-encode-plain-text
(org-element-interpret-data (plist-get info :title)))
As far as I can tell, this would create valid (X)HTML.
Best wishes
Jens
prev parent reply other threads:[~2020-02-17 18:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-21 12:20 ox-html: Bug or feature for export of title and meta information? Jens Lechtenboerger
2020-02-11 8:16 ` Bastien
2020-02-14 17:21 ` Jens Lechtenboerger
2020-02-14 19:31 ` Nicolas Goaziou
2020-02-14 19:38 ` Nicolas Goaziou
2020-02-14 20:47 ` Bastien
2020-02-15 14:35 ` Nicolas Goaziou
2020-02-16 10:44 ` Bastien
2020-02-15 7:45 ` Jens Lechtenboerger
2020-02-15 14:02 ` Nicolas Goaziou
2020-02-16 18:16 ` Jens Lechtenboerger
2020-02-17 9:47 ` Nicolas Goaziou
2020-02-17 18:32 ` Jens Lechtenboerger [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=87tv3pxdy1.fsf@informationelle-selbstbestimmung-im-internet.de \
--to=jens.lechtenboerger@fsfe.org \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
/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.