Re: pictures and collaboration

2005-12-08 Thread Georg Baum
Gunnar wrote:

 Hi.
 If one would like to send a LyX file that contains many pictures to
 another person, one has to send all files to that person. When we are
 talking about users with moderate experience of compressed files/creating
 archives etc. I can only see problem ahead, unfortunatly.
 
 One idea then would be to create a new kind of LyX files: LyX-zip files
 that
 contains all files,  expands to a temp directory when opened, and goes
 back to a LyX-zip file when closing LyX.
 
 One problem is that the pictures can be updated, for example by external
 programs, and one shouldn't have to include the pictures again.

This is an old wish. See http://bugzilla.lyx.org/show_bug.cgi?id=700 and add
your thoughts there if not already coverd.


Georg



Re: INDENTFIRST after lists (was: Indent on every 1st paragraph after different environment)

2005-12-08 Thread Andrei Popov
 \usepackage{indentfirst}

 That's all.

Unfortunately, that's not all. This technique will not work in LyX
in a situation where, for example, you have a paragraph going after an
enumerated/bulleted list. This paragraph will not be indented, though
it should.

It will be indented in pure LaTeX+some editor situation, because
you'll have a line break after a list (and so INDENTFIRST will notice
that and work as expected ), but in LyX there's either no line break
after list or some other problem, and this won't work.

I'd say it's a bug, but maybe some LyX devs would come up with more
input on that. I think fixing the appropriate environments and adding
a line break after them if INDENTFIRST is used would be nice.

-- 
WBR,
Andrei Popov

Using LyX 1.3.6 on Debian GNU/Linux



Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


Helge Hafting [EMAIL PROTECTED] writes:

| On Wed, Dec 07, 2005 at 04:58:51PM +0100, Jean-Marc Lasgouttes wrote:
|   Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|  
|  Lars I also tried to do some profiling on this, but failed to get

|  Lars anything to pinpoint. Also on my box startup times are not bad
|  Lars at all... (sub-second)
|  
|  I clearly see a difference between 1.3.x and 1.4.x, but the times are

|  reasonably short.
| 
| Evereybody except me get sub-second startup times?

| That is good, lyx is probably ok with me making a mistake then.
| It'd sure be interesting if anyone have an idea what I do wrong.
| 
| My configure command, using optimizations and disabling

| some costly debugging.  Are there perhaps other things that impact speed?
| 
| 
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
| --with-qt-includes=/usr/include/qt3 --disable-stdlib-debug 
| --disable-concept-checks --enable-assertions CFLAGS=-O2 CPPFLAGS=-O2


Even on a build with this:

./configure --with-frontend=qt --disable-debug

And when starting I get sub-2-second startup. (cached, no disk read needed)
This in on a AMD XP 2400

The only thing I see with your configure line that could be changed in
the last two variables that you set... (btw. does it work to set them
last on the command line?)

To set optimization level you should use --enable-optimization='-O2'

 


Ok, tried this.  More exactly:
$ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
--with-qt-includes=/usr/include/qt3 --disable-debug 
--disable-concept-checks --enable-optimization=-O2


Lyx takes 5 seconds to start on a pentium M, 2.4 GHz.  The 3 seconds
previously mentioned was on the 1.8GHz opteron.  I have
compiled with these options there too, and will time it again
when I get to the machine. (No use timing lyx over the ADSL line, we'll be
waiting for tunneled X in that case.)

I am now trying -Os instead of -O2.  If that doesn't help, I'll try your
config to check if there is something weird going on, like
--with-gnu-ld or one of the others unexpectedly triggering something.



Hmm are these 64bit binaries or 32bit? (does that matter?)
 


I hope not!  This was from the opteron, so all libraries was 64-bit.
It is the fastest of my two test machines anyway.


On my FC4 running on an AMD64 XP3500 all the above libraries point
into some lib64 dir. (might very well be one of the differenced
between debian and fedora)
 

Yes.  Debians amd64 is a 64-bit port, so the 64-bit libraries is in 
/lib.  There
are no 32-bit stuff at all, unless you install it in order to support 
the odd

32-bit binary-only program, like adobe acrobat or wine. (Well, wine is
open source but it runs 32-bit proprietary sw...)
Debian has a /lib64, but it is merely a link to /lib.

Helge Hafting


Empty subsections - View/Export weirdness

2005-12-08 Thread Bonhôte, André

Hi!

I don't really think this is something about LyX, rather a LaTeX  
issue IMHO. I have a document containing some sections and a huge  
number of subsections in each, all empty (it's going to be a database  
documentation - filling in will need some time). Now, exporting to  
PDF and DVI shows the section and the first n rows of subsections,  
but it does not wrap the page. It rather runs over the footer and  
continues to write on the desk ;-)


