> > thanks for reporting this and for the patch, I've push 
> > a slightly different fix. Please test and let me know.
> 
> Sounds good to me, thanks!

... well it did sound good to me, but it still fails. Put this in *scratch*,

(org-html-format-latex "x" 'mathjax)

and C-x C-e. Within org-format-latex, file-name-nondirectory is still called on 
the first argument (prefix) which your patch sets to nil. The error occurs one 
layer deeper in the tree but still does. My patch kind of fixed that by 
accident, but it should be safe at least in the case of mathjax which AFAICT 
will never create files anywhere - so simply testing on the value of 
processing-type would work better, maybe?

/v
> 
> /v 
> > 
> > Best,
> > 
> > -- 
> > Bastien
> 




Reply via email to