"D. C. Toedt" writes: > I just updated to 8.3.1 from 8.3beta (from git). That appears to have been > a terrible mistake on my part.> > From this thread > I > see that the exporter now throws an error and aborts when it encounters an > unresolvable link. That makes things really, REALLY difficult. It means I > can't get a complete, working export to HTML (in my case) until all link > problems are fixed in my 22KLOC .org file (which I use to generate > http://www.CommonDraft.org/index.html > ). That seems EXTREMELY suboptimal. > (I'm trying to be tactful here.) See the thread ,---- | Bug: Export to html fails when link to header in non existing file in | document present WAS: Error export to html - "Org-publish-cache-get: | `org-publish-cache-get' called, but no cache present" [8.3beta | (release_8.3beta-1115-g8f3946 @ | /Users/rainerkrug/.emacs.d/org-mode/lisp/)] `---- For further details. > > Worse, the exporter doesn't even generate a list of unresolvable links > before aborting. That means the only way that I can find and fix busted > links (so far as I know) is to do an export --- which takes several minutes > given the large file --- and have the export abort on a single link. Then > I fix that one link, export again, and have it abort again. Repeat. > Aaaargggggg. You can use org-lint for this. > > I started looking at the hooks, as suggested in a message in the previous > thread, but I'm not nearly skilled enough in elisp to be able to do > anything useful. Look at publishing instead of exporting to html which works with missing links. I have the following in my emacs.org which makes it possible to publish all org files to html in the folder ./pubHTML/ which is equivalent to exporting. #+begin_src emacs-lisp (setq org-publish-project-alist '( ("local" :base-directory "./" :base-extension "org" :publishing-directory "./pubHTML/" :recursive t :publishing-function org-html-publish-to-html :headline-levels 6 :auto-preamble t) )) #+end_src Cheers, Rainer > > Any suggestions? > > > *D. C. Toedt III **(My last name is pronounced "Tate"; I go by "D. C.," > which stands for Dell Charles**) * > Attorney & neutral arbitrator -- tech contracts & IP | Adjunct professor, > University of Houston Law Center > ​Author, ​​​Common Draft desk book of > contract clauses & research notes | LinkedIn: dctoedt > | Calendar > > (redacted) > E: dc@toedt.com O: +1 (713) 364-6545 C: +1 (713) 516-8968 > ​​ > > ​ > Houston, Texas (Central time zone) > > Unless expressly stated otherwise, this message is not intended > to serve as assent to an agreement or other document, whether or not > attached to this message. -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982