在 Windows 11 上執行 WSL,嘗試從 WSL 中的 VIM 在 Windows Adob​​e Reader 中預覽 Latex 文檔

在 Windows 11 上執行 WSL,嘗試從 WSL 中的 VIM 在 Windows Adob​​e Reader 中預覽 Latex 文檔

我在 Windows 上使用 WSL 子系統並vim在我的 WSL 上運行。目前,我正在嘗試使用 Windows 中的 Adob​​e Reader 啟動即時 Latex 預覽。我正在使用 github 儲存庫中的 Live Latex Preview 插件 https://github.com/xuhdev/vim-latex-live-preview

我進行了研究並做了一些更改.vimrc並提出了以下解決方案:

let g:livepreview_previewer = 'explorer.exe C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe'

當我輸入 Command 時:LLPStartPreview,它不會加載並且vim卡住了。

編輯:順便說一句,我無法使用以下命令從命令列啟動 Adob​​e

cmd.exe start /c 'C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe'

或使用命令:

explorer.exe 'C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe'

相關內容