Re: Can't enter extra whitespace when editing.

2007-06-26 Thread Alfredo Braunstein
Darren Freeman wrote:

> On Tue, 2007-06-26 at 12:47 +0200, Jean-Marc Lasgouttes wrote:
>> would find something there, it was a funny thing to do. Remember that
>> at that time, the whole unpacked source was 700k (now: 55M), and there
>> was only one documentation file :)
> 
> Also only one developer, minimum inline documentation, no i18n, no
> icons, right? :) That would account for all the remaining bytes ;)

Who's the one that weights so many bytes? ;-)
 
>> Darren> By the way, nobody has yet answered my concerns about the
>> Darren> dangling space at the end of a paragraph. That has been
>> Darren> allowed for as long as I can remember but it adds nothing (to
>> Darren> my knowledge). Sure it's allowed so you can continue typing,
>> Darren> but once you cursor away from the paragraph it's just
>> Darren> redundant.
>> 
>> I agree that spaces in front or at the end of paragraphs should be
>> removed by DEPM.
> 
> Wouldn't that be a trivial thing to "fix"?

Please don't "fix" it... DEPM is already painful as it is. Think about
cut&pasting some word. (when you go to cut it, the space gets removed, so
then you insert and you have to go back and find the position to re-add it
etc...)
Spaces at the front are a different matter though, but I thought they cannot
be normally entered in the first place.

A/




Re: math toolbar usability suggestion (tiny)

2007-06-08 Thread Alfredo Braunstein
hzluo wrote:

>>I am not sure I understand. Do the labels appear under the icons? Do
>>we support that?
>>
>>JMarc
> 
> Current install version do not have an icon for functions popup.
> 
> I think the patch is on the way.
> We now have a functions.xpm for that button.
> So you will have a 20x20 button instead of a long string.
> 
> BTW, I think the provided functions.xpm is not
> so informative. I made another one.
> Please see attached. If anyone wants to test
> it, just put it in images\math
> I have tested it at normal size and large size.
> It looks good at both size.

I'd prefer something like f(x).

A/





Re: Shortcuts

2005-04-06 Thread Alfredo Braunstein
Geoffrey Lloyd wrote:

> Hi
> 
> This is probably obvious and been answered a million times before but is
> there a list of all the in built keyboard shortcuts for lyx.
> 
> The post about ERT alerted me to the very useful ctrl-l for the ERT box
> and I am sure there must be others that are time saving.
> 
> Any pointers to a list would be most appreciated

This is explained at least in

