I am trying to link to a local html file but nothing has worked.
I have tried:
\href{file:path_to_file}{File}or\href{run:path_to_file}{File}: does not open since preview/adobe does not recognize the html file as an html file and trying open to open with the preview/adobe. (this works for pdf but not html)\href{http:file:path_to_file}{File}: preview/adobe opens the browser but the semicolon in the path is dropped, i.e., the browser is trying to openfilepath_to_fileand fails to locate the file
Using \url{} yields the same behaviors. Any idea?
Edit: also tried \href{run:path_to_file}{File} but did not work either.
run:instead offile:– Teddy van Jerry Nov 30 '22 at 17:17run:does not work for html either. I should have mentioned this. – cccfran Nov 30 '22 at 18:38path_to_file? – Dai Bowen Mar 26 '23 at 00:23