Re: r33934 - in lyx-devel/trunk/src: . support tex2lyx

2010-03-31 Thread Abdelrazak Younes

On 03/30/2010 11:12 PM, rgheck wrote:

On 03/30/2010 03:27 PM, Abdelrazak Younes wrote:

On 03/29/2010 11:31 PM, rgh...@lyx.org wrote:

Author: rgheck
Date: Mon Mar 29 23:31:17 2010
New Revision: 33934
URL: http://www.lyx.org/trac/changeset/33934

Log:
Make these const, too. I mean, why not?


Why not making the methods const too then?


They're not methods but standalone functions. ;-)


Stupid me :-)

Abdel.



Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Jose Quesada
Hi,

Many thanks to the team for this release!
The TOC filter and advanced search are great additions.
I could not get the inline spelling working. Is this disabled on this
release, or did I miss some ./configure flags?
Great job!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada



On Sun, Mar 21, 2010 at 4:13 PM, Pavel Sanda sa...@lyx.org wrote:
 Pavel Sanda wrote:
 Binaries should follow soon.

 do other people have ftp access or they need to contact me
 in order to put it there?

 fyi alpha 2 should happen around half of april.

 pavel



Re: Python 3

2010-03-31 Thread José Matos
On Tuesday 30 March 2010 14:37:24 Pavel Sanda wrote:
 hi,
 
 anybody already using python 3 with lyx?
 what is the situation with different distros and our compatibility with 3?
 (gentoo has 3(.1) still in testing but slowly moving to stable target).

The code needs to be converted to python 3, such as it is it will not work.

Most distributions will keep python2 working for the time being as in sense 
python2 and python3 are two different languages.

FWIW it should not be difficult to make our code compatible with python 3.

 pavel

-- 
José Abílio


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Pavel Sanda
Jose Quesada wrote:
 I could not get the inline spelling working. Is this disabled on this
 release, or did I miss some ./configure flags?

it is supposed to work. normal spellcheck works? preferences checkbox
for continuous spellcheck is enabled?

pavel


Re: Python 3

2010-03-31 Thread Sven Hoexter
On Wed, Mar 31, 2010 at 10:27:17AM +0100, José Matos wrote:
 On Tuesday 30 March 2010 14:37:24 Pavel Sanda wrote:
  hi,
  
  anybody already using python 3 with lyx?
  what is the situation with different distros and our compatibility with 3?
  (gentoo has 3(.1) still in testing but slowly moving to stable target).
 
 The code needs to be converted to python 3, such as it is it will not work.
 
 Most distributions will keep python2 working for the time being as in sense 
 python2 and python3 are two different languages.

Debian will include Python 3.1 in the next stable release but it's far
from beeing default AFAIK.
There are currently some social problems to be solved within the Python Team
so it's hard to tell when they will move on.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Enhancement bugs for 2.0

2010-03-31 Thread Guenter Milde
On 2010-03-30, Jean-Marc Lasgouttes wrote:
 Pavel Sanda sa...@lyx.org writes:
 last call for 2.0 feature requests we have reported.

 - currently, Sweave reads the files in the encoding of the current
   locale. This fails as soon as the locale is UTF-8 and the document is
   8bit (because the characters themselves are ruined). We need to find a
   way to pass the encoding to the function.
 http://www.lyx.org/trac/ticket/6625

I wonder if we could use utf-8 as default latex source encoding for most
(all) languages if the locale is UTF-8.

Günter




Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Sebastian Rockel
Am 31.03.2010 um 12:10 schrieb Pavel Sanda:

 Jose Quesada wrote:
 I could not get the inline spelling working. Is this disabled on this
 release, or did I miss some ./configure flags?
 
 it is supposed to work. normal spellcheck works? preferences checkbox
 for continuous spellcheck is enabled?

Here in the mac version I cannot enable it due to everything on that pref pane 
is grayed out:-/

Sebastian

 
 pavel



Re: Python 3

2010-03-31 Thread Pavel Sanda
Sven Hoexter wrote:
  The code needs to be converted to python 3, such as it is it will not work.
  
  Most distributions will keep python2 working for the time being as in sense 
  python2 and python3 are two different languages.
 
 Debian will include Python 3.1 in the next stable release but it's far
 from beeing default AFAIK.

ok, thanks. it means we will keep python 2 to be the default for lyx 2.0.
pavel


Re: [patch] support to set the document-wide text color

2010-03-31 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:

 In principle you are right but isn't this only hypothetical?

I don't think so. I'm sure many presentation templates set a different font 
color.

 I googled a bit and even the presentation classes like beamer and 
 powerdot have black = no color.

But if a beamer template specifies a different color, I assume you will have 
to explicitly reset to black, if you want black.

In any case, a separation is much saner.

Jürgen



Re: It's time to say goodbye

2010-03-31 Thread Jürgen Spitzmüller
Hartmut Haase wrote:
 Hi folks,
 I'm now 65 years old, stopped my main LyX application last year, and do
 not need LyX anymore.

I'm impressed. As many others, I had a different hypothesis about your age.

 I also realized that my advice is not really needed
 anymore, and sometimes not even wanted.

I do not think this is true. Your translation work and your bug reports and 
suggestions were and are always welcome, even our opinions differed 
sometimes. 

 Nevertheless I thank all of you, especially Jean-Marc, for your
 cooperation and help through the years.
 I wish the LyX project much success for the future, and may have a look
 into it now and then.

Good luck to you.

Jürgen



Re: [patch] support for Turkmen

2010-03-31 Thread Pavel Sanda
Uwe Stöhr wrote:
 The attached patch adds support for Turkmen
 (http://en.wikipedia.org/wiki/Turkmen_language)
 This will be a fileformat change.

looks straightforward. if you have tested lyx2lyx routines,
put it in.
pavel


Re: revtex 4-1 layout password

2010-03-31 Thread Pavel Sanda
Anton Starikov wrote:
 I would like to test new revtex4-1 layout, can I get password for it?

i think you must have misunderstood something. the only case you need
the password is when you upload or change something. downloads are not
protected.

pavel


Re: [patch] Dot - Image formats

2010-03-31 Thread Pavel Sanda
Julien Rioux wrote:
 lost somehow. Therefore I suggest the following patch, using the dot 

looks fine. if you have tested that it works for both ps and pdf correctly,
we will put it in.

pavel


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Pavel Sanda
Sebastian Rockel wrote:
 Here in the mac version I cannot enable it due to everything on that pref 
 pane is grayed out:-/

normal spellcheck works?
pavel


Branch Patch: LyxBlogger Config

2010-03-31 Thread Jack Desert
Here is a patch to configure LyxBlogger in 1.6.x. 

Jurgen, are you the approval committee for branch patches?

-Jack
(attachment)
-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jackdesert...@gmail.com
~~~
Index: configure.py
===
--- configure.py	(revisión: 33963)
+++ configure.py	(copia de trabajo)
@@ -426,6 +426,14 @@
   else:
 addToRC(r'''\copierhtml   python -tt $$s/scripts/ext_copy.py $$i $$o''')
 
+# Check if LyxBlogger is installed (Depends on eLyXer)
+if elyxerfound:
+  path, lyxblogger = checkProg('A LyX to WordPress Blog Publishing Tool',
+['lyxblogger.py $$i', 'lyxblogger $$i'],
+rc_entry = [r'\converter html   blog   %%   '])
+  if lyxblogger.find('lyxblogger') = 0:
+addToRC(r'\Formatblog   blog   LyxBlogger   document')
+
 # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
 path, htmlconv = checkProg('a LaTeX - MS Word converter', [htlatex $$i 'html,word' 'symbol/!' '-cvalidate', \
 htlatex.sh $$i 'html,word' 'symbol/!' '-cvalidate', \


Lyx 2.0 alpha 1 crashes on scrolling

2010-03-31 Thread stefano franchi
I am testing the newly released alpha version of Lyx 2.0 and I found the
same problem (I think) I had reported on previous svn version: with
continuous spellchecker enabled, lyx crashes when scrolling rapidly with the
scroll bar.
Here is what I did (and could repeat)

1. Start Lyx
2. enable continuous spelling
3. Open a large file
4. Scroll down with the scroll bar
5. Crash

If I uncheck continuous spelling, the problem disappears.



back trace:


Program received signal SIGSEGV, Segmentation fault.
0x00580aad in lyx::TextMetrics::drawParagraph (this=0x1f3d0a8,
pi=..., pit=value optimized out,
x=value optimized out, y=1028) at TextMetrics.cpp:2140
2140text_-getPar(pit).spellCheck(from,
to, wl, suggestions, false);
(gdb) bt
#0  0x00580aad in lyx::TextMetrics::drawParagraph (this=0x1f3d0a8,
pi=..., pit=value optimized out,
x=value optimized out, y=1028) at TextMetrics.cpp:2140
#1  0x005813f0 in lyx::TextMetrics::draw (this=0x1f3d0a8, pi=...,
x=0, y=728) at TextMetrics.cpp:2058
#2  0x005af108 in lyx::BufferView::draw (this=0x1f3ec80, pain=...)
at BufferView.cpp:2651
#3  0x007c845f in lyx::frontend::GuiWorkArea::updateScreen
(this=0x1f4bc40) at GuiWorkArea.cpp:987
#4  0x007c9145 in lyx::frontend::GuiWorkArea::redraw
(this=0x1f4bc40,
update_metrics=value optimized out) at GuiWorkArea.cpp:432
#5  0x00781d15 in lyx::frontend::WorkAreaManager::redrawAll
(this=0x14a2240,
update_metrics=value optimized out) at WorkAreaManager.cpp:37
#6  0x005ae174 in lyx::BufferView::scrollDocView (this=0x1f3ec80,
value=1104) at BufferView.cpp:575
#7  0x007c9523 in lyx::frontend::GuiWorkArea::scrollTo
(this=0x1f4bc40, value=1104)
at GuiWorkArea.cpp:613
#8  0x007c980b in lyx::frontend::GuiWorkArea::qt_metacall
(this=0x1f4bc40,
_c=QMetaObject::InvokeMetaMethod, _id=value optimized out,
_a=0x7fffc9e0) at moc_GuiWorkArea.cpp:85
#9  0x7605cc0f in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) ()
   from /usr/lib/libQtCore.so.4
