Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-04-03 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> I get no response from the list so I will proceed with the second Bo> approach, namely adding filePath to buffer param(), unless I find Bo> a way to retrieve filePath() from within param(). What about *moving* filepath from Buffer::Pimpl to Bu

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-04-02 Thread Bo Peng
> The only question I would like to ask is that how the developers would > like filePath() to be passed to buffer param(). > > Patch one calls filePath() for every readToken call: > > string unknown = params().readToken(lex, token, filePath() ) > > and the second one set buffer_path as a parameter.

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-03-30 Thread Bo Peng
> I think it should work if you packaged all your > LyX associated files into a tar.gz which would > unpack into a path without spaces, The bst/space patch has been submitted. If this patch is working, you can open and work with a .lyx file directly, along with .cls, .bst, .bib, .eps, .cls, .layou

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-03-30 Thread Bo Peng
> [ignore 1000-word instruction] > It is hard to understand why you don't do this the > easy way, it makes me wonder about I know perfectly that, if I am getting a zip file with .lyx, .cls, and .layout, I am supposed to 1. create localtexmf, modify TEXINPUTS environment variable. 2. or put

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-03-30 Thread Bo Peng
> Georg> I am interested in this, but your patches are coming in too > Georg> fast. I am not able to deal with them in that pace :-( > > Ditto... Well, I have overused my limited amount of hobby programming time and really need to go back to work. Less patch will be submitted in the next two weeks

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-03-30 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Bo Peng wrote: >> Dear list, >> >> I am surprised to see that nobody seems to be interested in such a >> feature, which is, at least to me, a big step forward for the >> userfriendliness of lyx. Considering that you can directly open

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-03-29 Thread Georg Baum
Bo Peng wrote: > Dear list, > > I am surprised to see that nobody seems to be interested in such a > feature, which is, at least to me, a big step forward for the > userfriendliness of lyx. Considering that you can directly open a lyx > file using whatever class/layout I am interested in th

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-03-29 Thread Bo Peng
Dear list, I am surprised to see that nobody seems to be interested in such a feature, which is, at least to me, a big step forward for the userfriendliness of lyx. Considering that you can directly open a lyx file using whatever class/layout Attached is an updated patch, using a slightly di

[Pre-PATCH] Make use of local .cls and .layout file.

2006-03-29 Thread Bo Peng
Dear list, A while ago, I requested a feature that allows lyx to make use of local .layout and .cls files. (see http://marc.theaimsgroup.com/?l=lyx-devel&m=114071208632428&w=2 ). Stephe was kind enough to send me a script but it is not quite useful. Attached is a patch that enable this feature.