首页 > 编程知识 正文

Let lyx16 support xelatex

时间:2023-05-03 12:54:23 阅读:232530 作者:2892

I found a way to let Lyx support Xetex.

Note: The method is for windows user
------------------------------------------------------------------------
Firstly:
close Lyx if it runs.
------------------------------------------------------------------------
secondly:
Find the file "C:gldkf FilesLyX16Resourceslyxrc.dist "
and Add the two lines at the end of this file.

format "pdf4" "pdf" "PDF (xelatex)" "" "" "" "document,vector"
converter "pdflatex" "pdf4" "xelatex $$i" "latex"

Then, reopen Lyx, you will see a menu item "view->pdf(xetex)".
------------------------------------------------------------------------
thirdly:
Open the file "C:gldkf FilesLyX16Resourcesuistdtoolbars.inc "

Find the text string: Toolbar "view/update" "View/Update", and add three lines below this string.

Separator
Item "View PDF (xelatex)" "buffer-view pdf4"
Item "Update PDF (xelatex)" "buffer-update pdf4"

Then, reopen Lyx, you will see there are extra buttons support for compiling using Xetex.

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。