-#LyX file created by tex2lyx 2.1
-\lyxformat 474
+#LyX file created by tex2lyx 2.2
+\lyxformat 479
\begin_document
\begin_header
\textclass article
LatexCommand formatted
reference "lab:test"
+\end_inset
+
+ as well as textual references like
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand nameref
+reference "lab:test"
+
\end_inset
. The command