-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/01/12 15:22, Jürgen Spitzmüller wrote:
> 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

Thanks - that's working now.

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?

> 
> 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.

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/

iEYEARECAAYFAk8FuiEACgkQoYgNqgF2egrVEgCbBsJGKPbF5mH2MG5kVHg7pORx
28sAnAuKQ0qveH5SAwOzkGFz9HzYD8IE
=1TNH
-----END PGP SIGNATURE-----

Reply via email to