[patch] LFUN_WORD_REPLACE does not clear selection

2012-03-01 Thread Scott Kostyshak
The bug this patch fixes can be reproduced as follows:
1. enable continuous spell check.
2. type a misspelled word and press space so that it has a wavy red underline.
3. right-click and choose a suggested replacement word.
4. press the backspace button.

Result: nothing happens. If you press the backspace button again, then it works 
as normal. The problem occurs after step 3. cur.selection() is TRUE at this 
point so when backspace is pressed LyX tries to delete whatever is selected, 
which is nothing. You can see that cur.selection() is true by the activation of 
the scissors button after step 3.

Is this the right fix? This fixes the bug that I just reported, but I'm worried 
that it would have unintended consequences for other functions that use 
LFUN_WORD_REPLACE.

Could someone please check this?

Thank you,

Scott
Index: BufferView.cpp
===
--- BufferView.cpp	(revision 40821)
+++ BufferView.cpp	(working copy)
@@ -1568,6 +1568,7 @@
 		if (lyxreplace(this, cmd, has_deleted)) {
 			dr.forceBufferUpdate();
 			dr.screenUpdate(Update::Force | Update::FitCursor);
+			cur.clearSelection();
 		}
 		break;
 	}


RE: [patch] fix document settings branches GUI behavior

2012-03-01 Thread Scott Kostyshak
From: Scott Kostyshak
Sent: Tuesday, February 21, 2012 4:49 PM

I'm getting closer. I realize that I need to connect the signal returnPressed 
from newBranchLE to on_addBranchPB_pressed. I did this, and it seems to have 
partially done what I want, but when I enter text into the LE and press 
return the dialog goes away. The branch is correctly entered (which can be 
seen by going back to document settings  branches). What did I do wrong? Why 
is it closing? Is updateView() doing that?

The new patch is attached.

I still can't figure this out. Can anyone help?

Thanks,

Scott


RE: Patch for lyx.org PayPal donate call

2012-03-01 Thread Scott Kostyshak
From: lyx-devel@lists.lyx.org [lyx-devel@lists.lyx.org] on behalf of Richard 
Heck [rgh...@comcast.net]
Sent: Monday, January 16, 2012 11:45 AM

On 01/16/2012 11:14 AM, Jean-Marc Lasgouttes wrote:
 Le 16/01/2012 16:45, Richard Heck a écrit :
 So can you explain what this line would do? What is the lc field this is
 setting?

 I'll have to figure out how to make this sensitive to the language of
 the webpage.

 I added a line to set lc (language code) to GB for now (in
 farm/cookbook/LyX/paypal.php)

 To make it sensitive to the language of the document, we have to find
 out how to pass paramteres to pmwiki templates. It may be trivial, I
 just do not know.

I'll cc Christian. He presumably will know.

The English version has been working fine, but all of the other languages are 
still directed to an English Paypal page. The other country codes are listed 
here:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-contentcontent_ID=developer/e_howto_api_nvp_country_codes
However, it looks like it's not straightforward to make the link sensitive to 
the language of the webpage?

Scott

forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Scott Kostyshak
tex.stackexchange seems to be gaining popularity. I was surprised by the number 
of posts with a lyx tag. There were three just from yesterday. There don't seem 
to be any developers that are active on tex.stackexchange and there are few 
users of LyX that answer questions there.

Would it be desirable to have questions posted there forwarded to the lyx-users 
list? I suppose one would still have to go to tex.stackexchange.com to answer 
the question, but at least this would centralize questions about LyX.

My guess is that this is not a good idea, but I wanted confirmation of that.

List of lyx-tagged questions:
http://tex.stackexchange.com/questions/tagged/lyx

RSS feed of newest lyx-tagged questions
http://tex.stackexchange.com/feeds/tag?tagnames=lyxsort=newest

Thanks,

Scott


Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Pavel Sanda
Scott Kostyshak wrote:
 tex.stackexchange seems to be gaining popularity. I was surprised by the 
 number of posts with a lyx tag. There were three just from yesterday. There 
 don't seem to be any developers that are active on tex.stackexchange and 
 there are few users of LyX that answer questions there.
 
 Would it be desirable to have questions posted there forwarded to the 
 lyx-users list? I suppose one would still have to go to tex.stackexchange.com 
 to answer the question, but at least this would centralize questions about 
 LyX.
 
 My guess is that this is not a good idea, but I wanted confirmation of that.

If one has to go to tex.stackexchange.com to answer it, then I think its not 
good idea as well.

Pavel


Re: LyX 2.0.3 Binaries?

2012-03-01 Thread Vincent van Ravesteijn

Op 1-3-2012 1:00, Uwe Stöhr schreef:

Am 29.02.2012 18:57, schrieb Richard Heck:


(I now released a new installer version:
https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.3/ 
)


I'll download it. The plan is to announce the release once the new 
server is known to be stable.


Can you please delete the old installer from
ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/

Currently it is a bit confusing.

thanks and regards
Uwe


Richard, could you also indicate that the installer is still not the 
'official' one ? I'm trying to build the official one right now.


Vincent


Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Richard Heck

On 02/29/2012 10:45 PM, Jack Tanner wrote:

Niklas BurtscheidNiklas.Burtscheidat  gmx.de  writes:


