Re: Patches from the Debian package for LyX 1.5.2

2007-11-20 Thread Andre Poenitz
On Tue, Nov 20, 2007 at 08:14:51PM +0100, Sven Hoexter wrote: > Hi, > we've still two patches in the Debian package for LyX 1.5.2 you might > be interested in. > > > 05.configure.py_prog_prefer is mostly about adding xdg-open/sensible-editor > as the first option in configure.py. I've never seen

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Andre Poenitz
On Wed, Nov 21, 2007 at 01:10:32AM -0600, Bo Peng wrote: > > I know it's been like that for a while :) > > > > http://bugzilla.lyx.org/show_bug.cgi?id=3888 > > I think the problem is that we would like to use .inc files to reduce > repeated definition, but we also need to address differences in >

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Bo Peng
> I know it's been like that for a while :) > > http://bugzilla.lyx.org/show_bug.cgi?id=3888 I think the problem is that we would like to use .inc files to reduce repeated definition, but we also need to address differences in different .layout files by patching these layouts here and there. Cons

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Darren Freeman
On Wed, 2007-11-21 at 11:13 +, Bo Peng wrote: > Open tutorial, change the layout of the introduction chapter header to > chapter *, it disappear from Toc (and navigation menu). Anyone knows a > quick fix? I know it's been like that for a while :) http://bugzilla.lyx.org/show_bug.cgi?id=3888

Re: index-bug in 1.6.0svn with data loss

2007-11-20 Thread Martin Vermeer
On Tue, Nov 20, 2007 at 10:15:16PM +0200, sebastian guttenberg wrote: > > Try the attached (on top of newest SVN) > > Things indeed have changed now! I get an error message: > "Conversion script failed" and the file is not loaded at all !? > > BTW: Was the new patch (you called it x.diff) only fo

Re: [Cvslog] r21684 - in /lyx-devel/trunk/src: LyXFunc.cpp frontends/L...

2007-11-20 Thread Pavel Sanda
> Author: younes > Date: Tue Nov 20 23:03:56 2007 > New Revision: 21684 > > URL: http://www.lyx.org/trac/changeset/21684 > Log: > - Cleanup and simplify the layout list GUI handling. layout sorting is broken now. the list is not actualized immediately after preferences apply. pavel

Re: [tentative patch 1.5] towards a working CJK implementation

2007-11-20 Thread Uwe Stöhr
> In fact, I think it makes CJK-LyX in a multilingual context (mixing of CJK and > non-CJK languages) usable for the first time. It does, and therefore should go into Lyx 1.5.3. > However, it became much more complex than I wanted it to be, and it is not > finished yet (it works perfectly for me

Re: [tentative patch 1.5] towards a working CJK implementation

2007-11-20 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Given this, what shall we do? The patch improves the situation significantly for CJK users and breaks nothing that wasn't broken before, AFAICS, so it could be applied as is (given that it is thoroughly tested). OTOH, I want to release 1.5.3 soon, and I want to be extr

[patch] deactivate characters for Spanish (bug 4361)

2007-11-20 Thread Uwe Stöhr
The attached patch fixes bug 4361 for trunk. For LyX 1.5 the bug is not that easily fixable because babel is there called too late in the preamble. Is the solution correct or is \deactivatetilden also covered by \shorthandsspanish? regards Uwe Index: languages =

Re: index-bug in 1.6.0svn with data loss

2007-11-20 Thread sebastian guttenberg
> Try the attached (on top of newest SVN) Things indeed have changed now! I get an error message: "Conversion script failed" and the file is not loaded at all !? BTW: Was the new patch (you called it x.diff) only for the quotation mark-bug, or also for the dollar-bug? Because the last quotation m

Patches from the Debian package for LyX 1.5.2

2007-11-20 Thread Sven Hoexter
Hi, we've still two patches in the Debian package for LyX 1.5.2 you might be interested in. 05.configure.py_prog_prefer is mostly about adding xdg-open/sensible-editor as the first option in configure.py. Documentation for xdg-open: http://jbot.de/BdoaD Patch in the pkg-lyx svn: http://jbot.de/g

Re: [tentative patch 1.5] towards a working CJK implementation

2007-11-20 Thread Dov Feldstern
Jürgen Spitzmüller wrote: Opinions? Jürgen Jurgen --- I wanted to take a look at this, but something really weird is going on: I'm trying to apply your patch to r21683 (which is what it's supposedly against), but it's not applying cleanly. And the line numbers in the patch are off: in P

