From: Mariano V. E. <mar...@up...> - 2017-06-20 10:04:32
|
In our experience, we always retain older emacs version for assuring compatibility with hyperlatex. Unfortunatly, we use a branch of old hyperlatex: XML file produced from file: lista.hax -- -- using halatex v 0.64 (c) CF+S -- -- derived from Hyperlatex v 2.5 (c) Otfried Cheong -- -- on Emacs 21.4.1, Mon Jun 5 17:29:24 2017 So I'm afraid I cannot suggest any solution. http://habitat.aq.upm.es 2017-06-20 10:56 GMT+02:00 Thibaut Verron <thi...@gm...>: > Hello, > > Is anyone still reading this list? :-) > > Hyperlatex does not seem to be working with the latest release of emacs > (25.1). The output is invalid html, it seems that hyperlatex fails to > change back the "magic" characters to their real value (e.g. html tags are > opened with '¼' instead of '<'). > > Forcing the regexp hyperlatex-meta-all to be encoded in unicode seems to > fix that problem (the output is valid html now), but the displayed page is > still broken (invalid characters around the place). > > Attached is a MWE main.tex, the file main-broken.html produced by > hyperlatex as-is, and the file main-unicode.html produced if > hyperlatex-meta-all is defined as: > > (setq hyperlatex-meta-all > (encode-coding-string > (concat "[" > hyperlatex-meta-& > hyperlatex-meta-< > hyperlatex-meta-> > (hyperlatex-meta ?%) > hyperlatex-meta-{ > hyperlatex-meta-} > hyperlatex-meta-dq > (hyperlatex-meta ?\\) > (hyperlatex-meta ?~) > (hyperlatex-meta 32) > (hyperlatex-meta ?-) > (hyperlatex-meta ?') > (hyperlatex-meta ?`) > "]") 'utf-8)) > > This was tested using emacs 25.1.4, hyperlatex 2.9a on linux and emacs > 25.1.1, hyperlatex 2.9a on OSX. > > According to the co-worker who brought this problem to my attention, it > was working fine 6 months ago. > > Thank you, best regards, > > Thibaut > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Hyperlatex-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hyperlatex-users > > -- Salud Mariano Vázquez Espí |