Re: [more updated patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread Pavel Sanda
rgheck wrote: > Pavel Sanda wrote: >> rgheck wrote: >> >>> Comments welcome, of course. >>> >> >> btw while you are at this - would it be easy to detect buffer export >> problems? >> (http://bugzilla.lyx.org/show_bug.cgi?id=4097) >> >> > Done. It was actually the file load errors that w

Re: [more updated patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread rgheck
Pavel Sanda wrote: rgheck wrote: Comments welcome, of course. btw while you are at this - would it be easy to detect buffer export problems? (http://bugzilla.lyx.org/show_bug.cgi?id=4097) Done. It was actually the file load errors that weren't being reported. Export problems were.

Re: [more updated patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread Pavel Sanda
rgheck wrote: > > Comments welcome, of course. btw while you are at this - would it be easy to detect buffer export problems? (http://bugzilla.lyx.org/show_bug.cgi?id=4097) > Index: src/FuncCode.h > === > --- src/FuncCode.h(revis

[more updated patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread rgheck
An even more updated patch, thanks to Pavel's comments. To test it, put branchTest.lyx into /tmp and run: /cvs/lyxsvn/src/lyx -userdir /tmp/test -x "branch-activate test" -e pdf2 /tmp/branchTest.lyx /cvs/lyxsvn/src/lyx -userdir /tmp/test -x "branch-deactivate tester" -e pdf2 /tmp/branchTes

Re: [patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread rgheck
Pavel Sanda wrote: rgheck wrote: Conceptually, this is pretty straightforward, but can someone tell me if this is the right place to implement these? LFUNs are implemented all over, and I don't really understand the logic to what happens where. my understanding is that when you don't

Re: [patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread Pavel Sanda
rgheck wrote: > > Conceptually, this is pretty straightforward, but can someone tell me if > this is the right place to implement these? LFUNs are implemented all over, > and I don't really understand the logic to what happens where. my understanding is that when you don't need cursor position (

[updated patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread rgheck
This now works completely, but I'm not at all sure this is the right way to proceed. To test it, put branchTest.lyx into /tmp/ and run: /cvs/lyxsvn/src/lyx -userdir /tmp/test -x "branch-activate test" -e pdf2 /tmp/branchTest.lyx /cvs/lyxsvn/src/lyx -userdir /tmp/test -x "branch-deactiva

Re: An advice for Lyx to support CJK.

2008-05-27 Thread steadycookie
Juergen Spitzmueller wrote: > > Bo Peng wrote: > >> I would add that XXX in \begin{CJK}{GBK}{XXX} is sometimes required. >> My last attempt to use lyx for Chinese characters have failed due to >> this. > > What would be the possible options we should provide? A list of fonts? > > Jürgen > >

Re: An advice for Lyx to support CJK.

2008-05-27 Thread Bo Peng
>> I would add that XXX in \begin{CJK}{GBK}{XXX} is sometimes required. >> My last attempt to use lyx for Chinese characters have failed due to >> this. > > What would be the possible options we should provide? A list of fonts? Yes. I google "\begin{CJK}{GBK}", the first link uses \begin{CJK}{UTF

[patch] Bug 4341: LFUNs for Branch (De)Activation

2008-05-27 Thread rgheck
Conceptually, this is pretty straightforward, but can someone tell me if this is the right place to implement these? LFUNs are implemented all over, and I don't really understand the logic to what happens where. Unfortunately, this doesn't seem to answer the 4341 request, since I can't get s

Re: Providing layout and template files to include with LyX

2008-05-27 Thread Juergen Spitzmueller
rgheck wrote: > I think these are generally welcome. But they should probably be updated > to 1.6 at this point, as I'm not sure whether they'll be included in > later 1.5 releases. They could be included to 1.5.6. Jürgen

Re: An advice for Lyx to support CJK.

2008-05-27 Thread Juergen Spitzmueller
Bo Peng wrote: > I would add that XXX in \begin{CJK}{GBK}{XXX} is sometimes required. > My last attempt to use lyx for Chinese characters have failed due to > this. What would be the possible options we should provide? A list of fonts? Jürgen

Re: An advice for Lyx to support CJK.

2008-05-27 Thread steadycookie
Bo Peng-2 wrote: > > On Tue, May 27, 2008 at 1:10 PM, Yaoguang Wei <[EMAIL PROTECTED]> wrote: >>Currently in Lyx 1.5.5 (5/12/2008) windows version, commands to >> switch to the cjk-environment are hardcoded in Lyx by adding >> "\usepackage{CJK} " in preamble, and adding "\begin{CJK}{GB

Branch Color Problem

2008-05-27 Thread rgheck
Something seems to be weird with the branch colors in trunk. They're all grey for me, and sometimes so dark as to be unreadable. rh

Re: An advice for Lyx to support CJK.

2008-05-27 Thread Bo Peng
On Tue, May 27, 2008 at 1:10 PM, Yaoguang Wei <[EMAIL PROTECTED]> wrote: >Currently in Lyx 1.5.5 (5/12/2008) windows version, commands to > switch to the cjk-environment are hardcoded in Lyx by adding > "\usepackage{CJK} " in preamble, and adding "\begin{CJK}{GBK}{}%" and > "\end{CJK}"

An advice for Lyx to support CJK.

2008-05-27 Thread Yaoguang Wei
Currently in Lyx 1.5.5 (5/12/2008) windows version, commands to switch to the cjk-environment are hardcoded in Lyx by adding "\usepackage{CJK} " in preamble, and adding "\begin{CJK}{GBK}{}%" and "\end{CJK}" in the beginning and the ending of the document. This maybe handy for so

Re: color preferences are not loaded in new sessions

2008-05-27 Thread Andre Poenitz
On Mon, May 26, 2008 at 05:30:44PM -0700, N. B. wrote: > Did you have a chance to commit the change? Urm.. like the commit failed because of one file not being up-to-date and I did not noticed. Andre'