Re: editing, lyxserver, and an experiment with modules

1999-03-03 Thread Joacim Persson
On Wed, 3 Mar 1999, Asger Alstrup Nielsen wrote: > > > By extending LyX with a functional language, we can gain a quantum leap in > > > expressive power. Suddenly we can handle an entire document (or chapter, or > > > > Can't we do that in c++ then? > > Yes, if we had a *useful* C++ interpreter

Re: Core & objects, Was: switching layouts problem

1999-03-03 Thread Joacim Persson
On Wed, 3 Mar 1999, Asger Alstrup Nielsen wrote: > > Yes, that'll do nicely for simple insets. I wouldn't want to write a > > complex inset like a music, tree or Feynman diagram inset with that though. > > Do you plan to have an internal API (i.e. functions and variables in this > > scripting la

Re: editing, lyxserver, and an experiment with modules

1999-03-03 Thread Joacim Persson
On Mon, 1 Mar 1999, Asger Alstrup Nielsen wrote: > > be necessary. :P Maybe it's possible to have a scripting language that > > can n/handle any arbitrary c++ object, but I have no idea how that would > > be implemented. If a scripting language should operate on such a low > > level, it should

Re: Core & objects, Was: switching layouts problem

1999-03-03 Thread Joacim Persson
On Mon, 1 Mar 1999, Asger Alstrup Nielsen wrote: > [How to handle the extendibility problem.] > [Layout files on steroids or linked objects a la Gimp.] > > > A compromise or rather a combination of the two would be my favourite > > choice. I think there should be /both/ an easy-to-use quick&dir

update of sv.po

1999-03-02 Thread Joacim Persson
at http://home1.2.sbbs.se/pjp/lyx-1.0.1-sv.po.gz Joacim - With both feet on the ground, you won't get very far. -- Loesje

Re: editing, lyxserver, and an experiment with modules

1999-03-01 Thread Joacim Persson
On Mon, 1 Mar 1999, Jean-Marc Lasgouttes wrote: > >>>>> "Joacim" == Joacim Persson <[EMAIL PROTECTED]> writes: > > Joacim> An alternative to lyx-server could be to have one lyxfunction > Joacim> that finds and loads a module that is linked aga

editing, lyxserver, and an experiment with modules

1999-02-28 Thread Joacim Persson
On Sun, 28 Feb 1999, Andre' Poenitz wrote: > > Joacim> (The bus drivers are on strike in Sweden, so I'm stuck at home > > Joacim> and have started working on my "vy"-client again -- a vi-like > > Joacim> mode for LyX using lyxserver -- as a pastime) > > > > That's what I'd call a pervert project

Re: Broken lyxserver?

1999-02-28 Thread Joacim Persson
On Fri, 26 Feb 1999, Jean-Marc Lasgouttes wrote: > >> The pipe is not broken, it is just empty... And DU considers that, > >> since you can read() from this pipe, it can fire select(). > > Joacim> And then read() should return -1 and set errno==EAGAIN. It > Joacim> didn't; it returned 0. Ther

Re: Broken lyxserver?

1999-02-28 Thread Joacim Persson
On Fri, 26 Feb 1999, Jean-Marc Lasgouttes wrote: > Joacim> mea culpa, mea culpa... The other way round: open it > Joacim> non-blocked, and set it to block with the fcntl. > > Does not work: all I get is an infinite stream of > LyXComm: Opening connection > LyXComm: Connection established > LyXCo

Re: "Call for papers"

1999-02-26 Thread Joacim Persson
On 26 Feb 1999, Lars Gullik Bjønnes wrote: > >> joacim persson writes: > > JP> I'm working on my own draft, just a bunch of object-representing > JP> circles with arrows between them and some dotted lines where I > JP> want interfaces to be more f

Re: "Call for papers"

1999-02-26 Thread Joacim Persson
On 26 Feb 1999, Lars Gullik Bjønnes wrote: > >> Joacim Persson writes: > > JP> I would like to start working on the 1.1-series in the near > JP> future (days or a couple of weeks at most), but I have to admit > JP> I'm a bit confused about the dire

Re: "Call for papers"

1999-02-25 Thread Joacim Persson
On Thu, 25 Feb 1999, Alejandro Aguilar Sierra wrote: > Try dia: http://www.lysator.liu.se/~alla/dia/dia.html. > > You'll love it! :) (haven't looked at it yet, but there was a name on the the developer's list that seemed oddly familiar =) > > Agreed. Just, please everybody, think before to pos

Re: Broken lyxserver?

1999-02-25 Thread Joacim Persson
On Thu, 25 Feb 1999, Jean-Marc Lasgouttes wrote: > >>>>> "Joacim" == Joacim Persson <[EMAIL PROTECTED]> writes: > > Joacim> thus libforms manual may be wrong regarding FIFOs, but to get > Joacim> back to what DECs man page said on select (&q

"Call for papers"

1999-02-25 Thread Joacim Persson
I would like to start working on the 1.1-series in the near future (days or a couple of weeks at most), but I have to admit I'm a bit confused about the directions of it. I wonder if those of you that have thoughts on the future design of LyX could take the time to do a simple outline (using tg

Re: Broken lyxserver?

1999-02-25 Thread Joacim Persson
On Thu, 25 Feb 1999, Jean-Marc Lasgouttes wrote: > Joacim> remove the O_NONBLOCK in the open(), add > Joacim> fcntl(fd,F_SETFL,O_NONBLOCK) on the next line (or whatever the > Joacim> fd is named). (no need for a signal handler for SIGPIPE for > Joacim> the reader process, and the "reset connectio

Re: Broken lyxserver?

1999-02-25 Thread Joacim Persson
On Thu, 25 Feb 1999, Jean-Marc Lasgouttes wrote: > >>>>> "Joacim" == Joacim Persson <[EMAIL PROTECTED]> writes: > > Joacim> On Wed, 24 Feb 1999, Jean-Marc Lasgouttes wrote: > >> Actually this happens to me on Digital Unix 4.0. > > Joac

Re: Broken lyxserver?

1999-02-24 Thread Joacim Persson
On Wed, 24 Feb 1999, Jean-Marc Lasgouttes wrote: > Actually this happens to me on Digital Unix 4.0. Is that SysV-ish or BSD? (just curious) > > A bit of search of the select() man page reveals the following: > > [Digital] Objects ready for the requested operation are those which the > op

Re: Broken lyxserver?

1999-02-23 Thread Joacim Persson
On Tue, 23 Feb 1999, Jean-Marc Lasgouttes wrote: > > Hello, > > On my station, when trying to setup a lyxserver with > \serverpipe "/tmp/lyxpipe" > all I get when running 'lyx -dbg 8192' is > > fantomas: lyx -dbg 8192 > Setting debug level to 8192 > LyXComm: Opening connection > LyXComm: Conne

Re: Patch: regex for find+replace

1999-02-22 Thread Joacim Persson
On Mon, 22 Feb 1999, Daniel Naber wrote: > here's a patch that extends the search+replace stuff with regular > expressions. It's paragraph based, that means forward searching for .* > will match the whole paragraph if the cursor is at position 0. > > Searching backwards gives basically the same m

mentioning rpm on www?

1999-02-21 Thread Joacim Persson
I got a phone call today (sic) from a lyx-user-wannabe who had `downloaded lyx' and wondered how to `run it.' Turned out he had gotten the source tarball (and knew - as most users, I suspect -- precious little about compiling). I suggested he get the binary rpm instead and he was a bit surprise

Re: outstanding bugs

1999-02-19 Thread Joacim Persson
On Thu, 18 Feb 1999, Asger Alstrup Nielsen wrote: > > Perhaps this is the more correct option. Hmmm... The main reason for the > > changes in the first place was the bizarre combinations of toggling in the > > character popup. So perhaps we should make the popup an exception. > > I think we s

Core & objects, Was: switching layouts problem

1999-02-17 Thread Joacim Persson
On Mon, 15 Feb 1999, Jean-Marc Lasgouttes wrote: > >>>>> "Joacim" == Joacim Persson <[EMAIL PROTECTED]> writes: > > Joacim> I gave it a second though on be bus home yesterday; forget the > Joacim> `family' file, it's not necessary.

Re: outstanding bugs

1999-02-17 Thread Joacim Persson
On Mon, 15 Feb 1999, Asger Alstrup Nielsen wrote: > > JL> - [not really a bug] bold and friends should toggle in all > > JL> cases. > > > > Can we make this work with _*little*_ effort? If not let's keep it as is. > > I think it's a major bug, that we *have* to fix. Joacim? ...I asked for

Re: LyX-Testing

1999-02-13 Thread Joacim Persson
On Fri, 12 Feb 1999, Dieter's Standardbenutzer wrote: > - if one wants to enter \dot{I} meaning the first derivative of I (I am an > engineer, you see ...) you have to really search for a function that can > support \dot{} until you understand that you simply have to type that in. I > mean

Re: switching layouts problem

1999-02-13 Thread Joacim Persson
On Fri, 12 Feb 1999, Allan Rae wrote: [snip - I think we're on the same track] > Thus if I started with a book and Chapters and decided to switch to > article I (the user) have a couple of simple options: > make Chapters into Parts and so on > or > make Chapters into Sections and so

Re: switching layouts problem

1999-02-12 Thread Joacim Persson
On Thu, 11 Feb 1999, Jean-Marc Lasgouttes wrote: > >>>>> "Joacim" == Joacim Persson <[EMAIL PROTECTED]> writes: > > Joacim> On Thu, 11 Feb 1999, Jean-Marc Lasgouttes wrote: > >> Unfortunately, I do not have a good solution to this problem. Thi

Typesetting music

1999-02-12 Thread Joacim Persson
On Thu, 11 Feb 1999, Alejandro Aguilar Sierra wrote: > On Thu, 11 Feb 1999, Garst R. Reese wrote: > > make things so much better. I'm trying to learn enough new TryX to do > > this but it's making my brain hurt. > > I think this will be easier after some changes still to do in 1.1 related > to

Re: switching layouts problem

1999-02-11 Thread Joacim Persson
On Thu, 11 Feb 1999, Jean-Marc Lasgouttes wrote: > Unfortunately, I do not have a good solution to this problem. This > might change in 1.1. ...? I just gave you the solution! ;) (for 1.0 series that is; if 1.1 goes multilingual we'll have a different situation) > A better solution would be to

switching layouts problem

1999-02-11 Thread Joacim Persson
If a user starts writing a document as a `book', and then lowers his level of ambition to just an article, the Chapter's will be turned into Standard, he'll have to set them to Section by hand, and set all sections to subsections etc. If he goes from article to book, he'll get section 0.1 at the

Re: writing letters with LaTeX

1999-02-10 Thread Joacim Persson
On Tue, 9 Feb 1999, Ralf Mueller wrote: > Hello developers, > > I am author of tk_Brief which is a GUI written in Tcl/Tk for easily > writing letters with LaTeX using the g-brief style. > > As I am a German writer I do not know which package is usually used to > write (commercial) letters in En

Re: easy $100 for nazgul? ;)

1999-02-10 Thread Joacim Persson
On Wed, 10 Feb 1999, Amir Karger wrote: > On Wed, Feb 10, 1999 at 11:34:15AM -0500, David L. Johnson wrote: > > ---Reply to mail from Joacim Persson about easy $100 for nazgul? ;) > > > > > > > > I just had a look at http://visar.csustan.edu/bazaar/, someo

easy $100 for nazgul? ;)