#10 0x76bb7a3e in QAbstractSlider::valueChanged(int) () from
/usr/lib/libQtGui.so.4
#11 0x7696d68a in QScrollBar::mouseMoveEvent(QMouseEvent*) () from
/usr/lib/libQtGui.so.4
#12 0x7657315f in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#13 0x7651d12c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x76523efb in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#15 0x00784ced in lyx::frontend::GuiApplication::notify
(this=0x252bfe0, receiver=0x7fffc4f0,
event=0x7fffc4e8) at GuiApplication.cpp:2124
#16 0x76049e0c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x765230d6 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointerQWidget, bool) ()
from /usr/lib/libQtGui.so.4
#18 0x765a2c65 in ?? () from /usr/lib/libQtGui.so.4
#19 0x765a197a in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#20 0x765cd322 in ?? () from /usr/lib/libQtGui.so.4
#21 0x77744bce in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
#22 0x77748598 in ?? () from /lib/libglib-2.0.so.0
#23 0x777486c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#24 0x7607 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag)
()
   from /usr/lib/libQtCore.so.4
#25 0x765ccf0e in ?? () from /usr/lib/libQtGui.so.4
#26 0x76048732 in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
   from /usr/lib/libQtCore.so.4
#27 0x76048b0c in
QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) ()
   from /usr/lib/libQtCore.so.4
#28 0x7604c84b in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#29 0x005040bf in lyx::LyX::exec (this=value optimized out,
argc=value optimized out,
argv=value optimized out) at LyX.cpp:360
#30 0x0043aacf in main (argc=1, argv=0x7fffe298) at main.cpp:46



-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Sebastian Rockel
Am 31.03.2010 um 14:47 schrieb Pavel Sanda:

 Sebastian Rockel wrote:
 Here in the mac version I cannot enable it due to everything on that pref 
 pane is grayed out:-/
 
 normal spellcheck works?

Also the menu item is grayed out (F7 doesn't do it either).
I just double checked Lyx 1.6.5 with aspell 0.60.6 (MacPorts) and it works fine.
Running on Mac OSX 10.6.3.

Sebastian


 pavel



Re: [patch] Dot - Image formats

2010-03-31 Thread Julien Rioux

On 31/03/2010 8:46 AM, Pavel Sanda wrote:

Julien Rioux wrote:

lost somehow. Therefore I suggest the following patch, using the dot


looks fine. if you have tested that it works for both ps and pdf correctly,
we will put it in.

pavel



I did test it; ps and pdf output works correctly.

The jpg output could be left out, since (as I just found out) it 
requires gd to be installed. Besides, I am not sure what the use-case is 
for such a converter.


--
Julien


Re: It's time to say goodbye

2010-03-31 Thread Jean-Marc Lasgouttes

Le 30/03/2010 18:36, Hartmut Haase a écrit :

I'm now 65 years old, stopped my main LyX application last year, and do not 
need LyX
anymore.


As others, I am surprised to learn about your age. You took time to do
your coming out!


I also realized that my advice is not really needed anymore, and sometimes
not even wanted.


I think you are mistaken. Feel free to come back and give your opinion 
again, it is appreciated. I completely understand that there is a life

outside of LyX, but I regret that you finish this collaboration with a
bitter taste.


Nevertheless I thank all of you, especially Jean-Marc, for your cooperation and 
help
through the years.


I feel honored to be singled out, but I am not sure I deserve it more
than others. Over the years (how many?) anyway, I have appreciated your
input, although the fact that you kept finding non trivial issues did
not make my work (of maintainer at the time) easier :)

Have fun with your new life.

JMarc




Re: Branch Patch: LyxBlogger Config

2010-03-31 Thread rgheck

On 03/31/2010 09:13 AM, Jack Desert wrote:

Here is a patch to configure LyxBlogger in 1.6.x.

Jurgen, are you the approval committee for branch patches?

   

He is, being the 1.6.x maintainer.

Jurgen, we've discussed this at some length, and this looks good to me.

rh



Re: Lyx 2.0 alpha 1 crashes on scrolling

2010-03-31 Thread rgheck

On 03/31/2010 09:25 AM, stefano franchi wrote:

I am testing the newly released alpha version of Lyx 2.0 and I found the
same problem (I think) I had reported on previous svn version: with
continuous spellchecker enabled, lyx crashes when scrolling rapidly with the
scroll bar.
Here is what I did (and could repeat)

1. Start Lyx
2. enable continuous spelling
3. Open a large file
4. Scroll down with the scroll bar
5. Crash

If I uncheck continuous spelling, the problem disappears.

   
Thanks for the report. Can you file it in trac? Keyword crash, 
severity critical, milestone 2.0.0.


rh



Re: [patch] Dot - Image formats

2010-03-31 Thread rgheck

On 03/31/2010 09:38 AM, Julien Rioux wrote:

On 31/03/2010 8:46 AM, Pavel Sanda wrote:

Julien Rioux wrote:

lost somehow. Therefore I suggest the following patch, using the dot


looks fine. if you have tested that it works for both ps and pdf 
correctly,

we will put it in.

pavel



I did test it; ps and pdf output works correctly.

The jpg output could be left out, since (as I just found out) it 
requires gd to be installed. Besides, I am not sure what the use-case 
is for such a converter.



Committed, then, without the jpg thing.

rh




Re: new regression bug in LyX 2.0svn

2010-03-31 Thread Uwe Stöhr

Julien Rioux schrieb:


http://www.lyx.org/trac/ticket/6627


Isn't this the same as http://www.lyx.org/trac/ticket/6519 ?


Yes, it is. Thanks.

regards Uwe


edit ERT insets with external editor?

2010-03-31 Thread Liviu Andronic
Dear LyX developers
Would it be a good idea to allow users to edit ERT insets with an
external editor? I am thinking of something similar to:
1. Have a Edit with external editor entry to the ERT inset context menu
2. When activated, LyX would export the current contents of the ERT
inset to a temporary file, and open it with a (pre-defined) text
editor
3. When the user finishes editing the ERT code externally, saves the
temporary file and closes the editor, LyX automatically imports the
contents of the file in the ERT inset (if feasible) or the user
manually activates a Refresh inset context-menu entry