There should be an option in the general preferences to show the statistics (number 
of characters  number of words) permanently in the status-bar (at the right 
side of it).

Recent versions of Word do exactly this, and it's pretty handy. Implementing
this would allow LyX to lose the Tools-Statistics menu entry and corresponding 
dialog, so that's a usability win in my book. I'm not a developer, but I'd suggest 
filing an RFE.

If someone wants to implement this, and have it off by default, I 
suppose they can do so, but I can't see the point of it. Do you really 
need to know, as you type each character, how many characters there are?


Richard



Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Richard Heck

On 03/01/2012 06:58 AM, Pavel Sanda wrote:

Scott Kostyshak wrote:

tex.stackexchange seems to be gaining popularity. I was surprised by the number 
of posts with a lyx tag. There were three just from yesterday. There don't seem 
to be any developers that are active on tex.stackexchange and there are few 
users of LyX that answer questions there.

Would it be desirable to have questions posted there forwarded to the lyx-users 
list? I suppose one would still have to go to tex.stackexchange.com to answer 
the question, but at least this would centralize questions about LyX.

My guess is that this is not a good idea, but I wanted confirmation of that.

If one has to go to tex.stackexchange.com to answer it, then I think its not 
good idea as well.


It seems like the wrong place to post questions about LyX

Richard



Unable to Modify Download Page on LyX.org

2012-03-01 Thread Richard Heck


When I attempt to login on this page, I enter what used to be the 
password (I think...it's saved in Firefox, and I checked the passwords 
file on the server), and it just sends me back to the page, not logged 
in and so unable to modify it.


Richard



Re: Unable to Modify Download Page on LyX.org

2012-03-01 Thread Pavel Sanda
Richard Heck wrote:

 When I attempt to login on this page, I enter what used to be the password 
 (I think...it's saved in Firefox, and I checked the passwords file on the 
 server), and it just sends me back to the page, not logged in and so unable 
 to modify it.

Thats under the PHP issues reported by Lars I guess. From what I heard Christian
is working on this issue?

Pavel


Trunk: No Reconfigure menu item on Mac

2012-03-01 Thread BH
In current trunk, there is no reconfigure menu item on Mac. Recall
that on Mac this is one of those items we have moved to the LyX menu;
for some reason it's just not showing up.

Let me know if I should submit a bug report.

BH


Re: [patch] LFUN_WORD_REPLACE does not clear selection

2012-03-01 Thread Jean-Marc Lasgouttes

Le 01/03/2012 10:33, Scott Kostyshak a écrit :

Is this the right fix? This fixes the bug that I just reported, but I'm
worried that it would have unintended consequences for other functions
that use LFUN_WORD_REPLACE.


I would try to fix the actual place that modifies cursor, which is 
probably in findOne (lyxfind.cpp).


JMarc


lyx @ Sourceforge

2012-03-01 Thread Vincent van Ravesteijn

Can someone please add me to the lyx project at sourceforge ?

UserID: vincentr26

Vincent

**



Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Jack Tanner
Scott Kostyshak skostysh at Princeton.EDU writes:

 Would it be desirable to have questions posted there forwarded 
 to the lyx-users list? 

I like (and occasionally use) tex.stackexchange.com. I don't see the point in
forwarding questions. But it is a really nice QA site. In some ways the format
is much more appropriate than a mailing list and then web forum software both
for getting users answers to their questions and for creating good content that
search engines can find to help people with the same question in the future.

Some ideas: 

- link to tex.stackexchange.com from lyx.org/MailingLists

- mention tex.stackexchange.com on lyx-users




Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Jack Tanner
Richard Heck rgheck at comcast.net writes:

 
 If someone wants to implement this, and have it off by default, I 
 suppose they can do so, but I can't see the point of it. Do you really 
 need to know, as you type each character, how many characters there are?

I never understood the need for the number of characters count in any case,
including under Tools-Statistics.

But an auto-updating number of words (say, when idle, every 5 seconds) is really
handy.



Re: Server back up again

2012-03-01 Thread Georg Baum
Lars Gullik Bjønnes wrote:

 The switch went almost without problems and everything should now be
 up again.

And the new server feels much quicker. Thanks!


Georg



Re: r40785 - in lyx-devel/trunk/src: . tex2lyx

2012-03-01 Thread Georg Baum
Uwe Stöhr wrote:

 Am 28.02.2012 22:11, schrieb Georg Baum:
 
 Your test code in test-structure.tex fails already. LyX complains like
 this:

 Paragraph ended in line 1032
 Missing \end_layout.
 
 Strange that I don't get this. All my examples are exported as expected.
 Looking in the LyX-code I can also don't see a problem, but I'll have a
 closer look the next days.

Look in the console output. The generated file is invalid, but LyX tries to 
read it nevertheless, and succeeds, because it guesses right where the 
paragraph ends.

 The reason for this is probably that you did not follow Jean-Marcs advice
 to use the context machinery.
 
 I tried this but failed. It doesn't seem to work in this case but I'm not
 an expert in this.

If you can tell me what exactly fails I can have a look, but I want to avoid 
doing duplicate work.