In the archive, I have seen a thread about this [1], but it's quite a  
long time ago, and I wonder now if there's a way to fix that.  
Currently, I am adding a '-' below each subsection :-(



TIA

André Bonhôte

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28802.html


Systems Engineer
COLT
Mürtschenstrasse 27
CH-8048 Zürich/Switzerland
Tel:   +41 (0)44 560 06 00  Internal: 8411 0501
Fax:  +41 (0)44 563 05 01
[EMAIL PROTECTED]
www.colt.net
Data | Voice | Managed Services




Re: Forget Windows

2005-12-08 Thread Lars Gullik Bjønnes
Helge Hafting [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
| 
| Helge Hafting [EMAIL PROTECTED] writes:
| 
| | On Wed, Dec 07, 2005 at 04:58:51PM +0100, Jean-Marc Lasgouttes wrote:
| |   Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|  |  |  Lars I also tried to do some profiling on this, but failed
|  to get
| |  Lars anything to pinpoint. Also on my box startup times are not bad
| |  Lars at all... (sub-second)
|  |  |  I clearly see a difference between 1.3.x and 1.4.x, but the
|  times are
| |  reasonably short.
|  | | Evereybody except me get sub-second startup times?
| | That is good, lyx is probably ok with me making a mistake then.
| | It'd sure be interesting if anyone have an idea what I do wrong.
|  | | My configure command, using optimizations and disabling
| | some costly debugging.  Are there perhaps other things that impact speed?
|  | | | $ ./configure --prefix=/usr/local --with-frontend=qt
|  --with-gnu-ld | --with-qt-includes=/usr/include/qt3
|  --disable-stdlib-debug | --disable-concept-checks
|  --enable-assertions CFLAGS=-O2 CPPFLAGS=-O2
| 
| Even on a build with this:
| 
| ./configure --with-frontend=qt --disable-debug
| 
| And when starting I get sub-2-second startup. (cached, no disk read needed)
| This in on a AMD XP 2400
| 
| The only thing I see with your configure line that could be changed in
| the last two variables that you set... (btw. does it work to set them
| last on the command line?)
| 
| To set optimization level you should use --enable-optimization='-O2'
| 
| 
| Ok, tried this.  More exactly:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.

-- 
Lgb



Downtime on LyX servers.

2005-12-08 Thread Lars Gullik Bjønnes

The LyX servers will be taken down within one hour, to be relocated to
a different server room.

This mean that all services provided by aussie or baywatch will be
down.
The mailingling lists on lists.lyx.org might also suffer, because of
dns issues, but essentially the lists should work.

I am sorry for the late notice.

-- 
Lgb


natbib and non-english?

2005-12-08 Thread mamato
hi,

how do i get natbib to use another language than english (ie french)?
my language is already set to french in my doc preferences.

thx,

  mamato


Re: LyX wiki has been upgraded

2005-12-08 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 This is a warning^H^H^H^H^H^H^H blurb that I just finally upgraded the
 wiki to the new wiki engine.

neat. Once everything else is up and running, could you please replace the 
ugly LyX monster in the upper left corner by a slightly less ugly one, e.g.
http://wiki.lyx.org/uploads/LyX/Logotype/lyx.png

Thanks,
Jürgen


Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


| To set optimization level you should use --enable-optimization='-O2'
| 
| 
| Ok, tried this.  More exactly:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.
 


So --disable-stdlib-debug is not implied by --disable-debug?

Using  --enable-optimization=-O2 did not help.
Using -Os instead of -O2 gave me a much smaller binary, but
it did not help. Using just
$ ./configure --prefix=/usr/local --with-frontend=qt 
--with-qt-includes=/usr/include/qt3 --disable-debug


was just as bad.

the best I get is 5.2s for starting lyx, the worst I get is 5.4s depending
on the optimizations.  This on the 2.4GHz pentium.  I'll try throwing in
--disable-stdlib-debug next.

Helga Hafting





Re: Forget Windows

2005-12-08 Thread Angus Leeming
Helge Hafting wrote:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.

 So --disable-stdlib-debug is not implied by --disable-debug?

You'd imagine so, but no.

All --enable-debug does is add '-g ' to CFLAGS and to CXXFLAGS whilst
--enable-stdlib-debug adds the preprocessor commands

#define _GLIBCXX_DEBUG 1
#define _GLIBCXX_DEBUG_PEDANTIC 1

to config.h. Boy, do these two have a big effect on performance! Without
them, LyX is literally an order of magnitude faster. At least, it is for
me ;-)

-- 
Angus



Re: Forget Windows

2005-12-08 Thread Lars Gullik Bjønnes
Helge Hafting [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
| 
| | To set optimization level you should use --enable-optimization='-O2'
| | 
| | 
| | Ok, tried this.  More exactly:
| | $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| | --with-qt-includes=/usr/include/qt3 --disable-debug
| | --disable-concept-checks --enable-optimization=-O2
| 
| You should use '--disable-stdlib-debug' as well. that is a real time
| consumer, nice when developing but not else.
| 
| So --disable-stdlib-debug is not implied by --disable-debug?

No, I do not think so... (hmm ... I cannot remember how I implementet
this bug stdlib debug and debug are realy ortogonal)


-- 
Lgb



Re: INDENTFIRST after lists (was: Indent on every 1st paragraph after different environment)

2005-12-08 Thread Bennett Helm

On Dec 8, 2005, at 4:13 AM, Andrei Popov wrote:


It will be indented in pure LaTeX+some editor situation, because
you'll have a line break after a list (and so INDENTFIRST will notice
that and work as expected ), but in LyX there's either no line break
after list or some other problem, and this won't work.


To force LyX to put an empty line in the .tex document it produces,  
insert a standard paragraph with an empty ERT.


Bennett


Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


Helge Hafting [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
| 
| | To set optimization level you should use --enable-optimization='-O2'

| | 
| | 
| | Ok, tried this.  More exactly:
| | $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| | --with-qt-includes=/usr/include/qt3 --disable-debug
| | --disable-concept-checks --enable-optimization=-O2
| 
| You should use '--disable-stdlib-debug' as well. that is a real time
| consumer, nice when developing but not else.
| 
| So --disable-stdlib-debug is not implied by --disable-debug?

No, I do not think so... (hmm ... I cannot remember how I implementet
this bug stdlib debug and debug are realy ortogonal)
 


Well, this helped -- a little.
With
$ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
--with-qt-includes=/usr/include/qt3 --disable-debug 
--disable-concept-checks --disable-stdlib-debug --enable-optimization=-O2

I got 4.7s starting lyx instead of 5.2s

Starting with LANG=C brings this further down to 4.6s, so 
internationalization

is not the big culprit.

The test method is to run
time lyx
while clicking the mouse fast in the place where the closing button is 
going to
appear.  Repeated clicks are used so my reaction time won't affect the 
result.

I barely see the main window, it is removed as soon as it appears.

The same kind of timing for lyx-qt 1.3.6 from debian is 0.7s, with or 
without

translations. So it doesn't seem like a debian problem.

Is there some sort of profiling I could try?

Helge Hafting





WinInstaller 0.51

2005-12-08 Thread Geoffrey Lloyd




- Original Message - 
From: Angus Leeming [EMAIL PROTECTED]

To: Geoffrey Lloyd [EMAIL PROTECTED]
Sent: Thursday, December 08, 2005 10:41 AM
Subject: Re: WinInstaller 0.51



On Thursday 08 December 2005 00:47, you wrote:

 Me neither. However, there *is* a problem with the lyxpreview2ppm.py
 script when the path to the executable contains spaces. Perhaps you
 could see if the attached patch fixes things?


I would love to help but I am not in a position, or experienced enough, 
to

compile from scratch - sorry.


You don't need to. You need only modify the file
C:\Program Files\LyX\Resources\lyx\scripts\lyxpreview2ppm.py
by hand (using your favourite editor), replacing the line that is 
prefixed

with a '-' character with those prefixed with a '+'. Removing that '+' of
course ;-)

The file in question is a Python script that is processed by python.exe 
on the

fly. No compilation necessary.


However this does sound like it could be the route of the problem.


So test it.

Angus


Ok sorry for my ignorance of how to use the diff. I have now made the 
changes and it does indeed solve the problem.


Instant Preview now works with the installation at C:\Program Files\Lyx 
(the default)










Re: WinInstaller 0.51

2005-12-08 Thread Angus Leeming
Geoffrey Lloyd wrote:
 The file in question is a Python script that is processed by python.exe
 on the fly. No compilation necessary.

 Ok sorry for my ignorance of how to use the diff.

No need to apologise. Thanks for testing it out.

 I have now made the changes and it does indeed solve the problem.
 Instant Preview now works with the installation at C:\Program Files\Lyx
 (the default)

Great!

-- 
Angus



Re: Forget Windows

2005-12-08 Thread Jean-Marc Lasgouttes
 Helge == Helge Hafting [EMAIL PROTECTED] writes:

Helge The test method is to run time lyx while clicking the mouse
Helge fast in the place where the closing button is going to appear.
Helge Repeated clicks are used so my reaction time won't affect the
Helge result. I barely see the main window, it is removed as soon as
Helge it appears.

You can try also lyx -x lyx-quit

Helge Is there some sort of profiling I could try?

Try to run lyx with option -dbg init and see whether there is a long
time between two particular messages.

JMarc


Re: Empty subsections - View/Export weirdness

2005-12-08 Thread Jean-Marc Lasgouttes
 André == Bonhôte, André [EMAIL PROTECTED] writes:

André Hi! I don't really think this is something about LyX, rather a
André LaTeX issue IMHO. I have a document containing some sections
André and a huge number of subsections in each, all empty (it's going
André to be a database documentation - filling in will need some
André time). Now, exporting to PDF and DVI shows the section and the
André first n rows of subsections, but it does not wrap the page. It
André rather runs over the footer and continues to write on the desk
André ;-)

This is a LaTeX bug/feature (a section is not supposed to be alone at
the bottom of a page). 

JMarc


width of table

2005-12-08 Thread mamato
how can i make a table who's width is the same as the surrounding text?
i've tried setting column widths using text%, col%, page%, line% and its
always larger than it should...

mamato


Re: width of table

2005-12-08 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

how can i make a table who's width is the same as the surrounding text?
i've tried setting column widths using text%, col%, page%, line% and its
always larger than it should...

mamato



If the table is wider than what you want, possible fixes include using a 
smaller font in the table entries or making one or more columns 
fixed-width (enabling line wrapping).


Paul




Re: LyX wiki has been upgraded - Help, I need Hepl!!!

2005-12-08 Thread chr
On Wed, 7 Dec 2005, Uwe Stöhr wrote:

  Should I change File manager to Upload manager or something else?
 
 Yes please rename it to Upload manager.

Better now?

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Forget Windows

2005-12-08 Thread chr
On Thu, 8 Dec 2005, Helge Hafting wrote:

 The test method is to run
 time lyx
 while clicking the mouse fast in the place where the closing button is
 going to appear.

Just a minor tip, try this:

time lyx -x 'command-sequence lyx-quit;'

and you don't have close it manually. A long time ago I (for practice) 
wrote a script that times lyx doing something, see here:

http://wiki.lyx.org/devel/pmwiki.php/DevelTools/TimeLyx

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: LyX wiki has been upgraded

2005-12-08 Thread chr
On Thu, 8 Dec 2005, Juergen Spitzmueller wrote:

 [EMAIL PROTECTED] wrote:
  This is a warning^H^H^H^H^H^H^H blurb that I just finally upgraded the
  wiki to the new wiki engine.
 
 neat. Once everything else is up and running, could you please replace the 
 ugly LyX monster in the upper left corner by a slightly less ugly one, e.g.
 http://wiki.lyx.org/uploads/LyX/Logotype/lyx.png

Done. Hmm... you don't think it's a bit big now though?

I guess I could customize the skin to work better, but I suspect my time
working on the wiki is better spent on structure/content than apperance.
As it is, we're using the default skin of pmwiki which looks ok to me.
However, if I get specific instructions/suggestions on what to change I
can do so. (*)

/Christian

I'll test the changes on a separate installation first of course... 

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




euro symbol

2005-12-08 Thread mamato
i can't get the euro symbol to work :/
i tried \EUR and \euro using europs and eurosans packages but no success...
i'm using pslatex font, french language and default encoding...

  mamato


Re: Forget Windows

2005-12-08 Thread Rich Shepard

On Thu, 8 Dec 2005, [EMAIL PROTECTED] wrote:


Just a minor tip, try this:

time lyx -x 'command-sequence lyx-quit;'


Christian,

  How kewel! I've not had LyX running today, so I gave the above three tries
in succession:

[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m2.014s
user0m0.280s
sys 0m0.050s
[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m0.345s
user0m0.230s
sys 0m0.030s
[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m0.342s
user0m0.260s
sys 0m0.010s

  Both the startup times and the use of the automatic command-sequence with
the time command are impressive.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Forget Windows

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 03:46:45PM +0100, Jean-Marc Lasgouttes wrote:
  Helge == Helge Hafting [EMAIL PROTECTED] writes:
 
 Helge The test method is to run time lyx while clicking the mouse
 Helge fast in the place where the closing button is going to appear.
 Helge Repeated clicks are used so my reaction time won't affect the
 Helge result. I barely see the main window, it is removed as soon as
 Helge it appears.
 
 You can try also lyx -x lyx-quit
 
Thanks.  Much easier, and I get the same timings.

 Helge Is there some sort of profiling I could try?
 
 Try to run lyx with option -dbg init and see whether there is a long
 time between two particular messages.
 

I got two noticeable pauses:

Setting debug level to init
Debugging `init' (Program initialisation)
Checking whether LyX is run in place... no
package
binary_dir /usr/local/bin/
system_support /usr/local/share/lyx/
build_support 
user_support /home/helge/.lyx/
locale_dir /usr/local/share/locale/
document_dir /home/helge
temp_dir /tmp
home_dir /home/helge
/package

Initializing LyX::init...

NOTICEABLE DELAY HERE

About to read lyxrc.defaults...
Found lyxrc.defaults in /home/helge/.lyx/lyxrc.defaults
About to read preferences...
Found preferences in /home/helge/.lyx/preferences
About to read encodings...
Reading encoding iso8859-2
Reading encoding iso8859-3
Reading encoding iso8859-4
Reading encoding iso8859-5
Reading encoding iso8859-6
Reading encoding iso8859-7
Reading encoding iso8859-9
Reading encoding iso8859-13
Reading encoding iso8859-15
Reading encoding cp1255
Reading encoding cp1251
Reading encoding koi8
Reading encoding koi8-u
Reading encoding tis620-0
Reading encoding pt154
About to read languages...
Reading language afrikaans
Reading language american
Reading language arabic
Reading language austrian
Reading language bahasa
Reading language belarusian
Reading language basque
Reading language brazil
Reading language breton
Reading language british
Reading language bulgarian
Reading language canadian
Reading language canadien
Reading language catalan
Reading language croatian
Reading language czech
Reading language danish
Reading language dutch
Reading language english
Reading language esperanto
Reading language estonian
Reading language finnish
Reading language french
Reading language galician
Reading language german
Reading language ngerman
Reading language greek
Reading language hebrew
Reading language irish
Reading language italian
Reading language kazakh
Reading language lithuanian
Reading language latvian
Reading language icelandic
Reading language magyar
Reading language norsk
Reading language nynorsk
Reading language polish
Reading language portuges
Reading language romanian
Reading language russian
Reading language scottish
Reading language serbian
Reading language serbocroatian
Reading language spanish
Reading language slovak
Reading language slovene
Reading language swedish
Reading language thai
Reading language turkish
Reading language ukrainian
Reading language welsh
Reading layouts...
About to read default...
Found default in /usr/local/share/lyx/ui/default.ui
About to read stdmenus.ui...
Found stdmenus.ui in /usr/local/share/lyx/ui/stdmenus.ui
About to read stdtoolbars.ui...
Found stdtoolbars.ui in /usr/local/share/lyx/ui/stdtoolbars.ui
LyX tmp dir: `/tmp/lyx_tmpdir256720kz6fB'
Reading lastfiles `/home/helge/.lyx/lastfiles'...
Initializing LyX::init...done

EVEN LONGER DELAY HERE

About to handle -x 'lyx-quit'
Warning: this system's locale uses Unicode.
Language code:nb_NO
Setting new locale for Qt:nb_NO
Initializing LyXFunc
Initializing key mappings...


These two delays account for practically all the startup time - 
the other messages scrolls by too fast to read.

Helge Hafting


Re: Forget Windows

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 09:46:05AM -0800, Rich Shepard wrote:
 On Thu, 8 Dec 2005, [EMAIL PROTECTED] wrote:
 
 Just a minor tip, try this:
 
  time lyx -x 'command-sequence lyx-quit;'
 
 Christian,
 
   How kewel! I've not had LyX running today, so I gave the above three tries
 in succession:
 
 [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
 
 real0m2.014s
 user0m0.280s
 sys 0m0.050s
 [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
 
 real0m0.345s
 user0m0.230s
 sys 0m0.030s
 [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
 
 real0m0.342s
 user0m0.260s
 sys 0m0.010s
 
   Both the startup times and the use of the automatic command-sequence with
 the time command are impressive.
 
Impressive timings.  Your first start is faster than my cached startups.
My lyx-1.3 starts in 0.7s, my lyx-1.4 in 3.5s when in cache.
Which version of lyx is this, and does it use xforms or qt?

Helge Hafting 


Re: euro symbol

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 07:07:28PM +0100, [EMAIL PROTECTED] wrote:
 i can't get the euro symbol to work :/
 i tried \EUR and \euro using europs and eurosans packages but no success...
 i'm using pslatex font, french language and default encoding...
 

You put those \euro commands in a TeX box, right?  They won't work in the text
itself.  And make sure you have a space (or {}) after the command,
i.e. \euro  or \euro{}


You don't really need to use packages for this, because euro is supported
by babel (in greek mode, for some reason), and babel is invoked automatically
by lyx.

Just insert a TeX box, and write \euro{} inside.  Then mark the entire box
(not just the contents, start marking before it and end after it, but
don't include other text) Then change the language of the marked box to Greek.
This is necessary, \euro (without any packages) works in Greek but not 
otherwise.

To avoid repeating this over and over, just copy the Greek \euro command around
in the document when needed.

Helge Hafting


Re: Forget Windows

2005-12-08 Thread Rich Shepard

On Thu, 8 Dec 2005, Helge Hafting wrote:


Impressive timings.  Your first start is faster than my cached startups. My
lyx-1.3 starts in 0.7s, my lyx-1.4 in 3.5s when in cache. Which version of
lyx is this, and does it use xforms or qt?


Helge,

  1.3.6qt. On Slack-10.2. A moderately fast machine, but a standard (slow)
hard drive.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: LyX wiki has been upgraded

2005-12-08 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 Done. Hmm... you don't think it's a bit big now though?

Perhaps. You could try the attached, scaled version.

 I guess I could customize the skin to work better, but I suspect my time
 working on the wiki is better spent on structure/content than apperance.

Certainly. I didn't want to push you.

Jürgen


lyx_logo_medium2.png
Description: PNG image


Re: pictures and collaboration

2005-12-08 Thread Georg Baum
Gunnar wrote:

 Hi.
 If one would like to send a LyX file that contains many pictures to
 another person, one has to send all files to that person. When we are
 talking about users with moderate experience of compressed files/creating
 archives etc. I can only see problem ahead, unfortunatly.
 
 One idea then would be to create a new kind of LyX files: LyX-zip files
 that
 contains all files,  expands to a temp directory when opened, and goes
 back to a LyX-zip file when closing LyX.
 
 One problem is that the pictures can be updated, for example by external
 programs, and one shouldn't have to include the pictures again.

This is an old wish. See http://bugzilla.lyx.org/show_bug.cgi?id=700 and add
your thoughts there if not already coverd.


Georg



Re: INDENTFIRST after lists (was: Indent on every 1st paragraph after different environment)

2005-12-08 Thread Andrei Popov
 \usepackage{indentfirst}

 That's all.

Unfortunately, that's not all. This technique will not work in LyX
in a situation where, for example, you have a paragraph going after an
enumerated/bulleted list. This paragraph will not be indented, though
it should.

It will be indented in pure LaTeX+some editor situation, because
you'll have a line break after a list (and so INDENTFIRST will notice
that and work as expected ), but in LyX there's either no line break
after list or some other problem, and this won't work.

I'd say it's a bug, but maybe some LyX devs would come up with more
input on that. I think fixing the appropriate environments and adding
a line break after them if INDENTFIRST is used would be nice.

-- 
WBR,
Andrei Popov

Using LyX 1.3.6 on Debian GNU/Linux



Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


Helge Hafting [EMAIL PROTECTED] writes:

| On Wed, Dec 07, 2005 at 04:58:51PM +0100, Jean-Marc Lasgouttes wrote:
|   Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|  
|  Lars I also tried to do some profiling on this, but failed to get

|  Lars anything to pinpoint. Also on my box startup times are not bad
|  Lars at all... (sub-second)
|  
|  I clearly see a difference between 1.3.x and 1.4.x, but the times are

|  reasonably short.
| 
| Evereybody except me get sub-second startup times?

| That is good, lyx is probably ok with me making a mistake then.
| It'd sure be interesting if anyone have an idea what I do wrong.
| 
| My configure command, using optimizations and disabling

| some costly debugging.  Are there perhaps other things that impact speed?
| 
| 
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
| --with-qt-includes=/usr/include/qt3 --disable-stdlib-debug 
| --disable-concept-checks --enable-assertions CFLAGS=-O2 CPPFLAGS=-O2


Even on a build with this:

./configure --with-frontend=qt --disable-debug

And when starting I get sub-2-second startup. (cached, no disk read needed)
This in on a AMD XP 2400

The only thing I see with your configure line that could be changed in
the last two variables that you set... (btw. does it work to set them
last on the command line?)

To set optimization level you should use --enable-optimization='-O2'

 


Ok, tried this.  More exactly:
$ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
--with-qt-includes=/usr/include/qt3 --disable-debug 
--disable-concept-checks --enable-optimization=-O2


Lyx takes 5 seconds to start on a pentium M, 2.4 GHz.  The 3 seconds
previously mentioned was on the 1.8GHz opteron.  I have
compiled with these options there too, and will time it again
when I get to the machine. (No use timing lyx over the ADSL line, we'll be
waiting for tunneled X in that case.)

I am now trying -Os instead of -O2.  If that doesn't help, I'll try your
config to check if there is something weird going on, like
--with-gnu-ld or one of the others unexpectedly triggering something.



Hmm are these 64bit binaries or 32bit? (does that matter?)
 


I hope not!  This was from the opteron, so all libraries was 64-bit.
It is the fastest of my two test machines anyway.


On my FC4 running on an AMD64 XP3500 all the above libraries point
into some lib64 dir. (might very well be one of the differenced
between debian and fedora)
 

Yes.  Debians amd64 is a 64-bit port, so the 64-bit libraries is in 
/lib.  There
are no 32-bit stuff at all, unless you install it in order to support 
the odd

32-bit binary-only program, like adobe acrobat or wine. (Well, wine is
open source but it runs 32-bit proprietary sw...)
Debian has a /lib64, but it is merely a link to /lib.

Helge Hafting


Empty subsections - View/Export weirdness

2005-12-08 Thread Bonhôte, André

Hi!

I don't really think this is something about LyX, rather a LaTeX  
issue IMHO. I have a document containing some sections and a huge  
number of subsections in each, all empty (it's going to be a database  
documentation - filling in will need some time). Now, exporting to  
PDF and DVI shows the section and the first n rows of subsections,  
but it does not wrap the page. It rather runs over the footer and  
continues to write on the desk ;-)


In the archive, I have seen a thread about this [1], but it's quite a  
long time ago, and I wonder now if there's a way to fix that.  
Currently, I am adding a '-' below each subsection :-(



TIA

André Bonhôte

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28802.html


Systems Engineer
COLT
Mürtschenstrasse 27
CH-8048 Zürich/Switzerland
Tel:   +41 (0)44 560 06 00  Internal: 8411 0501
Fax:  +41 (0)44 563 05 01
[EMAIL PROTECTED]
www.colt.net
Data | Voice | Managed Services




Re: Forget Windows

2005-12-08 Thread Lars Gullik Bjønnes
Helge Hafting [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
| 
| Helge Hafting [EMAIL PROTECTED] writes:
| 
| | On Wed, Dec 07, 2005 at 04:58:51PM +0100, Jean-Marc Lasgouttes wrote:
| |   Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
|  |  |  Lars I also tried to do some profiling on this, but failed
|  to get
| |  Lars anything to pinpoint. Also on my box startup times are not bad
| |  Lars at all... (sub-second)
|  |  |  I clearly see a difference between 1.3.x and 1.4.x, but the
|  times are
| |  reasonably short.
|  | | Evereybody except me get sub-second startup times?
| | That is good, lyx is probably ok with me making a mistake then.
| | It'd sure be interesting if anyone have an idea what I do wrong.
|  | | My configure command, using optimizations and disabling
| | some costly debugging.  Are there perhaps other things that impact speed?
|  | | | $ ./configure --prefix=/usr/local --with-frontend=qt
|  --with-gnu-ld | --with-qt-includes=/usr/include/qt3
|  --disable-stdlib-debug | --disable-concept-checks
|  --enable-assertions CFLAGS=-O2 CPPFLAGS=-O2
| 
| Even on a build with this:
| 
| ./configure --with-frontend=qt --disable-debug
| 
| And when starting I get sub-2-second startup. (cached, no disk read needed)
| This in on a AMD XP 2400
| 
| The only thing I see with your configure line that could be changed in
| the last two variables that you set... (btw. does it work to set them
| last on the command line?)
| 
| To set optimization level you should use --enable-optimization='-O2'
| 
| 
| Ok, tried this.  More exactly:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.

-- 
Lgb



Downtime on LyX servers.

2005-12-08 Thread Lars Gullik Bjønnes

The LyX servers will be taken down within one hour, to be relocated to
a different server room.

This mean that all services provided by aussie or baywatch will be
down.
The mailingling lists on lists.lyx.org might also suffer, because of
dns issues, but essentially the lists should work.

I am sorry for the late notice.

-- 
Lgb


natbib and non-english?

2005-12-08 Thread mamato
hi,

how do i get natbib to use another language than english (ie french)?
my language is already set to french in my doc preferences.

thx,

  mamato


Re: LyX wiki has been upgraded

2005-12-08 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 This is a warning^H^H^H^H^H^H^H blurb that I just finally upgraded the
 wiki to the new wiki engine.

neat. Once everything else is up and running, could you please replace the 
ugly LyX monster in the upper left corner by a slightly less ugly one, e.g.
http://wiki.lyx.org/uploads/LyX/Logotype/lyx.png

Thanks,
Jürgen


Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


| To set optimization level you should use --enable-optimization='-O2'
| 
| 
| Ok, tried this.  More exactly:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.
 


So --disable-stdlib-debug is not implied by --disable-debug?

Using  --enable-optimization=-O2 did not help.
Using -Os instead of -O2 gave me a much smaller binary, but
it did not help. Using just
$ ./configure --prefix=/usr/local --with-frontend=qt 
--with-qt-includes=/usr/include/qt3 --disable-debug


was just as bad.

the best I get is 5.2s for starting lyx, the worst I get is 5.4s depending
on the optimizations.  This on the 2.4GHz pentium.  I'll try throwing in
--disable-stdlib-debug next.

Helga Hafting





Re: Forget Windows

2005-12-08 Thread Angus Leeming
Helge Hafting wrote:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.

 So --disable-stdlib-debug is not implied by --disable-debug?

You'd imagine so, but no.

All --enable-debug does is add '-g ' to CFLAGS and to CXXFLAGS whilst
--enable-stdlib-debug adds the preprocessor commands

#define _GLIBCXX_DEBUG 1
#define _GLIBCXX_DEBUG_PEDANTIC 1

to config.h. Boy, do these two have a big effect on performance! Without
them, LyX is literally an order of magnitude faster. At least, it is for
me ;-)

-- 
Angus



Re: Forget Windows

2005-12-08 Thread Lars Gullik Bjønnes
Helge Hafting [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
| 
| | To set optimization level you should use --enable-optimization='-O2'
| | 
| | 
| | Ok, tried this.  More exactly:
| | $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| | --with-qt-includes=/usr/include/qt3 --disable-debug
| | --disable-concept-checks --enable-optimization=-O2
| 
| You should use '--disable-stdlib-debug' as well. that is a real time
| consumer, nice when developing but not else.
| 
| So --disable-stdlib-debug is not implied by --disable-debug?

No, I do not think so... (hmm ... I cannot remember how I implementet
this bug stdlib debug and debug are realy ortogonal)


-- 
Lgb



Re: INDENTFIRST after lists (was: Indent on every 1st paragraph after different environment)

2005-12-08 Thread Bennett Helm

On Dec 8, 2005, at 4:13 AM, Andrei Popov wrote:


It will be indented in pure LaTeX+some editor situation, because
you'll have a line break after a list (and so INDENTFIRST will notice
that and work as expected ), but in LyX there's either no line break
after list or some other problem, and this won't work.


To force LyX to put an empty line in the .tex document it produces,  
insert a standard paragraph with an empty ERT.


Bennett


Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


Helge Hafting [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
| 
| | To set optimization level you should use --enable-optimization='-O2'

| | 
| | 
| | Ok, tried this.  More exactly:
| | $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| | --with-qt-includes=/usr/include/qt3 --disable-debug
| | --disable-concept-checks --enable-optimization=-O2
| 
| You should use '--disable-stdlib-debug' as well. that is a real time
| consumer, nice when developing but not else.
| 
| So --disable-stdlib-debug is not implied by --disable-debug?

No, I do not think so... (hmm ... I cannot remember how I implementet
this bug stdlib debug and debug are realy ortogonal)
 


Well, this helped -- a little.
With
$ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
--with-qt-includes=/usr/include/qt3 --disable-debug 
--disable-concept-checks --disable-stdlib-debug --enable-optimization=-O2

I got 4.7s starting lyx instead of 5.2s

Starting with LANG=C brings this further down to 4.6s, so 
internationalization

is not the big culprit.

The test method is to run
time lyx
while clicking the mouse fast in the place where the closing button is 
going to
appear.  Repeated clicks are used so my reaction time won't affect the 
result.

I barely see the main window, it is removed as soon as it appears.

The same kind of timing for lyx-qt 1.3.6 from debian is 0.7s, with or 
without

translations. So it doesn't seem like a debian problem.

Is there some sort of profiling I could try?

Helge Hafting





WinInstaller 0.51

2005-12-08 Thread Geoffrey Lloyd




- Original Message - 
From: Angus Leeming [EMAIL PROTECTED]

To: Geoffrey Lloyd [EMAIL PROTECTED]
Sent: Thursday, December 08, 2005 10:41 AM
Subject: Re: WinInstaller 0.51



On Thursday 08 December 2005 00:47, you wrote:

 Me neither. However, there *is* a problem with the lyxpreview2ppm.py
 script when the path to the executable contains spaces. Perhaps you
 could see if the attached patch fixes things?


I would love to help but I am not in a position, or experienced enough, 
to

compile from scratch - sorry.


You don't need to. You need only modify the file
C:\Program Files\LyX\Resources\lyx\scripts\lyxpreview2ppm.py
by hand (using your favourite editor), replacing the line that is 
prefixed

with a '-' character with those prefixed with a '+'. Removing that '+' of
course ;-)

The file in question is a Python script that is processed by python.exe 
on the

fly. No compilation necessary.


However this does sound like it could be the route of the problem.


So test it.

Angus


Ok sorry for my ignorance of how to use the diff. I have now made the 
changes and it does indeed solve the problem.


Instant Preview now works with the installation at C:\Program Files\Lyx 
(the default)










Re: WinInstaller 0.51

2005-12-08 Thread Angus Leeming
Geoffrey Lloyd wrote:
 The file in question is a Python script that is processed by python.exe
 on the fly. No compilation necessary.

 Ok sorry for my ignorance of how to use the diff.

No need to apologise. Thanks for testing it out.

 I have now made the changes and it does indeed solve the problem.
 Instant Preview now works with the installation at C:\Program Files\Lyx
 (the default)

Great!

-- 
Angus



Re: Forget Windows

2005-12-08 Thread Jean-Marc Lasgouttes
 Helge == Helge Hafting [EMAIL PROTECTED] writes:

Helge The test method is to run time lyx while clicking the mouse
Helge fast in the place where the closing button is going to appear.
Helge Repeated clicks are used so my reaction time won't affect the
Helge result. I barely see the main window, it is removed as soon as
Helge it appears.

You can try also lyx -x lyx-quit

Helge Is there some sort of profiling I could try?

Try to run lyx with option -dbg init and see whether there is a long
time between two particular messages.

JMarc


Re: Empty subsections - View/Export weirdness

2005-12-08 Thread Jean-Marc Lasgouttes
 André == Bonhôte, André [EMAIL PROTECTED] writes:

André Hi! I don't really think this is something about LyX, rather a
André LaTeX issue IMHO. I have a document containing some sections
André and a huge number of subsections in each, all empty (it's going
André to be a database documentation - filling in will need some
André time). Now, exporting to PDF and DVI shows the section and the
André first n rows of subsections, but it does not wrap the page. It
André rather runs over the footer and continues to write on the desk
André ;-)

This is a LaTeX bug/feature (a section is not supposed to be alone at
the bottom of a page). 

JMarc


width of table

2005-12-08 Thread mamato
how can i make a table who's width is the same as the surrounding text?
i've tried setting column widths using text%, col%, page%, line% and its
always larger than it should...

mamato


Re: width of table

2005-12-08 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

how can i make a table who's width is the same as the surrounding text?
i've tried setting column widths using text%, col%, page%, line% and its
always larger than it should...

mamato



If the table is wider than what you want, possible fixes include using a 
smaller font in the table entries or making one or more columns 
fixed-width (enabling line wrapping).


Paul




Re: LyX wiki has been upgraded - Help, I need Hepl!!!

2005-12-08 Thread chr
On Wed, 7 Dec 2005, Uwe Stöhr wrote:

  Should I change File manager to Upload manager or something else?
 
 Yes please rename it to Upload manager.

Better now?

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Forget Windows

2005-12-08 Thread chr
On Thu, 8 Dec 2005, Helge Hafting wrote:

 The test method is to run
 time lyx
 while clicking the mouse fast in the place where the closing button is
 going to appear.

Just a minor tip, try this:

time lyx -x 'command-sequence lyx-quit;'

and you don't have close it manually. A long time ago I (for practice) 
wrote a script that times lyx doing something, see here:

http://wiki.lyx.org/devel/pmwiki.php/DevelTools/TimeLyx

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: LyX wiki has been upgraded

2005-12-08 Thread chr
On Thu, 8 Dec 2005, Juergen Spitzmueller wrote:

 [EMAIL PROTECTED] wrote:
  This is a warning^H^H^H^H^H^H^H blurb that I just finally upgraded the
  wiki to the new wiki engine.
 
 neat. Once everything else is up and running, could you please replace the 
 ugly LyX monster in the upper left corner by a slightly less ugly one, e.g.
 http://wiki.lyx.org/uploads/LyX/Logotype/lyx.png

Done. Hmm... you don't think it's a bit big now though?

I guess I could customize the skin to work better, but I suspect my time
working on the wiki is better spent on structure/content than apperance.
As it is, we're using the default skin of pmwiki which looks ok to me.
However, if I get specific instructions/suggestions on what to change I
can do so. (*)

/Christian

I'll test the changes on a separate installation first of course... 

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




euro symbol

2005-12-08 Thread mamato
i can't get the euro symbol to work :/
i tried \EUR and \euro using europs and eurosans packages but no success...
i'm using pslatex font, french language and default encoding...

  mamato


Re: Forget Windows

2005-12-08 Thread Rich Shepard

On Thu, 8 Dec 2005, [EMAIL PROTECTED] wrote:


Just a minor tip, try this:

time lyx -x 'command-sequence lyx-quit;'


Christian,

  How kewel! I've not had LyX running today, so I gave the above three tries
in succession:

[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m2.014s
user0m0.280s
sys 0m0.050s
[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m0.345s
user0m0.230s
sys 0m0.030s
[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m0.342s
user0m0.260s
sys 0m0.010s

  Both the startup times and the use of the automatic command-sequence with
the time command are impressive.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Forget Windows

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 03:46:45PM +0100, Jean-Marc Lasgouttes wrote:
  Helge == Helge Hafting [EMAIL PROTECTED] writes:
 
 Helge The test method is to run time lyx while clicking the mouse
 Helge fast in the place where the closing button is going to appear.
 Helge Repeated clicks are used so my reaction time won't affect the
 Helge result. I barely see the main window, it is removed as soon as
 Helge it appears.
 
 You can try also lyx -x lyx-quit
 
Thanks.  Much easier, and I get the same timings.

 Helge Is there some sort of profiling I could try?
 
 Try to run lyx with option -dbg init and see whether there is a long
 time between two particular messages.
 

I got two noticeable pauses:

Setting debug level to init
Debugging `init' (Program initialisation)
Checking whether LyX is run in place... no
package
binary_dir /usr/local/bin/
system_support /usr/local/share/lyx/
build_support 
user_support /home/helge/.lyx/
locale_dir /usr/local/share/locale/
document_dir /home/helge
temp_dir /tmp
home_dir /home/helge
/package

Initializing LyX::init...

NOTICEABLE DELAY HERE

About to read lyxrc.defaults...
Found lyxrc.defaults in /home/helge/.lyx/lyxrc.defaults
About to read preferences...
Found preferences in /home/helge/.lyx/preferences
About to read encodings...
Reading encoding iso8859-2
Reading encoding iso8859-3
Reading encoding iso8859-4
Reading encoding iso8859-5
Reading encoding iso8859-6
Reading encoding iso8859-7
Reading encoding iso8859-9
Reading encoding iso8859-13
Reading encoding iso8859-15
Reading encoding cp1255
Reading encoding cp1251
Reading encoding koi8
Reading encoding koi8-u
Reading encoding tis620-0
Reading encoding pt154
About to read languages...
Reading language afrikaans
Reading language american
Reading language arabic
Reading language austrian
Reading language bahasa
Reading language belarusian
Reading language basque
Reading language brazil
Reading language breton
Reading language british
Reading language bulgarian
Reading language canadian
Reading language canadien
Reading language catalan
Reading language croatian
Reading language czech
Reading language danish
Reading language dutch
Reading language english
Reading language esperanto
Reading language estonian
Reading language finnish
Reading language french
Reading language galician
Reading language german
Reading language ngerman
Reading language greek
Reading language hebrew
Reading language irish
Reading language italian
Reading language kazakh
Reading language lithuanian
Reading language latvian
Reading language icelandic
Reading language magyar
Reading language norsk
Reading language nynorsk
Reading language polish
Reading language portuges
Reading language romanian
Reading language russian
Reading language scottish
Reading language serbian
Reading language serbocroatian
Reading language spanish
Reading language slovak
Reading language slovene
Reading language swedish
Reading language thai
Reading language turkish
Reading language ukrainian
Reading language welsh
Reading layouts...
About to read default...
Found default in /usr/local/share/lyx/ui/default.ui
About to read stdmenus.ui...
Found stdmenus.ui in /usr/local/share/lyx/ui/stdmenus.ui
About to read stdtoolbars.ui...
Found stdtoolbars.ui in /usr/local/share/lyx/ui/stdtoolbars.ui
LyX tmp dir: `/tmp/lyx_tmpdir256720kz6fB'
Reading lastfiles `/home/helge/.lyx/lastfiles'...
Initializing LyX::init...done

EVEN LONGER DELAY HERE

About to handle -x 'lyx-quit'
Warning: this system's locale uses Unicode.
Language code:nb_NO
Setting new locale for Qt:nb_NO
Initializing LyXFunc
Initializing key mappings...


These two delays account for practically all the startup time - 
the other messages scrolls by too fast to read.

Helge Hafting


Re: Forget Windows

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 09:46:05AM -0800, Rich Shepard wrote:
 On Thu, 8 Dec 2005, [EMAIL PROTECTED] wrote:
 
 Just a minor tip, try this:
 
  time lyx -x 'command-sequence lyx-quit;'
 
 Christian,
 
   How kewel! I've not had LyX running today, so I gave the above three tries
 in succession:
 
 [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
 
 real0m2.014s
 user0m0.280s
 sys 0m0.050s
 [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
 
 real0m0.345s
 user0m0.230s
 sys 0m0.030s
 [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
 
 real0m0.342s
 user0m0.260s
 sys 0m0.010s
 
   Both the startup times and the use of the automatic command-sequence with
 the time command are impressive.
 
Impressive timings.  Your first start is faster than my cached startups.
My lyx-1.3 starts in 0.7s, my lyx-1.4 in 3.5s when in cache.
Which version of lyx is this, and does it use xforms or qt?

Helge Hafting 


Re: euro symbol

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 07:07:28PM +0100, [EMAIL PROTECTED] wrote:
 i can't get the euro symbol to work :/
 i tried \EUR and \euro using europs and eurosans packages but no success...
 i'm using pslatex font, french language and default encoding...
 

You put those \euro commands in a TeX box, right?  They won't work in the text
itself.  And make sure you have a space (or {}) after the command,
i.e. \euro  or \euro{}


You don't really need to use packages for this, because euro is supported
by babel (in greek mode, for some reason), and babel is invoked automatically
by lyx.

Just insert a TeX box, and write \euro{} inside.  Then mark the entire box
(not just the contents, start marking before it and end after it, but
don't include other text) Then change the language of the marked box to Greek.
This is necessary, \euro (without any packages) works in Greek but not 
otherwise.

To avoid repeating this over and over, just copy the Greek \euro command around
in the document when needed.

Helge Hafting


Re: Forget Windows

2005-12-08 Thread Rich Shepard

On Thu, 8 Dec 2005, Helge Hafting wrote:


Impressive timings.  Your first start is faster than my cached startups. My
lyx-1.3 starts in 0.7s, my lyx-1.4 in 3.5s when in cache. Which version of
lyx is this, and does it use xforms or qt?


Helge,

  1.3.6qt. On Slack-10.2. A moderately fast machine, but a standard (slow)
hard drive.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: LyX wiki has been upgraded

2005-12-08 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
 Done. Hmm... you don't think it's a bit big now though?

Perhaps. You could try the attached, scaled version.

 I guess I could customize the skin to work better, but I suspect my time
 working on the wiki is better spent on structure/content than apperance.

Certainly. I didn't want to push you.

Jürgen


lyx_logo_medium2.png
Description: PNG image


Re: pictures and collaboration

2005-12-08 Thread Georg Baum
Gunnar wrote:

> Hi.
> If one would like to send a LyX file that contains many pictures to
> another person, one has to send all files to that person. When we are
> talking about users with moderate experience of compressed files/creating
> archives etc. I can only see problem ahead, unfortunatly.
> 
> One idea then would be to create a new kind of LyX files: "LyX-zip" files
> that
> contains all files,  expands to a temp directory when opened, and goes
> back to a LyX-zip file when closing LyX.
> 
> One problem is that the pictures can be updated, for example by external
> programs, and one shouldn't have to include the pictures again.

This is an old wish. See http://bugzilla.lyx.org/show_bug.cgi?id=700 and add
your thoughts there if not already coverd.


Georg



Re: INDENTFIRST after lists (was: Indent on every 1st paragraph after different environment)

2005-12-08 Thread Andrei Popov
> \usepackage{indentfirst}

> That's all.

Unfortunately, that's not all. This technique will not work in LyX
in a situation where, for example, you have a paragraph going after an
enumerated/bulleted list. This paragraph will not be indented, though
it should.

It will be indented in pure LaTeX+some editor situation, because
you'll have a line break after a list (and so INDENTFIRST will notice
that and work as expected ), but in LyX there's either no line break
after list or some other problem, and this won't work.

I'd say it's a bug, but maybe some LyX devs would come up with more
input on that. I think fixing the appropriate environments and adding
a line break after them if INDENTFIRST is used would be nice.

-- 
WBR,
Andrei Popov

Using LyX 1.3.6 on Debian GNU/Linux



Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


Helge Hafting <[EMAIL PROTECTED]> writes:

| On Wed, Dec 07, 2005 at 04:58:51PM +0100, Jean-Marc Lasgouttes wrote:
| > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| > 
| > Lars> I also tried to do some profiling on this, but failed to get

| > Lars> anything to pinpoint. Also on my box startup times are not bad
| > Lars> at all... (sub-second)
| > 
| > I clearly see a difference between 1.3.x and 1.4.x, but the times are

| > reasonably short.
| 
| Evereybody except me get sub-second startup times?

| That is good, lyx is probably ok with me making a mistake then.
| It'd sure be interesting if anyone have an idea what I do wrong.
| 
| My configure command, using optimizations and disabling

| some costly debugging.  Are there perhaps other things that impact speed?
| 
| 
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
| --with-qt-includes=/usr/include/qt3 --disable-stdlib-debug 
| --disable-concept-checks --enable-assertions CFLAGS=-O2 CPPFLAGS=-O2


Even on a build with this:

./configure --with-frontend=qt --disable-debug

And when starting I get sub-2-second startup. (cached, no disk read needed)
This in on a AMD XP 2400

The only thing I see with your configure line that could be changed in
the last two variables that you set... (btw. does it work to set them
last on the command line?)

To set optimization level you should use --enable-optimization='-O2'

 


Ok, tried this.  More exactly:
$ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
--with-qt-includes=/usr/include/qt3 --disable-debug 
--disable-concept-checks --enable-optimization=-O2


Lyx takes 5 seconds to start on a pentium M, 2.4 GHz.  The 3 seconds
previously mentioned was on the 1.8GHz opteron.  I have
compiled with these options there too, and will time it again
when I get to the machine. (No use timing lyx over the ADSL line, we'll be
waiting for tunneled X in that case.)

I am now trying -Os instead of -O2.  If that doesn't help, I'll try your
config to check if there is something weird going on, like
--with-gnu-ld or one of the others unexpectedly triggering something.



Hmm are these 64bit binaries or 32bit? (does that matter?)
 


I hope not!  This was from the opteron, so all libraries was 64-bit.
It is the fastest of my two test machines anyway.


On my FC4 running on an AMD64 XP3500 all the above libraries point
into some lib64 dir. (might very well be one of the differenced
between debian and fedora)
 

Yes.  Debians amd64 is a 64-bit port, so the 64-bit libraries is in 
/lib.  There
are no 32-bit stuff at all, unless you install it in order to support 
the odd

32-bit binary-only program, like adobe acrobat or wine. (Well, wine is
open source but it runs 32-bit proprietary sw...)
Debian has a /lib64, but it is merely a link to /lib.

Helge Hafting


Empty subsections - View/Export weirdness

2005-12-08 Thread Bonhôte, André

Hi!

I don't really think this is something about LyX, rather a LaTeX  
issue IMHO. I have a document containing some sections and a huge  
number of subsections in each, all empty (it's going to be a database  
documentation - filling in will need some time). Now, exporting to  
PDF and DVI shows the section and the first n rows of subsections,  
but it does not wrap the page. It rather runs over the footer and  
continues to write on the desk ;-)


In the archive, I have seen a thread about this [1], but it's quite a  
long time ago, and I wonder now if there's a way to fix that.  
Currently, I am adding a '-' below each subsection :-(



TIA

André Bonhôte

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg28802.html


Systems Engineer
COLT
Mürtschenstrasse 27
CH-8048 Zürich/Switzerland
Tel:   +41 (0)44 560 06 00  Internal: 8411 0501
Fax:  +41 (0)44 563 05 01
[EMAIL PROTECTED]
www.colt.net
Data | Voice | Managed Services




Re: Forget Windows

2005-12-08 Thread Lars Gullik Bjønnes
Helge Hafting <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
| 
| >Helge Hafting <[EMAIL PROTECTED]> writes:
| >
| >| On Wed, Dec 07, 2005 at 04:58:51PM +0100, Jean-Marc Lasgouttes wrote:
| >| > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| > | > | > Lars> I also tried to do some profiling on this, but failed
| > to get
| >| > Lars> anything to pinpoint. Also on my box startup times are not bad
| >| > Lars> at all... (sub-second)
| > | > | > I clearly see a difference between 1.3.x and 1.4.x, but the
| > times are
| >| > reasonably short.
| > | | Evereybody except me get sub-second startup times?
| >| That is good, lyx is probably ok with me making a mistake then.
| >| It'd sure be interesting if anyone have an idea what I do wrong.
| > | | My configure command, using optimizations and disabling
| >| some costly debugging.  Are there perhaps other things that impact speed?
| > | | | $ ./configure --prefix=/usr/local --with-frontend=qt
| > --with-gnu-ld | --with-qt-includes=/usr/include/qt3
| > --disable-stdlib-debug | --disable-concept-checks
| > --enable-assertions CFLAGS=-O2 CPPFLAGS=-O2
| >
| >Even on a build with this:
| >
| >./configure --with-frontend=qt --disable-debug
| >
| >And when starting I get sub-2-second startup. (cached, no disk read needed)
| >This in on a AMD XP 2400
| >
| >The only thing I see with your configure line that could be changed in
| >the last two variables that you set... (btw. does it work to set them
| >last on the command line?)
| >
| >To set optimization level you should use --enable-optimization='-O2'
| >
| >
| Ok, tried this.  More exactly:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.

-- 
Lgb



Downtime on LyX servers.

2005-12-08 Thread Lars Gullik Bjønnes

The LyX servers will be taken down within one hour, to be relocated to
a different server room.

This mean that all services provided by aussie or baywatch will be
down.
The mailingling lists on lists.lyx.org might also suffer, because of
dns issues, but essentially the lists should work.

I am sorry for the late notice.

-- 
Lgb


natbib and non-english?

2005-12-08 Thread mamato
hi,

how do i get natbib to use another language than english (ie french)?
my language is already set to french in my doc preferences.

thx,

  mamato


Re: LyX wiki has been upgraded

2005-12-08 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
> This is a warning^H^H^H^H^H^H^H blurb that I just finally upgraded the
> wiki to the new wiki engine.

neat. Once everything else is up and running, could you please replace the 
ugly LyX monster in the upper left corner by a slightly less ugly one, e.g.
http://wiki.lyx.org/uploads/LyX/Logotype/lyx.png

Thanks,
Jürgen


Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


| >To set optimization level you should use --enable-optimization='-O2'
| >
| >
| Ok, tried this.  More exactly:
| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| --with-qt-includes=/usr/include/qt3 --disable-debug
| --disable-concept-checks --enable-optimization=-O2

You should use '--disable-stdlib-debug' as well. that is a real time
consumer, nice when developing but not else.
 


So --disable-stdlib-debug is not implied by --disable-debug?

Using  --enable-optimization=-O2 did not help.
Using -Os instead of -O2 gave me a much smaller binary, but
it did not help. Using just
$ ./configure --prefix=/usr/local --with-frontend=qt 
--with-qt-includes=/usr/include/qt3 --disable-debug


was just as bad.

the best I get is 5.2s for starting lyx, the worst I get is 5.4s depending
on the optimizations.  This on the 2.4GHz pentium.  I'll try throwing in
--disable-stdlib-debug next.

Helga Hafting





Re: Forget Windows

2005-12-08 Thread Angus Leeming
Helge Hafting wrote:
>>| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
>>| --with-qt-includes=/usr/include/qt3 --disable-debug
>>| --disable-concept-checks --enable-optimization=-O2

>>You should use '--disable-stdlib-debug' as well. that is a real time
>>consumer, nice when developing but not else.

> So --disable-stdlib-debug is not implied by --disable-debug?

You'd imagine so, but no.

All --enable-debug does is add '-g ' to CFLAGS and to CXXFLAGS whilst
--enable-stdlib-debug adds the preprocessor commands

#define _GLIBCXX_DEBUG 1
#define _GLIBCXX_DEBUG_PEDANTIC 1

to config.h. Boy, do these two have a big effect on performance! Without
them, LyX is literally an order of magnitude faster. At least, it is for
me ;-)

-- 
Angus



Re: Forget Windows

2005-12-08 Thread Lars Gullik Bjønnes
Helge Hafting <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
| 
| >| >To set optimization level you should use --enable-optimization='-O2'
| >| >
| >| >
| >| Ok, tried this.  More exactly:
| >| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| >| --with-qt-includes=/usr/include/qt3 --disable-debug
| >| --disable-concept-checks --enable-optimization=-O2
| >
| >You should use '--disable-stdlib-debug' as well. that is a real time
| >consumer, nice when developing but not else.
| >
| So --disable-stdlib-debug is not implied by --disable-debug?

No, I do not think so... (hmm ... I cannot remember how I implementet
this bug stdlib debug and debug are realy ortogonal)


-- 
Lgb



Re: INDENTFIRST after lists (was: Indent on every 1st paragraph after different environment)

2005-12-08 Thread Bennett Helm

On Dec 8, 2005, at 4:13 AM, Andrei Popov wrote:


It will be indented in pure LaTeX+some editor situation, because
you'll have a line break after a list (and so INDENTFIRST will notice
that and work as expected ), but in LyX there's either no line break
after list or some other problem, and this won't work.


To force LyX to put an empty line in the .tex document it produces,  
insert a standard paragraph with an empty ERT.


Bennett


Re: Forget Windows

2005-12-08 Thread Helge Hafting

Lars Gullik Bjønnes wrote:


Helge Hafting <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
| 
| >| >To set optimization level you should use --enable-optimization='-O2'

| >| >
| >| >
| >| Ok, tried this.  More exactly:
| >| $ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld
| >| --with-qt-includes=/usr/include/qt3 --disable-debug
| >| --disable-concept-checks --enable-optimization=-O2
| >
| >You should use '--disable-stdlib-debug' as well. that is a real time
| >consumer, nice when developing but not else.
| >
| So --disable-stdlib-debug is not implied by --disable-debug?

No, I do not think so... (hmm ... I cannot remember how I implementet
this bug stdlib debug and debug are realy ortogonal)
 


Well, this helped -- a little.
With
$ ./configure --prefix=/usr/local --with-frontend=qt --with-gnu-ld 
--with-qt-includes=/usr/include/qt3 --disable-debug 
--disable-concept-checks --disable-stdlib-debug --enable-optimization=-O2

I got 4.7s starting lyx instead of 5.2s

Starting with LANG=C brings this further down to 4.6s, so 
internationalization

is not the big culprit.

The test method is to run
time lyx
while clicking the mouse fast in the place where the closing button is 
going to
appear.  Repeated clicks are used so my reaction time won't affect the 
result.

I barely see the main window, it is removed as soon as it appears.

The same kind of timing for lyx-qt 1.3.6 from debian is 0.7s, with or 
without

translations. So it doesn't seem like a debian problem.

Is there some sort of profiling I could try?

Helge Hafting





WinInstaller 0.51

2005-12-08 Thread Geoffrey Lloyd




- Original Message - 
From: "Angus Leeming" <[EMAIL PROTECTED]>

To: "Geoffrey Lloyd" <[EMAIL PROTECTED]>
Sent: Thursday, December 08, 2005 10:41 AM
Subject: Re: WinInstaller 0.51



On Thursday 08 December 2005 00:47, you wrote:

> Me neither. However, there *is* a problem with the lyxpreview2ppm.py
> script when the path to the executable contains spaces. Perhaps you
> could see if the attached patch fixes things?


I would love to help but I am not in a position, or experienced enough, 
to

compile from scratch - sorry.


You don't need to. You need only modify the file
C:\Program Files\LyX\Resources\lyx\scripts\lyxpreview2ppm.py
by hand (using your favourite editor), replacing the line that is 
prefixed

with a '-' character with those prefixed with a '+'. Removing that '+' of
course ;-)

The file in question is a Python script that is processed by python.exe 
on the

fly. No compilation necessary.


However this does sound like it could be the route of the problem.


So test it.

Angus


Ok sorry for my ignorance of how to use the diff. I have now made the 
changes and it does indeed solve the problem.


Instant Preview now works with the installation at C:\Program Files\Lyx 
(the default)










Re: WinInstaller 0.51

2005-12-08 Thread Angus Leeming
Geoffrey Lloyd wrote:
>>> The file in question is a Python script that is processed by python.exe
>>> on the fly. No compilation necessary.

>> Ok sorry for my ignorance of how to use the diff.

No need to apologise. Thanks for testing it out.

>> I have now made the changes and it does indeed solve the problem.
>> Instant Preview now works with the installation at C:\Program Files\Lyx
>> (the default)

Great!

-- 
Angus



Re: Forget Windows

2005-12-08 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes:

Helge> The test method is to run time lyx while clicking the mouse
Helge> fast in the place where the closing button is going to appear.
Helge> Repeated clicks are used so my reaction time won't affect the
Helge> result. I barely see the main window, it is removed as soon as
Helge> it appears.

You can try also "lyx -x lyx-quit"

Helge> Is there some sort of profiling I could try?

Try to run lyx with option "-dbg init" and see whether there is a long
time between two particular messages.

JMarc


Re: Empty subsections - View/Export weirdness

2005-12-08 Thread Jean-Marc Lasgouttes
> "André" == Bonhôte, André <[EMAIL PROTECTED]> writes:

André> Hi! I don't really think this is something about LyX, rather a
André> LaTeX issue IMHO. I have a document containing some sections
André> and a huge number of subsections in each, all empty (it's going
André> to be a database documentation - filling in will need some
André> time). Now, exporting to PDF and DVI shows the section and the
André> first n rows of subsections, but it does not wrap the page. It
André> rather runs over the footer and continues to write on the desk
André> ;-)

This is a LaTeX bug/feature (a section is not supposed to be alone at
the bottom of a page). 

JMarc


width of table

2005-12-08 Thread mamato
how can i make a table who's width is the same as the surrounding text?
i've tried setting column widths using text%, col%, page%, line% and its
always larger than it should...

mamato


Re: width of table

2005-12-08 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

how can i make a table who's width is the same as the surrounding text?
i've tried setting column widths using text%, col%, page%, line% and its
always larger than it should...

mamato



If the table is wider than what you want, possible fixes include using a 
smaller font in the table entries or making one or more columns 
fixed-width (enabling line wrapping).


Paul




Re: LyX wiki has been upgraded - Help, I need Hepl!!!

2005-12-08 Thread chr
On Wed, 7 Dec 2005, Uwe Stöhr wrote:

> > Should I change "File manager" to "Upload manager" or something else?
> 
> Yes please rename it to "Upload manager".

Better now?

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Forget Windows

2005-12-08 Thread chr
On Thu, 8 Dec 2005, Helge Hafting wrote:

> The test method is to run
> time lyx
> while clicking the mouse fast in the place where the closing button is
> going to appear.

Just a minor tip, try this:

time lyx -x 'command-sequence lyx-quit;'

and you don't have close it manually. A long time ago I (for practice) 
wrote a script that times lyx doing something, see here:

http://wiki.lyx.org/devel/pmwiki.php/DevelTools/TimeLyx

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: LyX wiki has been upgraded

2005-12-08 Thread chr
On Thu, 8 Dec 2005, Juergen Spitzmueller wrote:

> [EMAIL PROTECTED] wrote:
> > This is a warning^H^H^H^H^H^H^H blurb that I just finally upgraded the
> > wiki to the new wiki engine.
> 
> neat. Once everything else is up and running, could you please replace the 
> ugly LyX monster in the upper left corner by a slightly less ugly one, e.g.
> http://wiki.lyx.org/uploads/LyX/Logotype/lyx.png

Done. Hmm... you don't think it's a bit big now though?

I guess I could customize the skin to work better, but I suspect my time
working on the wiki is better spent on structure/content than apperance.
As it is, we're using the default skin of pmwiki which looks ok to me.
However, if I get specific instructions/suggestions on what to change I
can do so. (*)

/Christian

I'll test the changes on a separate installation first of course... 

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




euro symbol

2005-12-08 Thread mamato
i can't get the euro symbol to work :/
i tried \EUR and \euro using europs and eurosans packages but no success...
i'm using pslatex font, french language and default encoding...

  mamato


Re: Forget Windows

2005-12-08 Thread Rich Shepard

On Thu, 8 Dec 2005, [EMAIL PROTECTED] wrote:


Just a minor tip, try this:

time lyx -x 'command-sequence lyx-quit;'


Christian,

  How kewel! I've not had LyX running today, so I gave the above three tries
in succession:

[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m2.014s
user0m0.280s
sys 0m0.050s
[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m0.345s
user0m0.230s
sys 0m0.030s
[EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'

real0m0.342s
user0m0.260s
sys 0m0.010s

  Both the startup times and the use of the automatic command-sequence with
the time command are impressive.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Forget Windows

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 03:46:45PM +0100, Jean-Marc Lasgouttes wrote:
> > "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes:
> 
> Helge> The test method is to run time lyx while clicking the mouse
> Helge> fast in the place where the closing button is going to appear.
> Helge> Repeated clicks are used so my reaction time won't affect the
> Helge> result. I barely see the main window, it is removed as soon as
> Helge> it appears.
> 
> You can try also "lyx -x lyx-quit"
> 
Thanks.  Much easier, and I get the same timings.

> Helge> Is there some sort of profiling I could try?
> 
> Try to run lyx with option "-dbg init" and see whether there is a long
> time between two particular messages.
> 

I got two noticeable pauses:

Setting debug level to init
Debugging `init' (Program initialisation)
Checking whether LyX is run in place... no

binary_dir /usr/local/bin/
system_support /usr/local/share/lyx/
build_support 
user_support /home/helge/.lyx/
locale_dir /usr/local/share/locale/
document_dir /home/helge
temp_dir /tmp
home_dir /home/helge


Initializing LyX::init...

NOTICEABLE DELAY HERE

About to read lyxrc.defaults...
Found lyxrc.defaults in /home/helge/.lyx/lyxrc.defaults
About to read preferences...
Found preferences in /home/helge/.lyx/preferences
About to read encodings...
Reading encoding iso8859-2
Reading encoding iso8859-3
Reading encoding iso8859-4
Reading encoding iso8859-5
Reading encoding iso8859-6
Reading encoding iso8859-7
Reading encoding iso8859-9
Reading encoding iso8859-13
Reading encoding iso8859-15
Reading encoding cp1255
Reading encoding cp1251
Reading encoding koi8
Reading encoding koi8-u
Reading encoding tis620-0
Reading encoding pt154
About to read languages...
Reading language afrikaans
Reading language american
Reading language arabic
Reading language austrian
Reading language bahasa
Reading language belarusian
Reading language basque
Reading language brazil
Reading language breton
Reading language british
Reading language bulgarian
Reading language canadian
Reading language canadien
Reading language catalan
Reading language croatian
Reading language czech
Reading language danish
Reading language dutch
Reading language english
Reading language esperanto
Reading language estonian
Reading language finnish
Reading language french
Reading language galician
Reading language german
Reading language ngerman
Reading language greek
Reading language hebrew
Reading language irish
Reading language italian
Reading language kazakh
Reading language lithuanian
Reading language latvian
Reading language icelandic
Reading language magyar
Reading language norsk
Reading language nynorsk
Reading language polish
Reading language portuges
Reading language romanian
Reading language russian
Reading language scottish
Reading language serbian
Reading language serbocroatian
Reading language spanish
Reading language slovak
Reading language slovene
Reading language swedish
Reading language thai
Reading language turkish
Reading language ukrainian
Reading language welsh
Reading layouts...
About to read default...
Found default in /usr/local/share/lyx/ui/default.ui
About to read stdmenus.ui...
Found stdmenus.ui in /usr/local/share/lyx/ui/stdmenus.ui
About to read stdtoolbars.ui...
Found stdtoolbars.ui in /usr/local/share/lyx/ui/stdtoolbars.ui
LyX tmp dir: `/tmp/lyx_tmpdir256720kz6fB'
Reading lastfiles `/home/helge/.lyx/lastfiles'...
Initializing LyX::init...done

EVEN LONGER DELAY HERE

About to handle -x 'lyx-quit'
Warning: this system's locale uses Unicode.
Language code:nb_NO
Setting new locale for Qt:nb_NO
Initializing LyXFunc
Initializing key mappings...


These two delays account for practically all the startup time - 
the other messages scrolls by too fast to read.

Helge Hafting


Re: Forget Windows

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 09:46:05AM -0800, Rich Shepard wrote:
> On Thu, 8 Dec 2005, [EMAIL PROTECTED] wrote:
> 
> >Just a minor tip, try this:
> >
> > time lyx -x 'command-sequence lyx-quit;'
> 
> Christian,
> 
>   How kewel! I've not had LyX running today, so I gave the above three tries
> in succession:
> 
> [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
> 
> real0m2.014s
> user0m0.280s
> sys 0m0.050s
> [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
> 
> real0m0.345s
> user0m0.230s
> sys 0m0.030s
> [EMAIL PROTECTED] ~]$ time lyx -x 'command-sequence lyx-quit;'
> 
> real0m0.342s
> user0m0.260s
> sys 0m0.010s
> 
>   Both the startup times and the use of the automatic command-sequence with
> the time command are impressive.
> 
Impressive timings.  Your first start is faster than my cached startups.
My lyx-1.3 starts in 0.7s, my lyx-1.4 in 3.5s when in cache.
Which version of lyx is this, and does it use xforms or qt?

Helge Hafting 


Re: euro symbol

2005-12-08 Thread Helge Hafting
On Thu, Dec 08, 2005 at 07:07:28PM +0100, [EMAIL PROTECTED] wrote:
> i can't get the euro symbol to work :/
> i tried \EUR and \euro using europs and eurosans packages but no success...
> i'm using pslatex font, french language and default encoding...
> 

You put those \euro commands in a TeX box, right?  They won't work in the text
itself.  And make sure you have a space (or {}) after the command,
i.e. "\euro " or "\euro{}"


You don't really need to use packages for this, because euro is supported
by babel (in greek mode, for some reason), and babel is invoked automatically
by lyx.

Just insert a TeX box, and write \euro{} inside.  Then mark the entire box
(not just the contents, start marking before it and end after it, but
don't include other text) Then change the language of the marked box to Greek.
This is necessary, \euro (without any packages) works in Greek but not 
otherwise.

To avoid repeating this over and over, just copy the Greek \euro command around
in the document when needed.

Helge Hafting


Re: Forget Windows

2005-12-08 Thread Rich Shepard

On Thu, 8 Dec 2005, Helge Hafting wrote:


Impressive timings.  Your first start is faster than my cached startups. My
lyx-1.3 starts in 0.7s, my lyx-1.4 in 3.5s when in cache. Which version of
lyx is this, and does it use xforms or qt?


Helge,

  1.3.6qt. On Slack-10.2. A moderately fast machine, but a standard (slow)
hard drive.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: LyX wiki has been upgraded

2005-12-08 Thread Juergen Spitzmueller
[EMAIL PROTECTED] wrote:
> Done. Hmm... you don't think it's a bit big now though?

Perhaps. You could try the attached, scaled version.

> I guess I could customize the skin to work better, but I suspect my time
> working on the wiki is better spent on structure/content than apperance.

Certainly. I didn't want to push you.

Jürgen


lyx_logo_medium2.png
Description: PNG image