Such a feature should be useful to users that make heavy use of LaTeX
code in their documents. Personally I would use it for editing R code
in Sweave documents: when the code gets too complex, it is unbearable
to edit it in the ERT insets (no syntax highlighting, matching braces,
easy indentation, etc.). What do you think?

Regards
Liviu


-- 
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: r33962 - in lyx-devel/trunk: development lib/layouts lib/lyx2lyx src src/frontends/qt4 src/frontends/qt4/ui

2010-03-31 Thread Pavel Sanda
uwesto...@lyx.org wrote:
 Author: uwestoehr
 Date: Wed Mar 31 02:46:50 2010
 New Revision: 33962
 URL: http://www.lyx.org/trac/changeset/33962
 
 Log:
 fileformat change:
 - support to change the greyed-out note font color (fixes #3865)

 +2010-03-31 Uwe Stöhr uwesto...@web.de
 + * Format incremented to 382: support to change the font color
 + for greyed-out notes
 +

please keep the entries in FORMAT file more informative. that means
try to indicate what was added, in this case \notefontcolor color.
good example would be the entry from 2010-01-10 Jürgen Spitzmüller 
sp...@lyx.org.

 
 Modified: lyx-devel/trunk/src/frontends/qt4/ui/FontUi.ui
 ==
 --- lyx-devel/trunk/src/frontends/qt4/ui/FontUi.uiWed Mar 31 00:51:11 
 2010(r33961)
 +++ lyx-devel/trunk/src/frontends/qt4/ui/FontUi.uiWed Mar 31 02:46:50 
 2010(r33962)
 @@ -201,7 +201,74 @@
   /property
  /widget
 /item
 -   item row=8 column=1
 +   item row=8 column=0
 +widget class=QLabel name=noteFontColorLA
 + property name=text
 +  stringlt;!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.0//ENquot; 
 quot;http://www.w3.org/TR/REC-html40/strict.dtdquot;gt;
 +lt;htmlgt;lt;headgt;lt;meta name=quot;qrichtextquot; 
 content=quot;1quot; /gt;lt;style type=quot;text/cssquot;gt;
 +p, li { white-space: pre-wrap; }
 +lt;/stylegt;lt;/headgt;lt;body style=quot; font-family:'MS Shell Dlg 
 2'; font-size:8.25pt; font-weight:400; font-style:normal;quot;gt;
 +lt;p style=quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
 margin-right:0px; -qt-block-indent:0; text-indent:0px;quot;gt;lt;span 
 style=quot; font-size:8pt;quot;gt;Font color forlt;/spangt;lt;/pgt;
 +lt;p style=quot; margin-top:0px; margin-bottom:0px; margin-left:0px; 
 margin-right:0px; -qt-block-indent:0; text-indent:0px;quot;gt;lt;span 
 style=quot; font-size:8pt;quot;gt;greyed-out 
 notes:lt;/spangt;lt;/pgt;lt;/bodygt;lt;/htmlgt;/string

i understand the problem but this is really ugly. we must find another way.
either shortcuting a-la 'Greyedout color' and the rest in tooltip
or use something else then label.

pavel


Re: [patch] Dot - Image formats

2010-03-31 Thread Pavel Sanda
Richard Heck wrote:
 Committed, then, without the jpg thing.

only in your local tree? ;)
btw i think this is also for branch. Juergen?
pavel


Re: [patch] Dot - Image formats

2010-03-31 Thread rgheck

On 03/31/2010 12:29 PM, Pavel Sanda wrote:

Richard Heck wrote:
   

Committed, then, without the jpg thing.
 

only in your local tree? ;)

   

I got a conflict and had to resolve it. Done now.


btw i think this is also for branch. Juergen?

   

Yes, also for branch.

rh



Re: r33967 - in lyx-devel/trunk/src: . mathed

2010-03-31 Thread Pavel Sanda
rgh...@lyx.org wrote:
 Author: rgheck
 Date: Wed Mar 31 20:24:52 2010
 New Revision: 33967
...
 ugly or (b) creating some new file just containing this enum, which
 seems like overkill. Any other ideas?

support/types.h ?
pavel


Re: r33967 - in lyx-devel/trunk/src: . mathed

2010-03-31 Thread rgheck

On 03/31/2010 02:55 PM, Pavel Sanda wrote:

rgh...@lyx.org wrote:
   

Author: rgheck
Date: Wed Mar 31 20:24:52 2010
New Revision: 33967
 

...
   

ugly or (b) creating some new file just containing this enum, which
seems like overkill. Any other ideas?
 

support/types.h ?

   
I suppose it could go there, but it doesn't seem to fit, in some way, 
with the other things that are in there.


rh



Re: r33975 - lyx-devel/trunk/src/mathed

2010-03-31 Thread Pavel Sanda
rgh...@lyx.org wrote:
 Author: rgheck
 Date: Wed Mar 31 21:17:06 2010
 New Revision: 33975
 URL: http://www.lyx.org/trac/changeset/33975
 
 Log:
 Change semantics of two-arg htmlize to make more consistent with other
 functions.
 
 Modified:
lyx-devel/trunk/src/mathed/InsetMathGrid.cpp
lyx-devel/trunk/src/mathed/InsetMathMatrix.h
 
 Modified: lyx-devel/trunk/src/mathed/InsetMathMatrix.h
 ==
 --- lyx-devel/trunk/src/mathed/InsetMathMatrix.h  Wed Mar 31 21:09:05 
 2010(r33974)
 +++ lyx-devel/trunk/src/mathed/InsetMathMatrix.h  Wed Mar 31 21:17:06 
 2010(r33975)
 @@ -42,6 +42,8 @@
   ///
   void mathmlize(MathStream ) const;
   ///
 + void htmlize(HtmlStream ) const;
 + ///
   void octave(OctaveStream ) const;
   ///
   InsetCode lyxCode() const { return MATH_MATRIX_CODE; }

make[4]: Entering directory `/home/paf/lyx/devel/src'
g++  -O   -o lyx main.o AspellChecker.o BiblioInfo.o Box.o Compare.o 
Dimension.o   PrinterParams.o Thesaurus.o  liblyxcore.a liblyxmathed.a 
liblyxinsets.a frontends/liblyxfrontends.a frontends/qt4/liblyxqt4.a 
liblyxgraphics.a support/liblyxsupport.a ../boost/liblyxboost.a -laspell   
-lz  -L/usr/lib/qt4   -lQtGui -lQtCore   
liblyxmathed.a(InsetMathMatrix.o):(.rodata._ZTVN3lyx15InsetMathMatrixE[vtable 
for lyx::InsetMathMatrix]+0x2d4): undefined reference to 
`lyx::InsetMathMatrix::htmlize(lyx::HtmlStream) const'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1


Re: r33967 - in lyx-devel/trunk/src: . mathed

2010-03-31 Thread Pavel Sanda
Richard Heck wrote:
 On 03/31/2010 02:55 PM, Pavel Sanda wrote:
 rgh...@lyx.org wrote:

 Author: rgheck
 Date: Wed Mar 31 20:24:52 2010
 New Revision: 33967
  
 ...

 ugly or (b) creating some new file just containing this enum, which
 seems like overkill. Any other ideas?
  
 support/types.h ?


 I suppose it could go there, but it doesn't seem to fit, in some way, with 
 the other things that are in there.

OutputEnums.h ?
pavel


Re: r33975 - lyx-devel/trunk/src/mathed

2010-03-31 Thread rgheck

On 03/31/2010 03:43 PM, Pavel Sanda wrote:

rgh...@lyx.org wrote:
   

Author: rgheck
Date: Wed Mar 31 21:17:06 2010
New Revision: 33975
URL: http://www.lyx.org/trac/changeset/33975

Log:
Change semantics of two-arg htmlize to make more consistent with other
functions.

Modified:
lyx-devel/trunk/src/mathed/InsetMathGrid.cpp
lyx-devel/trunk/src/mathed/InsetMathMatrix.h

