-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/01/12 16:12, Jürgen Spitzmüller wrote: > Rainer M Krug wrote: >> One more question: how can I deal with a function which requires >> two paramerer, e.g. \textattachfile{FILENAME.EXT}{THE TEXT OF THE >> LINK} in a module? Is there anywhere an example on how an inset >> with two parametern looks? > > In Paragraphy styles (not in layouts I think), you can specify > RequiredArgs. See Customization.lyx.
I'll do so - thanks. > > A workaround in layouts is to simply insert }{ as a separator. This > is a bad hack, though. Ugly hack - but an option. > >>> 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). >> >> Makes sense - never thought about that. I'll look into that and >> think about it. For the moment, I am going to use the module. >> >> Do I assume correctly, that these files I specify as external >> content will be included in the lyx archive? That would be a >> great advantage. > > They should. And there are many more advantages. The file paths are > known to LyX, you can have preview, you can easily define options, > etc. Agreed - I think I will go that way. Cheers, Rainer > > Jürgen - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8Fz+IACgkQoYgNqgF2egrNXwCfZoKNRmoqK/K05/Z6IGpqgx1O thsAnRujP9lDnoqyHoa4W9xwsw6x2ooH =Lqn5 -----END PGP SIGNATURE-----