Re: [O] switch off validate - how?
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] switch off validate - how?
Nick Dokos writes: [...] > You can't [fn:1] set `org-html-validation-link' to nil because the defcustom > specifies a string. > > Redefining the postamble format is indeed a good solution, probably the > best solution currently available. `org-html-validation-link' should probably > only be used to point to a different validation engine, not to get rid of > validation altogether. > > * Footnotes > > [fn:1] At least through `customize' or `set-variable' - `setq' will of course >let you do anything you want. Thanks for point that out! I think I agree with your described use-case for `org-html-validation-link'. Colin Baxter writes: > Dear Amin, [...] > > I've set the variable `org-html-validation-link' to "" as a local > variable on a per file basis. However, where I have customised a > multi-line variable is for `org-html-footnotes-section'. I removed the > default setting of a colon after `Footnotes'. This always struck me as > odd, a house-style too far almost, since other headings do not end with > a punctuation mark. > Makes sense. I too often find the colon after “Footnotes” inconsistent and distracting. > > Thanks for your help. > > Best wishes, Cheers, Colin. Best, amin
Re: [O] switch off validate - how?
Dear Amin, > Amin Bandali writes: > 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: >> >> , | | > class="author">Author: Nick Dokos | Created: >> 2019-05-20 Mon 12:43 | <<< >> this should disappear. | ` > Indeed, it would be nice if setting `org-html-validation-link' to > "" or nil didn’t insert the wrapping paragraph. In the meantime, > you can customize C-h v org-html-postamble-format RET and get rid > of the validation paragraph entirely. I've set the variable `org-html-validation-link' to "" as a local variable on a per file basis. However, where I have customised a multi-line variable is for `org-html-footnotes-section'. I removed the default setting of a colon after `Footnotes'. This always struck me as odd, a house-style too far almost, since other headings do not end with a punctuation mark. Thanks for your help. Best wishes, -- Colin Baxter m43...@yandex.com
Re: [O] switch off validate - how?
Amin Bandali writes: > 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. >> | >> ` > > Indeed, it would be nice if setting `org-html-validation-link' to "" or > nil didn’t insert the wrapping paragraph. In the meantime, you can > customize C-h v org-html-postamble-format RET and get rid of the > validation paragraph entirely. > You can't [fn:1] set `org-html-validation-link' to nil because the defcustom specifies a string. Redefining the postamble format is indeed a good solution, probably the best solution currently available. `org-html-validation-link' should probably only be used to point to a different validation engine, not to get rid of validation altogether. * Footnotes [fn:1] At least through `customize' or `set-variable' - `setq' will of course let you do anything you want. -- Nick
Re: [O] switch off validate - how?
Dear Nick, > Nick Dokos writes: > Colin Baxter writes: >> Hello, >> >> In exporting to html, how do I switch off the `validate' link at >> the bottom of the html file? I can't seem to find any appropriate >> variable. >> > 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: Great, that worked. I actually set it as a local variable since I want the validation link on certain files but not all. Thank you. Best wishes, Colin Baxter m43...@yandex.com
Re: [O] switch off validate - how?
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. > | > ` Indeed, it would be nice if setting `org-html-validation-link' to "" or nil didn’t insert the wrapping paragraph. In the meantime, you can customize C-h v org-html-postamble-format RET and get rid of the validation paragraph entirely.
Re: [O] switch off validate - how?
Colin Baxter writes: > Hello, > > In exporting to html, how do I switch off the `validate' link at the > bottom of the html file? I can't seem to find any appropriate variable. > 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. | ` -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler
[O] switch off validate - how?
Hello, In exporting to html, how do I switch off the `validate' link at the bottom of the html file? I can't seem to find any appropriate variable. Colin Baxter m43...@yandex.com