fNIRS / snirf

SNIRF Format Specification
http://fnirs.org/resources/software/snirf/
Other
57 stars 33 forks source link

SNIRF Specification document in pdf file format #136

Closed snowuyl closed 6 months ago

snowuyl commented 6 months ago

I can read latest version of SNIRF specification from https://github.com/fNIRS/snirf/blob/master/snirf_specification.md. Where can I download pdf file of SNIRF specification?

emiddell commented 6 months ago

Hi @snowuyl, if you need the specification in the form of a pdf file, you could use pandoc to convert it. The following command produced this pdf file.

pandoc -f markdown -t latex --latex-engine=xelatex snirf_specification.md -V geometry:margin=1.5cm -o snirf_specification.pdf

Hope this helps.

snowuyl commented 6 months ago

Thanks for your reply! But I can't use pandoc to convert md file to pdf file. C:\temp>pandoc -f markdown -t latex --latex-engine=xelatex snirf_specification.md -V geometry:margin=1.5cm -o snirf_specification.pdf

--latex-engine has been removed. Use --pdf-engine instead. Try pandoc --help for more information.

C:\temp>pandoc -f markdown -t latex --pdf-engine=xelatex snirf_specification.md -V geometry:margin=1.5cm -o snirf_specification.pdf [WARNING] Duplicate link reference '[//]' at snirf_specification.md line 210 column 1 xelatex not found. Please select a different --pdf-engine or install xelatex

Horschig commented 6 months ago

There are multiple online tools that work, e.g. https://www.pdfforge.org/online/en/markdown-to-pdf

snowuyl commented 6 months ago

Thanks for your great support! I can convert md file to pdf through online tools.