Georg



Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Liviu Andronic
On Thu, Mar 1, 2012 at 8:05 PM, Jack Tanner i...@hotmail.com wrote:
 Richard Heck rgheck at comcast.net writes:


 If someone wants to implement this, and have it off by default, I
 suppose they can do so, but I can't see the point of it. Do you really
 need to know, as you type each character, how many characters there are?

 I never understood the need for the number of characters count in any case,
 including under Tools-Statistics.

Some ask for 500 words, others require 2000 characters.

Liviu


 But an auto-updating number of words (say, when idle, every 5 seconds) is 
 really
 handy.




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Windows Installer could use work: must set miktex packages on fly to NO, or else LyX won't run

2012-03-01 Thread Vincent van Ravesteijn



I still don't understand why we can't have Miktex to ask to install a
package when needed ? At least we can ask the user if he wants to install
all possible packages and wait half an hour. So many people are put off by
having to wait so long the first time they try LyX.


Dear Vincent:

I think you are missing the point that in MikTeX it is a KNOWN bug
that the ASK option is broken and it fails to make the menu pop up and
ask the user about the packages.


I didn't know that. It works perfectly for me.

But what I basically meant is that we, the LyX installer, could ask the user 
whether we check for all packages being installed and install them if needed.

Vincent


Lyx.org still downloading 2.0.2 for OS X

2012-03-01 Thread Jerry
MacUpdate.com today mentions LyX 2.0.3 for OS X but Lyx.org downloads are still 
linked to 2.0.2. Downloading from MacUpdate does result in a 2.0.3 .dmg.
Jerry

Re: lyx @ Sourceforge

2012-03-01 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 Can someone please add me to the lyx project at sourceforge ?

 UserID: vincentr26

Better now? P



Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Jack Tanner
Liviu Andronic landronimirc at gmail.com writes:

 
 Some ask for 500 words, others require 2000 characters.

Do you know of situations where one needs both the word count and the character
count?



Re: 2.0.3: paste, update pdf

2012-03-01 Thread Uwe Stöhr

Am 01.03.2012 01:01, schrieb Uwe Stöhr:

Am 29.02.2012 21:08, schrieb Eran Kaplinsky:

Using the windows binaries from ftp:

1. Edit-paste behaviour has changed.
2. I can't update an open pdflatex: can't write error.


I cannot reproduce this on my test machines. Have you installed LyX 2.0.2 and 
2.0.3 parallel? If so,
could you try to

1. uninstall all versions of LyX 2.0.x _completely_
2. reinstall LyX 2.0.3 using the new installer:
ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/LyX-2.0.3-2-Installer.exe


Maybe you need afterwards uninstall LyX again and reinstall it. (My first installer had a bug in the 
uninstall section so that you need to uninstall LyX that is installed in my -2 installer to get a 
clean user settings folder.)


regards Uwe



git.lyx.org - developers! your ssh public key please

2012-03-01 Thread Lars Gullik Bjønnes
I have begun to setup and do the lyx conversion proper.
Expect things to happen fairly quick now.

However I do not want to do this _too_ fast.

http://git.lyx.org/

I am not going to setup anonymous cloning right now, but I want
developers to send me their public ssh keys.
(If you do not already have write access to the svn repo, don't bother
sending me a public key either. Be sure to send as attachment.)

After I get your public key and add it you will get
access to clone, push and pull to the testing repo.
Play all you like with that.

In the meantime I will fixup the git repo I have of lyx, and
we should be able to make the switch over failr quick.
We need to make the proper track setup first though.

-- 
        Lgb


Bug? Errors when using graphics with syntax.sty

2012-03-01 Thread Rav Chandra
Hello all, firstly thanks for the great work on LyX. It is a superb
piece of software.

However, I've encountered a problem when using graphics (i.e. images)
in-conjunction with the grammar environment of the syntax.sty package.
Specifically, if I include both an image and a grammar environment
then the document will fail to compile with Undefined control
sequence errors. What is extremely curious, however, is that if your
export the same file fro LyX to LaTeX (pdflatex) you will then have a
.tex file which compiles perfectly, without error!

Unfortunately, I am not familiar enough with LyX to understand how to
investigate this further. However, if useful, I can certainly follow
instructions to diagnose/debug if pointed in the right direction.

Reproducibility:
- have tested using LyX 2.0.2 on Linux (Ubuntu 10.04), OS X 10.7, and
Windows Vista
- have tested using LyX 2.0.3 on Linux (Ubuntu 10.04)

Steps:
- make an empty document, insert 1 image
- add \usepackage{syntax} to document preamble
- insert lyx code:

\begin{grammar}
hello ::= WORLD
\end{grammar}

- view as pdflatex will produce error
- export as .tex and then run command $ pdflatex file.tex will NOT have error

Kind regards
Rav


changes to trac config - multiplerepos

2012-03-01 Thread Lars Gullik Bjønnes
I have made some changes to the trac config so that
we can use multiple repos.

This required a resync of the lyx svn repository, and can
see no problems, but be sure to notify me if you see problems.

-- 
        Lgb


Re: MIT request permission to use 3 LyX icons.

2012-03-01 Thread Richard Heck

On 03/01/2012 04:04 PM, Lars Gullik Bjønnes wrote:

We are being asked to allow MIT to use three icons from LyX in some
course documentation. Related to how to use LyX.

Do anyone have any objections? If you I'll respond in the affirmative.