Modified: lyx-devel/trunk/src/mathed/InsetMathMatrix.h
==
--- lyx-devel/trunk/src/mathed/InsetMathMatrix.hWed Mar 31 21:09:05 
2010(r33974)
+++ lyx-devel/trunk/src/mathed/InsetMathMatrix.hWed Mar 31 21:17:06 
2010(r33975)
@@ -42,6 +42,8 @@
///
void mathmlize(MathStream) const;
///
+   void htmlize(HtmlStream) const;
+   ///
void octave(OctaveStream) const;
///
InsetCode lyxCode() const { return MATH_MATRIX_CODE; }
 

make[4]: Entering directory `/home/paf/lyx/devel/src'
g++  -O   -o lyx main.o AspellChecker.o BiblioInfo.o Box.o Compare.o 
Dimension.o   PrinterParams.o Thesaurus.o  liblyxcore.a liblyxmathed.a 
liblyxinsets.a frontends/liblyxfrontends.a frontends/qt4/liblyxqt4.a 
liblyxgraphics.a support/liblyxsupport.a ../boost/liblyxboost.a -laspell   
-lz  -L/usr/lib/qt4   -lQtGui -lQtCore
liblyxmathed.a(InsetMathMatrix.o):(.rodata._ZTVN3lyx15InsetMathMatrixE[vtable for 
lyx::InsetMathMatrix]+0x2d4): undefined reference to 
`lyx::InsetMathMatrix::htmlize(lyx::HtmlStream) const'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1

   

Sorry. I committed that early. Should be ok.

rh




Warning

2010-03-31 Thread Pavel Sanda
1. new file
2. insert child doc, eg Additional.lyx
3. console output:
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem


pavel


Re: There exists a win version of LyX 2.0

2010-03-31 Thread Vincent van Ravesteijn


I expect a first Win version for alpha 2. For me it turned out that 
alpha 1 was too buggy, that's why I haven't released a Win installer 
for it. 


?

Vincent


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

2010-03-31 Thread Vincent van Ravesteijn

sa...@lyx.org schreef:

Author: sanda
Date: Wed Mar 31 23:25:05 2010
New Revision: 33993
URL: http://www.lyx.org/trac/changeset/33993

Log:
Unintentional part of previewinset stuff

Modified:
   lyx-devel/trunk/lib/ui/stdmenus.inc

Modified: lyx-devel/trunk/lib/ui/stdmenus.inc
==
--- lyx-devel/trunk/lib/ui/stdmenus.inc Wed Mar 31 23:24:16 2010(r33992)
+++ lyx-devel/trunk/lib/ui/stdmenus.inc Wed Mar 31 23:25:05 2010(r33993)
@@ -70,13 +70,13 @@
 
 	Menu file_vc

OptItem Register...|R vc-register
-   OptItem Check In Changes...|I vc-command DR \.\ \TortoiseProc 
/command:commit /path:$$p\
-   OptItem Check Out for Edit|O vc-command DR \.\ \TortoiseProc 
/command:update /path:$$p\
+   OptItem Check In Changes...|I vc-check-in
+   OptItem Check Out for Edit|O vc-check-out
OptItem Update Local Directory From Repository|d 
vc-repo-update
-   OptItem Revert to Repository Version|v vc-command DR \.\ 
\TortoiseProc /command:revert /path:$$p\
+   OptItem Revert to Repository Version|v vc-revert
OptItem Undo Last Check In|U vc-undo-last
OptItem Compare with Older Revision|C vc-compare
-   OptItem Show History...|H vc-command D \.\ \TortoiseProc 
/command:log /path:$$p\
+   OptItem Show History...|H dialog-show vclog
OptItem Use Locking Property|L vc-locking-toggle
End
 
  

Oops.. sorry. This is the disadvantage of svn over git.

By the way, the git repository seems to be sleeping since oktober or so ?

Vincent


Goodbye, and thanks for all the fish

2010-03-31 Thread Alex Fernandez
Hi folks,

After Hartmut's goodbye message I have been doing some thinking, and I
am also leaving the list. Following development of LyX 2.0 is not in
my priorities, and I am not getting help from LyX developers any more
as in the beginning. So (although I'm not yet 65 years old) I have
decided to unsubscribe from the list, effective now.

eLyXer will of course continue to be developed: there are many
exciting milestones in the future (MathJax, math macros, split HTML
pages) and I still have lots of fun developing it. And of course I
still need decent HTML output. But I will not monitor the lyx-devel
list any more, so if you want my input please include the eLyXer list
(preferred): elyxer-us...@nongnu.org (the volume does not warrant a
separate dev list), or me: ely...@gmail.com. I will continue to
monitor the lyx-users list for mentions of eLyXer, and from now on
announce new releases there. I felt it was fair to let you know.

Thanks!

Alex.


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

2010-03-31 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 By the way, the git repository seems to be sleeping since oktober or so ?

yes, its not under our control and maintainer doesn't respond. 
other possibility would be to have it on our server, but Christian
didn't look to be interested.

pavel



Re: about lyx 2.0.0 alpha 1

2010-03-31 Thread Vincent van Ravesteijn

Marcelo Acuña schreef:


Hello,
 I am very happy with this new leap of development.
 I remained pleasingly surprised by the new added features.
 In this alpha version I noted that:
 1) the fact that outline is open when I close lyx is forgotten for 
the next run.




Yes, we know this. I probably fix this as soon as I come to it ;)...

Thanks,

Vincent

(Please don't send the same mail to both lists at once.)


Re: Goodbye, and thanks for all the fish

2010-03-31 Thread Pavel Sanda
Alex Fernandez wrote:
 eLyXer will of course continue to be developed: there are many
 exciting milestones in the future (MathJax, math macros, split HTML
 pages) and I still have lots of fun developing it. And of course I
 still need decent HTML output. But I will not monitor the lyx-devel
 list any more, so if you want my input please include the eLyXer list
 (preferred): elyxer-us...@nongnu.org (the volume does not warrant a
 separate dev list), or me: ely...@gmail.com. I will continue to
 monitor the lyx-users list for mentions of eLyXer, and from now on
 announce new releases there. I felt it was fair to let you know.

looking forward to the next flames on users list :)
pavel


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Stephan Witt

Am 31.03.2010 um 15:35 schrieb Sebastian Rockel:

 Am 31.03.2010 um 14:47 schrieb Pavel Sanda:
 
 Sebastian Rockel wrote:
 Here in the mac version I cannot enable it due to everything on that pref 
 pane is grayed out:-/
 
 normal spellcheck works?
 
 Also the menu item is grayed out (F7 doesn't do it either).
 I just double checked Lyx 1.6.5 with aspell 0.60.6 (MacPorts) and it works 
 fine.
 Running on Mac OSX 10.6.3.

I guess you're using the LyX-2.0.0alpha1.dmg I build on Snow Leopard.

You're right, no aspell support :(
I didn't read carefully enough this part of configure output:

checking aspell.h usability... yes
checking aspell.h presence... yes
checking for aspell.h... yes
checking for new_aspell_config in -laspell... no
checking whether to use aspell... no

So I looked for the reason and found that configure detected the headers of 
aspell but did not find the library.
When trying to improve the situation I learned that my universal aspell 
library from macports is like that:

% file /opt/local/lib/libaspell.dylib 
/opt/local/lib/libaspell.dylib: Mach-O universal binary with 2 architectures
/opt/local/lib/libaspell.dylib (for architecture x86_64):   Mach-O 64-bit 
dynamically linked shared library x86_64
/opt/local/lib/libaspell.dylib (for architecture i386): Mach-O dynamically 
linked shared library i386

So in fact I cannot build a ppc version of LyX with aspell now. I'll see what I 
can do...

Stephan



Re: r33962 - in lyx-devel/trunk: development lib/layouts lib/lyx2lyx src src/frontends/qt4 src/frontends/qt4/ui

2010-03-31 Thread Uwe Stöhr

 i understand the problem but this is really ugly. we must find another way.
 either shortcuting a-la 'Greyedout color' and the rest in tooltip
 or use something else then label.

Why is having a label over 2 lines ugly? Qt supports this and also many other applications have 
this. Moreover the font dialog look OK to me. In fact it's only a matter of taste, isn't it?

What do others think?

regards Uwe


Re: r33934 - in lyx-devel/trunk/src: . support tex2lyx

2010-03-31 Thread Abdelrazak Younes

On 03/30/2010 11:12 PM, rgheck wrote:

On 03/30/2010 03:27 PM, Abdelrazak Younes wrote:

On 03/29/2010 11:31 PM, rgh...@lyx.org wrote:

Author: rgheck
Date: Mon Mar 29 23:31:17 2010
New Revision: 33934
URL: http://www.lyx.org/trac/changeset/33934

Log:
Make these const, too. I mean, why not?


Why not making the methods const too then?


They're not methods but standalone functions. ;-)


Stupid me :-)

