通过这个最小工作示例,编译会得到一条警告:
Package cleveref: hyperref package loaded with implicit=false option - disabling cleveref's hyperref support. This situation is not supported by cleveref, and there's no guarantee anything will work. You're on your own!.
由于beamer.cls
第376
行的代码\RequirePackage[implicit=false]{hyperref}
,使用了implicit=false
选项,这个选项的作用是“完全避免使用hyperref
对外部命令(external commands)进行补丁”,而hyperref
宏包文档说正在考虑对补丁进行分类,以可以用更精细的方式控制它们。
于是,发出的这条警告就是告诉我:通过第376
行这种方式调用hyperref
,就会使得cleveref
无法正常工作。那么我的解决方法是直接更改beamer.cls
第376
行代码为\RequirePackage[implicit=true]{hyperref}
,很好,警告消失了。
但是,我并不希望直接手动更改beamer.cls
源码,因为我在另一台电脑上无法使用本地发行版,所以我希望能在最小工作示例中对beamer.cls
第376
行进行更改,这该怎么做呢?有没有什么工具可以实现?