No objection here.

Richard

MIT PhD 1991



Re: Lyx.org still downloading 2.0.2 for OS X

2012-03-01 Thread Richard Heck

On 03/01/2012 04:35 PM, Jerry wrote:

MacUpdate.com today mentions LyX 2.0.3 for OS X but Lyx.org downloads are still 
linked to 2.0.2. Downloading from MacUpdate does result in a 2.0.3 .dmg.

We're having some issues with the web server.

Richard



Re: git.lyx.org - developers! your ssh public key please

2012-03-01 Thread Xu Wang
Excellent! How does this work for non-developers? For example, I would like
to be able to do something and then do a pull-request. I think at this
point I can only fix typos and maybe a small error, but my work would need
to be verified.

Thank you for this, Xu

On Thu, Mar 1, 2012 at 8:07 PM, Lars Gullik Bjønnes lar...@gullik.orgwrote:

 I have begun to setup and do the lyx conversion proper.
 Expect things to happen fairly quick now.

 However I do not want to do this _too_ fast.

 http://git.lyx.org/

 I am not going to setup anonymous cloning right now, but I want
 developers to send me their public ssh keys.
 (If you do not already have write access to the svn repo, don't bother
 sending me a public key either. Be sure to send as attachment.)

 After I get your public key and add it you will get
 access to clone, push and pull to the testing repo.
 Play all you like with that.

 In the meantime I will fixup the git repo I have of lyx, and
 we should be able to make the switch over failr quick.
 We need to make the proper track setup first though.

 --
 Lgb



Re: Windows Installer could use work: must set miktex packages on fly to NO, or else LyX won't run

2012-03-01 Thread Paul Johnson
On Thu, Mar 1, 2012 at 3:06 PM, Vincent van Ravesteijn v...@lyx.org wrote:

 I think you are missing the point that in MikTeX it is a KNOWN bug
 that the ASK option is broken and it fails to make the menu pop up and
 ask the user about the packages.


 I didn't know that. It works perfectly for me.

Well it depends on which version of MikTeX, which version of Windows,
etc. And whether  you are logged in as an ordinary user.

Just read the MikTeX page on it:

http://miktex.org/2.8/issues

I believe the problem I'm seeing is the same described there for
TeXnicCenter This happens when a missing package needs to be
installed and the pop-up window cannot be displayed.

I've not seen the pop up permission request since the middle years of
WinXP.  Do you see it when LyX needs a package?

And also the problem that motivated somebody to put this message into
the LyXWinTips page:

http://wiki.lyx.org/Windows/LyXWinTips#toc10


 Vincent



-- 
Paul E. Johnson
Professor, Political Science    Assoc. Director
1541 Lilac Lane, Room 504     Center for Research Methods
University of Kansas               University of Kansas
http://pj.freefaculty.org            http://quant.ku.edu


Re: git.lyx.org - developers! your ssh public key please

2012-03-01 Thread Yihui Xie
I was actually wondering why not move to GitHub directly since
everything is ready there and it saves a huge amount of server admin
efforts... Maybe I missed some conversations earlier, but IMHO GitHub
makes collaborations way way easier.

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Fri, Mar 2, 2012 at 12:09 AM, Xu Wang xuwang...@gmail.com wrote:
 Excellent! How does this work for non-developers? For example, I would like
 to be able to do something and then do a pull-request. I think at this point
 I can only fix typos and maybe a small error, but my work would need to be
 verified.

 Thank you for this, Xu

 On Thu, Mar 1, 2012 at 8:07 PM, Lars Gullik Bjønnes lar...@gullik.org
 wrote:

 I have begun to setup and do the lyx conversion proper.
 Expect things to happen fairly quick now.

 However I do not want to do this _too_ fast.

 http://git.lyx.org/

 I am not going to setup anonymous cloning right now, but I want
 developers to send me their public ssh keys.
 (If you do not already have write access to the svn repo, don't bother
 sending me a public key either. Be sure to send as attachment.)

 After I get your public key and add it you will get
 access to clone, push and pull to the testing repo.
 Play all you like with that.

 In the meantime I will fixup the git repo I have of lyx, and
 we should be able to make the switch over failr quick.
 We need to make the proper track setup first though.

 --
         Lgb




Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Guenter Milde
On 2012-03-01, Jack Tanner wrote:
 Scott Kostyshak skostysh at Princeton.EDU writes:

 Would it be desirable to have questions posted there forwarded 
 to the lyx-users list? 

 I like (and occasionally use) tex.stackexchange.com. I don't see the
 point in forwarding questions. But it is a really nice QA site. In
 some ways the format is much more appropriate than a mailing list and
 then web forum software both for getting users answers to their
 questions and for creating good content that search engines can find to
 help people with the same question in the future.

 Some ideas: 

 - link to tex.stackexchange.com from lyx.org/MailingLists

 - mention tex.stackexchange.com on lyx-users

However, this is against the idea of having a centralized repo of LyX QA.

I'd rather make sure all answers on tex.stackexchange have a link to the LyX
mail list and the wiki.

Günter



[patch] LFUN_WORD_REPLACE does not clear selection