Abdel.



Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Jose Quesada
Hi,

Many thanks to the team for this release!
The TOC filter and advanced search are great additions.
I could not get the inline spelling working. Is this disabled on this
release, or did I miss some ./configure flags?
Great job!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada



On Sun, Mar 21, 2010 at 4:13 PM, Pavel Sanda  wrote:
> Pavel Sanda wrote:
>> Binaries should follow soon.
>
> do other people have ftp access or they need to contact me
> in order to put it there?
>
> fyi alpha 2 should happen around half of april.
>
> pavel
>


Re: Python 3

2010-03-31 Thread José Matos
On Tuesday 30 March 2010 14:37:24 Pavel Sanda wrote:
> hi,
> 
> anybody already using python 3 with lyx?
> what is the situation with different distros and our compatibility with 3?
> (gentoo has 3(.1) still in testing but slowly moving to stable target).

The code needs to be converted to python 3, such as it is it will not work.

Most distributions will keep python2 working for the time being as in sense 
python2 and python3 are two different languages.

FWIW it should not be difficult to make our code compatible with python 3.

> pavel

-- 
José Abílio


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Pavel Sanda
Jose Quesada wrote:
> I could not get the inline spelling working. Is this disabled on this
> release, or did I miss some ./configure flags?

it is supposed to work. normal spellcheck works? preferences checkbox
for continuous spellcheck is enabled?

pavel


Re: Python 3

2010-03-31 Thread Sven Hoexter
On Wed, Mar 31, 2010 at 10:27:17AM +0100, José Matos wrote:
> On Tuesday 30 March 2010 14:37:24 Pavel Sanda wrote:
> > hi,
> > 
> > anybody already using python 3 with lyx?
> > what is the situation with different distros and our compatibility with 3?
> > (gentoo has 3(.1) still in testing but slowly moving to stable target).
> 
> The code needs to be converted to python 3, such as it is it will not work.
> 
> Most distributions will keep python2 working for the time being as in sense 
> python2 and python3 are two different languages.

Debian will include Python 3.1 in the next stable release but it's far
from beeing default AFAIK.
There are currently some social problems to be solved within the Python Team
so it's hard to tell when they will move on.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Enhancement bugs for 2.0

2010-03-31 Thread Guenter Milde
On 2010-03-30, Jean-Marc Lasgouttes wrote:
> Pavel Sanda  writes:
>> last call for 2.0 feature requests we have reported.

> - currently, Sweave reads the files in the encoding of the current
>   locale. This fails as soon as the locale is UTF-8 and the document is
>   8bit (because the characters themselves are ruined). We need to find a
>   way to pass the encoding to the function.
> http://www.lyx.org/trac/ticket/6625

I wonder if we could use utf-8 as default latex source encoding for most
(all) languages if the locale is UTF-8.

Günter




Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Sebastian Rockel
Am 31.03.2010 um 12:10 schrieb Pavel Sanda:

> Jose Quesada wrote:
>> I could not get the inline spelling working. Is this disabled on this
>> release, or did I miss some ./configure flags?
> 
> it is supposed to work. normal spellcheck works? preferences checkbox
> for continuous spellcheck is enabled?

Here in the mac version I cannot enable it due to everything on that pref pane 
is grayed out:-/

Sebastian

> 
> pavel



Re: Python 3

2010-03-31 Thread Pavel Sanda
Sven Hoexter wrote:
> > The code needs to be converted to python 3, such as it is it will not work.
> > 
> > Most distributions will keep python2 working for the time being as in sense 
> > python2 and python3 are two different languages.
> 
> Debian will include Python 3.1 in the next stable release but it's far
> from beeing default AFAIK.

ok, thanks. it means we will keep python 2 to be the default for lyx 2.0.
pavel


Re: [patch] support to set the document-wide text color

2010-03-31 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:

> In principle you are right but isn't this only hypothetical?

I don't think so. I'm sure many presentation templates set a different font 
color.

> I googled a bit and even the presentation classes like beamer and 
> powerdot have "black = no color".

But if a beamer template specifies a different color, I assume you will have 
to explicitly reset to black, if you want black.

In any case, a separation is much saner.

Jürgen



Re: It's time to say goodbye

2010-03-31 Thread Jürgen Spitzmüller
Hartmut Haase wrote:
> Hi folks,
> I'm now 65 years old, stopped my main LyX application last year, and do
> not need LyX anymore.

I'm impressed. As many others, I had a different hypothesis about your age.

> I also realized that my advice is not really needed
> anymore, and sometimes not even wanted.

I do not think this is true. Your translation work and your bug reports and 
suggestions were and are always welcome, even our opinions differed 
sometimes. 

> Nevertheless I thank all of you, especially Jean-Marc, for your
> cooperation and help through the years.
> I wish the LyX project much success for the future, and may have a look
> into it now and then.

Good luck to you.

Jürgen



Re: [patch] support for Turkmen

2010-03-31 Thread Pavel Sanda
Uwe Stöhr wrote:
> The attached patch adds support for Turkmen
> (http://en.wikipedia.org/wiki/Turkmen_language)
> This will be a fileformat change.

looks straightforward. if you have tested lyx2lyx routines,
put it in.
pavel


Re: revtex 4-1 layout password

2010-03-31 Thread Pavel Sanda
Anton Starikov wrote:
> I would like to test new revtex4-1 layout, can I get password for it?

i think you must have misunderstood something. the only case you need
the password is when you upload or change something. downloads are not
protected.

pavel


Re: [patch] Dot -> Image formats

2010-03-31 Thread Pavel Sanda
Julien Rioux wrote:
> lost somehow. Therefore I suggest the following patch, using the dot 

looks fine. if you have tested that it works for both ps and pdf correctly,
we will put it in.

pavel


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Pavel Sanda
Sebastian Rockel wrote:
> Here in the mac version I cannot enable it due to everything on that pref 
> pane is grayed out:-/

normal spellcheck works?
pavel


Branch Patch: LyxBlogger Config

2010-03-31 Thread Jack Desert
Here is a patch to configure LyxBlogger in 1.6.x. 

Jurgen, are you the approval committee for branch patches?

-Jack
(attachment)
-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jackdesert...@gmail.com
~~~
Index: configure.py
===
--- configure.py	(revisión: 33963)
+++ configure.py	(copia de trabajo)
@@ -426,6 +426,14 @@
   else:
 addToRC(r'''\copierhtml   "python -tt $$s/scripts/ext_copy.py $$i $$o"''')
 
+# Check if LyxBlogger is installed (Depends on eLyXer)
+if elyxerfound:
+  path, lyxblogger = checkProg('A LyX to WordPress Blog Publishing Tool',
+['lyxblogger.py $$i', 'lyxblogger $$i'],
+rc_entry = [r'\converter html   blog   "%%"   ""'])
+  if lyxblogger.find('lyxblogger') >= 0:
+addToRC(r'\Formatblog   blog   "LyxBlogger"   "" "" ""  "document"')
+
 # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
 path, htmlconv = checkProg('a LaTeX -> MS Word converter', ["htlatex $$i 'html,word' 'symbol/!' '-cvalidate'", \
 "htlatex.sh $$i 'html,word' 'symbol/!' '-cvalidate'", \


Lyx 2.0 alpha 1 crashes on scrolling

2010-03-31 Thread stefano franchi
I am testing the newly released alpha version of Lyx 2.0 and I found the
same problem (I think) I had reported on previous svn version: with
continuous spellchecker enabled, lyx crashes when scrolling rapidly with the
scroll bar.
Here is what I did (and could repeat)

1. Start Lyx
2. enable continuous spelling
3. Open a large file
4. Scroll down with the scroll bar
5. Crash

If I uncheck continuous spelling, the problem disappears.



back trace:


Program received signal SIGSEGV, Segmentation fault.
0x00580aad in lyx::TextMetrics::drawParagraph (this=0x1f3d0a8,
pi=..., pit=,
x=, y=1028) at TextMetrics.cpp:2140
2140text_->getPar(pit).spellCheck(from,
to, wl, suggestions, false);
(gdb) bt
#0  0x00580aad in lyx::TextMetrics::drawParagraph (this=0x1f3d0a8,
pi=..., pit=,
x=, y=1028) at TextMetrics.cpp:2140
#1  0x005813f0 in lyx::TextMetrics::draw (this=0x1f3d0a8, pi=...,
x=0, y=728) at TextMetrics.cpp:2058
#2  0x005af108 in lyx::BufferView::draw (this=0x1f3ec80, pain=...)
at BufferView.cpp:2651
#3  0x007c845f in lyx::frontend::GuiWorkArea::updateScreen
(this=0x1f4bc40) at GuiWorkArea.cpp:987
#4  0x007c9145 in lyx::frontend::GuiWorkArea::redraw
(this=0x1f4bc40,
update_metrics=) at GuiWorkArea.cpp:432
#5  0x00781d15 in lyx::frontend::WorkAreaManager::redrawAll
(this=0x14a2240,
update_metrics=) at WorkAreaManager.cpp:37
#6  0x005ae174 in lyx::BufferView::scrollDocView (this=0x1f3ec80,
value=1104) at BufferView.cpp:575
#7  0x007c9523 in lyx::frontend::GuiWorkArea::scrollTo
(this=0x1f4bc40, value=1104)
at GuiWorkArea.cpp:613
#8  0x007c980b in lyx::frontend::GuiWorkArea::qt_metacall
(this=0x1f4bc40,
_c=QMetaObject::InvokeMetaMethod, _id=,
_a=0x7fffc9e0) at moc_GuiWorkArea.cpp:85
#9  0x7605cc0f in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) ()
   from /usr/lib/libQtCore.so.4
