No "doc" directory


#1

I’ve just downloaded the latest cmdstan from GitHub and am looking for the “doc” directory mentioned here, but it isn’t there. Can someone please point me to the cmdstan documentation?

I can see a “src/docs/cmdstan-guide” directory. Is that it? If so, how can I turn those .tex files into a document?


#2

I think you have to execute make manual from the root directory of CmdStan.


#3

Thanks, but it doesn’t work for me. I get this feedback:

cd src/docs/cmdstan-guide/; latexmk -pdf -pdflatex=“pdflatex -file-line-error” -use-make cmdstan-guide.tex
/bin/sh: latexmk: command not found
make: *** [src/docs/cmdstan-guide/cmdstan-guide.pdf] Error 127


#4

I suggest that you look here: https://ctan.org/pkg/latexmk


#5

this is due to problems with the stan makefile which were just fixed by Stan PR https://github.com/stan-dev/stan/pull/2694 so if you do make stan-update you should be able to build the docs.