使用emacs / HTML模式可以转发/反向链接? [英] Forward/Reverse link possible with emacs/HTML mode?
问题描述
我一直错过AucTeX的前向/后向链接pdf / tex文件。我可以将emacs / LaTeX文件移动到相应的pdf文件,反之亦然。例如,当我在tex源代码上点击字符串'abc'时,auc-tex在pdf文件中找到abc字符串,而另一种方法是可能的。
有没有办法在emacs中做类似的事情?我的意思是,是否有任何可以在html文件和浏览器之间连接的工具/模式?
使用
Mx browse-url-of-file
通常没有约束,所以我使用...
(global-set-key kbdMP)'browse-url-of-file)
要全局绑定Alt + Shift + p .. aspreview in browser
With emacs, it's pretty useful to edit HTML file. And I use 'Safari' (I'm a Mac user), to check if the HTML file is rendered correctly.
I always miss the AucTeX's forward/reverse link with pdf/tex files. I can shift-click on emacs/LaTeX file to corresponding pdf file, and vice versa. For example, when I shift-click on string 'abc' on tex source code, auc-tex finds the 'abc' string in the pdf file, and the other way round is possible.
Is there any way to do similar things in emacs? I mean, is there any tool/mode that can connect back/forth between html file and browser?
Use
M-x browse-url-of-file
It's generally not bound, so I use...
(global-set-key (kbd "M-P") 'browse-url-of-file)
To globally bind Alt+Shift+p .. as "preview in browser"
这篇关于使用emacs / HTML模式可以转发/反向链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!