编译错误 l3experimental:“kernel/command-already-defined”

编译错误 l3experimental:“kernel/command-already-defined”

编译我的项目时,我收到与 l3experimental 包相关的错误。

从日志文件中:

("C:\Program Files\MiKTeX 2.9\tex\latex\l3experimental\l3str\l3tl-build.sty"
Package: l3tl-build 2015/07/28 v5700 L3 Experimental token list construction


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/command-already-defined"
! 
! Control sequence \l__tl_build_start_index_int already defined.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

l.65 \int_new:N \l__tl_build_start_index_int

|'''''''''''''''''''''''''''''''''''''''''''''''
| This is a coding error.
| 
| LaTeX has been asked to create a new control sequence
| '\l__tl_build_start_index_int' but this name has already been used
| elsewhere.
| 
| The current meaning is:
|   \count126
|...............................................

\l__tl_build_start_index_int=\count305

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/command-already-defined"
! 
! Control sequence \l__tl_build_index_int already defined.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

l.66 \int_new:N \l__tl_build_index_int

|'''''''''''''''''''''''''''''''''''''''''''''''
| This is a coding error.
| 
| LaTeX has been asked to create a new control sequence
| '\l__tl_build_index_int' but this name has already been used elsewhere.
| 
| The current meaning is:
|   \count127
|...............................................

\l__tl_build_index_int=\count306

和许多其他控制序列一样。我正在研究一个发生错误的最小示例。谢谢!

答案1

l3tl-build软件包已移至内核。通常,软件包会有一个过渡期,在此期间,软件包只会发出警告,但在这种情况下,我们没有这样做(有点错误)。l3tl-build不进行过渡就将其移除的充分理由是:它不提供任何用户功能!

无论如何,最好有更清晰的错误消息,所以现在我们生成一个l3tl-build.sty产生错误的过渡。

相关内容