2012-03-01 Thread Scott Kostyshak
The bug this patch fixes can be reproduced as follows:
1. enable continuous spell check.
2. type a misspelled word and press space so that it has a wavy red underline.
3. right-click and choose a suggested replacement word.
4. press the backspace button.

Result: nothing happens. If you press the backspace button again, then it works 
as normal. The problem occurs after step 3. cur.selection() is TRUE at this 
point so when backspace is pressed LyX tries to delete whatever is selected, 
which is nothing. You can see that cur.selection() is true by the activation of 
the scissors button after step 3.

Is this the right fix? This fixes the bug that I just reported, but I'm worried 
that it would have unintended consequences for other functions that use 
LFUN_WORD_REPLACE.

Could someone please check this?

Thank you,

Scott
Index: BufferView.cpp
===
--- BufferView.cpp	(revision 40821)
+++ BufferView.cpp	(working copy)
@@ -1568,6 +1568,7 @@
 		if (lyxreplace(this, cmd, has_deleted)) {
 			dr.forceBufferUpdate();
 			dr.screenUpdate(Update::Force | Update::FitCursor);
+			cur.clearSelection();
 		}
 		break;
 	}


RE: [patch] fix document settings > branches GUI behavior

2012-03-01 Thread Scott Kostyshak
From: Scott Kostyshak
Sent: Tuesday, February 21, 2012 4:49 PM

>I'm getting closer. I realize that I need to connect the signal returnPressed 
>from newBranchLE to >on_addBranchPB_pressed. I did this, and it seems to have 
>partially done what I want, but when I enter text into the >LE and press 
>return the dialog goes away. The branch is correctly entered (which can be 
>seen by going back to >document settings > branches). What did I do wrong? Why 
>is it closing? Is updateView() doing that?

>The new patch is attached.

I still can't figure this out. Can anyone help?

Thanks,

Scott


RE: Patch for lyx.org PayPal donate call

2012-03-01 Thread Scott Kostyshak
From: lyx-devel@lists.lyx.org [lyx-devel@lists.lyx.org] on behalf of Richard 
Heck [rgh...@comcast.net]
Sent: Monday, January 16, 2012 11:45 AM

>On 01/16/2012 11:14 AM, Jean-Marc Lasgouttes wrote:
>> Le 16/01/2012 16:45, Richard Heck a écrit :
>>> So can you explain what this line would do? What is the lc field this is
>>> setting?
>>>
>>> I'll have to figure out how to make this sensitive to the language of
>>> the webpage.

>> I added a line to set lc (language code) to GB for now (in
>> farm/cookbook/LyX/paypal.php)
>
>> To make it sensitive to the language of the document, we have to find
>> out how to pass paramteres to pmwiki templates. It may be trivial, I
>> just do not know.

>I'll cc Christian. He presumably will know.

The English version has been working fine, but all of the other languages are 
still directed to an English Paypal page. The other country codes are listed 
here:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content_ID=developer/e_howto_api_nvp_country_codes
However, it looks like it's not straightforward to make the link sensitive to 
the language of the webpage?

Scott

forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Scott Kostyshak
tex.stackexchange seems to be gaining popularity. I was surprised by the number 
of posts with a lyx tag. There were three just from yesterday. There don't seem 
to be any developers that are active on tex.stackexchange and there are few 
users of LyX that answer questions there.

Would it be desirable to have questions posted there forwarded to the lyx-users 
list? I suppose one would still have to go to tex.stackexchange.com to answer 
the question, but at least this would centralize questions about LyX.

My guess is that this is not a good idea, but I wanted confirmation of that.

List of lyx-tagged questions:
http://tex.stackexchange.com/questions/tagged/lyx

RSS feed of newest lyx-tagged questions
http://tex.stackexchange.com/feeds/tag?tagnames=lyx=newest

Thanks,

Scott


Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Pavel Sanda
Scott Kostyshak wrote:
> tex.stackexchange seems to be gaining popularity. I was surprised by the 
> number of posts with a lyx tag. There were three just from yesterday. There 
> don't seem to be any developers that are active on tex.stackexchange and 
> there are few users of LyX that answer questions there.
> 
> Would it be desirable to have questions posted there forwarded to the 
> lyx-users list? I suppose one would still have to go to tex.stackexchange.com 
> to answer the question, but at least this would centralize questions about 
> LyX.
> 
> My guess is that this is not a good idea, but I wanted confirmation of that.

If one has to go to tex.stackexchange.com to answer it, then I think its not 
good idea as well.

Pavel


Re: LyX 2.0.3 Binaries?

2012-03-01 Thread Vincent van Ravesteijn

Op 1-3-2012 1:00, Uwe Stöhr schreef:

Am 29.02.2012 18:57, schrieb Richard Heck:


(I now released a new installer version:
https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.3/ 
)


I'll download it. The plan is to announce the release once the new 
server is known to be stable.


Can you please delete the old installer from
ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/

Currently it is a bit confusing.

thanks and regards
Uwe


Richard, could you also indicate that the installer is still not the 
'official' one ? I'm trying to build the official one right now.


Vincent


Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Richard Heck

On 02/29/2012 10:45 PM, Jack Tanner wrote:

Niklas Burtscheid  writes:


There should be an option in the general preferences to show the statistics (number 
of characters&  number of words) permanently in the status-bar (at the right 
side of it).

