expex "everylabel=\actualexno"는 이후 참조에서 오류를 발생시킵니다.

expex "everylabel=\actualexno"는 이후 참조에서 오류를 발생시킵니다.

많은 예제에 문제가 있습니다. 실제로 발생하기 전에 해당 예제를 레이블로 참조하면 숫자가 정확합니다. 그러나 정의된 후에 이를 참조하면 잘못된 번호가 제공됩니다.

everylabel=\actualexno명령 내에서 를 사용할 때만 발생하며 \definestyle예제는 하위 예제로 나뉩니다.

    \documentclass[10pt, a4paper]{article}
    \usepackage{expex}
    \definelingstyle{IJAL}{everylabel=\actualexno}  % HERE IS THE PROBLEM
    \lingset{lingstyle=IJAL}                        % (and here)

    \begin{document}
    \gathertags
    Referencing ahead of the definition gives 
      correct number of the whole example (\getref{a}), 
      as well as its part (\getref{a.A}), 
      although the full reference gives us too much (\getfullref{a.A}).

    \pex<a>
      \a<A> some example
    \xe


    The reference to the whole example is still correct afterwards (\getref{a}), 
      but the reference to its part has a one too large prefix (\getref{a.A}) 
      and the full reference is just a concatenation of both, as usual (\getfullref{a.A}).

    \end{document}

여기에 이미지 설명을 입력하세요

관련 정보