|
From: Thibaut V. <thi...@gm...> - 2017-06-20 08:57:21
|
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
|