私はMiKTeXの最新バージョンを使用しています。最後のアップデート後、TikZライブラリhobby
が動作しなくなったことに気づきました。この質問、再度ダウンロードしましたここしかし、ファイルをコンパイルするとtex hobby.dtx
エラーが発生しました:
======================================================================
! LaTeX Error: File `l3doc.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
MiKTeXを再度アップデートしましたが、同じエラーがまだ発生します。趣味のライブラリを含むLatexファイルをコンパイルすると、エラーが発生します。
!...............................................
l.185 ...riant:Nn \__msg_show_variable:Nnn { Nno }
|'''''''''''''''''''''''''''''''''''''''''''''''
| This is a coding error.
|
| LaTeX has been asked to use a control sequence '\__msg_show_variable:Nnn':
| this has not been defined yet.
|...............................................
)
.................................................
これは私がコンパイルした例です:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{hobby,decorations.markings}
\begin{document}
\begin{tikzpicture}[use Hobby shortcut]
% middle crossing loop
% \draw (3,-1) .. (2,0) .. (0,0.93) .. (-0.93,0) .. (0,-0.93) .. (2,0) .. (3,1);
\begin{scope}
\clip (3,-1) rectangle (2,1);
\draw[thick, blue, fill=blue!30] (3,-1) .. (2,0) .. (0,0.93) .. (-0.93,0) .. (0,-0.93) .. (2,0) .. (3,1);
\end{scope}
\begin{scope}
\clip (2,1) rectangle (-1,-1);
\draw[thick, red, fill=red!30] (3,-1) .. (2,0) .. (0,0.93) .. (-0.93,0) .. (0,-0.93) .. (2,0) .. (3,1);
\end{scope}
% filled points
\fill (0,0) circle (1pt);
\fill (2,0) circle (1pt);
\end{tikzpicture}
\end{document}