Rainer M Krug wrote: > I have written this small module to make attaching files to a pdf > easier. It works nice, unless I have e.g. a _ in the file name, as > then the text in the inset is "escaped", i.e. newfile_1.lyx becomes > newfile\_.lyx, which is obviously not found. Is there a way of > treating the test in the inset "as is" and not "escape" it?
PassThru 1 However, I do not think such a module is the way to go. I would rather try with an external material template. Have a look at the pdfpages template for a model (in the file external_templates). Jürgen