- the lyx documentation (Customization.lyx for instance)
- The LyX Wiki (http://wiki.lyx.org/Tips/KeyboardShortcuts for instance)

In a nutshell, (but depending on your customizations), you'll find all
default shortcuts in a .bind file, usually cua.bind somewhere in the global
lyx directory. You can also change those bindings of course.

Regards, Alfredo




Re: Problem with installing LyX 1.3.5 from the source

2004-12-18 Thread Alfredo Braunstein
Paul Smith wrote:

> Dear All
> 
> I am trying to install LyX 1.3.5 from the source. I did
> 
> ./configure  --with-frontend=qt --with-pspell --prefix=/usr/bin
> make
> 
> but when I do
> 
> make install, I get the following error:
> 
> /bin/sh ./../../config/mkinstalldirs /usr/bin/man/man1
> mkdir /usr/bin/man
> mkdir: `/usr/bin/man' exists but is not a directory
> mkdir /usr/bin/man/man1
> mkdir: cannot create directory `/usr/bin/man/man1': Not a directory
> make[3]: *** [install-man1] Error 1
> make[3]: Leaving directory `/home/paulus/Desktop/lyx-1.3.5/lib/reLyX'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/paulus/Desktop/lyx-1.3.5/lib/reLyX'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/paulus/Desktop/lyx-1.3.5/lib'
> make: *** [install-recursive] Error 1
> 
> Any ideas?
> 
> Thanks in advance,

Hi Paul,

Try --prefix=/usr instead. Note that it is advisable common practice to use
--prefix=/usr/local/ (that should be the default)

Alfredo




Re: [patch] get rid of selection_possible

2004-12-05 Thread Alfredo Braunstein
Paul Smith wrote:

> Alfredo,
> 
> Could you please explain how to install the patch?

Hi Paul, I actually sent it to the wrong list ;-) It doesn't worth the
trouble. This is a path for the current cvs version of lyx, which is under
development. There are instructions in www.lyx.org on how to install the
devel version, but be aware that it is still not in a very clean state for
every day's work.

> Thanks in advance,

You're welcome, and sorry for the confusion!

Alfredo




[patch] get rid of selection_possible

2004-12-04 Thread Alfredo Braunstein
This ugly global variable seems to not be needed anymore. The functionality
(as declared in a comment removed in the patch) is nowadays taken care by
the frontends, who only send DRAG events if the PRESS event was inside the
workarea too.

Of course, I might be missing entirely the point ;-)

Tested with qt and xforms, seems to work fine (actually getting rid of it
fixes a bug). Comments?

Regards, Alfredo
Index: text3.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v
retrieving revision 1.273
diff -u -p -r1.273 text3.C
--- text3.C	2 Dec 2004 11:32:14 -	1.273
+++ text3.C	4 Dec 2004 23:07:54 -
@@ -83,10 +83,6 @@ using std::vector;
 
 extern string current_layout;
 
-// the selection possible is needed, that only motion events are
-// used, where the button press event was on the drawing area too
-bool selection_possible = false;
-
 
 namespace {
 
@@ -1084,7 +1080,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 
 	case LFUN_MOUSE_TRIPLE:
 		if (cmd.button() == mouse_button::button1) {
-			selection_possible = true;
 			cursorHome(cur);
 			cur.resetAnchor();
 			cursorEnd(cur);
@@ -1095,7 +1090,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 
 	case LFUN_MOUSE_DOUBLE:
 		if (cmd.button() == mouse_button::button1) {
-			selection_possible = true;
 			selectWord(cur, lyx::WHOLE_WORD_STRICT);
 			bv->haveSelection(cur.selection());
 		}
@@ -1106,7 +1100,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 		// Right click on a footnote flag opens float menu
 		if (cmd.button() == mouse_button::button3) {
 			cur.clearSelection();
-			selection_possible = false;
 			break;
 		}
 
@@ -1120,8 +1113,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 			paste_internally = true;
 		}
 
-		selection_possible = true;
-
 		// Clear the selection
 		cur.clearSelection();
 
@@ -1137,10 +1128,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 		// Set cursor here.
 		bv->cursor() = cur;
 
-		// Don't allow selection after a big jump.
-		//if (bv->fitCursor())
-		//	selection_possible = false;
-
 		// Insert primary selection with middle mouse
 		// if there is a local selection in the current buffer,
 		// insert this
@@ -1149,7 +1136,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 bv->owner()->dispatch(FuncRequest(LFUN_PASTE));
 			else
 bv->owner()->dispatch(FuncRequest(LFUN_PASTESELECTION, "paragraph"));
-			selection_possible = false;
 		}
 
 		break;
@@ -1159,14 +1145,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 		// Only use motion with button 1
 		//if (cmd.button() != mouse_button::button1)
 		//	return false;
-		// We want to use only motion events for which
-		// the button press event was on the drawing area too.
-		if (!selection_possible) {
-			lyxerr[Debug::ACTION] << "BufferView::Pimpl::"
-"dispatch: no selection possible\n";
-			lyxerr << "BufferView::Pimpl::dispatch: no selection possible\n";
-			break;
-		}
 
 		// ignore motions deeper nested than the real anchor
 		LCursor & bvcur = cur.bv().cursor();
@@ -1205,8 +1183,6 @@ void LyXText::dispatch(LCursor & cur, Fu
 	}
 
 	case LFUN_MOUSE_RELEASE: {
-		selection_possible = false;
-
 		if (cmd.button() == mouse_button::button2)
 			break;
 
Index: lyxfunc.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.634
diff -u -p -r1.634 lyxfunc.C
--- lyxfunc.C	2 Dec 2004 11:32:13 -	1.634
+++ lyxfunc.C	4 Dec 2004 23:07:55 -
@@ -134,7 +134,6 @@ namespace biblio = lyx::biblio;
 
 extern BufferList bufferlist;
 extern LyXServer * lyxserver;
-extern bool selection_possible;
 
 extern boost::scoped_ptr toplevel_keymap;
 
@@ -615,7 +614,6 @@ void LyXFunc::dispatch(FuncRequest const
 	// we have not done anything wrong yet.
 	errorstat = false;
 	dispatch_buffer.erase();
-	selection_possible = false;
 
 	bool update = true;
 


Re: short cut for inputing sin, cos, max, min

2004-11-19 Thread Alfredo Braunstein
Jianwei Huang wrote:

> Hi,
> 
> Is there a way of inputting function names such as
> "sin", "cos" or "max", "min" without using the math
> panal? Say with keyboard shortcuts? If there is no

Just type \sin, \cos, \max etc from inside mathed.

HTH, Alfredo




Re: Package to draw tree diagrams

2004-11-08 Thread Alfredo Braunstein
Hi Paul,

Paul Smith wrote:

> I would like to draw some tree diagrams but with the possibility of
> labeling (near it) each branch. What package do you recommend me? I am
> aware that I could achieve my goal with Xfig, but I suspect that it
> may exist a simpler way of doing that.

You can try graphviz, http://www.graphviz.org/

Regards, Alfredo




Re: Search-replace in math

2004-10-11 Thread Alfredo Braunstein
Angus Leeming wrote:

>> And which approach is used?
> 
> Alfredo Braunstein implemented a regex search and replace if memory serves
> me well.

Err... I did, but as a proof of concept of the new iterators (it never went
to cvs). Basically there's nothing missing, more or less just to sort out
which of the two variants Vladimir proposed: regexp searches on a
latex-like form of the document (i like this more) or some sort of full
blown lyx editor for search expressions (Andre' proposed this). Possibly
some combination of the two (I think Andre' also proposed this).

BUT

There are so many bugs in cvs to take care of right now, that new features
are sort of out of the question for the moment.

>> Also, is 1.4 considered stable enough to be
>> worth using by regular users?

I'd say absolutely not, unfortunately.

Alfredo




Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
Jianwei Huang wrote:

> I am a little bit confused. Can I do it with the
> File->Export->Customize instead of configuring
> Edit->preference?

There is no such thing. There is a "File->Export->Custom", that is intended
as a quick & dirty way of just pipeing the latex file to some custom
command.

The edit->preferences way may be advisable if you want to do it frequently.

Regards, Alfredo




Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
On Saturday 25 September 2004 04:54, you wrote:
> Hi, Alfredo:

Hi

> I try to customize the Export command, but could not
> succeed. It seems that I can not save what ever
> command I put into it. By the way, how to put a button

THe interface is a little convoluted. Select the converter on the list, 
then modify the "Converter" field or whatever, then push the "modify" 
button. (for some reason, the first element on the list is selected, 
disregard that). Repeat for each converter you want to modify. Then push 
the button "Save" on the bottom. If you want to modify a viewer, the 
procedure is the same.

> and keybinding to call a viewer?

You have to manually modify a couple of config files: the ui file and the 
bind file mentioned in preferences->look & feel->User interface. Typically 
you make a local copy of them (preferably inside .lyx/ui & .lyx/bind) and 
modify at pleasure.

Have a look at http://wiki.lyx.org/pmwiki.php/LyX/KeyboardShortcuts for 
keybindings.

> Thanks!

You're welcome.

PS: please write to the list instead of me directly.

Regards, Alfredo



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
Paul A. Rubin wrote:

> Which somehow doesn't stop me from doing it. :-)
> 
> Edit->Preferences->File formats,  highlight LaTeX, fill in the Viewer
> slot with your favorite text editor or text viewer (with path, if it's
> not on your command path), and save.  You should now have a View->LaTeX
> menu entry that effectively exports to a temp file and opens it with the
> editor/viewer you picked.  (The new window is not a child window of LyX,
> but otherwise I think it does what you want.)

Yes, I misinterpreted. I though that Mario wanted to have a latex window to
edit his lyx document somehow. Probably because he used the term "latex
source".

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

> I got it!
> I may customize the Export command, with my preferred viewer (for
> ASCII/.tex files). Cute!

Hah! that's what you wanted ;-) You can add a button to the toolbar and/or
set up keybindings to easy calling the viewer.

snif, I'm not very bright today...

Alfredo



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

> Yes, of course :-)

Sorry for misunderstanding.

> still, I was looking for something on the lyx bars as to open, say, a
> side window and see  the LaTeX source directly.

Actually lyx works internally at a higher level than latex, so this is not
possible.

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

> Hi,

Hi

> how do I see the .tex LaTeX source?
> (kind of silly, I know;
> or, how Export work?

file->export->latex should leave a .tex file with the same name of your .lyx
in the same directory. 

Alfredo




Re: LyX hangs

2004-06-25 Thread Alfredo Braunstein
Hi,

zong chen wrote:

> Hi,
> 
> I have just installed Mandrake 10.0, which comes with LyX 1.3.3. I haven't
> used LyX before, so I thought I would try it out. To this end I imported
> an old portable LaTex document and tried to generate a PDF-file (using
> pdflatex). However, LyX just hangs. I thought it was perhaps generating
> fonts, so I left it for over an hour, but when it still hadn't finished I
> calle dit a hang. I then tried a one line document, which did finish, but
> it took a long time (on a 1.1 GHz PC). Any suggestions?

Run it from the command line and you will have more insight about what lyx
is doing. You can also run 'top' when lyx 'hangs' and watch out for active
processes (font generation, latex etc).

Alfredo




Re: Math panel not working

2004-06-04 Thread Alfredo Braunstein
Heikki Rantanen wrote:

> Hello

Hi,
 
> Thanks for a great piece of software! A little problem, however,
> appeared with a fresh Lyx 1.3.4 & Debian unstable installation (KDE
> 3.2.2). Namely the math panel isn't fully working. The symptoms are:
> When I insert a Greek letter or an operator either using the math panel
> or typing as Latex, instead of e.g. 'a' I get 'alpha' and 'times'
> instead of 'x'. Fractions and sub- and superscripts  do work and the dvi
> is correct, though. Any idea?

Have a look at 

http://wiki.lyx.org/pmwiki.php/FAQ/Qt

If it works for you, feel free to route there someone else asking the same
question next time in this list (it is one of the most frequently asked
questions).

Good luck, Alfredo




Re: babel

2004-04-06 Thread Alfredo Braunstein
Silvia Ribeiro Calbo wrote:

> Hi People,

Hi Silvia,
 
> How can I install Babel in Red Hat?

I think that Babel is included with the tetex package supplied by redhat.
(you probably have it installed already.)

Alfredo




Re: Feature status update

2004-03-26 Thread Alfredo Braunstein
Rich Shepard wrote:

>   I'm curious when we might be seeing two features I want very much to see
> included in LyX:
> 
>   1) Closing all open boxes (TeX, Figures, Tables, Footnotes, etc.) after
>   a
> spell check opens them. Either automagically or by a menu/hot key
> selection.

I am aware of this problem, and will be probably solved in the 1.4.0
release.

Alfredo




Re: lyx forum

2004-03-23 Thread Alfredo Braunstein
roland schmitz wrote:

> Hi,
> 
> i was looking for a lyx forum, but i haven't found one. I'm a member of a
> few other mailing list too, but often i can't help, but my mailbox is
> growing biger and biger.
> A solution for me could be "subscribe to the mailing list", "post a
> question", "get answers" and "unsubscribe from the list"", but that's not
> fair and i woun't do that. For me a forum is a fair solution. Do you know
> an forum (german or english) which is focused on lyx and/or tex?

You can access this list through news.gmane.org (a mail to news gateway),
using a news agent. (the newsgroup is called gmane.editors.lyx.general.
Have a look at www.gmane.org)

Alfredo




Re: LyX icon

2004-03-14 Thread Alfredo Braunstein
Paul Smith wrote:

Hi,

> Where from could one get the LyX icon to use it in KDE menus?

There's one in LYXDIR/images/lyx.xpm

(LYXDIR is often /usr/share/lyx)

Alfredo




Re: copy and paste

2004-03-12 Thread Alfredo Braunstein
Raphael Clifford wrote:

>>You could try to use reLyX (shipped with 1.3.x) for text->lyx conversion

I meant TeX, and not "text", but I think you understood.

> OK.  So the reLyx/tex2lyx method involves making a complete latex
> document from the latex text and then converting the latex document to
> lyx and then copying and pasting from the lyx document?

reLyX has a -p option to translate LaTeX fragments, but I've never used it.
Have a look at the man page.

Alfredo




Re: copy and paste

2004-03-12 Thread Alfredo Braunstein
Hi Raphael.

Raphael Clifford wrote:

> 1) Quite often I want to copy text from one section of a document and
> paste it into another.  However, if I do that then the maths is pasted
> in its latex form and I have to go to every formula and retype it in lyx
> maths mode.  What should I be doing instead as this is rather painful?

Use edit->paste instead of the middle mouse button (which is equivalent to
edit->paste external selection).
 
> 2) Also quite often someone supplies edits in latex to a document I have
> written in lyx.  How do I incorporate them into a lyx document? The
> latex is typically very simple with nothing fancier than maths formulae
> and plain text in it.

You could try to use reLyX (shipped with 1.3.x) for text->lyx conversion but
it's not very good. You'll have to polish the output a bit. (there's a
replacement being worked in current cvs)
An alternative if the text has little or no formatting is to paste text
inside your document and then select math chunks and press C-M.

Alfredo




[patch] get rid of cached Row::foo_fill

2004-03-01 Thread Alfredo Braunstein
The following is a reworked version of yesterday's patch.
It separates the three foo_fill and row.x from Row into their own struct
RowMetrics. The four of them are used toghether and in three places:
getColumnNearX, getCursorX and rowpainter. These three operations are
user-interaction related and thus costly per se. 
Moreover, we should improve initial rebreaking time.

The advantages are: 

* reduced row cache size (from 46 bytes to 30 in i386)
* the possibility to compute them on a second step after the whole
rebreaking has been done, fixing most of the obvious rebreaking bugs
present in cvs.

I'd like to apply it if no one objects.

Alfredo
? ChangeLog-old
? PosIterator.C-save
? PosIterator.h-save
? bfri.C
? textcursor.C-save
? textcursor.h-save
? insets/insetcollapsable-save.C
? insets/insettext-save.C
Index: Bidi.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/Bidi.C,v
retrieving revision 1.3
diff -u -p -u -r1.3 Bidi.C
--- Bidi.C	13 Nov 2003 13:43:35 -	1.3
+++ Bidi.C	1 Mar 2004 11:12:47 -
@@ -52,7 +52,7 @@ bool Bidi::same_direction() const
 
 
 void Bidi::computeTables(Paragraph const & par,
-	Buffer const & buf, Row & row)
+	Buffer const & buf, Row const & row)
 {
 	same_direction_ = true;
 	if (!lyxrc.rtl_support) {
Index: Bidi.h
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/Bidi.h,v
retrieving revision 1.1
diff -u -p -u -r1.1 Bidi.h
--- Bidi.h	23 Oct 2003 13:28:44 -	1.1
+++ Bidi.h	1 Mar 2004 11:12:47 -
@@ -45,7 +45,7 @@ struct  Bidi {
 	bool same_direction() const;
 	///
 	void computeTables(Paragraph const & par,
-			   Buffer const &, Row & row);
+			   Buffer const &, Row const & row);
 private: 
 	/// 
 	bool same_direction_;
Index: lyxrow.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxrow.C,v
retrieving revision 1.37
diff -u -p -u -r1.37 lyxrow.C
--- lyxrow.C	27 Feb 2004 09:18:01 -	1.37
+++ lyxrow.C	1 Mar 2004 11:12:47 -
@@ -24,15 +24,13 @@ using lyx::pos_type;
 
 Row::Row()
 	: pos_(0), end_(0), height_(0), width_(0), y_offset_(0),
-	  ascent_of_text_(0), baseline_(0),
-	  x_(0), fill_separator_(0), fill_hfill_(0), fill_label_hfill_(0)
+	  ascent_of_text_(0), baseline_(0)
 {}
 
 
 Row::Row(pos_type pos)
 	: pos_(pos), end_(0), height_(0), width_(0), y_offset_(0),
-	  ascent_of_text_(0), baseline_(0),
-	  x_(0), fill_separator_(0), fill_hfill_(0), fill_label_hfill_(0)
+	  ascent_of_text_(0), baseline_(0)
 {}
 
 
@@ -105,54 +103,6 @@ void Row::baseline(unsigned int b)
 unsigned int Row::baseline() const
 {
 	return baseline_;
-}
-
-
-float Row::x() const
-{
-	return x_;
-}
-
-
-void Row::x(float f)
-{
-	x_ = f;
-}
-
-
-float Row::fill_separator() const
-{
-	return fill_separator_;
-}
-
-
-void Row::fill_separator(float f)
-{
-	fill_separator_ = f;
-}
-
-
-float Row::fill_hfill() const
-{
-	return fill_hfill_;
-}
-
-
-void Row::fill_hfill(float f)
-{
-	fill_hfill_ = f;
-}
-
-
-float Row::fill_label_hfill() const
-{
-	return fill_label_hfill_;
-}
-
-
-void Row::fill_label_hfill(float f)
-{
-	fill_label_hfill_ = f;
 }
 
 
Index: lyxrow.h
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxrow.h,v
retrieving revision 1.40
diff -u -p -u -r1.40 lyxrow.h
--- lyxrow.h	27 Feb 2004 09:18:01 -	1.40
+++ lyxrow.h	1 Mar 2004 11:12:47 -
@@ -58,24 +58,9 @@ public:
 	unsigned int y_offset() const { return y_offset_; }
 	/// cache the y position
 	void y_offset(unsigned int newy) { y_offset_ = newy; }
-	///
-	float x() const;
-	///
-	void x(float);
-	///
-	float fill_separator() const;
-	///
-	void fill_separator(float);
-	///
-	float fill_hfill() const;
-	///
-	void fill_hfill(float);
-	///
-	float fill_label_hfill() const;
-	///
-	void fill_label_hfill(float);
 	/// current debugging only
 	void dump(const char * = "") const;
+
 private:
 	/// first pos covered by this row
 	lyx::pos_type pos_;
@@ -93,14 +78,19 @@ private:
 	unsigned int top_of_text_;
 	///
 	unsigned int baseline_;
-	/// offet from left border
-	float x_;
+};
+
+
+struct RowMetrics {
+	///
+	double separator;
 	///
-	float fill_separator_;
+	double hfill;
 	///
-	float fill_hfill_;
+	double label_hfill;
 	///
-	float fill_label_hfill_;
+	double x;
 };
+
 
 #endif
Index: lyxtext.h
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxtext.h,v
retrieving revision 1.297
diff -u -p -u -r1.297 lyxtext.h
--- lyxtext.h	1 Mar 2004 10:46:58 -	1.297
+++ lyxtext.h	1 Mar 2004 11:12:47 -
@@ -41,11 +41,11 @@ class MetricsInfo;
 class PainterInfo;
 class Paragraph;
 class Row;
+class RowMetrics;
 class Spacing;
 class UpdatableInset;
 class VSpace;
 
-
 /// This class encapsulates the main text data and operations in LyX
 class LyXText {
 public:
@@ -320,7 +320,8 @@ public:
 
 	/** 

Re: Adjusting the zoom factor of xdvi

2004-02-22 Thread Alfredo Braunstein
Paul Smith wrote:

Hi Paul

> I understand your point, but I do not fully agree with it. Frequently,
> there are more than one answer to the same question (as the one asked) and
> not all answers have the same degree of satisfaction to the one who asks
> the question. Therefore, the larger the number of people to whom one sends
> a question, the higher is the probability of getting a richer variety of
> answers. 

Of course, but at the cost of "wasting" time of different people answering
the same on different places because they are unable to see that their
answer has already been given. The correct "procedure" is to ask on one
list, then if the answer doesn't satisfy you try on another (preferably
synthesizing the unsatisfactory answers and explaining why they are so). 

> I did not mean to abuse of the generosity of the people on here 
> or on any list, because it is sharply against my principles.

I can see that. In any case (on a practical side), it is convenient to
follow these rules even if you don't agree with them, as many people will
simply ignore you if you don't.

xdvi answer: try writing a number followed by 's'. It is explained in the
xdvi man pages. You can also have a look at kdvi.

Regards, Alfredo




Re: Limits above and below rather than following

2004-02-07 Thread Alfredo Braunstein
Rich Shepard wrote:

>   OK. That was the problem. Using the math panel was the wrong way to go.
> Sigh. \sum worked like a charm.

You can also find it in the panel under "big operators".

Regards, Alfredo




Re: shortcut for \mbox

2004-02-06 Thread Alfredo Braunstein
Vladimir Smagley wrote:

> \bind "M-m z"   "math-insert \mbox"
> 
> into my .lyx/bind/mykeycuts.bind. Restarted LyX. There is no effect
> whatsoever. What an I doing wrong?

Dumb question: is .lyx/bind/mykeycuts.bind the one mentioned in (qt version)
Edit->Preferences->Look & Feel->User Interface->Bind File?

Do you use a localization?

Alfredo




Re: Limits above and below rather than following

2004-02-06 Thread Alfredo Braunstein
Rich Shepard wrote:

>   Anyway, I'm entering an equation (in display mode) using the math panel.
>   I
> want the limits for the Sigma below and above the symbol, not following
> the symbol as super- and sub-scripts. From the Sigma-button menu on the
> math panel I've tried all four opitions and I don't see any difference.
> 
>   What have I missed?

But what you want isn't the default style for display mode? just
entering M-m d \sum_a^b gives me a sum with an "a" below and a "b"
above. If you put all inside a \textstyle purple box OTOH you get the
limits on the side (like in inlined mode). 

[maybe you are using the letter \Sigma instead of the \sum operator?]

Alfredo




slowness

2004-02-06 Thread Alfredo Braunstein
there's some horrible slowness in the dispatch process near the end of the
UserGuide.
Some O(n^2) somewhere?

Alfredo




Re: Please help me to use nomencl package in LyX to generate list of symbols.

2004-01-14 Thread Alfredo Braunstein
R S Ananda Murthy wrote:

> Hello:
> 
> Has anybody used nomencl package to create a list of symbols in LyX?
> Please help me to do this.
> 
> I am writing a book in which I want to include a list of symbols used in
> the book. I am using Koma-script book class. I am using pdftex to generate
> the final output file in pdf format.

You have already been answered, so if you have not received the mail you
should look up the archives (marc.theaimsgroup.com) and possibly correct
your mail setup.
If instead you have read the answer then you should answer to it, not top
post again the same question.

> Thanks for all the help.

You are welcome.

Alfredo




Re: questions: selection

2003-11-28 Thread Alfredo Braunstein
Nirmal Govind wrote:

> We should probably have some sort of a prize for any non-developer
> on this list who can provide a satisfactory answer to Alfredo.. :-)

oh, it would seems that a prize for developers can be applicable too :-)

Alfredo




questions: selection

2003-11-27 Thread Alfredo Braunstein
what's selection.mark() / what's the difference with selection.set()?

why the assymetry below (text3.C) -- present in 1.3.x btw :

case LFUN_BEGINNINGBUF:
if (!selection.mark())
clearSelection();
cursorTop();
finishChange(bv);
break;

case LFUN_ENDBUF:
if (selection.mark())
clearSelection();
cursorBottom();
finishChange(bv);
break;

why we use set() sometimes and mark() sometimes for something that seems to
be the same? (e.g.:)

case LFUN_RIGHTSEL:
if (!selection.set())
selection.cursor = cursor;
if (rtl())
cursorLeft(bv);
else
cursorRight(bv);
finishChange(bv, true);
break;


Thanks for any answer, 

Alfredo




Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Alfredo Braunstein
Paul A. Rubin wrote:

>>> dvi2ps: FATAL-- can't find DVI file "6499i.dvi"
> 
> I interpret that to mean that dvi2ps was started by LyX (which in
> particular means that LyX was able to find dvi2ps), but that it was given
> an incorrect name for the DVI file (or else was not given the correct
> path to the DVI file).

The problem seems to be the shell translating $$ to the process id 6499, and
leaving the i untouched. I.e., LyX in not translating $$i, but handing the
string $$i to dvi2ps.

Soren, what happend if you put simply "dvi2ps" instead of "dvi2ps $$i" as
the printer command?

Alfredo




Re: Simple (?) printer setup trouble ...

2003-11-13 Thread Alfredo Braunstein
Soren O'Neill wrote:

>>> No exporting (from lyx) to postscript fails: Cannot convert file.
>>> Error while executing dvi2ps -t a4
>> 
>> I'm not sure, but I think that message is consistent with inability to
>> find (or open) the DVI file.

Wasn't his program called dvips, *not* dvi2ps? Soren: you probably need
changing as well you export filter definition inside lyx from dvi2ps to
dvips...

> Just tried to print the DVI from a DVI viewer, it complains that:
> The external program 'dvips', which was used to export the file, reported
> an error. You might wish to look at the document info dialog which you
> will find in the File-Menu for a precise error report

And what does the "document info dialog which you will find in the
File-Menu" of your dvi viewer says?

Alternatively, run dvips manually on the .dvi file (the one on the tmp dir,
or else export to dvi first) and look at the errors.

Regards, Alfredo




Re: Simple (?) printer setup trouble ...

2003-11-11 Thread Alfredo Braunstein
Soren O'Neill wrote:

>> dvips $$i
> 
> dvips doesnt exist on my system:
> bash: dvips: command not found
> 
> assuming your mean dvi2ps $$i, I get:
> dvi2ps: FATAL-- can't find DVI file "6499i.dvi"

dvips $$i is not supposed to be executed in a shell prompt: in fact your
shell is expanding $$ as the shell PID.

Try to put the command "dvips $$i" or simply "dvips" in the corresponding
printer command inside LyX preferences.

Regards, Alfredo




[patch] missing dirty flag

2003-11-06 Thread Alfredo Braunstein
trivial fix to a trivial bug...Index: ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.1689
diff -u -p -u -r1.1689 ChangeLog
--- ChangeLog	6 Nov 2003 09:51:08 -	1.1689
+++ ChangeLog	6 Nov 2003 10:07:12 -
@@ -1,5 +1,10 @@
 2003-11-06  Alfredo Braunstein  <[EMAIL PROTECTED]>
 
+	* lyxfind.C (replaceAll): mark the buffer dirty if something was
+	replaced
+
+2003-11-06  Alfredo Braunstein  <[EMAIL PROTECTED]>
+
 	* iterators.[Ch] (ParIterator): new PosIterator-based ctor
 	* bufferview_funcs.C (put_selection_at): use the above
 
Index: lyxfind.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfind.C,v
retrieving revision 1.55
diff -u -p -u -r1.55 lyxfind.C
--- lyxfind.C	4 Nov 2003 12:01:09 -	1.55
+++ lyxfind.C	6 Nov 2003 10:07:13 -
@@ -209,6 +209,8 @@ int replaceAll(BufferView * bv,
 	PosIterator beg = buf.pos_iterator_begin();
 	bv->text->init(bv);
 	put_selection_at(bv, beg, 0, false);
+	if (num)
+		buf.markDirty();
 	return num;
 }
 


rowbreakpoint is hosed

2003-10-24 Thread Alfredo Braunstein
I may be reading wrongly the code, but but seems to me that rowbreakpoint
sets row.endpos() to a value larger ny 1 than it should.

I.e. (text.C:LyXText::rowBreakPoint)

if (width < 0) {
row.endpos(pit->size() + 1);
return;
}


or below

pos_type const last = pit->size();
pos_type point = last;

if (pos == last) {
row.endpos(last + 1);
return;
}

There's more evidence that this was on purpose (lyxrow_funcs.C):

pos_type lastPos(Paragraph const & par, Row const & row)
{
if (par.empty())
return 0;
pos_type pos = row.endpos() - 1;
if (pos == par.size())
--pos;
^ this shouldn't be here
return pos;
}


I don't understand what's happening. Shouldn't row.endpos() be par->size()
if the par is small enough? Someone can explain to the thicko here?

Alfredo




Re: $\mathbb{Z^{d}}$ doesn't show up

2003-10-21 Thread Alfredo Braunstein
Raphael Clifford wrote:

 
> I have a seemingly very simply question so apologies if I have missed
> the answer in the docs.  I am using article (AMS) and when I try to put
> in Z^d ( d dimensional points in the integers) the d part doesn't show
> at all (in lyx or in the postscript). The latex seems to have
> $\mathbb{Z^{d}}$ which looks OK to me.  So I assume I am using the wrong
> document class or something??

Wild guess: try to get the equivalent of $\mathbb{Z}^d$ (i.e get out of the
bb box before pressing "^")... possibly there's no d in blackboard...

Alfredo




Re: [newbie] inserting a figure with caption

2003-10-12 Thread Alfredo Braunstein
Yvon Thoraval wrote:

> i'm only able to insert it between Figure #: and the caption text "Un
> dinosaure" giving 2 errors.
> 
> althought the tuto says i've to enter the figure BEFORE the caption
> that's to say before "Figure #: Un dinosaure" i'm unable to put the
> insertion prompt at that place...
> 
> If someone could help me.

Try pressing enter while the cursor sits on the beginning of the caption
(right after Figure #:). You have to write some caption to do that.
Said that, I agree that it is a hell of a counter-intuitive behaviour.

Regards, Alfredo




Re: error compiling lyx 1.3.3

2003-09-27 Thread Alfredo Braunstein
Ernesto Jardim wrote:

>> Have you compiled sucessfully any other qt program?
> Yes, I've compiled version 1.3.2 :)

That's a good point ;-). (You didn't upgrade qt inbetween, didn't you?)

Try specifying explicitely --with-qt-includes and/or see from the config
logs if the qt include dirs are wrongly detected. 

Regards, Alfredo




Re: error compiling lyx 1.3.3

2003-09-26 Thread Alfredo Braunstein
Ernesto Jardim wrote:

> Hi,
> 
> I'm getting these errors compiling lyx 1.3.3 on a SuSE 8.2 box with
> upgraded gcc (3.1.1-16).
> 
> Regards
> 
> EJ
> 
> 
> /usr/lib/qt3/include/qwidget.h:809: error: `width' undeclared (first use

This seems to me a bad qt installation. It seems at least that there is some
version mismatch in some part of the qt headers.

Have you compiled sucessfully any other qt program?

Regards, Alfredo




Re: Key bindings

2003-09-24 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote:

> Is that with the same frontend?

Seems so, I don't see the bug with 1.4.0cvs both frontends, and 1.3.2-qt (I
don't have an 1.3.2-xforms build).

Alfredo




Re: Key bindings

2003-09-23 Thread Alfredo Braunstein
John Levon wrote:

> On Tue, Sep 23, 2003 at 04:30:20PM +0200, Alfredo Braunstein wrote:
> 
>> Key [action=257][S-F9]
> 
> it wasn't even recognising S-F9 in my tests a while ago with some user
> on #lyx

So it was a different problem it would seem. This one is weird: I don't get
it with neither 1.3.2 nor 1.4.0cvs, but Rich(1.3.2) and Andre(1.4.0cvs)
have it...

Clueless, Alfredo




Re: Key bindings

2003-09-23 Thread Alfredo Braunstein
Rich Shepard wrote:

>   I received a lot of good advice on how to implement a key binding to
>   enter
> text. Unfortunately, it's not working and I'm not sufficiently
> knowledgeable to know why.

lyx version?

Alfredo




Re: Key bindings

2003-09-23 Thread Alfredo Braunstein
Andre Poenitz wrote:

> On Tue, Sep 23, 2003 at 04:30:20PM +0200, Alfredo Braunstein wrote:
>> Andre Poenitz wrote:
>> [...]
>> 
>> I get with the first (lyx-1.3.2) with -dbg any
>> 
>> action first set to [257]
>> action now set to [257]
> 
> How come you get [257] here, not [86] which is LFUN_SELFINSERT?

Something related to a pseudo action? Moreover, it seems I have 88 as
LFUN_SELFINSERT from my logs...? Are we working with the same version
(lyx-1.3.2 here)?

Alfredo




Re: Key bindings

2003-09-23 Thread Alfredo Braunstein
Andre Poenitz wrote:
[...]

I get with the first (lyx-1.3.2) with -dbg any

action first set to [257]
action now set to [257]
Key [action=257][S-F9]
Found the pseudoaction: [88|environmental impact assesment]
LyXFunc::dispatch: action[88] arg[environmental impact assesment]
BufferView::Pimpl::Dispatch: action[88] arg[environmental impact assesment]
x[1082132996] y[1082385308] button[137737912]
LyXFunc::dispatch: action[88] arg[environmental impact assesment]
Checking if we know [e]
   no we don't know [e]
Cannot decode: e
Checking if we know [n]
   no we don't know [n]
Cannot decode: n
Checking if we know [v]
   no we don't know [v]
Cannot decode: v
Checking if we know [i]
   no we don't know [i]
Cannot decode: i

[...more letters follow]

Alfredo




Re: Key bindings

2003-09-23 Thread Alfredo Braunstein
Andre Poenitz wrote:

>> \bind "S-F9"   "self-insert environmental impact assessment"
> 
> You seem to have found a bug.
> 
> A workaround is:
> 
>  \bind "S-F9"   "command-sequence self-insert environmental impact
>  assessment ;"

Strange. The first one works for me.

Alfredo




Re: Shortcut-key expansion

2003-09-22 Thread Alfredo Braunstein
Rich Shepard wrote:

>   Still, when I press alt-e I get the edit menu.
> 
>   What have I missed?

Unfortunately, you cannot use any key which is already taken by a menu
shortcut (the underlined letters in the menus). So you'll have to choose
another key.

Alfredo




Re: Shortcut-key expansion

2003-09-22 Thread Alfredo Braunstein
Alfredo Braunstein wrote:

> \bind "M-i e"   "self-insert environmental impact assessment"

Of course, if you want it to be bound to alt-e, replace "M-i e" above by
"M-e".

Alfredo



Re: Shortcut-key expansion

2003-09-22 Thread Alfredo Braunstein
Rich Shepard wrote:

>   Is it possible within LyX to define "hot keys" (e.g., alt-e) which will,
> when invoked, enter a string of text into the document? For example, in my
> book I write the string, "environmental impact assessment" many, many
> times. It would be nice to press a couple of keys and get the same result
> in the document.

Yes. Look at Customization.lyx, section 3.3 Bindings. In a nutshell, you'll 
have to bind the command "self-insert environmental impact assessment" to 
some key. You achieve this by adding to your bind file a line like:

\bind "M-i e"   "self-insert environmental impact assessment"

Alfredo




[patch] unneeded full rebreak

2003-09-16 Thread Alfredo Braunstein
This patch avoids doing a full rebreak on buffer switching, which is the
reason for the existence of the TextCache.
The removed full rebreak is unneeded: it is done in every case (except from
buffer switching) above in the same function.

The update seems also to be unneeded, as caller functions do it anyways.

The fact that this has gone unnoticed maybe raises a question on the
usefullness of the TextCache?

Alfredo

Index: BufferView_pimpl.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.C,v
retrieving revision 1.437
diff -u -p -u -r1.437 BufferView_pimpl.C
--- BufferView_pimpl.C  12 Sep 2003 17:13:18 -  1.437
+++ BufferView_pimpl.C  16 Sep 2003 08:13:16 -
@@ -428,7 +428,6 @@ void BufferView::Pimpl::resizeCurrentBuf
mark_set = bv_->text->selection.mark();
the_locking_inset = bv_->theLockingInset();
bv_->text->fullRebreak();
-   update();
} else {
lyxerr << "text not available!" << endl;
// See if we have a text in TextCache that fits
@@ -454,10 +453,6 @@ void BufferView::Pimpl::resizeCurrentBuf
selstartpar = bv_->text->ownerParagraphs().end();
selendpar = bv_->text->ownerParagraphs().end();
}
-
-#warning does not help much
-   bv_->text->redoParagraphs(bv_->text->ownerParagraphs().begin(),
-   bv_->text->ownerParagraphs().end());
 
