全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 LATEX论坛
3731 3
2016-06-21
同一个.lyx文件,在2.1.4 中能xetex生成pdf文件
lyx2.2貌似对于导言区中的中文字符,正文中的中文字符都不识别,总是太提示如下的信息(以ctex.lyx为例):
The user preamble of your document contains glyphs that are unknown in the current document encoding (namely 如果没有这一句命令,XeTeX会出错,原因参见)
These glyphs are omitted from the output, which may result in incomplete output.
please select an appropriate document encoding (such as utf8) or change the preamble code accordingly.

正文中的提示是:
Some characters of your document are probably not representable in the chosen encoding.
Changing the document encoding to utf8 could help.


在“Document -> setting -> Laguage” 中,已经设定了UTF8格式。
-----------------------------------------------
Google后发现,有人在1.6版本就出现了上述问题,我是在2.2中首次碰到,到底有什么便捷的一次性解决方案?



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2016-6-22 14:58:41
俺不用这个,俺只用texlive
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-6-22 18:42:00
解决办法:

2.1.4中,从模板生存文档后,不用保存新文档,直接可以预览。

2.2中,从模板生存文档后,要保存一次;然后再“Document -> setting ->Fonts ”勾选上“Use non-TeX fonts (via XeTeX/LuaTeX)”,就可以预览或生成PDF文件了。

同一个模板,在家里的笔记本上没有问题,在学校的台式机上能正确生存文档,但提示有几处的字符不能识别。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-6-22 18:42:37
oliyiyi 发表于 2016-6-22 14:58
俺不用这个,俺只用texlive
然而,我也用的TexLive,哦耶
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群