Recent versions of Word do exactly this, and it's pretty handy. Implementing
this would allow LyX to lose the Tools->Statistics menu entry and corresponding 
dialog, so that's a usability win in my book. I'm not a developer, but I'd suggest 
filing an RFE.

If someone wants to implement this, and have it off by default, I 
suppose they can do so, but I can't see the point of it. Do you really 
need to know, as you type each character, how many characters there are?


Richard



Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Richard Heck

On 03/01/2012 06:58 AM, Pavel Sanda wrote:

Scott Kostyshak wrote:

tex.stackexchange seems to be gaining popularity. I was surprised by the number 
of posts with a lyx tag. There were three just from yesterday. There don't seem 
to be any developers that are active on tex.stackexchange and there are few 
users of LyX that answer questions there.

Would it be desirable to have questions posted there forwarded to the lyx-users 
list? I suppose one would still have to go to tex.stackexchange.com to answer 
the question, but at least this would centralize questions about LyX.

My guess is that this is not a good idea, but I wanted confirmation of that.

If one has to go to tex.stackexchange.com to answer it, then I think its not 
good idea as well.


It seems like the wrong place to post questions about LyX

Richard



Unable to Modify Download Page on LyX.org

2012-03-01 Thread Richard Heck


When I attempt to login on this page, I enter what used to be the 
password (I think...it's saved in Firefox, and I checked the passwords 
file on the server), and it just sends me back to the page, not logged 
in and so unable to modify it.


Richard



Re: Unable to Modify Download Page on LyX.org

2012-03-01 Thread Pavel Sanda
Richard Heck wrote:
>
> When I attempt to login on this page, I enter what used to be the password 
> (I think...it's saved in Firefox, and I checked the passwords file on the 
> server), and it just sends me back to the page, not logged in and so unable 
> to modify it.

Thats under the PHP issues reported by Lars I guess. From what I heard Christian
is working on this issue?

Pavel


Trunk: No Reconfigure menu item on Mac

2012-03-01 Thread BH
In current trunk, there is no reconfigure menu item on Mac. Recall
that on Mac this is one of those items we have moved to the LyX menu;
for some reason it's just not showing up.

Let me know if I should submit a bug report.

BH


Re: [patch] LFUN_WORD_REPLACE does not clear selection

2012-03-01 Thread Jean-Marc Lasgouttes

Le 01/03/2012 10:33, Scott Kostyshak a écrit :

Is this the right fix? This fixes the bug that I just reported, but I'm
worried that it would have unintended consequences for other functions
that use LFUN_WORD_REPLACE.


I would try to fix the actual place that modifies cursor, which is 
probably in findOne (lyxfind.cpp).


JMarc


lyx @ Sourceforge

2012-03-01 Thread Vincent van Ravesteijn

Can someone please add me to the lyx project at sourceforge ?

UserID: vincentr26

Vincent

**



Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Jack Tanner
Scott Kostyshak  Princeton.EDU> writes:

> Would it be desirable to have questions posted there forwarded 
> to the lyx-users list? 

I like (and occasionally use) tex.stackexchange.com. I don't see the point in
forwarding questions. But it is a really nice Q site. In some ways the format
is much more appropriate than a mailing list and then web forum software both
for getting users answers to their questions and for creating good content that
search engines can find to help people with the same question in the future.

Some ideas: 

- link to tex.stackexchange.com from lyx.org/MailingLists

- mention tex.stackexchange.com on lyx-users




Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Jack Tanner
Richard Heck  comcast.net> writes:

> 
> If someone wants to implement this, and have it off by default, I 
> suppose they can do so, but I can't see the point of it. Do you really 
> need to know, as you type each character, how many characters there are?

I never understood the need for the number of characters count in any case,
including under Tools->Statistics.

But an auto-updating number of words (say, when idle, every 5 seconds) is really
handy.



Re: Server back up again

2012-03-01 Thread Georg Baum
Lars Gullik Bjønnes wrote:

> The switch went almost without problems and everything should now be
> up again.

And the new server feels much quicker. Thanks!


Georg



Re: r40785 - in lyx-devel/trunk/src: . tex2lyx

2012-03-01 Thread Georg Baum
Uwe Stöhr wrote:

> Am 28.02.2012 22:11, schrieb Georg Baum:
> 
>> Your test code in test-structure.tex fails already. LyX complains like
>> this:
>>
>> Paragraph ended in line 1032
>> Missing \end_layout.
> 
> Strange that I don't get this. All my examples are exported as expected.
> Looking in the LyX-code I can also don't see a problem, but I'll have a
> closer look the next days.

Look in the console output. The generated file is invalid, but LyX tries to 
read it nevertheless, and succeeds, because it guesses right where the 
paragraph ends.

>> The reason for this is probably that you did not follow Jean-Marcs advice
>> to use the context machinery.
> 
> I tried this but failed. It doesn't seem to work in this case but I'm not
> an expert in this.

If you can tell me what exactly fails I can have a look, but I want to avoid 
doing duplicate work.


Georg



Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Liviu Andronic
On Thu, Mar 1, 2012 at 8:05 PM, Jack Tanner  wrote:
> Richard Heck  comcast.net> writes:
>
>>
>> If someone wants to implement this, and have it off by default, I
>> suppose they can do so, but I can't see the point of it. Do you really
>> need to know, as you type each character, how many characters there are?
>
> I never understood the need for the number of characters count in any case,
> including under Tools->Statistics.
>
Some ask for 500 words, others require 2000 characters.