#10 0x76bb7a3e in QAbstractSlider::valueChanged(int) () from
/usr/lib/libQtGui.so.4
#11 0x7696d68a in QScrollBar::mouseMoveEvent(QMouseEvent*) () from
/usr/lib/libQtGui.so.4
#12 0x7657315f in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#13 0x7651d12c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x76523efb in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#15 0x00784ced in lyx::frontend::GuiApplication::notify
(this=0x252bfe0, receiver=0x7fffc4f0,
event=0x7fffc4e8) at GuiApplication.cpp:2124
#16 0x76049e0c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x765230d6 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) ()
from /usr/lib/libQtGui.so.4
#18 0x765a2c65 in ?? () from /usr/lib/libQtGui.so.4
#19 0x765a197a in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#20 0x765cd322 in ?? () from /usr/lib/libQtGui.so.4
#21 0x77744bce in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
#22 0x77748598 in ?? () from /lib/libglib-2.0.so.0
#23 0x777486c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#24 0x7607 in
QEventDispatcherGlib::processEvents(QFlags)
()
   from /usr/lib/libQtCore.so.4
#25 0x765ccf0e in ?? () from /usr/lib/libQtGui.so.4
#26 0x76048732 in
QEventLoop::processEvents(QFlags) ()
   from /usr/lib/libQtCore.so.4
#27 0x76048b0c in
QEventLoop::exec(QFlags) ()
   from /usr/lib/libQtCore.so.4
#28 0x7604c84b in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#29 0x005040bf in lyx::LyX::exec (this=,
argc=,
argv=) at LyX.cpp:360
#30 0x0043aacf in main (argc=1, argv=0x7fffe298) at main.cpp:46



-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Sebastian Rockel
Am 31.03.2010 um 14:47 schrieb Pavel Sanda:

> Sebastian Rockel wrote:
>> Here in the mac version I cannot enable it due to everything on that pref 
>> pane is grayed out:-/
> 
> normal spellcheck works?

Also the menu item is grayed out (F7 doesn't do it either).
I just double checked Lyx 1.6.5 with aspell 0.60.6 (MacPorts) and it works fine.
Running on Mac OSX 10.6.3.

Sebastian


> pavel



Re: [patch] Dot -> Image formats

2010-03-31 Thread Julien Rioux

On 31/03/2010 8:46 AM, Pavel Sanda wrote:

Julien Rioux wrote:

lost somehow. Therefore I suggest the following patch, using the dot


looks fine. if you have tested that it works for both ps and pdf correctly,
we will put it in.

pavel



I did test it; ps and pdf output works correctly.

The jpg output could be left out, since (as I just found out) it 
requires gd to be installed. Besides, I am not sure what the use-case is 
for such a converter.


--
Julien


Re: It's time to say goodbye

2010-03-31 Thread Jean-Marc Lasgouttes

Le 30/03/2010 18:36, Hartmut Haase a écrit :

I'm now 65 years old, stopped my main LyX application last year, and do not 
need LyX
anymore.


As others, I am surprised to learn about your age. You took time to do
your coming out!


I also realized that my advice is not really needed anymore, and sometimes
not even wanted.


I think you are mistaken. Feel free to come back and give your opinion 
again, it is appreciated. I completely understand that there is a life

outside of LyX, but I regret that you finish this collaboration with a
bitter taste.


Nevertheless I thank all of you, especially Jean-Marc, for your cooperation and 
help
through the years.


I feel honored to be singled out, but I am not sure I deserve it more
than others. Over the years (how many?) anyway, I have appreciated your
input, although the fact that you kept finding non trivial issues did
not make my work (of maintainer at the time) easier :)

Have fun with your new life.

JMarc




Re: Branch Patch: LyxBlogger Config

2010-03-31 Thread rgheck

On 03/31/2010 09:13 AM, Jack Desert wrote:

Here is a patch to configure LyxBlogger in 1.6.x.

Jurgen, are you the approval committee for branch patches?

   

He is, being the 1.6.x maintainer.

Jurgen, we've discussed this at some length, and this looks good to me.

rh



Re: Lyx 2.0 alpha 1 crashes on scrolling

2010-03-31 Thread rgheck

On 03/31/2010 09:25 AM, stefano franchi wrote:

I am testing the newly released alpha version of Lyx 2.0 and I found the
same problem (I think) I had reported on previous svn version: with
continuous spellchecker enabled, lyx crashes when scrolling rapidly with the
scroll bar.
Here is what I did (and could repeat)

1. Start Lyx
2. enable continuous spelling
3. Open a large file
4. Scroll down with the scroll bar
5. Crash

If I uncheck continuous spelling, the problem disappears.

   
Thanks for the report. Can you file it in trac? Keyword "crash", 
severity critical, milestone 2.0.0.


rh



Re: [patch] Dot -> Image formats

2010-03-31 Thread rgheck

On 03/31/2010 09:38 AM, Julien Rioux wrote:

On 31/03/2010 8:46 AM, Pavel Sanda wrote:

Julien Rioux wrote:

lost somehow. Therefore I suggest the following patch, using the dot


looks fine. if you have tested that it works for both ps and pdf 
correctly,

we will put it in.

pavel



I did test it; ps and pdf output works correctly.

The jpg output could be left out, since (as I just found out) it 
requires gd to be installed. Besides, I am not sure what the use-case 
is for such a converter.



Committed, then, without the jpg thing.

rh




Re: new regression bug in LyX 2.0svn

2010-03-31 Thread Uwe Stöhr

Julien Rioux schrieb:


http://www.lyx.org/trac/ticket/6627


Isn't this the same as http://www.lyx.org/trac/ticket/6519 ?


Yes, it is. Thanks.

regards Uwe


edit ERT insets with external editor?

