LaTeX 片段 \begin{description} 在 Geany 中不起作用

LaTeX snippets \begin{description} won't work in Geany

我编写了以下代码片段以在 LaTeX 下使用描述环境。

description= \begin{description}\n%ws%\item %cursor%\n\end{description}

但是,当我尝试使用它时,结果是:

\begin
    \item
\end

这不是预期的。其他片段,例如

enumerate=\begin{enumerate}\n%ws%\item %cursor%\n\end{enumerate}

工作得很好。

有什么想法吗?

我找到了这个问题的解决方案。 在 geany 中,序列 {description} 是一个替换(有关替换序列的更多信息,请参阅 this link)。

避免我提出的问题的最佳方法是在 snippets.conf 文件中分别用 {ob}{cb} 替换 { 和 }。

在我的示例中,我只需将 {description} 替换为 {ob}description{cb},现在效果很好。有关 Github 错误跟踪的讨论,请参阅 this link