if (par != bv_->text->ownerParagraphs().end()) {
bv_->text->selection.set(true);



Re: URLs not displayed correctly

2003-07-18 Thread Alfredo Braunstein
Andre Poenitz wrote:

> I believe there will be some scarce commodities, but beer will not be
> amongst them...

I'm relieved. I was just about cancelling. :-)

Regards, Alfredo




Re: Changing Table Output

2003-07-15 Thread Alfredo Braunstein
Jason L W Lynn wrote:

> I posted this message to the lyx-devel group, but have gotten no
> response.  I'm guessing from the lack of response, it was the wrong list
> to send to.  If this is (again) the wrong mailing list, please point me
> toward a more appropriate list.

I think both list are correct, since this seems a bug report/feature request
and on the user's list you can expect a workaround. Unfortunately I don't
have any idea on how to solve it, as I don't use linuxdoc. 
You can safely assume that the lack of response is due to lack of
knowledge/time, not rudeness...
Let's wait a little if our favorite linuxdoc specialist have some time to 
answer. In the mean time, if you consider it a bug, you can add it to
http://bugzilla.lyx.org.

Regards, Alfredo




Re: compilation problem with Trolltech MacOSX/GPL QT libraries

2003-07-02 Thread Alfredo Braunstein
Andre Poenitz wrote:

>> Has anyone reported this stupid bug to Troll Tech yet ?
> 
> They are as guilty as we are.

Why? Lyx is not a library. IMHO a library is responsible of not polluting
the global namespace (and qt way of doing that, btw, seems to be adding a
'q' on front of _almost_ every defined object).
Not to mention the 'signals' macro defined on qt headers.

On an ideal world, I don't see the point of the lyx:: namespace.

Regards, Alfredo




Re: Some info about lyx-qt 1.3.2 segfaults

2003-07-01 Thread Alfredo Braunstein
Fernando Perez wrote:

> Anyway, enabling core files doesn't seem to help much, as the lyx.org rpms
> have no debugging info in them.  Sorry, but I don't have time right now to

Ah yes, forgot about that. 

Thanks anyway, Alfredo





Re: Some info about lyx-qt 1.3.2 segfaults

2003-07-01 Thread Alfredo Braunstein
[EMAIL PROTECTED] wrote:

> way.  Someone suggested that my build might be on top of incompatible
> libraries and includes, but did not suggest how to investigate this.

It seems that we have to discard this, since you (and others) get the same
with the precompiled version/with standard systems. 

> More broadly, the failure occurs whenever trying to access a submenu using
> keyboard shortcuts, under qt.
> 
> I'm using Redhat 9, kde/qt 3.1.2.  Failure under my own builds and
> circulating rh9 rpms for lyx 1.3.2.

I don't know if I've mentioned it, but I have Redhat 9, with the provided qt
3.1.1-6 and I cannot reproduce it at all.

Regards, Alfredo




Re: Some info about lyx-qt 1.3.2 segfaults

2003-07-01 Thread Alfredo Braunstein
Fernando Perez wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 17855)]
> 0x40317212 in QPopupMenu::keyPressEvent(QKeyEvent*) () from
> /usr/lib/qt-3.1/lib/libqt-mt.so.3
> (gdb) Killed
> 
> lyx: SIGHUP signal caught
> Bye.
> [~]> Mutex destroy failure: Device or resource busy

Could you try to get a complete backtrace? Not running kde, or
enabling/using a core file maybe helps. 

Regards, Alfredo




Re: compilation problem with Trolltech MacOSX/GPL QT libraries

2003-06-24 Thread Alfredo Braunstein
Ronald Florence wrote:

> Alfredo Braunstein <[EMAIL PROTECTED]> writes:
> 
>> Juergen Spitzmueller wrote:
>> 
>> > ControlRef. Does it help if you change LyX's ControlRef and all
>> > instances to ControlLyXRef or something?
>> 
>> adding
>> 
>> #define ControlRef ControlLyXRef
>> 
>> to the top of src/frontends/controllers/ControlRef.h may just work...
> 
> Thanks to Juergen and Alfredo.  This gets close, but the compile of
> lyx-1.3.2 later gags at:

Then this hack is no good... your can try directly Juergen's suggestion.

maybe somethig like (using bash, from within the src/ directory, untested):

for x in `grep -l ControlRef {,*/,*/*/}*.{C,h}`; do echo $x; mv $x $x.save;
cat $x.save | sed s/ControlRef/ControlLyXRef/g > $x; done

will do. 

(if something fails, original files should have a .save appended)

Hope it helps,

Alfredo




Re: compilation problem with Trolltech MacOSX/GPL QT libraries

2003-06-24 Thread Alfredo Braunstein
Juergen Spitzmueller wrote:

> ControlRef. Does it help if you change LyX's ControlRef and all instances
> to ControlLyXRef or something?

adding 

#define ControlRef ControlLyXRef 

to the top of src/frontends/controllers/ControlRef.h may just work...

Regards, Alfredo




qt+boost symbol clash

2003-06-20 Thread Alfredo Braunstein
qt headers include a nice '#define signals xxx' (puaj) and boost seems to
choke on that.
if I #include "boost/signals/signal1.hpp" in buffer.h I get a clash in
QDocument.C:

How to proceed?

In file included from /home/ab/lyx-cvs2/boost/boost/signals/slot.hpp:21,
 from
/home/ab/lyx-cvs2/boost/boost/signals/signal_template.hpp:27,
 from /home/ab/lyx-cvs2/boost/boost/signals/signal1.hpp:30,
 from /home/ab/lyx-cvs2/src/buffer.h:28,
 from
/home/ab/lyx-cvs2/src/frontends/qt2/QDocumentDialog.C:37:
/home/ab/lyx-cvs2/boost/boost/signals/trackable.hpp:29: parse error before `
   protected'
/home/ab/lyx-cvs2/boost/boost/signals/trackable.hpp:37: `boost::detail' does
   not have a class or union named `signal_base_impl'
/home/ab/lyx-cvs2/boost/boost/signals/trackable.hpp:37: `friend' can only be
   specified inside a class
/home/ab/lyx-cvs2/boost/boost/signals/trackable.hpp:38: `boost::detail' does
   not have a class or union named `slot_base'
/home/ab/lyx-cvs2/boost/boost/signals/trackable.hpp:38: `friend' can only be
   specified inside a class
/home/ab/lyx-cvs2/boost/boost/signals/trackable.hpp:39: `connection' was not
   declared in this scope

Any help welcomed, Alfredo



Re: lyx 1.3 vs 1.16

2003-06-18 Thread Alfredo Braunstein
by way of Roberto Bernetti <[EMAIL PROTECTED]> wrote:

Hi,

> 1. when in math mode and I type a tex sequence in 1.16 it is
> automatically, after a typed space, rendered as its graphic meaning. This
> in 1.3 doesn't work the text changes only color to red

Install ftp://ftp.lyx.org/pub/lyx/contrib/latex-ttf-fonts-0.1-1.noarch.rpm
(src.rpm and .tgz versions available on the same dir) 

or

Install AND TEST http://movementarian.org/latex-xft-fonts-0.1.tar.gz
 
> 2. under the menu item layout I can no nmore find latex preamble, so I
> don't know how to edit some feature of my previous documents.
> 
> Does anyone be able to help me to turn to the 1.16 behaviour?

Edit->Document->Preamble IIRC


Regards, Alfredo




Re: bad font path

2003-06-13 Thread Alfredo Braunstein
Joel Uckelman wrote:

> There was a post in May that was not replied to concerning the RedHat 9
> RPM for 1.3.2 and a 'bad font path element' error generated by xset:
> 
> http://marc.theaimsgroup.com/?l=lyx-users&m=105292758407099&w=2
> 
> A search of the list archives turn up nothing else that I can see. Has
> anyone determined a fix for this problem yet? Is anyone else using the
> 1.3.2 RPM on RedHat? Successfully?

I sucessfully use RH9 with CVS lyx. No idea on 1.3.2.

> Whenever I enter math mode, I get the following message in my terminal:
> 
> Adding /usr/share/lyx/xfonts/ to the font path.
> xset: bad font path element (#72), possible causes are:
> Directory does not exist or has wrong permissions
> Directory missing fonts.dir
> Incorrect font server address or syntax
> Unable to add font path.

RH9 has a strange font management system. You'll have to add

/usr/share/lyx/xfonts/

to /etc/fonts/font.conf

and restart the font server.

Please let me know if this works.

Regards, Alfredo




Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Alfredo Braunstein
Henrik Edlund wrote:

> Take about the same time to compile LyX as it takes Mozilla for
> me. Compiling the Linux kernel is about 10-20 times faster than
> both.
> 

C++ has always been a lot slower to compile than C.

Regards, Alfredo