Re: Filename in .lyx file issue resolved (patch attached).

2008-05-12 Thread Bo Peng
> > Taking our user's guide as an example, we may want to embed all > > figures so that it can be sent, modified and printed as a single > > document. However, because these figures are shared by all our > > documents, you may want to be able to un-embed these insets and > > continue to 'share

Re: Filename in .lyx file issue resolved (patch attached).

2008-05-12 Thread José Matos
On Sunday 11 May 2008 17:29:08 Bo Peng wrote: > The link between the embedded files and its original names does not > have to be machine-specific. For example, when you embed all figures > in our user's guide, the original names are not machine-specific. > > Taking our user's guide as an example, w

Re: Filename in .lyx file issue resolved (patch attached).

2008-05-11 Thread Bo Peng
> As Jose has pointed out, there is no need for this information to be kept in > the LyX file itself, and in a sense it makes no sense to keep it there, > since it is machine-specific. So I still do not understand why you insist > upon keeping it there. If you don't keep it there, then none of the

Re: Filename in .lyx file issue resolved (patch attached).

2008-05-11 Thread rgheck
Bo Peng wrote: Technically speaking, it is perfectly OK to keep embedded files anonymous, just like how they exist in MS/Word or OOffice. However, keeping original filepaths in .lyx file leads to a few convenient features such as 'un-embed an inset' and 'extract all embedded files'. More importan

Re: Filename in .lyx file issue resolved (patch attached).

2008-05-11 Thread Bo Peng
> I fail to see the problems, what lyx2lyx hassles? > > If this goes later we deal with it later in lyx2lyx. This is not specific to > this code, this applies to every change to the file format. It is easier if > the changes are done in small chunks. I would like to avoid adding another lyx2lyx fu

Re: Filename in .lyx file issue resolved (patch attached).

2008-05-11 Thread José Matos
On Sunday 11 May 2008 00:24:46 Bo Peng wrote: > At this stage, the file_map section will be empty and all embedded > files will be anonymous. This section is put there to avoid later > lyx2lyx hassles. I fail to see the problems, what lyx2lyx hassles? If this goes later we deal with it later in l

Filename in .lyx file issue resolved (patch attached).

2008-05-10 Thread Bo Peng
Dear all, Attached please find an updated base64 embedding patch. This patch does not write original filename information to the .lyx file so the filename in .lyx file issue is resolved. The code is even simpler than before because of the removal of the link and lookup function. (Andre: neither QT