Re: r26854 - /lyx-devel/trunk/src/frontends/qt4/Menus.cpp

2008-10-11 Thread Abdelrazak Younes
On 12/10/2008 06:04, [EMAIL PROTECTED] wrote: Author: rgheck Date: Sun Oct 12 06:04:55 2008 New Revision: 26854 URL: http://www.lyx.org/trac/changeset/26854 Log: Fix bug 5346. Modified: lyx-devel/trunk/src/frontends/qt4/Menus.cpp Modified: lyx-devel/trunk/src/frontends/qt4/Menus.cpp URL:

Re: [patch] support for Mongolian

2008-10-11 Thread Uwe Stöhr
> I don't like to see so many special cases on the code. Would not it be > possible to put this information directly into lib/languages and to read it > from there? In principle yes, but this is something for LyX 1.7 as this would change a lot. regards Uwe

Re: [patch] support for Mongolian

2008-10-11 Thread Uwe Stöhr
> in the page i read "Install the packages mongolian-babel and > miktex-hyph-mongolian using MiKTeX's Package Manager." > > does it mean that mongolian support is miktex only thing? No. "mongolian-babel" is an official LaTeX package also included in TeXLive: http://tug.ctan.org/cgi-bin/ctanPackag

Re: [patch] support for Mongolian

2008-10-11 Thread José Matos
On Saturday 11 October 2008 21:24:53 Uwe Stöhr wrote: > As yesterday requested by a Mongolian user on this list, the following > patch add support for Mongolian. Using Mongolian is surprisingly easy and > its support is the same as we already do for Vietnamese, Latvian, and > Lithuanian. Neverthele

Re: [patch] support for Mongolian

2008-10-11 Thread Pavel Sanda
Uwe Stöhr wrote: > As yesterday requested by a Mongolian user on this list, the following > patch add support for Mongolian. > Using Mongolian is surprisingly easy and its support is the same as we > already do for Vietnamese, Latvian, and Lithuanian. Nevertheless, it is a > fileformat change. >

Re: [patch] support for Mongolian

2008-10-11 Thread Andre Poenitz
On Sat, Oct 11, 2008 at 10:55:24PM +0200, Pavel Sanda wrote: > Andre Poenitz wrote: > > Can you make it smell a bit like "fixing a bug"? > > i think the main argument is that its fileformat change > and can't be incorporated later in branch. And it looks pretty straight-forward, too. Well, if it

Re: questions about the UserGuide

2008-10-11 Thread Andre Poenitz
On Sat, Oct 11, 2008 at 10:48:30PM +0200, Uwe Stöhr wrote: > > ctrl+" works here 1.6rc3 in the same way as in lyx 1.3. > > I found now the problem: > The " is located on German keyboards on the "2" key, so to get Ctrl+" I > would have to press Ctrl+Shift+2, but this is already bound to another >

Re: questions about the UserGuide

2008-10-11 Thread Jan Engelhardt
On Saturday 2008-10-11 16:48, Uwe Stöhr wrote: >> ctrl+" works here 1.6rc3 in the same way as in lyx 1.3. > > I found now the problem: > The " is located on German keyboards on the "2" key, so to get Ctrl+" I would > have to press Ctrl+Shift+2, but this is already bound to another function. > > S

Re: [patch] support for Mongolian

2008-10-11 Thread Pavel Sanda
Andre Poenitz wrote: > Can you make it smell a bit like "fixing a bug"? i think the main argument is that its fileformat change and can't be incorporated later in branch. pavel

Re: questions about the UserGuide

2008-10-11 Thread Pavel Sanda
Uwe Stöhr wrote: > What should we do in such cases, change the default binding or should I > modify the German menus.bind to set up another binding only for German? to change the default binding is not the way, each language has its own limitations. eg to write some code or math equation in cze

Re: questions about the UserGuide

2008-10-11 Thread Uwe Stöhr
> ctrl+" works here 1.6rc3 in the same way as in lyx 1.3. I found now the problem: The " is located on German keyboards on the "2" key, so to get Ctrl+" I would have to press Ctrl+Shift+2, but this is already bound to another function. So the shortcuts Ctrl+" and Alt+" are nor accessible on Ge

Re: [patch] support for Mongolian

2008-10-11 Thread Uwe Stöhr
Andre Poenitz schrieb: Can you make it smell a bit like "fixing a bug"? If so, it's fine with me... Try this then ;-): Currently we support all languages that are directly supported by babel or where LaTeX-packages are available that provide babel support. Unfortunately I missed that this is

Re: [patch] support for Mongolian

2008-10-11 Thread Andre Poenitz
On Sat, Oct 11, 2008 at 10:24:53PM +0200, Uwe Stöhr wrote: > As yesterday requested by a Mongolian user on this list, the following patch > add support for Mongolian. > Using Mongolian is surprisingly easy and its support is the same as we > already do for Vietnamese, Latvian, and Lithuanian. Nev

[patch] support for Mongolian