Liviu


> But an auto-updating number of words (say, when idle, every 5 seconds) is 
> really
> handy.
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Windows Installer could use work: must set miktex packages "on fly" to NO, or else LyX won't run

2012-03-01 Thread Vincent van Ravesteijn



I still don't understand why we can't have Miktex to ask to install a
package when needed ? At least we can ask the user if he wants to install
all possible packages and wait half an hour. So many people are put off by
having to wait so long the first time they try LyX.


Dear Vincent:

I think you are missing the point that in MikTeX it is a KNOWN bug
that the ASK option is broken and it fails to make the menu pop up and
ask the user about the packages.


I didn't know that. It works perfectly for me.

But what I basically meant is that we, the LyX installer, could ask the user 
whether we check for all packages being installed and install them if needed.

Vincent


Lyx.org still downloading 2.0.2 for OS X

2012-03-01 Thread Jerry
MacUpdate.com today mentions LyX 2.0.3 for OS X but Lyx.org downloads are still 
linked to 2.0.2. Downloading from MacUpdate does result in a 2.0.3 .dmg.
Jerry

Re: lyx @ Sourceforge

2012-03-01 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
> Can someone please add me to the lyx project at sourceforge ?
>
> UserID: vincentr26

Better now? P



Re: Suggestion: Option for showing live-statistics in statusbar

2012-03-01 Thread Jack Tanner
Liviu Andronic  gmail.com> writes:

> 
> Some ask for 500 words, others require 2000 characters.

Do you know of situations where one needs both the word count and the character
count?



Re: 2.0.3: paste, update pdf

2012-03-01 Thread Uwe Stöhr

Am 01.03.2012 01:01, schrieb Uwe Stöhr:

Am 29.02.2012 21:08, schrieb Eran Kaplinsky:

Using the windows binaries from ftp:

1. Edit->paste behaviour has changed.
2. I can't update an open pdflatex: "can't write" error.


I cannot reproduce this on my test machines. Have you installed LyX 2.0.2 and 
2.0.3 parallel? If so,
could you try to

1. uninstall all versions of LyX 2.0.x _completely_
2. reinstall LyX 2.0.3 using the new installer:
ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/LyX-2.0.3-2-Installer.exe


Maybe you need afterwards uninstall LyX again and reinstall it. (My first installer had a bug in the 
uninstall section so that you need to uninstall LyX that is installed in my "-2" installer to get a 
clean user settings folder.)


regards Uwe



git.lyx.org - developers! your ssh public key please

2012-03-01 Thread Lars Gullik Bjønnes
I have begun to setup and do the lyx conversion proper.
Expect things to happen fairly quick now.

However I do not want to do this _too_ fast.

http://git.lyx.org/

I am not going to setup anonymous cloning right now, but I want
developers to send me their public ssh keys.
(If you do not already have write access to the svn repo, don't bother
sending me a public key either. Be sure to send as attachment.)

After I get your public key and add it you will get
access to clone, push and pull to the testing repo.
Play all you like with that.

In the meantime I will fixup the git repo I have of lyx, and
we should be able to make the switch over failr quick.
We need to make the proper track setup first though.

-- 
        Lgb


Bug? Errors when using graphics with syntax.sty

2012-03-01 Thread Rav Chandra
Hello all, firstly thanks for the great work on LyX. It is a superb
piece of software.

However, I've encountered a problem when using graphics (i.e. images)
in-conjunction with the grammar environment of the syntax.sty package.
Specifically, if I include both an image and a grammar environment
then the document will fail to compile with "Undefined control
sequence errors". What is extremely curious, however, is that if your
export the same file fro LyX to LaTeX (pdflatex) you will then have a
.tex file which compiles perfectly, without error!

Unfortunately, I am not familiar enough with LyX to understand how to
investigate this further. However, if useful, I can certainly follow
instructions to diagnose/debug if pointed in the right direction.

Reproducibility:
- have tested using LyX 2.0.2 on Linux (Ubuntu 10.04), OS X 10.7, and
Windows Vista
- have tested using LyX 2.0.3 on Linux (Ubuntu 10.04)

Steps:
- make an empty document, insert 1 image
- add "\usepackage{syntax}" to document preamble
- insert lyx code:
"""
\begin{grammar}
 ::= "WORLD"
\end{grammar}
"""
- view as pdflatex will produce error
- export as .tex and then run command "$ pdflatex file.tex" will NOT have error

Kind regards
Rav


changes to trac config - multiplerepos

2012-03-01 Thread Lars Gullik Bjønnes
I have made some changes to the trac config so that
we can use multiple repos.

This required a resync of the lyx svn repository, and can
see no problems, but be sure to notify me if you see problems.

-- 
        Lgb


Re: MIT request permission to use 3 LyX icons.

2012-03-01 Thread Richard Heck

On 03/01/2012 04:04 PM, Lars Gullik Bjønnes wrote:

We are being asked to allow MIT to use three icons from LyX in some
course documentation. Related to how to use LyX.

Do anyone have any objections? If you I'll respond in the affirmative.

