하위 각주의 올바른 구문은 무엇입니까?

하위 각주의 올바른 구문은 무엇입니까?

ConTeXt stable에서 베타로 업그레이드한 후에는 포함된 코드가 subfootnote컴파일되지 않습니다. 예:

\definestructureconversionset [footnote] [numbers, Characters] [numbers]
\setupenumerations            [footnote] [numberconversionset=footnote]
\starttext
    \startlines
        This is some text.\footnote{This is a footnote.}
        This is some more text.\subfootnote{This is a subfootnote.}
    \stoplines
\stoptext

이 코드는ConTeXt에서 두 가지 번호 매기기 형식의 조합을 사용하도록 각주를 설정하는 방법은 무엇입니까?\subfootnote, 컴파일에 실패하고 6행 또는 본질적으로 "누락된 숫자, 0으로 처리됨"이라는 메시지가 있는 모든 행에서 오류를 반환합니다 .

마찬가지로 \donote[subfootnote][]{}\setnotetext[subfootnote][]{}수학 모드 환경에 하위 각주를 배치할 때 필요한 명령은 이번 업데이트 후에 컴파일하는 데 문제가 있습니다.

  • ConTeXt 베타에서 구문이 \subfootnote변경되었거나 완전히 제거되었습니까? 하위 각주를 조판하는 새로운 방법이 있나요?
  • "누락된 숫자, 0으로 처리됨" 오류가 발생합니까? 어딘가에 숫자를 추가해야 한다는 뜻인가요 \subfootnote?

답변1

구문은 변경되지 않았습니다. 이는 버그이며 베타 버전 2012.10.15 19:10에서 수정되었습니다(참조 개발 컨텍스트 하위 각주). 하위 각주가 다시 작동하려면 업데이트만으로 충분합니다.

그러나 MkIV 구문을 사용할 수 있습니다 \startsubfootnote. 그래서 대신

This is some text.\footnote{This is a footnote.}
This is some more text.\subfootnote{This is a subfootnote.}

당신은 쓸 수 있습니다

This is some text.\startfootnote This is a footnote. \stopfootnote
This is some more text.\startsubfootnote This is a subfootnote. \stopsubfootnote

하지만 이는 참고사항일 뿐 문제와는 관련이 없습니다.

하위 각주 번호 매기기 구문이 변경되었습니다. 대신에

\setupenumerations [footnote] [numberconversionset=footnote]

새로운 구문은 다음과 같습니다(자세한 내용은Wiki - 각주)

\setupnotation [footnote] [numberconversionset=footnote]

그리고 \definestructureconversionset로 바뀌었다\defineconversionset

최소한의 전체 예는 다음과 같습니다.

\defineconversionset [footnote] [numbers, Characters] [numbers]
\setupnotation       [footnote] [numberconversionset=footnote]

\starttext
  \startlines
      This is some text.\startfootnote This is a footnote. \stopfootnote
      This is some more text.\startsubfootnote This is a subfootnote. \stopsubfootnote
  \stoplines
\stoptext

결과

관련 정보