0
ocamldoc으로 생성 된 문서에 방정식을 포함하고자합니다. 나는 작은 (박쥐) 스크립트를 사용하고 있습니다 :ocamldoc을 이용한 수학 방정식 포함
이(** "Given a list of indices \\(v \\) and a vector of weights \f$ w \f$, this returns $ sum_iw_{v_i} $"*)
let dot_product indices weights = [...]
그러나, pdf 파일에서 생산되는 유일한은 다음과 같습니다 :
val dot_product : int list -> float array -> float
"Given a list of indices \\(v \\) and a vector of weights \f$ w \f$, this returns $ sum_iw_
$"
maths.ml은 다음과 주석이 포함
ocamldoc -latex maths.ml
pdflatex ocamldoc.out
방정식 ($, \ f $, \()을 나타 내기 위해 다양한 방법을 시도했지만 이들 중 어느 것도 식별되지 않았습니다. ocamldoc에서 인식 할 수있는 방정식을 나타내는 특별한 방법이 있습니까?
,