Re: [patch] default view format

2009-04-22 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > So as a preamble, is there a reason why getOUtputFormat, instead of > looking > at various hardcoded variables, could not be written like the following? > > string Buffer::getDefaultOutputFormat() const > { > string format = lyxrc.default_view_format; > if (!params()

Re: [patch] default view format

2009-04-22 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > My goal is to implement the new tag OutputFormat in layout files, that > would complement OutputType. However I'd like to do it right. Good plan. > Similarly, the j*.layout classes could declare OutputFormat "platex", > but then there is the issue of the hardocded j

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Jürgen Spitzmüller
Pavel Sanda wrote: >> It's in the LyX/Cygwin package here: >> ftp://ftp.lyx.org/pub/lyx/bin/1.6.2/lyx-1.6.2-cygwin.tar.gz > > i see. imho worth to add such file somewere into development/. Why not in the manuals? >> I think that a button "Use src-specials" coud be added to >> Preferences->Outpu

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Guenter Milde
On 2009-04-22, Pavel Sanda wrote: > Enrico Forestieri wrote: >> > i just asked if we can have (easily) something like View->DVI >> > (reverse) in our output formats, which will work in normal lyx >> > install, without any additional tweaks so xdvi works... >> I think that a button "Use src-specia

Re: [patch] default view format

2009-04-22 Thread Guenter Milde
On 2009-04-22, Jean-Marc Lasgouttes wrote: > My goal is to implement the new tag OutputFormat in layout files, that > would complement OutputType. However I'd like to do it right. Another useful case is the setting in a module. Instead of n >= 3 "*-literate" layouts we could have a "literate" or

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Pavel Sanda
Enrico Forestieri wrote: > So, the bug is about "inverse DVI search", which is now implemented (and > thus the bug should be either closed or renamed), but the last comments > are about the "forward DVI search" feature. i renamed the bug pavel

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Pavel Sanda
Enrico Forestieri wrote: > > > > you even don't use any > > > > special converter preferences or scripts for yap? > > > > > > Only a wrapper is necessary. I attach here an excerpt of the README > > > file in the LyX/Cygwin package, explaining everything. > > > > where is this file located? i just

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Enrico Forestieri
On Thu, Apr 23, 2009 at 12:40:15AM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > > > > is this version patched somehow? > > > > > > > > No, it works OOTB on cygwin. > > > > > > hmmm i recently studied this bug: > > > http://www.lyx.org/trac/ticket/94 > > > and thought this is not poss

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Enrico Forestieri
On Wed, Apr 22, 2009 at 11:33:18PM +0200, Pavel Sanda wrote: > hmmm i recently studied this bug: > http://www.lyx.org/trac/ticket/94 > and thought this is not possible OOTB. Now that I read bug 94, I think that there's some confusion there. Inverse DVI search is already implemented in LyX. What i

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Pavel Sanda
Enrico Forestieri wrote: > > > > is this version patched somehow? > > > > > > No, it works OOTB on cygwin. > > > > hmmm i recently studied this bug: > > http://www.lyx.org/trac/ticket/94 > > and thought this is not possible OOTB. > > I think this has always been possible OOTB with xdvi, provided

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Enrico Forestieri
On Wed, Apr 22, 2009 at 11:33:18PM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > On Wed, Apr 22, 2009 at 06:08:12PM +0200, Pavel Sanda wrote: > > > > > Enrico Forestieri wrote: > > > > On Tue, Apr 21, 2009 at 07:27:46PM -0700, sykes wrote: > > > > > > > > > I'm running LyX 1.6.2 on Wi

Re: r29346 - lyx-devel/trunk/src/tex2lyx

2009-04-22 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Do you have problems with importing the following file (an accent in a comment) Yes, absolutely: tex2lyx vanishes the character and everything behind it, see the attached result. regards Uwe utfcomment.lyx Description: application/lyx

Another Trac problem

2009-04-22 Thread Uwe Stöhr
Hi Lars, when I mark a bug as duplicate, I cannot enter the bug number of the initial bug and therefore in the initial bug the bug reported of the duplicated bug are not CCed. This is problematic and a regression to bugzilla. I for example set bug 5903 as duplicate of 5908, but none of both bugs

Re: [patch] default view format

2009-04-22 Thread Jean-Marc Lasgouttes
Le 22 avr. 09 à 23:11, Jean-Marc Lasgouttes a écrit : Maybe, maybe not. I began to look at the "special" formats and I am wondering from where to start. My goal is to implement the new tag OutputFormat in layout files, that would complement OutputType. However I'd like to do it right. When O

Re: r29369 - lyx-devel/branches/BRANCH_1_6_X/lib/doc

2009-04-22 Thread Pavel Sanda
Vincent van Ravesteijn wrote: >> --- lyx-devel/branches/BRANCH_1_6_X/lib/doc/Extended.lyx Wed Apr 22 >> 19:15:57 2009(r29368) >> +++ lyx-devel/branches/BRANCH_1_6_X/lib/doc/Extended.lyx Wed Apr 22 >> 19:18:28 2009(r29369) >> @@ -1,4 +1,4 @@ >> -#LyX 1.6.2svn created this f

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Pavel Sanda
Enrico Forestieri wrote: > On Wed, Apr 22, 2009 at 06:08:12PM +0200, Pavel Sanda wrote: > > > Enrico Forestieri wrote: > > > On Tue, Apr 21, 2009 at 07:27:46PM -0700, sykes wrote: > > > > > > > I'm running LyX 1.6.2 on Windows XP. I would like to perform inverse > > > > searches from Yap back to

Re: Inset::editable and inset-settings

2009-04-22 Thread Vincent van Ravesteijn
Jean-Marc Lasgouttes schreef: Le 18 avr. 09 à 19:48, Vincent van Ravesteijn a écrit : Is the attached ok ? It removes the EDITABLE enum, and makes the editable() function return a bool. A lot of editable() functions were not necessary anymore when they have a hasSettings() functions. I pl

Re: LyX installer: MiKTeX download fails

2009-04-22 Thread Uwe Stöhr
> Maybe the source in SVN still contains basic-miktex.2.7.2960.exe, but when I build the installers > I always include the latest version. But the problem is real and probably Vincent is right: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150268.html Can you please have a look? (I btw

Re: Inset::editable and inset-settings

2009-04-22 Thread Jean-Marc Lasgouttes
Le 18 avr. 09 à 19:48, Vincent van Ravesteijn a écrit : Is the attached ok ? It removes the EDITABLE enum, and makes the editable() function return a bool. A lot of editable() functions were not necessary anymore when they have a hasSettings() functions. I planned to answer at some point

Re: r29346 - lyx-devel/trunk/src/tex2lyx

2009-04-22 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: The first error disappears when I delete the character "é" of the name "André" in line 681 of syntax.default. Then tex2lyx again parses formulas correctly. If you keep the é, does the attached patch help? No. regards Uwe

Re: [patch] default view format

2009-04-22 Thread Jean-Marc Lasgouttes
Le 10 avr. 09 à 18:34, Jürgen Spitzmüller a écrit : Jean-Marc Lasgouttes wrote: And a couple of different packages for specific tasks (font handling, language support, color handling etc.). Of course it's not as far apart as context, which is a different macro language to tex, but still it's s

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Enrico Forestieri
On Wed, Apr 22, 2009 at 06:08:12PM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > On Tue, Apr 21, 2009 at 07:27:46PM -0700, sykes wrote: > > > > > I'm running LyX 1.6.2 on Windows XP. I would like to perform inverse > > > searches from Yap back to the actual line in LyX. Is this possi

Re: How does the Navigate Back feature work?

2009-04-22 Thread Uwe Stöhr
> if you mean to set bookmark 0 whenever you go somewhere through outliner, then > this is doable though i must admit i don't like it. Yes, that's what I meant. What do other think about this? regards Uwe

Re: r29369 - lyx-devel/branches/BRANCH_1_6_X/lib/doc

2009-04-22 Thread Vincent van Ravesteijn
sa...@lyx.org schreef: Author: sanda Date: Wed Apr 22 19:18:28 2009 New Revision: 29369 URL: http://www.lyx.org/trac/changeset/29369 Log: Backport Modified: lyx-devel/branches/BRANCH_1_6_X/lib/doc/Extended.lyx Modified: lyx-devel/branches/BRANCH_1_6_X/lib/doc/Extended.lyx ==

Re: Note: www.lyx.org/~ no longer accessible

2009-04-22 Thread Christian Ridderström
On Tue, 21 Apr 2009, Pavel Sanda wrote: Stephan Witt wrote: PS. I'm not sure about the images from Berlin, so I disabled 'rx' for others for that directory, so it's currently not world readable. Hi Christian, if the only thing you need is an OK from me... Here you are. You can publish them i

Re: r29367 - lyx-devel/trunk/lib/ui

2009-04-22 Thread Jürgen Spitzmüller
Pavel Sanda wrote: >> Not really. I'd say it depends on how often the item would make sense. >> Thinking twice, I think Item is fine, since this item is almost always >> active, right? > > first editation makes it enabled for the whole lyx run. OK then. Jürgen

Re: r29367 - lyx-devel/trunk/lib/ui

2009-04-22 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Pavel Sanda wrote: > > > do we have some rule when to use item/optitem? > > Not really. I'd say it depends on how often the item would make sense. > Thinking twice, I think Item is fine, since this item is almost always > active, right? first editation makes it enab

Re: r29367 - lyx-devel/trunk/lib/ui

2009-04-22 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > do we have some rule when to use item/optitem? Not really. I'd say it depends on how often the item would make sense. Thinking twice, I think Item is fine, since this item is almost always active, right? Jürgen

Re: r29367 - lyx-devel/trunk/lib/ui

2009-04-22 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Pavel Sanda wrote: > >> + Item "Navigate Back|B" "bookmark-goto 0" > >> Bookmarks > >> End > >> > > > > Juergen? > > Should this be an OptItem? do we have some rule when to use item/optitem? pavel

Re: r29367 - lyx-devel/trunk/lib/ui

2009-04-22 Thread Jürgen Spitzmüller
Pavel Sanda wrote: >> + Item "Navigate Back|B" "bookmark-goto 0" >> Bookmarks >> End >> > > Juergen? Should this be an OptItem? Jürgen

Re: r29367 - lyx-devel/trunk/lib/ui

2009-04-22 Thread Pavel Sanda
sa...@lyx.org wrote: > Author: sanda > Date: Wed Apr 22 19:09:37 2009 > New Revision: 29367 > URL: http://www.lyx.org/trac/changeset/29367 > > Log: > Add "navigate back" into the menu too > > Modified: >lyx-devel/trunk/lib/ui/stdmenus.inc > > Modified: lyx-devel/trunk/lib/ui/stdmenus.inc > =

Re: How does the Navigate Back feature work?

2009-04-22 Thread Pavel Sanda
Uwe Stöhr wrote: > >> I open for example the Tutorial manual. Via the menu Navigate I go to > >> chapter 2 and then to chapter 3. I expect that I can now go back to > chapter > >> 2 by pressing the Navigate Back button, > > > no, the intention was to go the place of last editation in case you have

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Pavel Sanda
Enrico Forestieri wrote: > On Tue, Apr 21, 2009 at 07:27:46PM -0700, sykes wrote: > > > I'm running LyX 1.6.2 on Windows XP. I would like to perform inverse > > searches from Yap back to the actual line in LyX. Is this possible? > > This is possible only with the cygwin version of LyX. is t

Re: LyX 1.6.2 -- svn on Windows

2009-04-22 Thread Paul A. Rubin
sykes wrote: hi, I'm running LyX 1.6.2 on Windows XP. I use the Tortoise SVN client for subversion. I'm getting an error when I try to commit from within LyX: "Some problem occured while running the command: 'svn commit -m " ... " I'm assuming I need a command line client for svn to exec

Re: r29346 - lyx-devel/trunk/src/tex2lyx

2009-04-22 Thread Jean-Marc Lasgouttes
Uwe Stöhr writes: > The first error disappears when I delete the character "é" of the name > "André" in line 681 of syntax.default. Then tex2lyx again parses > formulas correctly. If you keep the é, does the attached patch help? > But then I still get the second error message: > > Overwriting ex

Re: r29366 - lyx-devel/trunk/src/insets

2009-04-22 Thread Jürgen Spitzmüller
uwestoehr wrote: > OK for branch too? OK. Jürgen

Re: LyX 1.6.2 -- does it provide inverse search via Yap ?

2009-04-22 Thread Enrico Forestieri
On Tue, Apr 21, 2009 at 07:27:46PM -0700, sykes wrote: > I'm running LyX 1.6.2 on Windows XP. I would like to perform inverse > searches from Yap back to the actual line in LyX. Is this possible? This is possible only with the cygwin version of LyX. -- Enrico

RE: spellcheck typos

2009-04-22 Thread Edwin Leuven
pavel wrote: > for the time being i have commited your patch. thanks