2010-03-31 Thread Liviu Andronic
Dear LyX developers
Would it be a good idea to allow users to edit ERT insets with an
external editor? I am thinking of something similar to:
1. Have a "Edit with external editor" entry to the ERT inset context menu
2. When activated, LyX would export the current contents of the ERT
inset to a temporary file, and open it with a (pre-defined) text
editor
3. When the user finishes editing the ERT code externally, saves the
temporary file and closes the editor, LyX automatically imports the
contents of the file in the ERT inset (if feasible) or the user
manually activates a "Refresh inset" context-menu entry

Such a feature should be useful to users that make heavy use of LaTeX
code in their documents. Personally I would use it for editing R code
in Sweave documents: when the code gets too complex, it is unbearable
to edit it in the ERT insets (no syntax highlighting, matching braces,
easy indentation, etc.). What do you think?

Regards
Liviu


-- 
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: r33962 - in lyx-devel/trunk: development lib/layouts lib/lyx2lyx src src/frontends/qt4 src/frontends/qt4/ui

2010-03-31 Thread Pavel Sanda
uwesto...@lyx.org wrote:
> Author: uwestoehr
> Date: Wed Mar 31 02:46:50 2010
> New Revision: 33962
> URL: http://www.lyx.org/trac/changeset/33962
> 
> Log:
> fileformat change:
> - support to change the greyed-out note font color (fixes #3865)

> +2010-03-31 Uwe Stöhr 
> + * Format incremented to 382: support to change the font color
> + for greyed-out notes
> +

please keep the entries in FORMAT file more informative. that means
try to indicate what was added, in this case "\notefontcolor color."
good example would be the entry from 2010-01-10 Jürgen Spitzmüller 
.

 
> Modified: lyx-devel/trunk/src/frontends/qt4/ui/FontUi.ui
> ==
> --- lyx-devel/trunk/src/frontends/qt4/ui/FontUi.uiWed Mar 31 00:51:11 
> 2010(r33961)
> +++ lyx-devel/trunk/src/frontends/qt4/ui/FontUi.uiWed Mar 31 02:46:50 
> 2010(r33962)
> @@ -201,7 +201,74 @@
>   
>  
> 
> -   
> +   
> +
> + 
> +  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN 
> http://www.w3.org/TR/REC-html40/strict.dtd;
> +htmlheadmeta name=qrichtext 
> content=1 /style type=text/css
> +p, li { white-space: pre-wrap; }
> +/style/headbody style= font-family:'MS Shell Dlg 
> 2'; font-size:8.25pt; font-weight:400; font-style:normal;
> +p style= margin-top:0px; margin-bottom:0px; margin-left:0px; 
> margin-right:0px; -qt-block-indent:0; text-indent:0px;span 
> style= font-size:8pt;Font color for/span/p
> +p style= margin-top:0px; margin-bottom:0px; margin-left:0px; 
> margin-right:0px; -qt-block-indent:0; text-indent:0px;span 
> style= font-size:8pt;greyed-out 
> notes:/span/p/body/html

i understand the problem but this is really ugly. we must find another way.
either shortcuting a-la 'Greyedout color' and the rest in tooltip
or use something else then label.

pavel


Re: [patch] Dot -> Image formats

2010-03-31 Thread Pavel Sanda
Richard Heck wrote:
> Committed, then, without the jpg thing.

only in your local tree? ;)
btw i think this is also for branch. Juergen?
pavel


Re: [patch] Dot -> Image formats

2010-03-31 Thread rgheck

On 03/31/2010 12:29 PM, Pavel Sanda wrote:

Richard Heck wrote:
   

Committed, then, without the jpg thing.
 

only in your local tree? ;)

   

I got a conflict and had to resolve it. Done now.


btw i think this is also for branch. Juergen?

   

Yes, also for branch.

rh



Re: r33967 - in lyx-devel/trunk/src: . mathed

2010-03-31 Thread Pavel Sanda
rgh...@lyx.org wrote:
> Author: rgheck
> Date: Wed Mar 31 20:24:52 2010
> New Revision: 33967
...
> ugly or (b) creating some new file just containing this enum, which
> seems like overkill. Any other ideas?

support/types.h ?
pavel


Re: r33967 - in lyx-devel/trunk/src: . mathed

2010-03-31 Thread rgheck

On 03/31/2010 02:55 PM, Pavel Sanda wrote:

rgh...@lyx.org wrote:
   

Author: rgheck
Date: Wed Mar 31 20:24:52 2010
New Revision: 33967
 

...
   

ugly or (b) creating some new file just containing this enum, which
seems like overkill. Any other ideas?
 

support/types.h ?

   
I suppose it could go there, but it doesn't seem to fit, in some way, 
with the other things that are in there.


rh



Re: r33975 - lyx-devel/trunk/src/mathed

2010-03-31 Thread Pavel Sanda
rgh...@lyx.org wrote:
> Author: rgheck
> Date: Wed Mar 31 21:17:06 2010
> New Revision: 33975
> URL: http://www.lyx.org/trac/changeset/33975
> 
> Log:
> Change semantics of two-arg htmlize to make more consistent with other
> functions.
> 
> Modified:
>lyx-devel/trunk/src/mathed/InsetMathGrid.cpp
>lyx-devel/trunk/src/mathed/InsetMathMatrix.h
> 
> Modified: lyx-devel/trunk/src/mathed/InsetMathMatrix.h
> ==
> --- lyx-devel/trunk/src/mathed/InsetMathMatrix.h  Wed Mar 31 21:09:05 
> 2010(r33974)
> +++ lyx-devel/trunk/src/mathed/InsetMathMatrix.h  Wed Mar 31 21:17:06 
> 2010(r33975)
> @@ -42,6 +42,8 @@
>   ///
>   void mathmlize(MathStream &) const;
>   ///
> + void htmlize(HtmlStream &) const;
> + ///
>   void octave(OctaveStream &) const;
>   ///
>   InsetCode lyxCode() const { return MATH_MATRIX_CODE; }

make[4]: Entering directory `/home/paf/lyx/devel/src'
g++  -O   -o lyx main.o AspellChecker.o BiblioInfo.o Box.o Compare.o 
Dimension.o   PrinterParams.o Thesaurus.o  liblyxcore.a liblyxmathed.a 
liblyxinsets.a frontends/liblyxfrontends.a frontends/qt4/liblyxqt4.a 
liblyxgraphics.a support/liblyxsupport.a ../boost/liblyxboost.a -laspell   
-lz  -L/usr/lib/qt4   -lQtGui -lQtCore   
liblyxmathed.a(InsetMathMatrix.o):(.rodata._ZTVN3lyx15InsetMathMatrixE[vtable 
for lyx::InsetMathMatrix]+0x2d4): undefined reference to 
`lyx::InsetMathMatrix::htmlize(lyx::HtmlStream&) const'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1


Re: r33967 - in lyx-devel/trunk/src: . mathed

2010-03-31 Thread Pavel Sanda
Richard Heck wrote:
> On 03/31/2010 02:55 PM, Pavel Sanda wrote:
>> rgh...@lyx.org wrote:
>>
>>> Author: rgheck
>>> Date: Wed Mar 31 20:24:52 2010
>>> New Revision: 33967
>>>  
>> ...
>>
>>> ugly or (b) creating some new file just containing this enum, which
>>> seems like overkill. Any other ideas?
>>>  
>> support/types.h ?
>>
>>
> I suppose it could go there, but it doesn't seem to fit, in some way, with 
> the other things that are in there.

OutputEnums.h ?
pavel


Re: r33975 - lyx-devel/trunk/src/mathed

2010-03-31 Thread rgheck

On 03/31/2010 03:43 PM, Pavel Sanda wrote:

rgh...@lyx.org wrote:
   

Author: rgheck
Date: Wed Mar 31 21:17:06 2010
New Revision: 33975
URL: http://www.lyx.org/trac/changeset/33975

Log:
Change semantics of two-arg htmlize to make more consistent with other
functions.

Modified:
lyx-devel/trunk/src/mathed/InsetMathGrid.cpp
lyx-devel/trunk/src/mathed/InsetMathMatrix.h

Modified: lyx-devel/trunk/src/mathed/InsetMathMatrix.h
==
--- lyx-devel/trunk/src/mathed/InsetMathMatrix.hWed Mar 31 21:09:05 
2010(r33974)
+++ lyx-devel/trunk/src/mathed/InsetMathMatrix.hWed Mar 31 21:17:06 
2010(r33975)
@@ -42,6 +42,8 @@
///
void mathmlize(MathStream&) const;
///
+   void htmlize(HtmlStream&) const;
+   ///
void octave(OctaveStream&) const;
///
InsetCode lyxCode() const { return MATH_MATRIX_CODE; }
 