No objection here.

Richard

MIT PhD 1991



Re: Lyx.org still downloading 2.0.2 for OS X

2012-03-01 Thread Richard Heck

On 03/01/2012 04:35 PM, Jerry wrote:

MacUpdate.com today mentions LyX 2.0.3 for OS X but Lyx.org downloads are still 
linked to 2.0.2. Downloading from MacUpdate does result in a 2.0.3 .dmg.

We're having some issues with the web server.

Richard



Re: git.lyx.org - developers! your ssh public key please

2012-03-01 Thread Xu Wang
Excellent! How does this work for non-developers? For example, I would like
to be able to do something and then do a pull-request. I think at this
point I can only fix typos and maybe a small error, but my work would need
to be verified.

Thank you for this, Xu

On Thu, Mar 1, 2012 at 8:07 PM, Lars Gullik Bjønnes wrote:

> I have begun to setup and do the lyx conversion proper.
> Expect things to happen fairly quick now.
>
> However I do not want to do this _too_ fast.
>
> http://git.lyx.org/
>
> I am not going to setup anonymous cloning right now, but I want
> developers to send me their public ssh keys.
> (If you do not already have write access to the svn repo, don't bother
> sending me a public key either. Be sure to send as attachment.)
>
> After I get your public key and add it you will get
> access to clone, push and pull to the testing repo.
> Play all you like with that.
>
> In the meantime I will fixup the git repo I have of lyx, and
> we should be able to make the switch over failr quick.
> We need to make the proper track setup first though.
>
> --
> Lgb
>


Re: Windows Installer could use work: must set miktex packages "on fly" to NO, or else LyX won't run

2012-03-01 Thread Paul Johnson
On Thu, Mar 1, 2012 at 3:06 PM, Vincent van Ravesteijn  wrote:
>
>> I think you are missing the point that in MikTeX it is a KNOWN bug
>> that the ASK option is broken and it fails to make the menu pop up and
>> ask the user about the packages.
>
>
> I didn't know that. It works perfectly for me.
>
Well it depends on which version of MikTeX, which version of Windows,
etc. And whether  you are logged in as an ordinary user.

Just read the MikTeX page on it:

http://miktex.org/2.8/issues

I believe the problem I'm seeing is the same described there for
TeXnicCenter "This happens when a missing package needs to be
installed and the pop-up window cannot be displayed."

I've not seen the pop up permission request since the middle years of
WinXP.  Do you see it when LyX needs a package?

And also the problem that motivated somebody to put this message into
the LyXWinTips page:

http://wiki.lyx.org/Windows/LyXWinTips#toc10


> Vincent



-- 
Paul E. Johnson
Professor, Political Science    Assoc. Director
1541 Lilac Lane, Room 504     Center for Research Methods
University of Kansas               University of Kansas
http://pj.freefaculty.org            http://quant.ku.edu


Re: git.lyx.org - developers! your ssh public key please

2012-03-01 Thread Yihui Xie
I was actually wondering why not move to GitHub directly since
everything is ready there and it saves a huge amount of server admin
efforts... Maybe I missed some conversations earlier, but IMHO GitHub
makes collaborations way way easier.

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Fri, Mar 2, 2012 at 12:09 AM, Xu Wang  wrote:
> Excellent! How does this work for non-developers? For example, I would like
> to be able to do something and then do a pull-request. I think at this point
> I can only fix typos and maybe a small error, but my work would need to be
> verified.
>
> Thank you for this, Xu
>
> On Thu, Mar 1, 2012 at 8:07 PM, Lars Gullik Bjønnes 
> wrote:
>>
>> I have begun to setup and do the lyx conversion proper.
>> Expect things to happen fairly quick now.
>>
>> However I do not want to do this _too_ fast.
>>
>> http://git.lyx.org/
>>
>> I am not going to setup anonymous cloning right now, but I want
>> developers to send me their public ssh keys.
>> (If you do not already have write access to the svn repo, don't bother
>> sending me a public key either. Be sure to send as attachment.)
>>
>> After I get your public key and add it you will get
>> access to clone, push and pull to the testing repo.
>> Play all you like with that.
>>
>> In the meantime I will fixup the git repo I have of lyx, and
>> we should be able to make the switch over failr quick.
>> We need to make the proper track setup first though.
>>
>> --
>>         Lgb
>
>


Re: forwarding questions from tex.stackexchange to lyx-users list

2012-03-01 Thread Guenter Milde
On 2012-03-01, Jack Tanner wrote:
> Scott Kostyshak  Princeton.EDU> writes:

>> Would it be desirable to have questions posted there forwarded 
>> to the lyx-users list? 

> I like (and occasionally use) tex.stackexchange.com. I don't see the
> point in forwarding questions. But it is a really nice Q site. In
> some ways the format is much more appropriate than a mailing list and
> then web forum software both for getting users answers to their
> questions and for creating good content that search engines can find to
> help people with the same question in the future.

> Some ideas: 

> - link to tex.stackexchange.com from lyx.org/MailingLists

> - mention tex.stackexchange.com on lyx-users

However, this is against the idea of having a centralized repo of LyX Q

I'd rather make sure all answers on tex.stackexchange have a link to the LyX
mail list and the wiki.

Günter