On Wed, Nov 4, 2009 at 12:42 PM, Manveru <manv...@manveru.pl> wrote:

> 2009/11/4 Rainer M Krug <r.m.k...@gmail.com>:
> >
> >
> > On Tue, Nov 3, 2009 at 4:46 PM, Manveru <manv...@manveru.pl> wrote:
> >>
> >> 2009/11/1 Egon Alter <egon.al...@gmx.net>:
> >> > Hi,
> >> >
> >> > I like to use the pdfx package which needs some external files (icc
> >> > profile,
> >> > xmpdata file) in the lyx_tmpbuf folder. The filenames are hardcoded.
> How
> >> > can
> >> > tell lyx to copy these files to the tmpbuf folder before compiling?
> >> >
> >> > thanks
> >>
> >> Oh yes, I was thinking about such feature couple of times when people
> >> requests some additional files in latex process through LyX. So
> >> customized copier option could be added to document settings allowing
> >> user to select files which he wants to be copied to temp dir for
> >> processing. This could be a feature request.
> >
> > A user defined copier definitely works, but I think that in the Document
> --
> > Settings dialog, there should be an additional section named "Files to
> > copy", in which one can select files which should be also copied into the
> > tmpbuf folder. This would make the whole process much easier to handle.
> >
> > Rainer
>
> I would even see a possibility to define list of files to copy and
> additionally use and placeholder everywhere you want use such file


Yes - a list which can also include wildcards - that would be optimal.


> - I mean mainly user defined preamble and ERTs.
>

sorry - you lost me here.

I am using an external preamble (preamble.tex) which is in the same
directory as the LyX file, and which is included in the lyx file with

\input{preamble.tex}


in the LyX preamble. This is NOT copied automatically, but works, as in the
resulting LaTeX document,


\def\in...@path{{/PATH/TO/DIRECTORY/WITH/test.lyx}}


That gives me an idea: is it possible to define a search path for LaTeX?
Then this one could be set to the LyX directory, and most things should
work.


But still: having the option of files to be copied would be also useful for
Sweave, which use data files to be analysed.


Rainer



> --
> Manveru
> jabber: manv...@manveru.pl
>     gg: 1624001
>   http://www.manveru.pl
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)721 151 334 888
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com

Reply via email to