Error Message:
Missing $ inserted
asdfasdf\ref{sec:asdf}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Solution:
The error was caused by having \oslash in my math macro TeX, LyX for the \null
Keywords:
lyx cross reference math macro
lyx cross reference math macro begin-math end-math error left one out