Fixme Note 내에서 itemize 환경이 실패합니다.

Fixme Note 내에서 itemize 환경이 실패합니다.

fxnote(fixme 패키지 사용) 내에 itemize 환경을 포함하려고 할 때 문제가 발생합니다. 코드는 아래에 첨부되어 있습니다. 표시된 테스트 1과 2는 잘 작동하지만 주석을 제거하면 테스트 3이 실패하고 아래에 재현된 긴 오류 메시지가 표시됩니다.

코드는 다음과 같습니다.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[draft]{fixme}

\begin{document}

\section{Introduction}

Test 1
\fxnote{this is ok}

\bigskip

Test 2
\begin{itemize}
    \item This is also ok
\end{itemize}

\bigskip

Test 3
%\fxnote{
%\begin{itemize}
%    \item This doesnt work when uncommented
%\end{itemize}}

\end{document}

이것이 fixme 패키지의 알려진 문제입니까? 이 문제를 해결할 수 있는 방법이 있나요? 아니면 fixme와 동일한 기능을 수행할 수 있는 다른 패키지가 있나요?

미리 감사드립니다, Kasper

추신: 그리고 여기에 제가 받은 오류 메시지가 있습니다.

Compile Error. Sorry, your LaTeX code couldn't compile for some reason. Please check the errors below for details, or view the raw log.
 main.tex, line 25
Use of \@xmpar doesn't match its definition.

\@ifnextchar ... \reserved@d =#1\def \reserved@a {
                                                  #2}\def \reserved@b {#3}\f...
l.25 \end{itemize}}

If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

 main.tex, line 25
Use of \@item doesn't match its definition.

\@ifnextchar ...eserved@d =#1\def \reserved@a {#2}
                                                  \def \reserved@b {#3}\futu...
l.25 \end{itemize}}

If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

 main.tex
Incomplete \iffalse; all text was ignored after line 25.

<inserted text> 
                \fi 
<*> main.tex

The file ended while I was skipping conditional text.
This kind of error happens when you say `\if...' and forget
the matching `\fi'. I've inserted a `\fi'; this might work.

! Emergency stop.
<*> main.tex

*** (job aborted, no legal \end found)


Here is how much of TeX's memory you used:
 987 strings out of 492164
 14565 string characters out of 6125314
 80945 words of memory out of 5000000
 5406 multiletter control sequences out of 15000+600000
 5100 words of font info for 19 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 36i,3n,62p,193b,282s stack positions out of 5000i,500n,10000p,200000b,80000s
!  ==> Fatal error occurred, no output PDF file produced!

 main.tex, line 25
Underfull \hbox (badness 1

답변1

나는 같은 문제를 겪었습니다. fixme 주석을 사용하여 처리할 수 있습니다.환경anfxnote처럼요.

다음과 같이 작성해 보세요.

\begin{anfxnote}{<short summary of note>}
\begin{itemize}
    \item Now it works!
\end{itemize}
\end{anfxnote}

관련 정보