[PATCH to 1.5.x] Try to load local textclass if it is not available.

2007-11-20 Thread Bo Peng
Dear all, Lyx can load class.layout and class.cls if they are *not* available systemwide. The logic in bufferparams.cpp is // look up in the class list pair pp = textclasslist.numberOfClass(classname); // if found if (pp.first) { textclass = pp.second; } else { // LOAD from current di

Re: (Math)Inset which only accepts a restricted set of characters

2007-11-20 Thread Stefan Schimanski
Am 20.11.2007 um 19:14 schrieb Andre Poenitz: On Tue, Nov 20, 2007 at 06:42:37PM +0100, Stefan Schimanski wrote: Hi! I need to restrict the allowed characters a user can enter in a cell of a InsetMathNest class. More precisely I want to disallow entering anything which is not a valid tex

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > It seems like a problem of the inclusion order. The attached patch fixes > the problem for me. but breaks the section counter :-( The attached (ugly) double-inclusion seems to do it. Better ideas welcome. Jürgen Index: lib/layouts/book.layout ==

Re: (Math)Inset which only accepts a restricted set of characters

2007-11-20 Thread Andre Poenitz
On Tue, Nov 20, 2007 at 06:42:37PM +0100, Stefan Schimanski wrote: > Hi! > > I need to restrict the allowed characters a user can enter in a cell of a > InsetMathNest class. More precisely I want to disallow entering anything > which is not a valid tex identifier in the math macro definition inse

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Jürgen Spitzmüller
Bo Peng wrote: > The attached patch (against 1.5.x)  seems to fix the problem, layout > experts please confirm. This looks wrong (numarticle doesn't have chapters, see numreport). It seems like a problem of the inclusion order. The attached patch fixes the problem for me. Jürgen Index: lib/layo

(Math)Inset which only accepts a restricted set of characters

2007-11-20 Thread Stefan Schimanski
Hi! I need to restrict the allowed characters a user can enter in a cell of a InsetMathNest class. More precisely I want to disallow entering anything which is not a valid tex identifier in the math macro definition inset. At the moment the user can enter a fraction or any other math. The

Re: default location for new documents

2007-11-20 Thread Pavel Sanda
> When I create a new document it is placed in > my home directory by default. > > Is there a way to change this default to > put the document in the current directory instead? this belongs more to the users list than to devel list. on 1.5 you have Tools->Preferences->Paths->Working directory. pa

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Bo Peng
On Nov 21, 2007 11:13 AM, Bo Peng <[EMAIL PROTECTED]> wrote: > Open tutorial, change the layout of the introduction chapter header to > chapter *, it disappear from Toc (and navigation menu). Anyone knows a > quick fix? The attached patch (against 1.5.x) seems to fix the problem, layout experts p

Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Bo Peng
Open tutorial, change the layout of the introduction chapter header to chapter *, it disappear from Toc (and navigation menu). Anyone knows a quick fix? Bo

default location for new documents

2007-11-20 Thread Ralph Boland
I am using Lyx 1.4.2 on a Linux system. When I create a new document it is placed in my home directory by default. Is there a way to change this default to put the document in the current directory instead? Thanks Ralph Boland

description environment in curriculum vitae document class

2007-11-20 Thread Ralph Boland
I am using Lyx 1.4.2 in a Linux environment. I wanted to use the description environment in my resume but it doesn't appear to be supported. It is possible to add it to the document class? (I assume not) Are there other curriculum vitae document classes that do support description environments?

[tentative patch 1.5] towards a working CJK implementation

2007-11-20 Thread Jürgen Spitzmüller
The attached patch (against branch) so far fixes the following issues: 3561 cri crash when changing document encoding http://bugzilla.lyx.org/show_bug.cgi?id=3561 4349 cri assert with CJK in non-CJK paragraph http://bugzilla.lyx.org/show_bug.cgi?id=4349 4337 maj LaTeX file has no \end{C

Re: index-bug in 1.6.0svn with data loss

2007-11-20 Thread Martin Vermeer
On Tue, 20 Nov 2007 08:58:47 +0200 Martin Vermeer <[EMAIL PROTECTED]> wrote: > On Mon, 19 Nov 2007 23:30:04 + (UTC) > Angus Leeming <[EMAIL PROTECTED]> wrote: > > > Martin Vermeer <[EMAIL PROTECTED]> writes: > > > -# Put here the conversions needed from LaTeX string > > > -# t