2008-10-11 Thread Uwe Stöhr
As yesterday requested by a Mongolian user on this list, the following patch add support for Mongolian. Using Mongolian is surprisingly easy and its support is the same as we already do for Vietnamese, Latvian, and Lithuanian. Nevertheless, it is a fileformat change. OK to go in? (As always,

nonbreakdash screws up TOC

2008-10-11 Thread Jan Engelhardt
Using a nonbreakdash in a header screws up its entry in the TOC when exported to pdflatex or DVI. Export to plaintext does not produce a dash at all in the TOC. Also, the moment you remove the standard layout paragraph, the error in the other post ("Nonbreakdash in section header confuses lat

Nonbreakdash in section header confuses latex

2008-10-11 Thread Jan Engelhardt
Trying to export the following lyx file to pdflatex gives the following errors: Argument of [EMAIL PROTECTED] has an extra }. Paragraph ended before [EMAIL PROTECTED] was complete. #LyX 1.6.0rc3 created this file. For more info see http://www.lyx.org/ \lyxformat 340 \begin_document \begin_head

Breakable slash hotkey

2008-10-11 Thread Jan Engelhardt
According to the hotkeys as listed in the Insert>Special Character menu, to create the breakable slash, I am supposed to hit Ctrl-Shift-/ . But trying to attempt that actually gives the equivalent of Ctrl-? (on an US keyboard), which currently just gives me the question mark itself. Assignment

Re: [patch] Re: Assertion failed with old-style latex index insets

2008-10-11 Thread rgheck
Jürgen Spitzmüller wrote: Jan Engelhardt wrote: See below. I see. lyx2lyx produces wrong output for empty index insets, because these do not have a "name" tag. The attached patch seems to fix it for me. José, Richard, did I miss something? No, this just looks like an oversigh

[patch] Re: Assertion failed with old-style latex index insets

2008-10-11 Thread Jürgen Spitzmüller
Jan Engelhardt wrote: > See below. I see. lyx2lyx produces wrong output for empty index insets, because these do not have a "name" tag. The attached patch seems to fix it for me. José, Richard, did I miss something? Jürgen Index: lib/lyx2lyx/lyx_1_6.py =

Re: Assertion failed with old-style latex index insets

2008-10-11 Thread Jan Engelhardt
On Saturday 2008-10-11 04:54, Jürgen Spitzmüller wrote: >Jan Engelhardt wrote: >> The test file is at http://pastebin.ca/raw/1225000 > >The test case is not accessible ATM. Meh. See below. To reproduce: open LyX 1.5.3, create an Index element (Alt-i, d), leave it empty. Then open with LyX 1.6.0

Re: 3 bugs with InsetInfo

2008-10-11 Thread Bo Peng
On Sat, Oct 11, 2008 at 8:09 AM, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > While updating the shortcuts in the Userguide, I decided to switch to > InsetInfo, but found the following 3 bugs: > http://bugzilla.lyx.org/show_bug.cgi?id=5339 > http://bugzilla.lyx.org/show_bug.cgi?id=5341 > http://bugzilla.

Re: questions about the UserGuide

2008-10-11 Thread Pavel Sanda
Uwe Stöhr wrote: > The UserGuide states: > > - "You cannot get the typewriter double quotes by typing " since that will > insert real quotes. You get the typewriter double quotes with Ctrl-" (or > Ctrl-q if you use Emacs-like key bindings)." > > But I cannot find any longer a method to inset type

3 bugs with InsetInfo

2008-10-11 Thread Uwe Stöhr
While updating the shortcuts in the Userguide, I decided to switch to InsetInfo, but found the following 3 bugs: http://bugzilla.lyx.org/show_bug.cgi?id=5339 http://bugzilla.lyx.org/show_bug.cgi?id=5341 http://bugzilla.lyx.org/show_bug.cgi?id=5342 regards Uwe

questions about the UserGuide

2008-10-11 Thread Uwe Stöhr
The UserGuide states: - "You cannot get the typewriter double quotes by typing " since that will insert real quotes. You get the typewriter double quotes with Ctrl-" (or Ctrl-q if you use Emacs-like key bindings)." But I cannot find any longer a method to inset typewriter quotes as described.

Re: to add a line

2008-10-11 Thread Uwe Stöhr
> I'm a mongolian lyx user. And I wish to add just line: > > mongolian mongolian"Mongolian"false utf8 mn_MN "" > > in to the languages file. Thanks. I can do this. I tried some months ago to build in support for Mongolian to LyX, but couldn't find out what LaTeX settings a

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-11 Thread Uwe Stöhr
Andre Poenitz schrieb: I tend to send them in a second mail marked by "Urmph" or similar. I got it now, it is OK by me. But besides this, I'm very happy that someone started to work on tex2lyx's Unicode support. As I wrote some times ago to the list, tex2lyx cannot be developed for further

Re: [patch] make tex2lyx utf8 encoding in some cases

2008-10-11 Thread Andre Poenitz
On Fri, Oct 10, 2008 at 09:29:37PM +0200, Andre Poenitz wrote: > > The attached patch makes tex2lyx convert the following correct to .lyx > format: > > --- snip --- > \documentclass{article} > \usepackage{inputenc} > \inputencoding{utf8} > \begin{docume

Re: Assertion failed with old-style latex index insets

2008-10-11 Thread Jürgen Spitzmüller
Jan Engelhardt wrote: > The test file is at http://pastebin.ca/raw/1225000 Could you reduce your file to a minimal test case the shows the behaviour and send it to the list? The test case is not accessible ATM. Jürgen