tex error on line 15 in file /tmp/tex2pdf.2478/input.tex: ! Missing number, treated as zero
On creating context output line 15 turns out to be:
\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
On processing the context output directly I get the following expanded error message for line 15:
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)
tex error > tex error on line 15 in file FILEPATH.tex: ! Illegal unit of measure (pt inserted)
In case it helps, here is the context output up to and including line 15:
% Enable hyperlinks
\setupinteraction
[state=start,
title={Minimal Working Example},
style=,
color=blue,
contrastcolor=]
% make chapter, section bookmarks visible when opening document
\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
\setupinteractionscreen[option=bookmark]
\setuptagging[state=start]
\setuppapersize[a4]
% use microtypography
\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
Pandoc version is 1.17.2 on debian/testing.