Skip to content
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

这些warning是否需要处理? #6

Open
kongdd opened this issue Dec 1, 2019 · 10 comments
Open

这些warning是否需要处理? #6

kongdd opened this issue Dec 1, 2019 · 10 comments

Comments

@kongdd
Copy link

kongdd commented Dec 1, 2019

非常感谢!我在win10 顺利编译出来了。非常震撼!

但是给了一些warning,请问需要在意这些warning吗?

Warning message:
Package pageslts Warning: Package pdfpages detected.
(pageslts)                Using hyperref with pdfpages can cause problems. See
(pageslts)                https://www.ctan.org/pkg/pax
(pageslts)                for the Pdf Annotations eXtractor, pax.
Package enumitem Warning: Negative labelwidth. This does not make much
(enumitem)                sense, on input line 832.
Package amsmath Warning: Foreign command \atopwithdelims;
(amsmath)                \frac or \genfrac should be used instead
(amsmath)                 on input line 1456.
LaTeX Warning: Reference `customization' on page 31 undefined on input line 167
3.
LaTeX Warning: Reference `configuration' on page 35 undefined on input line 184
2.
LaTeX Warning: Reference `yaml-options' on page 39 undefined on input line 2006
.
LaTeX Warning: Reference `fig:does-not-exist' on page 43 undefined on input lin
e 2112.
LaTeX Warning: Reference `yaml-options' on page 47 undefined on input line 2356
.
LaTeX Warning: There were undefined  [... truncated] 
don't know how to handle 'block2' engine outputdon't know how to handle 'block2' engine outputdon't know how to handle 'example' engine output
@bubifengyun
Copy link
Owner

能力比较菜,通常不过问警告。大神,啥时候方便写一下怎么在win10下编译成功的过程不?我只是在deepin和centos7下成功编译。win7和win10实验了很久都没有成功。

@kongdd
Copy link
Author

kongdd commented Dec 1, 2019

先把Miktex从环境变量path中剔除,然后用谢益辉大佬的tinytex,很顺利就编译通过了。
另外,可以给个您编译出来的pdf吗?方便核对一下我编译出来的哪里出现了错误。
我的邮箱: kongdd at mail2.sysu.edu.cn

@bubifengyun
Copy link
Owner

这周吧,最近不怎么能用自己的电脑。

@kongdd
Copy link
Author

kongdd commented Dec 1, 2019

Thanks

@kongdd kongdd closed this as completed Dec 1, 2019
@bubifengyun
Copy link
Owner

https://github.com/bubifengyun/SJTUThesis-Rmd/releases/tag/v0.0.4 在这里下载吧。我就不发你邮箱了。

@kongdd
Copy link
Author

kongdd commented Dec 2, 2019

谢谢!
我对比了一下,发现有两处异常:
(1) 图3-2, subcaptionbox和subfigure方式插入的图,都没能正常显示
(2) 图5-1, 本单位曾用过的流程图,中文均未能显示。

不知道是不是上述warning导致的

@bubifengyun
Copy link
Owner

非常感谢您这么认真仔细的对比,我还没有看呢,这周找个时间查查原因,尽快回复您。

@bubifengyun
Copy link
Owner

bubifengyun commented Dec 3, 2019

谢谢!
我对比了一下,发现有两处异常:
(1) 图3-2, subcaptionbox和subfigure方式插入的图,都没能正常显示
(2) 图5-1, 本单位曾用过的流程图,中文均未能显示。

不知道是不是上述warning导致的

我这边貌似都是正常的。前面3-2的方便贴个图不。

图5-1那个需要安装特定的字体才可以,是R语言的问题,我之前使用R语言画图也是没有汉字显示,全是方块,需要安装特殊的字体才可以的。

非常抱歉,这是一年前画着玩的,本身就比较丑陋。当时也没有做笔记,现在我也有点抓瞎,弄不太懂。不太知道安装啥字体的,或者是配置字体。我再试试。简单起见,可以把那些画图的删除,或者单列出来在RStudio里画图试试。

@bubifengyun bubifengyun reopened this Dec 3, 2019
@kongdd
Copy link
Author

kongdd commented Dec 3, 2019

您好:

  1. 图3-2问题已经解决了,改用miktex之后,这个问题就消失了。
  2. 图5-1,按照之前导出图件的思路,par(family="SimSun")即可以解决。但是该方案并不完美,无法同时定义中英文字体(比如title定义为这么一句话,"我是hello world"),不知您有何高见?

@bubifengyun
Copy link
Owner

这是r语言的内容,对此非常不熟,我觉得可以搁置了。如果有需要再去深入学习r语言,相信这个不是难题。我等连r都没有怎么入门,只是看着别人写了,跟着学了点,去解决这类问题,太耗时间,不划算。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants