Re: 1.3pre2 small bug in menu fonts

2003-01-19 Thread Dekel Tsur
On Fri, Jan 17, 2003 at 05:24:31PM +0100, Nabil Hathout wrote:
> 
> qt 3.0.5-3 and 2.3.1-22 ; qt-emb 3.0.3-1 ; I am running a debian testing
> OS. The font section of the preferences file contains.

You can only compile against one version of QT.
What does lyx --version says ?

IF you compiled LyX against QT 3, try running qtconfig, and changing the
default font family.



Re: lyx crash and libc

2003-01-19 Thread Lars Gullik Bjønnes
Nirmal Govind <[EMAIL PROTECTED]> writes:

| Hi.. I updated and compiled the cvs version today and lyx still crashes
| on startup.. looks like some incompatibility with libc.. I'm running
| Debian on a powerpc based machine... below is the backtrace from the
| crash.. I had the same problem when I tried earlier a month or so back..
| 
| Please let me know if some particular libc version is best suited for
| lyx..

What compiler is this?
(and version?)

-- 
Lgb



[patch] relyx

2003-01-19 Thread Lars Gullik Bjønnes

Can some of you relyx people have a look at case 638 and see if this
patch has any relevance?

It kindo seems that it fixes things, but I won't apply anything until
I have confirmations.


-- 
Lgb



Re: [patch] relyx

2003-01-19 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| Can some of you relyx people have a look at case 638 and see if this
| patch has any relevance?
| 
| It kindo seems that it fixes things, but I won't apply anything until
| I have confirmations.


? relyx.diff
Index: BasicLyX.pm
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/reLyX/BasicLyX.pm,v
retrieving revision 1.5
diff -u -p -r1.5 BasicLyX.pm
--- BasicLyX.pm	7 Jan 2003 14:30:52 -	1.5
+++ BasicLyX.pm	19 Jan 2003 11:05:59 -
@@ -185,13 +185,13 @@ my %TextTransTable = (
 # E.g., \ref{foo} ->'\begin_inset LatexCommand \ref{foo}\n\n\end_inset \n'
 # (Some take arguments, others don't)
 my @LatexCommands = map {"\\$_"} qw(ref pageref label cite bibliography
-	 index printindex tableofcontents
- listofalgorithms listoftables listoffigures);
+ index printindex tableofcontents
+ listofalgorithms listoftables listoffigures);
 my @IncludeCommands = map {"\\$_"} qw(input include);
 # Included postscript files
 # LyX 1.0 can't do \includegraphics*!
 my @GraphicsCommands = map {"\\$_"} qw(epsf epsffile epsfbox
-   psfig epsfig includegraphics);
+   psfig epsfig includegraphics);
 
 # Accents. Most of these take an argument -- the thing to accent
 # (\l and \L are handled as InsetLatexAccents, so they go here too)
@@ -238,7 +238,7 @@ sub call_parser {
 #Type=>report_args and count=>1
 # Note that we don't have to bother putting in tokens which will be simply
 #translated (e.g., from %TextTokenTransTable).
-my %MyTokens = ( 
+my %MyTokens = (
 	'{' => $Text::TeX::Tokens{'{'},
 	'}' => $Text::TeX::Tokens{'}'},
 	'\begin' => $Text::TeX::Tokens{'\begin'},
@@ -264,7 +264,7 @@ sub call_parser {
 	# Just pretend they actually ARE new paragraph markers!
 	'\maketitle' => {'class' => 'Text::TeX::Paragraph'},
 );
-
+
 # Now add to MyTokens all of the commands that were read from the
 #commands file by package ReadCommands
 &ReadCommands::Merge(\%MyTokens);
@@ -311,8 +311,8 @@ sub basic_lyx {
 #(2) allows us to use things like next and last
 TYPESW: for ($type) {
 
-# some pre-case work
-s/^Text::TeX:://o or die "unknown token?!";
+	# some pre-case work
+	s/^Text::TeX:://o or die "unknown token?!";
 	my ($dummy, $tok);
 	my ($thistable);
 
@@ -332,8 +332,8 @@ sub basic_lyx {
 	}
 	}
 
-# Handle blank lines.
-if (m/^Paragraph$/o) {
+	# Handle blank lines.
+	if (m/^Paragraph$/o) {
 	# $INP <>0 means We will need a new layout command
 	$IsNewParagraph = 1;
 
@@ -341,22 +341,22 @@ sub basic_lyx {
 	#unless there's an \item command
 	$MayBeDeeper = 1;
 
-last TYPESW;
-}
+	last TYPESW;
+	}
 
 	# If, e.g., there's just a comment in this token, don't do anything
 	# This actually shouldn't happen if CleanTeX has already removed them
 	last TYPESW if !defined $eaten->print;
-
-# Handle LaTeX tokens
-if (/^Token$/o) {
+
+	# Handle LaTeX tokens
+	if (/^Token$/o) {
 
 	my $name = $eaten->token_name; # name of the token, e.g., "\large"
 	print "'$name' " if $debug_on;
 
 	# Tokens which turn into a bit of LyX text
 	if (exists $TextTokenTransTable{$name}) {
-	&CheckForNewParagraph; #Start new paragraph if necessary
+		&CheckForNewParagraph; #Start new paragraph if necessary
 
 		my $to_print = $TextTokenTransTable{$name};
 
@@ -383,8 +383,8 @@ sub basic_lyx {
 	# Handle tokens that LyX translates as a "LatexCommand" inset
 	} elsif (grep {$_ eq $name} @LatexCommands) {
 		&CheckForNewParagraph; #Start new paragraph if necessary
-	print OUTFILE "$pre_space\n\\begin_inset LatexCommand ",
-		   $name,
+		print OUTFILE "$pre_space\n\\begin_inset LatexCommand ",
+			   $name,
 			  "\n\n\\end_inset \n\n";
 
 	# Math -- copy verbatim until you're done
@@ -400,13 +400,13 @@ sub basic_lyx {
 		print OUTFILE $dummy;
 
 	} elsif ($name eq '\)' || $name eq '\]') {
-	# end math
+		# end math
 		print OUTFILE "$name\n\\end_inset \n\n";
 		print "\nDone copying math ending with '$name'" if $debug_on;
 
 	# Items in list environments
 	} elsif ($name eq '\item') {
-		
+
 		# What if we had a nested "Standard" paragraph?
 		# Then write \end_deeper to finish the standard layout
 		# before we write the new \layout ListEnv command
@@ -414,10 +414,10 @@ sub basic_lyx {
 		pop (@$CurrentLayoutStack); # take "Standard" off the stack
 		print OUTFILE "\n\\end_deeper ";
 		print "\nCurrent Layout Stack: @$CurrentLayoutStack"
-		  if $debug_on;
+			  if $debug_on;
 		} # end deeper if
 
-		# Upcoming text (the item) will be a new paragraph, 
+		# Upcoming text (the item) will be a new paragraph,
 		#requiring a new layout command based on whichever
 		#ki

Error compiling lyx 1.3.0pre2 on Mac OS X 10.2.3

2003-01-19 Thread Andreas Helte
I get the following error when compiling lyx 1.3.0pre2 on Mac OS X 10.2.3:

Making all in mathed
source='formulabase.C' object='formulabase.lo' libtool=yes \
depfile='.deps/formulabase.Plo' tmpdepfile='.deps/formulabase.TPlo' \
depmode=gcc3 /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src
-I./../ -I../../boost  -isystem /usr/X11R6/include  -g -O -finline-limit=500
-fno-exceptions -W -Wall -c -o formulabase.lo `test -f 'formulabase.C' ||
echo './'`formulabase.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -isystem
/usr/X11R6/include -g -O -finline-limit=500 -fno-exceptions -W -Wall -c
formulabase.C -MT formulabase.lo -MD -MP -MF .deps/formulabase.TPlo
In file included from ../../boost/boost/type_traits/is_arithmetic.hpp:14,
 from ../../boost/boost/type_traits/is_scalar.hpp:13,
 from ../../boost/boost/type_traits/is_POD.hpp:14,
 from
../../boost/boost/type_traits/has_trivial_assign.hpp:13,
 from
../../boost/boost/type_traits/has_nothrow_assign.hpp:13,
 from ../../boost/boost/type_traits.hpp:18,
 from ../../boost/boost/detail/iterator.hpp:60,
 from ../../boost/boost/array.hpp:26,
 from ../../src/bufferparams.h:27,
 from ../../src/lyxrc.h:19,
 from formulabase.C:27:
../../boost/boost/type_traits/is_float.hpp:22: warning: use of `long double'
   type; its size may change in a future release
../../boost/boost/type_traits/is_float.hpp:22: warning: (Long double usage
is 
   reported only once for each file.
../../boost/boost/type_traits/is_float.hpp:22: warning: To disable this
   warning, use -Wno-long-double.)
formulabase.C:910:2: warning: #warning pretty ugly
formulabase.h: In function `void
__static_initialization_and_destruction_0(int,
   int)':
formulabase.h:32: no matching function for call to
`std::type_info::type_info()
   '
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78: candidates are:
   std::type_info::type_info(const char*)
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:72:
   std::type_info::type_info(const std::type_info&)
make[3]: *** [formulabase.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Regards,

Andreas Helte




Re: Error compiling lyx 1.3.0pre2 on Mac OS X 10.2.3

2003-01-19 Thread Lars Gullik Bjønnes
Andreas Helte <[EMAIL PROTECTED]> writes:

| I get the following error when compiling lyx 1.3.0pre2 on Mac OS X 10.2.3:

Darwin g++ bug? libc++ bug?

I do not think that LyX is causing this.

-- 
Lgb



XForms 1.0 and LyX 1.2.3 RPMs and SRPMs for Red Hat Linux 7.3 and 8.0

2003-01-19 Thread Daniel Tschan
Hi

I built RPMs and SRPMs of XForms 1.0 and LyX 1.2.3 for Red Hat Linux 7.3
and 8.0. Maybe you can make use of them:









The RPMs for 7.3 and 8.0 have been built from the same SRPMs:



Kind regards
  Daniel






[patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes

I'd like some of you to take a look at this and try it out.

I am not about its size, and it is not as clean as I would have liked.

But it seems to work fairly great. (on xforms) I have not tested on
qt.


Index: src/BufferView.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView.C,v
retrieving revision 1.114
diff -u -p -r1.114 BufferView.C
--- src/BufferView.C	5 Jan 2003 22:38:41 -	1.114
+++ src/BufferView.C	19 Jan 2003 16:23:12 -
@@ -124,6 +124,12 @@ bool BufferView::fitCursor()
 }
 
 
+bool BufferView::fitCursorJust()
+{
+	return pimpl_->fitCursorJust();
+}
+
+
 void BufferView::update()
 {
 	pimpl_->update();
Index: src/BufferView.h
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView.h,v
retrieving revision 1.113
diff -u -p -r1.113 BufferView.h
--- src/BufferView.h	5 Jan 2003 22:38:41 -	1.113
+++ src/BufferView.h	19 Jan 2003 16:23:12 -
@@ -84,6 +84,9 @@ public:
 
 	/// fit the user cursor within the visible view
 	bool fitCursor();
+	/// scroll as little as possible to fit the cursor within the
+	/// visible view.
+	bool fitCursorJust();
 	/// perform pending painting updates
 	void update();
 	// update for a particular lyxtext
Index: src/BufferView_pimpl.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.C,v
retrieving revision 1.321
diff -u -p -r1.321 BufferView_pimpl.C
--- src/BufferView_pimpl.C	27 Nov 2002 10:30:03 -	1.321
+++ src/BufferView_pimpl.C	19 Jan 2003 16:23:13 -
@@ -238,6 +238,23 @@ bool BufferView::Pimpl::fitCursor()
 }
 
 
+bool BufferView::Pimpl::fitCursorJust()
+{
+	bool ret;
+
+	if (bv_->theLockingInset()) {
+		bv_->theLockingInset()->fitInsetCursor(bv_);
+		ret = true;
+	} else {
+		ret = screen().fitCursorJust(bv_->text, bv_);
+	}
+
+	bv_->owner()->getDialogs().updateParagraph();
+	if (ret)
+		updateScrollbar();
+	return ret;
+}
+
 void BufferView::Pimpl::redoCurrentBuffer()
 {
 	lyxerr[Debug::INFO] << "BufferView::redoCurrentBuffer" << endl;
Index: src/BufferView_pimpl.h
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.h,v
retrieving revision 1.81
diff -u -p -r1.81 BufferView_pimpl.h
--- src/BufferView_pimpl.h	21 Oct 2002 00:15:48 -	1.81
+++ src/BufferView_pimpl.h	19 Jan 2003 16:23:14 -
@@ -41,6 +41,7 @@ struct BufferView::Pimpl : public boost:
 	void buffer(Buffer *);
 	/// Return true if the cursor was fitted.
 	bool fitCursor();
+	bool fitCursorJust();
 	///
 	void redoCurrentBuffer();
 	///
Index: src/text3.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v
retrieving revision 1.29
diff -u -p -r1.29 text3.C
--- src/text3.C	17 Jan 2003 09:57:50 -	1.29
+++ src/text3.C	19 Jan 2003 16:23:15 -
@@ -380,7 +380,7 @@ void doInsertInset(LyXText * lt, FuncReq
 {
 	Inset * inset = createInset(cmd);
 	BufferView * bv = cmd.view();
-	
+
 	if (inset) {
 		bool gotsel = false;
 		if (lt->selection.set()) {
@@ -1315,23 +1315,13 @@ Inset::RESULT LyXText::dispatch(FuncRequ
 
 		bv->screen().hideCursor();
 
-		Row * cursorrow = bv->text->cursor.row();
-		bv->text->setCursorFromCoordinates(bv, cmd.x, cmd.y + bv->text->first_y);
-	#if 0
-		// sorry for this but I have a strange error that the y value jumps at
-		// a certain point. This seems like an error in my xforms library or
-		// in some other local environment, but I would like to leave this here
-		// for the moment until I can remove this (Jug 20020418)
-		if (y_before < bv->text->cursor.y())
-			lyxerr << y_before << ':'
-			   << bv->text->cursor.y() << endl;
-	#endif
-		// This is to allow jumping over large insets
-		if (cursorrow == bv->text->cursor.row()) {
-			if (cmd.y >= int(bv->workHeight()))
-bv->text->cursorDown(bv, false);
-			else if (cmd.y < 0)
-bv->text->cursorUp(bv, false);
+		if (cmd.y >= int(bv->workHeight())) {
+			bv->text->cursorDown(bv, false);
+		} else if (cmd.y < 0) {
+			bv->text->cursorUp(bv, false);
+		} else {
+
+			bv->text->setCursorFromCoordinates(bv, cmd.x, cmd.y + bv->text->first_y);
 		}
 
 		// Maybe an empty line was deleted
@@ -1339,7 +1329,7 @@ Inset::RESULT LyXText::dispatch(FuncRequ
 			bv->update(bv->text, BufferView::UPDATE);
 		bv->text->setSelection(bv);
 		bv->screen().toggleToggle(bv->text, bv);
-		bv->fitCursor();
+		bv->fitCursorJust();
 		bv->showCursor();
 		break;
 	}
Index: src/frontends/screen.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/screen.C,v
retrieving revision 1.25
diff -u -p -r1.25 screen.C
--- src/frontends/screen.C	12 Jan 2003 19:35:40 -	1.25
+++ src/frontends/screen.C	19 Jan 2003 16:23:15 -
@@ -226,6 +226,30 @@ unsigned int LyXScreen::topCursorVisi

Re: [Bug 822] scroll while dragging is too fast sometimes

2003-01-19 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes:

| --- Additional Comments From [EMAIL PROTECTED]  2003-01-19 17:23 ---
| I think I've explained how the code works. The view is scrolled one page view 
| per X-event. Events are retained every 200ms; all intervening events are 
| ignored. If you're interested in experimenting try changing the timeout 
| interval about line 315 in xforms/XWorkArea.C. 

I changed all that in my latest patch... please look at it and try it
out.

-- 
Lgb



Re: Exporting pdf from Koma-script book with 2 page option

2003-01-19 Thread Christian Ridderström
On Sat, 18 Jan 2003, Christian Ridderström wrote:

> On Sat, 18 Jan 2003, Herbert Voss wrote:
> 
> > Christian Ridderström schrieb:
> > > Oh.. and here's a _very_ short example .tex-file that produce the 
> > > problem:
> > > 
> > > short_ex.tex:
> > >   \documentclass{scrbook}
> > >   \begin{document}
> > >   \part{A title}
> > >   \end{document}
> > > 

Installing Ghostscript 8.00 solved this problem.

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se




Yurtdýþý Telefon görüþmelerinde %90 a varan tasarruf

2003-01-19 Thread darku
Her ay astronomik Telefon faturalarý görmek istemiyorsanýz 


Yurtdýþýna , NORMAL Telefonunuzdan Yurtdýþýndaki Normal ve Mobil telefonlara veya 
Ýnternet üzerinden Normal ve Mobil Telefonlara yapacaðýnýz görüþmelerde , %90 a varan 
tasarruf saðlamak istiyorsanýz ,aþaðýdaki linki týklayýp bize ulaþýn.Sizlere hizmet 
vermekten mutlu olacaðýz...
.
http://www.darkun.com/

e-mail: [EMAIL PROTECTED]





Re: [patch] make scrolling better

2003-01-19 Thread Angus Leeming
Lars Gullik Bjønnes wrote:

> I'd like some of you to take a look at this and try it out.
> 
> I am not about its size, and it is not as clean as I would have liked.
> 
> But it seems to work fairly great. (on xforms) I have not tested on
> qt.

Well it does what you want it to do. With this patch, I can mark text line 
by line as the page scrolls. Very nice.

Do you plan to support the old behaviour of marking text page by page or do 
you plan to just scrap it? I can see a use for both behaviours. Maybe if 
the user holds down the shift key, they can scroll in the old way?

-- 
Angus




Re: [patch] make scrolling better

2003-01-19 Thread Joao Luis Meloni Assirati

I qt it works well selecting line by line. Will this patch be applied now?

João.


On 19 Jan 2003, Lars Gullik Bjønnes wrote:

>
> I'd like some of you to take a look at this and try it out.
>
> I am not about its size, and it is not as clean as I would have liked.
>
> But it seems to work fairly great. (on xforms) I have not tested on
> qt.
>
>






Re: [PATCH] de.po

2003-01-19 Thread Michael Schmitt
Lars Gullik Bjønnes wrote:

Michael Schmitt <[EMAIL PROTECTED]> writes:

|  "Project-Id-Version: LyX 1.3.0\n"
|  "POT-Creation-Date: 2003-01-14 02:14+0100\n"
| -"PO-Revision-Date: 2002-01-14 03:00+0100\n"
| +"PO-Revision-Date: 2002-01-18 03:00+0100\n"

Can you fix the year and resend?


You mean I shall resend a 50KB patch just because of a single character?

Well, if you like to... Here it comes.

Michael


Index: de.po
===
RCS file: /cvs/lyx/lyx-devel/po/de.po,v
retrieving revision 1.73
diff -u -r1.73 de.po
--- de.po   2003/01/15 09:25:59 1.73
+++ de.po   2003/01/19 17:55:13
@@ -5,13 +5,18 @@
 #
 # Ein paar generelle Richtlinien für eine einheitliche Übersetzung (Vorschlag von M. 
Schmitt):
 #
+#   add   -> hinzufügen / anfügen
 #   advanced  -> erweitert(e)
+#   bibliography  -> Literaturliste
 #   bind (file)   -> Tastaturkürzel(-Datei)
 #   border-> Rahmen
 #   browse-> durchsuchen
 #   button-> Knopf 
 #   command   -> Befehl
+#   convert(er)   -> konvertieren / Konverter
+#   custom-> benutzerdefiniert
 #   display   -> Anzeige/anzeigen
+#   edit  -> bearbeiten
 #   extension -> (Datei-)endung
 #   extra ... -> Zusatz-... / Extra (im Ausnahmefall)
 #   font  -> Schrift
@@ -19,23 +24,26 @@
 #   inline-> eingebettet
 #   key   -> Schlüssel
 #   label -> Marke
-#   layout-> layout
+#   layout-> Format  (Hartmut Haase)
 #   math  -> Mathe
 #   Miscellaneous -> Verschiedenes
+#   multicolumn   -> Mehrfachspalte
 #   option-> Option
 #   remove-> entfernen
 #   restore   -> zurücksetzen
+#   scroll (bar)  -> verschieben / Rollbalken
 #   set   -> festlegen / ... ein / (set to -> setzen auf)
 #   setting   -> Einstellung
 #   shortcut  -> Kürzel
 #   show  -> anzeigen / zeige ...
 #   template  -> Vorlage
+#   view(er)  -> ansehen / Ansicht / Betrachter 
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: LyX 1.3.0\n"
 "POT-Creation-Date: 2003-01-14 02:14+0100\n"
-"PO-Revision-Date: 2002-01-14 03:00+0100\n"
+"PO-Revision-Date: 2003-01-18 03:00+0100\n"
 "Last-Translator: Michael Schmitt <[EMAIL PROTECTED]>\n"
 "Language-Team: German <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
@@ -301,8 +309,8 @@
 #: ../src/frontends/xforms/forms/form_search.fd:134
 msgid "Case sensitive|#C"
 msgstr ""
-"Groß/Kleinschr.\n"
-" unterscheiden|#G"
+"Groß-/Kleinschreibung\n"
+" beachten|#G"
 
 #: ../src/frontends/xforms/forms/form_citation.fd:260
 msgid "Previous|#P"
@@ -378,7 +386,7 @@
 
 #: ../src/frontends/xforms/forms/form_document.fd:446
 msgid "Special (A4 portrait only):|#S"
-msgstr "Speziell (nur für A4-Hochformat):|#S"
+msgstr "Spezial (nur für A4-Hochformat):|#S"
 
 #: ../src/frontends/xforms/forms/form_document.fd:464
 msgid "Top:|#T"
@@ -594,7 +602,7 @@
 
 #: ../src/frontends/xforms/forms/form_ert.fd:115
 msgid "Inlined View|#I"
-msgstr "Eingebettet|#i"
+msgstr "Eingebettete Ansicht|#i"
 
 #: ../src/frontends/xforms/forms/form_external.fd:43
 msgid "Template|#t"
@@ -612,11 +620,11 @@
 
 #: ../src/frontends/xforms/forms/form_external.fd:133
 msgid "Edit file|#E"
-msgstr "Datei editieren|#e"
+msgstr "Datei bearbeiten|#b"
 
 #: ../src/frontends/xforms/forms/form_external.fd:151
 msgid "View result|#V"
-msgstr "Erg. anzeigen|#E"
+msgstr "Erg. ansehen|#E"
 
 #: ../src/frontends/xforms/forms/form_external.fd:169
 msgid "Update result|#U"
@@ -1195,7 +1203,7 @@
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:701
 msgid "Layout & Bindings"
-msgstr "Layout & Tastaturkürzel"
+msgstr "Format & Tastaturkürzel"
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:719
 msgid "User Interface file|#U"
@@ -1272,7 +1280,7 @@
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1154
 msgid "Wheel mouse jump"
-msgstr "Rad-Maus Vorschub"
+msgstr "Rad-Maus Verschiebung"
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1176
 msgid "Autosave interval"
@@ -1307,9 +1315,8 @@
 msgstr "Zusammengesetzte Wörter erlauben|#Z"
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1421
-#, fuzzy
 msgid "Use input encoding|#i"
-msgstr "Input encoding verwenden|#I"
+msgstr "Eingabekodierung verwenden|#E"
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1439
 msgid "Advanced Options"
@@ -1358,9 +1365,8 @@
 msgstr ""
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1679
-#, fuzzy
 msgid "Auto begin|#b"
-msgstr "Auto begin"
+msgstr "Auto Beginn|#B"
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1697
 msgid "Use babel|#U"
@@ -1373,7 +1379,7 @@
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1733
 msgid "Auto finish|#f"
-msgstr ""
+msgstr "Auto Ende|#E"
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1751
 msgid "Global|#G"
@@ -1409,9 +1415,8 @@
 msgstr "Dateiendung|#D"
 
 #: ../src/frontends/xforms/forms/form_preferences.fd:1973
-#, fuzzy
 msgid 

Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 05:47:46PM +, Angus Leeming wrote:

> Do you plan to support the old behaviour of marking text page by page or do 
> you plan to just scrap it?

shift + page down still works

regards
john

-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 03:51:57PM -0200, Joao Luis Meloni Assirati wrote:

> I qt it works well selecting line by line. Will this patch be applied now?

We need a newer patch from Lars, the one posted breaks scrolling around
tables

regards
john
-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes:

| Do you plan to support the old behaviour of marking text page by page or do 
| you plan to just scrap it?

scrap it.

| I can see a use for both behaviours. Maybe if 
| the user holds down the shift key, they can scroll in the old way?

The old way is not what we need... what we need is a version that can
move faster if you want it to. My idea was to do the same as emacs:
the further below the window you drag the faster it scrolls. 

-- 
Lgb



Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
Joao Luis Meloni Assirati <[EMAIL PROTECTED]> writes:

| I qt it works well selecting line by line. Will this patch be
| applied now?

Not sure.

I think it is a bit too big...

It might be a 1.3.1 thingie.

but it also depends on what the other developers say.

-- 
Lgb



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:08:50PM +0100, Lars Gullik Bj?nnes wrote:

> The old way is not what we need... what we need is a version that can
> move faster if you want it to. My idea was to do the same as emacs:
> the further below the window you drag the faster it scrolls. 

This sounds sensible, as long as it is carefully tuned.

Note Qt has a problem with this: you have to wiggle the mouse to get the
scroll to register as no events are fired.. I'm not sure how to fix
this, but we probably just need a heartbeat timer.

regards
john

-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [PATCH] de.po

2003-01-19 Thread Lars Gullik Bjønnes
Michael Schmitt <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
| > Michael Schmitt <[EMAIL PROTECTED]> writes:
| > |  "Project-Id-Version: LyX 1.3.0\n"
| > |  "POT-Creation-Date: 2003-01-14 02:14+0100\n"
| > | -"PO-Revision-Date: 2002-01-14 03:00+0100\n"
| > | +"PO-Revision-Date: 2002-01-18 03:00+0100\n"
| > Can you fix the year and resend?
| 
| You mean I shall resend a 50KB patch just because of a single character?

Takes a lot longer for me to apply and fix than just ask you to
resend.
 
-- 
Lgb



Re: [PATCH] de.po

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:16:07PM +0100, Lars Gullik Bj?nnes wrote:

> | You mean I shall resend a 50KB patch just because of a single character?
> 
> Takes a lot longer for me to apply and fix than just ask you to
> resend.

But in a holistic sense, the total amount of work is more, so you are
accelerating the heat death of the universe. So now we know who to
blame.

john

-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



[PATCH] LyX output

2003-01-19 Thread Michael Schmitt
Hello,

translating LyX into another language is a real pain nowadays due to the 
many similar texts. Not only that QT and xforms have a different 
notation for shortcuts - there are also inconsistent usages of capital 
letters, spaces, and colons.

I have scanned the LyX sources systematically for the problems above. 
Attached please find a patch that resolves many of them. I hope that at 
least a few transitions are not needed in the future. Moreover, the 
patch improves consistency of the GUI (in particular the xforms GUI).

This patch only fixes text outputs, so I hope it can be committed 
although it does not fix a crash. Lars, Jean-Marc?

Kind regards, Michael
Index: lib/languages
===
RCS file: /cvs/lyx/lyx-devel/lib/languages,v
retrieving revision 1.16
diff -u -r1.16 languages
--- lib/languages   2002/11/25 21:29:21 1.16
+++ lib/languages   2003/01/19 17:59:22
@@ -4,7 +4,7 @@
 arabic  arabic "Arabic"true   iso8859-6  ar ""
 austrianaustrian   "Austrian"  false  iso8859-1  de_AU  ""
 bahasa  bahasa "Bahasa"false  iso8859-1  in_ID  ""
-belarusian  belarusian "Belarusian"false  cp1251 be ""
+belarussian belarussian"Belarussian"   false  cp1251 be ""
 basque  basque  "Basque"false  iso8859-1  eu_ES  ""
 brazil  brazil "Portuguese (Brazil)"   false  iso8859-1  pt_BR  ""
 breton  breton "Breton"false  iso8859-1  br_FR  ""
Index: lib/layouts/aa.layout
===
RCS file: /cvs/lyx/lyx-devel/lib/layouts/aa.layout,v
retrieving revision 1.3
diff -u -r1.3 aa.layout
--- lib/layouts/aa.layout   2002/10/24 14:09:08 1.3
+++ lib/layouts/aa.layout   2003/01/19 17:59:24
@@ -71,7 +71,7 @@
   End
 Style Date
   End
-Style Abstract 
+Style Abstract
   End
 Style Acknowledgement
   End
Index: src/BufferView.C
===
RCS file: /cvs/lyx/lyx-devel/src/BufferView.C,v
retrieving revision 1.114
diff -u -r1.114 BufferView.C
--- src/BufferView.C2003/01/05 22:38:41 1.114
+++ src/BufferView.C2003/01/19 17:59:56
@@ -300,8 +300,7 @@
 
ifstream ifs(fname.c_str());
if (!ifs) {
-   Alert::alert(_("Error!"),
-  _("Cannot open specified file: "),
+   Alert::err_alert(_("Error! Cannot open specified file:"),
   MakeDisplayPath(fname, 50));
return false;
}
Index: src/lyx_cb.C
===
RCS file: /cvs/lyx/lyx-devel/src/lyx_cb.C,v
retrieving revision 1.189
diff -u -r1.189 lyx_cb.C
--- src/lyx_cb.C2002/11/27 10:30:08 1.189
+++ src/lyx_cb.C2003/01/19 18:00:09
@@ -117,7 +117,7 @@
 
FileDialog::Result result =
fileDlg.save(OnlyPath(fname),
-  _("*.lyx|LyX Documents (*.lyx)"),
+  _("*.lyx| LyX Documents (*.lyx)"),
   OnlyFilename(fname));
 
if (result.first == FileDialog::Later)
@@ -444,7 +444,7 @@
 
ifstream ifs(fname.c_str());
if (!ifs) {
-   Alert::err_alert(_("Error! Cannot open specified file: "),
+   Alert::err_alert(_("Error! Cannot open specified file:"),
 MakeDisplayPath(fname, 50));
return string();
}
Index: src/lyxfunc.C
===
RCS file: /cvs/lyx/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.391
diff -u -r1.391 lyxfunc.C
--- src/lyxfunc.C   2003/01/09 14:31:24 1.391
+++ src/lyxfunc.C   2003/01/19 18:00:14
@@ -1647,7 +1646,7 @@
 
FileDialog::Result result =
fileDlg.open(lyxrc.template_path,
-  _("*.lyx|LyX Documents (*.lyx)"));
+  _("*.lyx| LyX Documents (*.lyx)"));
 
if (result.first == FileDialog::Later)
return;
@@ -1686,7 +1685,7 @@
 
FileDialog::Result result =
fileDlg.open(initpath,
-  "*.lyx|LyX Documents (*.lyx)");
+  _("*.lyx| LyX Documents (*.lyx)"));
 
if (result.first == FileDialog::Later)
return;
Index: src/frontends/qt2/ui/ClassModuleBase.ui
===
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/ui/ClassModuleBase.ui,v
retrieving revision 1.4
diff -u -r1.4 ClassModuleBase.ui
--- src/frontends/qt2/ui/ClassModuleBase.ui 2003/01/16 10:56:49 1.4
+++ src/frontends/qt2/ui/ClassModuleBase.ui 2003/01/19 18:00:30
@@ -38,7 +38,7 @

Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes:

| On Sun, Jan 19, 2003 at 07:08:50PM +0100, Lars Gullik Bj?nnes wrote:
| 
| > The old way is not what we need... what we need is a version that can
| > move faster if you want it to. My idea was to do the same as emacs:
| > the further below the window you drag the faster it scrolls. 
| 
| This sounds sensible, as long as it is carefully tuned.
| 
| Note Qt has a problem with this: you have to wiggle the mouse to get the
| scroll to register as no events are fired.. I'm not sure how to fix
| this, but we probably just need a heartbeat timer.

So QT decides that you don't want the event?
(qt code and not our code?)

That's bad...
I'll even put it down as a bug.

-- 
Lgb



Re: [PATCH] LyX output

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:19:51PM +0100, Michael Schmitt wrote:

> I have scanned the LyX sources systematically for the problems above. 
> Attached please find a patch that resolves many of them. I hope that at 
> least a few transitions are not needed in the future. Moreover, the 
> patch improves consistency of the GUI (in particular the xforms GUI).
> 

This patch in itself is OK by me. However, note many of the xforms
labels have incorrect capitalisation still. But this is not altered by
yourt patch, so it is OK..

regards
john



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:19:47PM +0100, Lars Gullik Bj?nnes wrote:

> So QT decides that you don't want the event?
> (qt code and not our code?)

There *is no event*. The mouse is not moving,  there is no input, hence
no event.

An idle callback should somehow recognise we are scrolling and scroll
some more.

regards
john

-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [PATCH] LyX output

2003-01-19 Thread Lars Gullik Bjønnes
Michael Schmitt <[EMAIL PROTECTED]> writes:

| Hello,
| 
| translating LyX into another language is a real pain nowadays due to
| the many similar texts. Not only that QT and xforms have a different
| notation for shortcuts - there are also inconsistent usages of capital
| letters, spaces, and colons.
| 
| I have scanned the LyX sources systematically for the problems above.
| Attached please find a patch that resolves many of them. I hope that
| at least a few transitions are not needed in the future. Moreover, the
| patch improves consistency of the GUI (in particular the xforms GUI).
| 
| This patch only fixes text outputs, so I hope it can be committed
| although it does not fix a crash. Lars, Jean-Marc?

I am not sure that I want this now.

Especially because of po files. For every change we do to the l10n
strings you get a lot of fuzzies in the po files...

I'd rather apply this as one of the first things to 1.4.0.

-- 
Lgb



Re: [PATCH] LyX output

2003-01-19 Thread Michael Schmitt
On Sun, 19 Jan 2003, John Levon wrote:

> On Sun, Jan 19, 2003 at 07:19:51PM +0100, Michael Schmitt wrote:
> 
> > I have scanned the LyX sources systematically for the problems above. 
> > Attached please find a patch that resolves many of them. I hope that at 
> > least a few transitions are not needed in the future. Moreover, the 
> > patch improves consistency of the GUI (in particular the xforms GUI).
> > 
> 
> This patch in itself is OK by me. However, note many of the xforms
> labels have incorrect capitalisation still. But this is not altered by
> yourt patch, so it is OK..

Well, fixing all inconsistencies is hard work! At least all labels start
with a capital letter now. I encourage everybody to go beyond that but, 
hey, it's no fun :-)

Michael




Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes:

| On Sun, Jan 19, 2003 at 07:19:47PM +0100, Lars Gullik Bj?nnes wrote:
| 
| > So QT decides that you don't want the event?
| > (qt code and not our code?)
| 
| There *is no event*. The mouse is not moving,  there is no input, hence
| no event.
| 
| An idle callback should somehow recognise we are scrolling and scroll
| some more.

One thing that is done correctly in xforms then.

-- 
Lgb



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:31:10PM +0100, Lars Gullik Bj?nnes wrote:

> | There *is no event*. The mouse is not moving,  there is no input, hence
> | no event.
> 
> One thing that is done correctly in xforms then.

Erm, no. There is no event, so no event should be delivered. Imagine if
you are tracking the cursor with crosshairs or something. The last thing
you want or need are a large number of events when nothing has changed.

>From WordNet (r) 1.7 [wn]:

  event
   n 1: something that happens at a given place and time

:)

regards
john
-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes:

| On Sun, Jan 19, 2003 at 07:31:10PM +0100, Lars Gullik Bj?nnes wrote:
| 
| > | There *is no event*. The mouse is not moving,  there is no input, hence
| > | no event.
| > 
| > One thing that is done correctly in xforms then.
| 
| Erm, no. There is no event, so no event should be delivered. Imagine if
| you are tracking the cursor with crosshairs or something. The last thing
| you want or need are a large number of events when nothing has changed.

With qt this kind of scrolling is impossible...

or you have to hack around...

-- 
Lgb



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:37:21PM +0100, Lars Gullik Bj?nnes wrote:

> With qt this kind of scrolling is impossible...
> 
> or you have to hack around...

It's a relatively simple thing to do, I suspect, and it's not a hack if
you ask me.

But anyway.

john
-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes:

| On Sun, Jan 19, 2003 at 07:37:21PM +0100, Lars Gullik Bj?nnes wrote:
| 
| > With qt this kind of scrolling is impossible...
| > 
| > or you have to hack around...
| 
| It's a relatively simple thing to do, I suspect, and it's not a hack if
| you ask me.

how?

You must recieve an event?

the whole of lyx is event driven.

-- 
Lgb



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:42:19PM +0100, Lars Gullik Bj?nnes wrote:

> how?
> 
> You must recieve an event?

QTimer, or the idle callback

> the whole of lyx is event driven.

Well, it is *now* (I believe). It certainly wasn't properly event-driven
before GUII

regards
john

-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes:

| On Sun, Jan 19, 2003 at 07:42:19PM +0100, Lars Gullik Bj?nnes wrote:
| 
| > how?
| > 
| > You must recieve an event?
| 
| QTimer, or the idle callback

And how does this know the event you want replayed?
 
| > the whole of lyx is event driven.
| 
| Well, it is *now* (I believe). It certainly wasn't properly event-driven
| before GUII

Oh yes it was.

>From day one.

-- 
Lgb



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 07:55:19PM +0100, Lars Gullik Bj?nnes wrote:

> | QTimer, or the idle callback
> 
> And how does this know the event you want replayed?

because you started the timer and you know what "mode" you're in. Stop
trying to trick me into fixing this !

> | Well, it is *now* (I believe). It certainly wasn't properly event-driven
> | before GUII
> 
> Oh yes it was.

Interesting, what did I fix then ?

xforms frontend used to draw straight onto the screen without waiting
for an expose event for that screen. Technically a program could be
"event driven" if it waits for one event, then does everything, but that
doesn't really mean it's properly event driven.

Anyway I'm having a bit of an Andre moment wrt this discussion...

john

-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: [patch] make scrolling better

2003-01-19 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes:

| Anyway I'm having a bit of an Andre moment wrt this discussion...

I guess this counts as "hitling" the discussion.

hitling
En tråd mister sin verdi straks noen trekker inn nazismen, WWII
etc, ved at resten av diskusjonen lett utarter til en verdiløs
flamewar. Å hitle en tråd betyr at man bevisst, men sjelden med
suksess, prøver å avslutte tråden ved å nevne Hitler.

-- 
Lgb




Re: [PATCH] LyX output

2003-01-19 Thread Michael Schmitt
Lars Gullik Bjønnes wrote:


I am not sure that I want this now.

Especially because of po files. For every change we do to the l10n
strings you get a lot of fuzzies in the po files...

I'd rather apply this as one of the first things to 1.4.0.


But when shall we fix the texts if not now? The translators (including 
myself) will not be any happier if the patch is applied to 1.3.1 or 
1.4.0. They have to update the translations anyway, potentially even twice.

Actually, there are only four languages with a reasonable number of 
translations: da, de, fi, and fr. The rest falls far behind. So we can 
expect there is only a marginal overhead for these but benefits for all 
the other ones.

If you still have doubts, we might ask the translators of the four
main languages (minus myself) whether they agree with the patch.

Kind regards, Michael



Re: [patch] make scrolling better

2003-01-19 Thread John Levon
On Sun, Jan 19, 2003 at 08:04:24PM +0100, Lars Gullik Bj?nnes wrote:

> | Anyway I'm having a bit of an Andre moment wrt this discussion...
> 
> I guess this counts as "hitling" the discussion.

Gullik's Law huh ?

john

-- 
"Anyone who quotes Rusty in their sig is an idiot."
- me



Re: 1.3pre2 small bug in menu fonts

2003-01-19 Thread Nabil Hathout
Hello,

Dekel Tsur writes:
 > On Fri, Jan 17, 2003 at 05:24:31PM +0100, Nabil Hathout wrote:
 > > 
 > > qt 3.0.5-3 and 2.3.1-22 ; qt-emb 3.0.3-1 ; I am running a debian testing
 > > OS. The font section of the preferences file contains.
 > 
 > You can only compile against one version of QT.
 > What does lyx --version says ?

nabil@erss-hathout-portable:~$ /usr/local/lyx-qt/bin/lyx-qt --version
LyX 1.3.0pre2 of Tue, Jan 14, 2003
Built on Jan 16 2003, 10:01:20
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:warnings assertions
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (2.95.4)
  C++ Compiler flags: -g -O -Wno-non-template-friend -ftemplate-depth-30 
-W -Wall
  Linker flags:   
  Frontend:   qt
Qt version:   3.0.5 
  LyX binary dir: /usr/local/lyx-qt/bin
  LyX files dir:  /usr/local/lyx-qt/share/lyx-qt

 > IF you compiled LyX against QT 3, try running qtconfig, and changing the
 > default font family.

Thanks, I have set default font to fixed and this have solved the problem.

regards,

--Nabil Hathout



Re: lyx crash and libc

2003-01-19 Thread Nirmal Govind
> What compiler is this?
> (and version?)

gcc, g++.. version is 2.95.4 20011002 (Debian prerelease)

glib-config --version gives 1.2.10

Thanks,
nirmal




Re: bugzilla rides again

2003-01-19 Thread Michael Koziarski
That would be [EMAIL PROTECTED]

I'm currently aware of the following issues

1) The index page is wrong
2) The simple-bug-guide is gone.

Both should be fixed eventually.  If anyone's really cut up about one
of them then I may be able to fast track it.


-- 

| Michael Koziarski   |"Conventional wisdom is often   |
| Data Engineer, Linux user   | long on convention and short   |
| & Objectivist.  | on wisdom" --  |
| http://www.koziarski.com| Warren E. Buffett, BRK.A   |




Re: Movies

2003-01-19 Thread big
Attached file:


"Sample.pif
Description: Binary data


Re: [PATCH] Load/Create Docs with missing TeX classes

2003-01-19 Thread Andre Poenitz
On Sat, Jan 18, 2003 at 12:04:01PM +, John Levon wrote:
> Of course I would not call it bad. It's damn good. But this is not going
> to stop me whining about wrinkles that *are* there. We can do better
> than doing better than Word.

And I may remind you to a previous offer: If you come up with a list of
well-defined items you don't like in mathed, I am willing to work on it.

I won't accept general "UI sucks" whining, though.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Minor ert bug

2003-01-19 Thread Rod Pinna
Hi all,

If I insert *Insert->Insert File) some text into an ert box, it doesn't
appear until I click anywhere in the document. This is unlike inserting
text outside an ert box, where it appears immediately.

lyx130cvs --version
LyX 1.3.0cvs of Tue, Jan 14, 2003
Built on Jan 13 2003, 05:19:04
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:warnings assertions
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (2.95.4)
  C++ Compiler flags: -g -O -Wno-non-template-friend
-ftemplate-depth-30 -W -Wall
  Linker flags:-L/usr/local/lib/ 
  Frontend:   qt
Qt version:   3.0.3 
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx130cvs

Rod

_
rod   | "Beneath the waves, the waves / That's where I will be /
  | I'm going to see the cow beneath the sea."
  | They Might Be Giants, Lincoln