Re: ox-html: Bug or feature for export of title and meta information?

2020-02-17 Thread Jens Lechtenboerger
Hi there! On 2020-02-17, at 10:47, Nicolas Goaziou wrote: > Jens Lechtenboerger 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

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-17 Thread Nicolas Goaziou
Hello, Jens Lechtenboerger writes: > Based on the treatment of meta elements for author and description > in that function, alternatives might use org-element-interpret-data > (author) or not (description). I do not understand the role of > org-element-interpret-data to generate author

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-16 Thread Jens Lechtenboerger
Hi there! On 2020-02-15, at 15:02, Nicolas Goaziou wrote: > Jens Lechtenboerger writes: > >> the W3C Markup Validator [1] disagrees with this output from >> ox-html (which I reduced to the essential parts): > > OK. I was talking about the Org syntax. I misread your initial report. > > I won't

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-16 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > I don't think so. It is a constant, which may only matter when you write > an export-backend. Its value is not even particularly important since > any back-end can ignore it. Only its syntax really matters, as pointed > out in, e.g.,

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-15 Thread Nicolas Goaziou
Hello, Bastien writes: > I see org-export-options-alist is not mentioned in the manual - would > it be worth mentioning it in the "Adding Export Back-ends" section? I don't think so. It is a constant, which may only matter when you write an export-backend. Its value is not even particularly

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-15 Thread Nicolas Goaziou
Hello, Jens Lechtenboerger writes: > the W3C Markup Validator [1] disagrees with this output from > ox-html (which I reduced to the essential parts): OK. I was talking about the Org syntax. I misread your initial report. I won't comment about the generated HTML. If needed, the HTML exporter

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-14 Thread Jens Lechtenboerger
On 2020-02-14, at 20:31, Nicolas Goaziou wrote: > Hello, > > Jens Lechtenboerger writes: > >> 1. Export to HTML when the title contains markup, say this one: >> >> #+TITLE: This does *not* work > > What does not work? > >> The HTML title element contains a nested b element, which is >> invalid

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-14 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > This doesn't mean the manual cannot be improved, of course. Improvements > are welcome in that area. I see org-export-options-alist is not mentioned in the manual - would it be worth mentioning it in the "Adding Export Back-ends" section? -- Bastien

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-14 Thread Nicolas Goaziou
Completing myself, Nicolas Goaziou writes: > General export rules are described in ox.el (org-export-options-alist), > then each export back-end define its own specificities (look at the > back-end definition). This doesn't mean the manual cannot be improved, of course. Improvements are

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-14 Thread Nicolas Goaziou
Hello, Jens Lechtenboerger writes: > 1. Export to HTML when the title contains markup, say this one: > > #+TITLE: This does *not* work What does not work? > The HTML title element contains a nested b element, which is > invalid as only text is allowed. Who said that? The above is perfectly

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-14 Thread Jens Lechtenboerger
On 2020-02-11, at 09:16, Bastien wrote: > Hi Jens, > > it is difficult to justify existing code, it is easier to answer to > bug reports. If you think there is a bug in this aread, can you tell > what it is? Hi Bastien, many thanks for following up on this! I see two or more bugs: 1. Export

Re: ox-html: Bug or feature for export of title and meta information?

2020-02-11 Thread Bastien
Hi Jens, it is difficult to justify existing code, it is easier to answer to bug reports. If you think there is a bug in this aread, can you tell what it is? https://orgmode.org/org.html#Feedback might help. Thanks! -- Bastien