make[4]: Entering directory `/home/paf/lyx/devel/src'
g++  -O   -o lyx main.o AspellChecker.o BiblioInfo.o Box.o Compare.o 
Dimension.o   PrinterParams.o Thesaurus.o  liblyxcore.a liblyxmathed.a 
liblyxinsets.a frontends/liblyxfrontends.a frontends/qt4/liblyxqt4.a 
liblyxgraphics.a support/liblyxsupport.a ../boost/liblyxboost.a -laspell   
-lz  -L/usr/lib/qt4   -lQtGui -lQtCore
liblyxmathed.a(InsetMathMatrix.o):(.rodata._ZTVN3lyx15InsetMathMatrixE[vtable for 
lyx::InsetMathMatrix]+0x2d4): undefined reference to 
`lyx::InsetMathMatrix::htmlize(lyx::HtmlStream&) const'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1

   

Sorry. I committed that early. Should be ok.

rh




Warning

2010-03-31 Thread Pavel Sanda
1. new file
2. insert child doc, eg Additional.lyx
3. console output:
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem
step: Counter does not exist: theorem


pavel


Re: There exists a win version of LyX 2.0

2010-03-31 Thread Vincent van Ravesteijn


I expect a first Win version for alpha 2. For me it turned out that 
alpha 1 was too buggy, that's why I haven't released a Win installer 
for it. 


?

Vincent


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

2010-03-31 Thread Vincent van Ravesteijn

sa...@lyx.org schreef:

Author: sanda
Date: Wed Mar 31 23:25:05 2010
New Revision: 33993
URL: http://www.lyx.org/trac/changeset/33993

Log:
Unintentional part of previewinset stuff

Modified:
   lyx-devel/trunk/lib/ui/stdmenus.inc

Modified: lyx-devel/trunk/lib/ui/stdmenus.inc
==
--- lyx-devel/trunk/lib/ui/stdmenus.inc Wed Mar 31 23:24:16 2010(r33992)
+++ lyx-devel/trunk/lib/ui/stdmenus.inc Wed Mar 31 23:25:05 2010(r33993)
@@ -70,13 +70,13 @@
 
 	Menu "file_vc"

OptItem "Register...|R" "vc-register"
-   OptItem "Check In Changes...|I" "vc-command DR \".\" \"TortoiseProc 
/command:commit /path:$$p\""
-   OptItem "Check Out for Edit|O" "vc-command DR \".\" \"TortoiseProc 
/command:update /path:$$p\""
+   OptItem "Check In Changes...|I" "vc-check-in"
+   OptItem "Check Out for Edit|O" "vc-check-out"
OptItem "Update Local Directory From Repository|d" 
"vc-repo-update"
-   OptItem "Revert to Repository Version|v" "vc-command DR \".\" 
\"TortoiseProc /command:revert /path:$$p\""
+   OptItem "Revert to Repository Version|v" "vc-revert"
OptItem "Undo Last Check In|U" "vc-undo-last"
OptItem "Compare with Older Revision|C" "vc-compare"
-   OptItem "Show History...|H" "vc-command D \".\" \"TortoiseProc 
/command:log /path:$$p\""
+   OptItem "Show History...|H" "dialog-show vclog"
OptItem "Use Locking Property|L" "vc-locking-toggle"
End
 
  

Oops.. sorry. This is the disadvantage of svn over git.

By the way, the git repository seems to be sleeping since oktober or so ?

Vincent


Goodbye, and thanks for all the fish

2010-03-31 Thread Alex Fernandez
Hi folks,

After Hartmut's goodbye message I have been doing some thinking, and I
am also leaving the list. Following development of LyX 2.0 is not in
my priorities, and I am not getting help from LyX developers any more
as in the beginning. So (although I'm not yet 65 years old) I have
decided to unsubscribe from the list, effective now.

eLyXer will of course continue to be developed: there are many
exciting milestones in the future (MathJax, math macros, split HTML
pages) and I still have lots of fun developing it. And of course I
still need decent HTML output. But I will not monitor the lyx-devel
list any more, so if you want my input please include the eLyXer list
(preferred): elyxer-us...@nongnu.org (the volume does not warrant a
separate dev list), or me: ely...@gmail.com. I will continue to
monitor the lyx-users list for mentions of eLyXer, and from now on
announce new releases there. I felt it was fair to let you know.

Thanks!

Alex.


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

2010-03-31 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
> By the way, the git repository seems to be sleeping since oktober or so ?

yes, its not under our control and maintainer doesn't respond. 
other possibility would be to have it on our server, but Christian
didn't look to be interested.

pavel



Re: about lyx 2.0.0 alpha 1

2010-03-31 Thread Vincent van Ravesteijn

Marcelo Acuña schreef:


Hello,
 I am very happy with this new leap of development.
 I remained pleasingly surprised by the new added features.
 In this alpha version I noted that:
 1) the fact that outline is open when I close lyx is forgotten for 
the next run.




Yes, we know this. I probably fix this as soon as I come to it ;)...

Thanks,

Vincent

(Please don't send the same mail to both lists at once.)


Re: Goodbye, and thanks for all the fish

2010-03-31 Thread Pavel Sanda
Alex Fernandez wrote:
> eLyXer will of course continue to be developed: there are many
> exciting milestones in the future (MathJax, math macros, split HTML
> pages) and I still have lots of fun developing it. And of course I
> still need decent HTML output. But I will not monitor the lyx-devel
> list any more, so if you want my input please include the eLyXer list
> (preferred): elyxer-us...@nongnu.org (the volume does not warrant a
> separate dev list), or me: ely...@gmail.com. I will continue to
> monitor the lyx-users list for mentions of eLyXer, and from now on
> announce new releases there. I felt it was fair to let you know.

looking forward to the next flames on users list :)
pavel


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Stephan Witt

Am 31.03.2010 um 15:35 schrieb Sebastian Rockel:

> Am 31.03.2010 um 14:47 schrieb Pavel Sanda:
> 
>> Sebastian Rockel wrote:
>>> Here in the mac version I cannot enable it due to everything on that pref 
>>> pane is grayed out:-/
>> 
>> normal spellcheck works?
> 
> Also the menu item is grayed out (F7 doesn't do it either).
> I just double checked Lyx 1.6.5 with aspell 0.60.6 (MacPorts) and it works 
> fine.
> Running on Mac OSX 10.6.3.

I guess you're using the LyX-2.0.0alpha1.dmg I build on Snow Leopard.

You're right, no aspell support :(
I didn't read carefully enough this part of configure output:

checking aspell.h usability... yes
checking aspell.h presence... yes
checking for aspell.h... yes
checking for new_aspell_config in -laspell... no
checking whether to use aspell... no

So I looked for the reason and found that configure detected the headers of 
aspell but did not find the library.
When trying to improve the situation I learned that my "universal" aspell 
library from macports is like that:

% file /opt/local/lib/libaspell.dylib 
/opt/local/lib/libaspell.dylib: Mach-O universal binary with 2 architectures
/opt/local/lib/libaspell.dylib (for architecture x86_64):   Mach-O 64-bit 
dynamically linked shared library x86_64
/opt/local/lib/libaspell.dylib (for architecture i386): Mach-O dynamically 
linked shared library i386

So in fact I cannot build a ppc version of LyX with aspell now. I'll see what I 
can do...

Stephan



Re: r33962 - in lyx-devel/trunk: development lib/layouts lib/lyx2lyx src src/frontends/qt4 src/frontends/qt4/ui

2010-03-31 Thread Uwe Stöhr

> i understand the problem but this is really ugly. we must find another way.
> either shortcuting a-la 'Greyedout color' and the rest in tooltip
> or use something else then label.

Why is having a label over 2 lines ugly? Qt supports this and also many other applications have 
this. Moreover the font dialog look OK to me. In fact it's only a matter of taste, isn't it?

What do others think?

regards Uwe