On Friday 04 April 2008 19:49:45 Bo Peng wrote:
> I transmit the file content, as well as filename. The filenames serve
> some purposes so they are functional. I mean, if there were a problem,
> I am not making it worse.
>
> Bo

I am proposing that this information should be made local to the machine where 
the file was created.

Just to illustrate my point I propose that instead of this:

file.lyx
~~~~~~~~

\begin_header
....
\begin_embedded
\file "innerpath/fig1.png"  "original/path/fig1.png"
\file "innerpath/fig2.png"  "original/path/fig2.png"
\end_embedded
\end_header

We replace it by the following:

file.lyx
~~~~~~~~

\begin_header
....
\begin_embedded
\file "innerpath/fig1.png"
\file "innerpath/fig2.png"
\end_embedded
\end_header

and then on personal_lyx_dir ($HOME/.lyx on linux):

session
~~~~~~~
...
[embedded file]
"path/to/file.lyx", "innerpath/fig1.png",  "original/path/fig1.png"
"path/to/file.lyx", "innerpath/fig2.png",  "original/path/fig2.png"


What is the problem with this approach?

-- 
José Abílio

Reply via email to