I put my text in Imparato syntax in a PDF...
First of all BRAVO!
Indeed, if you have made the effort to put your play in Imparato format, then congratulations!
However... you should know that the Imparato format is reserved for the Imparato text editing tool. If you use this specific format (with the @ and #) directly in your PDF you run the risk that Imparato will not be able to use it: your play will be rejected at the first error.
You can still use the Imparato format you developed by creating a text from scratch, directly from the Imparato site and collating the formatted text (this is done on a computer, here is the guide: create a text)
Getting back to your PDF, here is some more information on ideal format of text in a PDF file. It's a valuable little guide.