1999-02-10 Thread Joacim Persson
I just had a look at http://visar.csustan.edu/bazaar/, someone offers $100 for a Hebrew capable editor for Linux. (just a matter of recompute the coordinates here and there to get right-to-left editing? =) Joacim - All programmers are playwrights and all computers are lousy actors.

Re: table patch

1999-02-09 Thread Joacim Persson
On Tue, 9 Feb 1999, Jean-Marc Lasgouttes wrote: > BTW, you shold probably keep your patch and the comments you just made > so that we can use them when Juergen comes back. I'm sure those > changes will need to be ported to 1.1. ...you're joking, right? ... =8-O The whole monster should be ditc

Re: table patch

1999-02-09 Thread Joacim Persson
On Tue, 9 Feb 1999, Jean-Marc Lasgouttes wrote: > It is just that having a correct description of what bugs were fixed > is nice for users, especially in a maintenance release. And I am not > sure I understand what the actual bugs were... ...what makes you think I do? ;) ...let's see... * cell

Re: table patch

1999-02-09 Thread Joacim Persson
On Tue, 9 Feb 1999, Jean-Marc Lasgouttes wrote: > Could you provide entries for CHANGES? Forgot that. How aboout: - Yet more bugfixes for tables (Joacim) ? ...just add something ;) (this patch was against a clean 1.0.0, cvs doesn't work from inside our firewalls here -- I have to build a socks

table patch

1999-02-09 Thread Joacim Persson
Ok, here it is. ... some paranoia checks "(nvcell < numberofcells)" may or may not be necessary (doesn't hurt anyway) There are most likely more bugs in there, but hopefully they're too weird to be noticed right away now =) Joacim - All programmers are playwrights and all computers are lousy ac

Re: table.C, almost there

1999-02-09 Thread Joacim Persson
On Tue, 9 Feb 1999, Jean-Marc Lasgouttes wrote: > Joacim> What's left is the > Joacim> problem with the ::Clone() method (which *should* have been a > Joacim> copy constructor), and the funny behaviour of the cursor in > Joacim> the Extra options input fields. > > I *think* the Clone problem w

Re: inseturl.C patch

1999-02-09 Thread Joacim Persson
On Tue, 9 Feb 1999, Jean-Marc Lasgouttes wrote: > Joacim> Seems to do the trick (for THAT particular bu anyway =) > Joacim> ...I'll just tickle it a bit more to see if any other djinn is > Joacim> hiding out in the url insets. > > So, what was the right patch for this problem, anyway? Was it to

table.C, almost there

1999-02-08 Thread Joacim Persson
(Just a status report) The bugs regarding multicolumns & linebreaks appears to be weeded out. (linebreaks impossible in upper left cell, bad LaTeX output as reported, something else I can't remember now... missing rows) What's left is the problem with the ::Clone() method (which *should* have bee

Re: writer

1999-02-08 Thread Joacim Persson
On Mon, 8 Feb 1999, Jean-Marc Lasgouttes wrote: > > "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: > > Allan> The third option which I'm still inclined to prefer (for its > Allan> simplicity) is to have each Inset provide writer specific > Allan> methods. Such a scheme wouldn't make it an

Re: Table with linebreaks fails

1999-02-05 Thread Joacim Persson
On Thu, 4 Feb 1999, Jean-Marc Lasgouttes wrote: > I think there have been hacks in this code recently to fix a crash. It > might be that the 'fix;' was wrong. Unfortunately, I do not knwo this > code. ...who does. It's yet another ancient part of the code that needs an overhaul I suppose. :P (a

Re: Template files for LyX

1999-02-05 Thread Joacim Persson
[crossposted from lyx-users to lyx-devel] On Fri, 5 Feb 1999, Matthew Ettus wrote: > Is there an archive of additional style files? Perhaps we could start collecting templates and also example files (neat tricks etc -- useful as a source of inspiration when you get stuck) from lyx-users, and pla

Re: Table with linebreaks fails

1999-02-04 Thread Joacim Persson
On Thu, 4 Feb 1999, Dag Nygren wrote: > > Hi, > > and thanks for Lyx. > I just found a bug that is fairly reproducable and will generate a Latex error. > > 1. Create a table, default 5x5 is OK > 2. Enable linebreaks in 1,2 (Upmost row) > 3. Enter 1 2 in this cell > 4. Tie together 2,1 and 2,2

usenet?

1999-02-03 Thread Joacim Persson
Has the release been announced on any newsgroup? c.o.l.a? comp.text.tex? Maybe it just hasn't propagated here yet? I've just sent one to se.dator.sys.unix (Swedish-speaking unix-related newsgroup) anyway. Joacim - All programmers are playwrights and all computers are lousy actors.

Re: inseturl.C

1999-02-03 Thread Joacim Persson
> I do get problem with screen updates though (an urlinset at the far right > ends outside the margin) False alarm, sort of. I was just using a long line with no spaces in it; all the other insetcommand-insets has the same effect. > --- inseturl.C.old Wed Feb 3 13:15:02 1999 > +++ insetur

inseturl.C

1999-02-03 Thread Joacim Persson
The problem seems to be that the form is freed in the callback, but libforms tries to reach it anyway (just after the return from the callback). Maybe it's because the callback is installed for the Close-button, and not for the entire form. I have a version that *works* now (i.e. doesn't crash o

Re: inseturl.C is posessed?

1999-02-02 Thread Joacim Persson
On Tue, 2 Feb 1999, Carl Ollivier-Gooch wrote: > I tried both URL and HTML_URL and they worked fine in the presence of typing > before and after the inset. Stock 1.0.0, Linux 2.0.27, gcc 2.7.x. Yes it appears to be a problem on Solaris only. It could be a bug in xforms on that platform ...but

inseturl.C is posessed?

1999-02-02 Thread Joacim Persson
If UpdateInset(inset) is done last, URL crases LyX, if current_view-redraw() is last, HTML_URL crashes it. ...cute? ;) Joacim - All programmers are playwrights and all computers are lousy actors.

inseturl bug #2

1999-02-02 Thread Joacim Persson
Now it crashes on a /regular/ url insetad. :P Joacim, tickling ahead - All programmers are playwrights and all computers are lousy actors.

inseturl.C patch

1999-02-02 Thread Joacim Persson
--- inseturl.C.old Tue Feb 2 18:23:05 1999 +++ inseturl.C Tue Feb 2 18:22:08 1999 @@ -90,6 +90,7 @@ inset->flag = InsetUrl::URL; else inset->flag = InsetUrl::HTML_URL; + current_view->redraw(); Up

New sv.po (v1.0d)

1999-02-02 Thread Joacim Persson
At http://home1.2.sbbs.se/pjp/sv.po.gz Joacim - All programmers are playwrights and all computers are lousy actors.

lyx.pot

1999-02-02 Thread Joacim Persson
...someone has been messing with the menus and dialogue strings today, or the lyx.pot was out of sync. :P Looks like a few po-files has to be looked over: sv,fi,fr,hu and ru pox-files all get "fuzzy"'s in them. *sigh* ...but don't let that stop the release. Joacim - All programmers are playwrig

ftp.lyx.org/pub/lyx/lyx-current.tar.gz

1999-02-02 Thread Joacim Persson
points at stable/lyx-0.12.0.tar.gz Joacim - All programmers are playwrights and all computers are lousy actors.

Re: scrlettr layout broken?

1999-02-01 Thread Joacim Persson
On Mon, 1 Feb 1999, I wrote: > ..at least I can't figure out how to get a LaTeX:able file from it. Well I have now. ;) ...the "Letter" environment should rather be named "To" or something imho; As far as I can tell it's for setting the recipient's address. Joacim - With both feet on the ground,

scrlettr layout broken?

1999-02-01 Thread Joacim Persson
..at least I can't figure out how to get a LaTeX:able file from it. It looks to me as if the problem is with the "letter" style. (Should it be a style/environment at all?) Maybe someone who understands German better than I do could take a look at the docs for Koma (the english version doesn't doc

new sv.po

1999-01-31 Thread Joacim Persson
sv.mo and sv.gmo version 1.0c at: http://home1.2.sbbs.se/pjp/lyx-sv.html (This is a newer version than the patch I sent Lars recently) Could someone please update the CVS for me? Joacim - With both feet on the ground, you won't get very far. -- Loesje

web page for Swedish translations

1999-01-28 Thread Joacim Persson
I've put it at http://home1.2.sbbs.se/pjp/lyx-sv.html All the current sv_*-files are there Joacim - With both feet on the ground, you won't get very far. -- Loesje

Can't build 1.1

1999-01-28 Thread Joacim Persson
src/include/Regexp.h won't compile (Linux, egcs) >From my /usr/include/regexp.h: /* POSIX says that must be included (by the caller) before . */ --- Regexp.h.oldFri Jan 29 02:45:46 1999 +++ Regexp.hFri Jan 29 02:46:07 1999 @@ -21,6 +21,7 @@ // Some structure in regex.h declea

(1.0) bug in inseturl

1999-01-27 Thread Joacim Persson
The "html type" radio button can't be set once unset. Joacim - With both feet on the ground, you won't get very far. -- Loesje

An attempt at a more complex letter template

1999-01-26 Thread Joacim Persson
rorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 1 \papercolumns 1 \papersides 1 \paperpagestyle empty \layout Signature Joacim Persson \layout Send To Address LyX Developers list \newline via [EMAIL PROT

Re: Swedish! and web site stuff

1998-12-23 Thread Joacim Persson
On Wed, 23 Dec 1998, Amir Karger wrote: > I can't help but notice that sv_Tutorial.lyx ends in the middle of a > parenthetical statement (unless parentheses are used differently in sweden :) > and there's no \the_end statement. Which leads me to believe that somewhere in > the copying process, so

Re: LyX + lyxserver => 80% CPU load.

1998-12-23 Thread Joacim Persson
On Wed, 23 Dec 1998, Jean-Marc Lasgouttes wrote: > In this particular case, I had no client connecting to LyX. This means > that LyX was busy waiting for its first command. Then obviously something is wrong. :P I can't reproduce this with neither 1.0 or 1.1, but I haven't recompiled the sources

Re: LyX + lyxserver => 80% CPU load.

1998-12-23 Thread Joacim Persson
On Thu, 17 Dec 1998, Asger K. Alstrup Nielsen wrote: > > The subject says it all. Am I the only one who sees that when the > > lyxserver is on, LyX chews CPU like a mad cow? > > The pipe-handling is done via XForms, so if there is a performance > problem, it's a problem in XForms. I suspect the

Re: script language: global

1998-12-13 Thread Joacim Persson
On Sun, 13 Dec 1998, Larry S. Marso wrote: > I'm trying to catch up with the mail on this topic. > > Might I ask, what are a few straightforward examples of the new capabilities > a scripting language will provide users of lyx? Or: What capabilities is it that we want, that we can't get (at all

Re: Script language (was Re: 1st version of Graphical Tutorial

1998-12-13 Thread Joacim Persson
On 12 Dec 1998, Lars Gullik Bjønnes wrote: > *Jean-Marc Lasgouttes writes: > | Is there some places where I could read on the differences between > | pipes/sockets/whatever? Or perhaps you could give me a short > | tutorial? > (and a lot more, this will not tell much about how to use) There

Re: EVERYONE READ THIS - european.kmap

1998-12-02 Thread Joacim Persson
On Tue, 1 Dec 1998, Peter Suetterlin wrote: > Why a special keymap? Basically because LaTeX/TeX can use far more (infinitely in theory) characters than X have keysyms for. Suppose we wanted to use a few popular TeX-special symbols in LyX. (Or mixing symbols from different alphabets/fonts -- we

Re: Wider windows

1998-11-25 Thread Joacim Persson
On Wed, 25 Nov 1998 [EMAIL PROTECTED] wrote: > I suffer from too short windows: sometimes it is impossible to fit > Russian text without abbreviations. I've found that other > localizations suffer the same problem. Are you going to make the > windows wider and provide more space available in box