-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctex: 在 Mac 版 MiKTeX 中系统版本判断错误 #340
Comments
和 #313 其实很类似,有可能是MiKTeX不兼容CTeX宏包的系统判断那一套。 |
MiKTeX 真坑,我倾向于不改。 |
不知道miktex怎么坑了,我觉得现在大统一下的miktex越来越好,不像texlive,做的太累赘,用到的不及1%。 |
试试 ifplatform 的机制行不行 |
Mac 下的宋体问题,见 #351 。这是历史遗留问题,在老版本的 Mac 下, |
平台选择问题,目前没有装 MiKTeX 到 Mac 上,没办法测试。回头可以调试看一看,但 MiKTeX 坑是实话。
对于这个问题, @qiuzhu 可以先在宏包/文档类选项里加上 |
貌似不仅仅是系统版本判断错误的问题, 用如下小实例 根本无法输出页面 % -*- coding: utf-8 -*-
%!TEX program = xelatex
\documentclass[fontset=none]{ctexart}
\setCJKmainfont{Songti SC}[
UprightFont = Songti SC Light,
ItalicFont = Kaiti SC,
BoldItalicFont = Kaiti SC Bold,
]
\setCJKsansfont{Heiti SC}
\begin{document}
中文测试
\end{document} 系统版本为:10.14 Beta (18A293u) |
MikTeX 思路不错,但至少现阶段确实坑啊。测试了一些代码发现其实涉及到好几个问题,但总而言之跟ctex其实没什么关系。 系统macOS High Sierra 10.13,MikTeX版本2.9.6637,ctex版本2.4.14
使用xelatex编译,输出为
可见其实
如下代码可以通过(xelatex编译)
总之,xelatex无法识别系统,指定
|
现阶段不做任何改动,待 MiKTeX 更新后再说。这个 issue 先关了。 |
最近miktex更新大统一,也出了MAC版本的APP, 现在有个问题是采用xelatex编译中文文档,提示找不到simsun,simkai,看ctex文档在Mac下,ctex自动调用华文字库,不知道为啥默认调用了Windownew方案。
还有个奇怪的问题是,Mac下有宋体,而且粗体也有,为啥不能直接调用?
The text was updated successfully, but these errors were encountered: