Re: [O] switch off validate - how?

2019-05-21 Thread Nicolas Goaziou
Hello,

Nick Dokos  writes:

> C-h v org-html-validation-link RET
>
> Set it to "", but there are still validation remnants left in the HTML
> file, which is probably a bug:
>
> ,
> | 
> | Author: Nick Dokos
> | Created: 2019-05-20 Mon 12:43
> | <<< this should disappear.
> | 
> `

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] Add :target option for the TOC keyword

2019-05-21 Thread Nicolas Goaziou
Hello,

Sacha Chua  writes:

> Hi! Here's a patch to allow table of contents to target a specified
> headline. I've added tests for HTML, ASCII, Markdown, and ODT export.
> I should have copyright assignment papers already on file.
>
> Does it work for anyone other than me? =)

Thank you! I cannot guess the use case, but you certainly have one :)

Even if this doesn't sound like a very common need, it doesn't add too
much overhead to the code base either. It would be nice if it really
generalized "local" keyword, i.e., with ":target local", "local" variant
being supported but not documented.

Also, there seems to be much code duplication in the export back-ends.
Would it make sense to factor this out into a function in "ox.el". For
example, `org-export-resolve-link-string' or some such? With some tests
for bonus points.

Speaking of tests, we usually don't write tests for export back-ends, so
you can drop them.

Could you send an updated patch?

Regards,

-- 
Nicolas Goaziou