Fixes several issues with the first draft of the references import

* two syntax errors
* remove \begin and \end of the reference
* singleton tuples require a different syntax