2016-04-20 9:17 GMT+02:00 F M Salter: > The attached LyX file produces erroneous output. > > The output is self-explanatory.. >
This is not a specific problem in LyX 2.2rc1. The same error shows in LyX 2.1. The problem here is that \ref becomes fragile in the PDF markup environment. A workaround is to add \protect in TeX mode immediately before the ref. See attachment. A proper solution on the LyX level is currently not possible AFAICS. This is more or less http://www.lyx.org/trac/ticket/9404 HTH Jürgen > > Regards > Frank Salter >
test_PDF_Comments_f.lyx
Description: application/lyx