Re: broadway hollywood

1999-04-12 Thread Martin Vermeer

 Keep up the fantastic work, Garst.  You're doing some of the most important
 development work for LyX, don't ever think otherwise.

I most definitely and emphatically agree. `Useability' is a less glamourous 
but extremely important part of LyX development.

That $300 brought another idea to my mind: What about creating a small company 
`Class  Style, Inc' to create class and style files on commission? I suspect 
there are potential users out there that would be willing to pay even if the 
code is later released into the LyX space for free.

On the other hand...

Martin




LyX 1.0.0: Bug in \maketitle with multiple docs

1999-04-12 Thread Fred Hucht

Hi LyXers,

when you put only the title stuff into a seperate file, \maketitle is
not appended to the tex file. One has to put one line with a hard
space at the end of the file to cause LyX to write the line \maketitle.

Version: LyX-1.0.0

Have fun,

 Fred

Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
Email: [EMAIL PROTECTED]   http://www.thp.Uni-Duisburg.DE/
"Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper"
(E. Landau, Zahlentheorie (1927), Satz 718)



Re: broadway hollywood

1999-04-12 Thread Jean-Marc Lasgouttes


Helle Garst,

I applied the patches and added the file to my local cvs
repositories. I'll commit that soon.

JMarc



Re: LyX Japanese Documents

1999-04-12 Thread Asger Alstrup Nielsen

 Asger, is the proposal of Wed, 18 Mar 1998 still valid?
 I still think ElementType class you proposed is the best for addressing
 this problem.  By letting ElementType getNextElementType() to return
 "Word" if the cursor is on CJK or other east Asian character, and
 if the next element is not a certain punctuation, we will be able to
 have a working line breaking algorithm.  UnicodeData will be of
 use here.

The principle is still valid.  The implementaton will be different:  Instead of
having one getNextElementType that will handle all kinds of elements, I think
we should introduce a separate iterator for each type.
So, we will have a "breakPoint" iterator that will give us the points in the
data structure where we can be a line break. This one will be able to support
the line breaks that are needed for your situation. And the flow logic will use
this one, so I think we have solved this problem for Asian languages.

Greets,

Asger



Re: Namespaces (was: string vs. LString)

1999-04-12 Thread Asger Alstrup Nielsen

 Asger seems to want to make extensive use of namespaces and to a certain
 extent I can see that as being a good way to enforce the notion of
 ownership to the various modules.  So we could have a gui namespace and an
 Inset namespace among others.  If we then use namespaces in our code we
 can use namespaces from stl (which involves using different headers).

Yes, I would like to use namespaces more.
My feeling is that the bad things about global functions and variables does not
exists anymore when you have namespaces.  Suddenly, there is nothing wrong with
having global functions and variables, and this change opens up some methods of
coding that were previously packed away as bad coding style.

With namespaces, I feel it's easier to let the code express what things are. 
For instance, the encoding facility is a global means of performing encoding
conversions, that does not depend on any state or context. So I don't see why
this feature should not just be exactly that in the code:  an independent
global function that does the conversion.

Regarding whether we should *require* support for namespaces from the compiler
or not:  I have no real opinion on this.  I'm sure that we can make things work
without proper namespace support, and that is a good thing.  The important
thing is that the developers will be able to exploit the concept of namespaces,
and if their compiler is up to it, get the extra safety from the compiler.

I find it hard to make a list of things that we want from the compiler in
advance.  I'm more into the lazy style:  Just code, and then take care of the
problems when they appear.  That's what we have been doing so far, and it seems
to work pretty well.  Of course, we are demanding more things from the
compilers now, and it might turn out that we have to set some minimum
requirements, but until we know more about the problems, it's hard to say what
those are.

Greets,

Asger



Re: thesis template and italian translation (was Re: Binary Lyx notstarts !!!)

1999-04-12 Thread Jean-Marc Lasgouttes

 "Allan" == Allan Rae [EMAIL PROTECTED] writes:

Allan Somebody mentioned some time ago on the list that they were
Allan working on a University of Columbia(?) thesis layout and
Allan template.  So I've cc'd this to the list so hopefully they can
Allan respond.

Have a look at ftp.lyx.org/pub/lyx/contrib/CU-Thesis.tar.gz. I don't
know much about what's in there, but John Weiss can probably tell
more.


JMarc



Re: Namespaces (was: string vs. LString)

1999-04-12 Thread Jean-Marc Lasgouttes

 "Allan" == Allan Rae [EMAIL PROTECTED] writes:

Allan Asger seems to want to make extensive use of namespaces and to
Allan a certain extent I can see that as being a good way to enforce
Allan the notion of ownership to the various modules.  So we could
Allan have a gui namespace and an Inset namespace among others.  If
Allan we then use namespaces in our code we can use namespaces from
Allan stl (which involves using different headers).

Well, I see it as good but not necessarily required if we do not want
to lock out a number of compilers...

JMarc



Re: small bug in lyx1.0.1:usepackage times not removed

1999-04-12 Thread Jean-Marc Lasgouttes

 "Arnd" == Arnd Hanses [EMAIL PROTECTED] writes:

Arnd Hi, just for the record (aka: Bugs.lyx) two little annoyances:

Arnd Select document-times-Ok

Arnd preview ps: times is used.

Arnd Select document-default-Ok

Arnd preview ps: times is still used.

What happens if you insert and remove a character, to force LyX to
re-generate the LaTeX file? I think the problem is there...

Arnd Remedy: Remove the usepackage times command by hand.

Arnd This happens in rare cases, normally it works. I could not yet
Arnd find out what triggers this behaviour.


Arnd Numbers on number key pad (German DIN keyboard) work, the
Arnd functions there, don't. (Probably xforms?).

What functions do you mean? When num-lock is off?

JMarc



Re: Docs in 1.0.2pre1

1999-04-12 Thread Jean-Marc Lasgouttes

 "Daniel" == Daniel Naber [EMAIL PROTECTED] writes:

Daniel Hi, maybe we should change the BUGS file in 1.0.2 so that it
Daniel doesn't contain that footnote about "January 1999" anymore?

I removed the footnote (and removed the bug report about \sqrt).

JMarc



Re: 1.0.2pre1: ReplaceAll button not disabled

1999-04-12 Thread Jean-Marc Lasgouttes


I applied the patch. Thanks.

JMarc



Re: Lyx crash v1.0.1, OS/2 binary distribution

1999-04-12 Thread miyata

"Kovacs Istvan" [EMAIL PROTECTED] wrote:

 The formulae may be broken, they also include TeX code inserted via the
 math-insert command from the mini buffer (namely, \sqrt[3]{Z_1+Z_2}).
 I'm no TeX wizard...

\sqrt[3]{Z_{1}+Z_{2}} does not crash LyX.  However, please wait
1.0.2 for n-th root support.

Regards,
SMiyata



Re: LyX Japanese Documents

1999-04-12 Thread miyata

Hi,

"Kohtaro Hitomi" [EMAIL PROTECTED] wrote:

 Japanese patch.  Suppose a Japanese sentence
 includes English name, for example Donald Knuth. Japanese
 sentences in general  don't includes white space. If a white space
 is included in a sentence, LyX recoginizes a sentence as two very
 long words and try to make it right justfied. As the results, the line is
 broken at the white spece. This makes a document difficult to read.

Please try this against lyx-1.0.0 + lyx-jp-patch

Regards,
SMiyata

begin 666 diff.bz2
M0EIH.3%!629366P16QP``$U?@`P06OV"H"_Y=[.0`#]2VIH)-!IH\H
M!IH80``-`IIHJ:#4]((R#3)@0-F0!IB9H.8!-,`F0P`!,$P```2@HGI1
MZ"HT'IJ;3)#30]0T4`T:/48$20C55422VMT_:([VKM;3)2ZY!+O1+]T]5
M_SCU:P3O%[C/Y2"`C:BS7#VM/Z60H,(043\2J1P:FUJMK^E@I#"+-*ZV/A
ML(LA!J33R)K.O'9SR(?_BXCI@9W7C%NA#@RS19:BLE44K(]CT3[\RJ)WZA
MLRFSZ7.\_LUUK4$J0^J8Z)0S`EI4F[$`?0LW?0ZLP*P]`P3)J.)$Z5@N`
MS"107JGET(AF4)V9*@_K.T%B7(MKAD$\G,WB0M=BQ`HJI_-T4PO,!-G-!0
651IS2E%B$I#N@_Q=R13A0DP16QP```
`
end



better BibTeX support

1999-04-12 Thread Jochen Kuepper

Hey All,

I just upgraded to the latest lyx-1_0_x cvs-sources and found that wonderfull
new feature. 
(Well, I am sorry I don't have time to follow the list right now.)

Two suggestions regarding the bibtex-entry-key-combobox (hey, I am German, we
are used to use words two lines long, or so):

- make it bigger
  Well, it would make live much easier to show approx 10 entries or so, and
  also make it wide enough to show the full keys - or probably just 1.5 times
  as wide as it is right now.
  Sorry, I won´t get into XForms any more, but probably it's quite easy for one
  of you guys.

- sort the entries alphabetically.
  By taking a quick look at the sources this might be probably something for
  1.1, when it uses a vector string , so you can just stable_sort that :-)

Still, like it - and 
I will use it even with my moderatly big databases, I guess.

Greetings,
Jochen
---
  Jochen Küpper

  Heinrich-Heine-Universität Düsseldorf [EMAIL PROTECTED]
  Institut für Physikalische Chemie I
  Universitätsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
  40225 Düsseldorf fax   ++49-211-8115195
  Germany http://www-public.rz.uni-duesseldorf.de/~jochen
---



Re: Translation of the tutorial into french.

1999-04-12 Thread Amir Karger

On Fri, Apr 09, 1999 at 08:08:10PM +0200, Denis Valdenaire wrote:
 I don't know if it is the right place to ask but i consider studying LyX
 and translate it to french = the language we talk in Paris :)

Yes, this is the right place to ask.  And we would love to have things
translated into another language! I assume you're talking about translating
the documentation, since the menus, key bindings etc. have already 
been translated.

 Well, i got two questions : 
 Could i somehow organize this french translation ? i suppose i can't
 make it alone...

Check out the Translations page at www.devel.lyx.org, which suggests that
you should translate the Introduction, splash page, and Tutorial first. I'll
put your name in as the French translation contact on that page. 

 Who can help me when i - anyone who helps me - got terrible doubt about
 the meaning ?

There are at least a couple french/english speakers on the developer's list.
Jean-Marc Lasgouttes --- [EMAIL PROTECTED] --- has been on the 
list for ages, so he knows about LyX, and his English is good (I don't know
about his French :) so he's a good person to talk to. If you have trouble
with a weird English idiom, you could mail me ([EMAIL PROTECTED]).

By the way, Jean-Marc, can you tell us if there's anyone else working on
French translations? It would be a shame to duplicate effort...

  Thanks a lot if you can directly answer me as i'm not concerned by
 development.

OK. There's a very low volume "list" (more like an alias) of lyx
documentation folk.

-Amir



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Jean-Marc Lasgouttes

 "Amir" == Amir Karger [EMAIL PROTECTED] writes:

Amir On Sun, Apr 11, 1999 at 09:36:29PM +, Daniel Naber wrote:
 I found the slide and removed nearly all non-critical lines. The
 attached file should be the (nearly) minimal file that produced the
 error.
 

 \documentclass[a4paper]{slides} \usepackage{tla,german,latexsym}
 
 \begin{tabular}{lll} $#$  \verb$#$  \verb$\neq$ \\ $\/$ 
 \verb$\/$  \verb$\lor$ \\ \end{tabular}
 

Amir Aha! It's not my fault! Well, maybe it's not my fault. This
Amir might be a "tla" issue, whatever tla is.

Amir, does reLyX support \verb's syntax, like in \verb|foo| or
\verb$bar$? 

JMarc



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Amir Karger

On Mon, Apr 12, 1999 at 03:46:24PM +0200, Jean-Marc Lasgouttes wrote:
 
  \begin{tabular}{lll} $#$  \verb$#$  \verb$\neq$ \\ $\/$ 
  \verb$\/$  \verb$\lor$ \\ \end{tabular}
 
 Amir Aha! It's not my fault! Well, maybe it's not my fault. This
 Amir might be a "tla" issue, whatever tla is.
 
 Amir, does reLyX support \verb's syntax, like in \verb|foo| or
 \verb$bar$? 

Yup. I was concerned at first that reLyX might be changing both of those $
signs into a \( \) pair before it dealt with the \verb command.
Surprisingly, it seems like the guy who coded reLyX brilliantly foresaw that
possibility. Or did it by accident, more likely. Anyway, \verb$a$ translates
just fine.

-Amir



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Jean-Marc Lasgouttes

 "Amir" == Amir Karger [EMAIL PROTECTED] writes:

Amir On Mon, Apr 12, 1999 at 03:46:24PM +0200, Jean-Marc Lasgouttes
Amir wrote:
   \begin{tabular}{lll} $#$  \verb$#$  \verb$\neq$ \\ $\/$  
 \verb$\/$  \verb$\lor$ \\ \end{tabular}
 
Amir Aha! It's not my fault! Well, maybe it's not my fault. This
Amir might be a "tla" issue, whatever tla is.
  Amir, does reLyX support \verb's syntax, like in \verb|foo| or
 \verb$bar$?

Amir Yup. I was concerned at first that reLyX might be changing both
Amir of those $ signs into a \( \) pair before it dealt with the
Amir \verb command.  Surprisingly, it seems like the guy who coded
Amir reLyX brilliantly foresaw that possibility. Or did it by
Amir accident, more likely. Anyway, \verb$a$ translates just fine.

And \url? It accepts both the \url{...} and \url|...| syntaxes. 

JMarc



Re: Translation of the tutorial into french.

1999-04-12 Thread Jean-Marc Lasgouttes

 "Amir" == Amir Karger [EMAIL PROTECTED] writes:

Amir On Fri, Apr 09, 1999 at 08:08:10PM +0200, Denis Valdenaire
Amir wrote:
 I don't know if it is the right place to ask but i consider
 studying LyX and translate it to french = the language we talk in
 Paris :)

Amir Yes, this is the right place to ask.  And we would love to have
Amir things translated into another language! I assume you're talking
Amir about translating the documentation, since the menus, key
Amir bindings etc. have already been translated.

There is still more work to do there.

Amir Check out the Translations page at www.devel.lyx.org, which
Amir suggests that you should translate the Introduction, splash
Amir page, and Tutorial first. I'll put your name in as the French
Amir translation contact on that page.

Please put Pierre-Henri Boinnard [EMAIL PROTECTED]
there instead. He has a more advanced translation already (I just know
it since friday...). I'll commit what is showable today.

Amir There are at least a couple french/english speakers on the
Amir developer's list.  Jean-Marc Lasgouttes ---
Amir [EMAIL PROTECTED] --- has been on the list for ages,
Amir so he knows about LyX, and his English is good (I don't know
Amir about his French :) so he's a good person to talk to. If you
Amir have trouble with a weird English idiom, you could mail me
Amir ([EMAIL PROTECTED]).

Why are you showing off your nice [EMAIL PROTECTED] address and do not
mention my nicer [EMAIL PROTECTED]?? Envy?

Seriously, I already put Pierre Henri and David in contact and have
great hopes that they will manage the translation work without needing
me :)

Amir By the way, Jean-Marc, can you tell us if there's anyone else
Amir working on French translations? It would be a shame to duplicate
Amir effort...

I just answered to this question 20 lines earlier in this mesage. You
have not been reading carefully.

 Thanks a lot if you can directly answer me as i'm not concerned by
 development.

Amir OK. There's a very low volume "list" (more like an alias) of lyx
Amir documentation folk.

Yes, it would be a good idea to manage this list from lists.lyx.org
and let anybody subscribe.

JMarc



Re: ellipsis insertion from keyboard

1999-04-12 Thread Jean-Marc Lasgouttes

 "John" == John Wetterau [EMAIL PROTECTED] writes:

John Hi, Inserting the special character, ellipsis . . . , from the
John keyboard doesn't work in LyX 1.01. M-i,s,i goes
John unrecognized. LyX is terrific. Keep up the good work.

Hello,

Thanks for the report. In fact, it was bound to M-i s p. I chnaged
that.

JMarc



Re: thesis template and italian translation (was Re: Binary Lyx not starts !!!)

1999-04-12 Thread Richard E. Hawkins Esq.


allan added,


 We don't have a thesis template.  The main reason for this is that there
 is no single standard -- every University seems to have its own ideas of
 how a thesis should be setup.  You should be able to do most of your
 thesis using the book class.

 Somebody mentioned some time ago on the list that they were working on
 a University of Columbia(?) thesis layout and template.  So I've cc'd this
 to the list so hopefully they can respond.

Just an idea, but how about using something well documented, such as 
the University of Chicago, and do others as a diff from that?

rick, who still curses the fact that his copy of Terrabian (sp?) is one 
of only two books from his education that he can't find (the other 
being Complex Variables)


-- 




NOTE bug

1999-04-12 Thread Tony Dancer


 I have noticed a bug which seems to still be present in the latest
 pre-release.
 When i insert a note in my document, i find that once the note is
 entered, if i then choose to delete the note with back-delete
(immediately after inserting - and the error seems to be most prevelant
at current insertion point or end of paragraph), i get a SIGSEGV signal
caught and lyx crashes.
 
i did a back trace under gdb.after some more trial-and-error (or
trial-and-crash) testing it seems to do it most when a note is inserted
then removed at the end of a
paragraph or at the point of the end of typing (ie. the insertion point
as you type) rather than say in the middle of a pre-existant paragraph.
This may be nonsense, but that it what it appears to do.

Anyhow, the output for the backtrace follows:


Program received signal SIGSEGV, Segmentation fault.
0x4003d08e in do_keyboard ()
Current language:  auto; currently c
(gdb) bt
#0  0x4003d08e in do_keyboard ()
#1  0x4003d7e9 in do_interaction_step ()
#2  0x4003de82 in fl_treat_interaction_events ()
#3  0x4003dec0 in fl_check_forms ()
#4  0x8058172 in LyXGUI::runTime (this=0x825aa48) at lyx_gui.C:629
#5  0x804dfd2 in LyX::LyX (this=0xbbd4, argc=0xbc78,
argv=0xbc8c) at ../src/lyx_main.C:128
#6  0x804d8b2 in main (argc=2, argv=0xbc8c) at ../src/main.C:51
(gdb) 


Tony



lyxdoc mailing list? [was: Re: Translation of the tutorial into french.]

1999-04-12 Thread Amir Karger

On Mon, Apr 12, 1999 at 03:57:06PM +0200, Jean-Marc Lasgouttes wrote:

[Lots of really useful stuff snipped]

  Thanks a lot if you can directly answer me as i'm not concerned by
  development.
 
 Amir OK. There's a very low volume "list" (more like an alias) of lyx
 Amir documentation folk.
 
 Yes, it would be a good idea to manage this list from lists.lyx.org
 and let anybody subscribe.

Interesting idea. Mate? I assume this wouldn't be hard. Lars? Do you think
this is a good idea? It's conceivable though improbable that having an
official mailing list for this would lure more people to the doc effort. Of
course, that will make mailing.html that much longer.

-Amir



Re: NOTE bug

1999-04-12 Thread Jean-Marc Lasgouttes

 "Tony" == Tony Dancer [EMAIL PROTECTED] writes:

Tony  I have noticed a bug which seems to still be present in the
Tony latest pre-release.  When i insert a note in my document, i find
Tony that once the note is entered, if i then choose to delete the
Tony note with back-delete (immediately after inserting - and the
Tony error seems to be most prevelant at current insertion point or
Tony end of paragraph), i get a SIGSEGV signal caught and lyx
Tony crashes.
 
Could you try the appended patch? It was useful for inseturl to
prevent a similar problem on solaris. Are you using solaris, by
chance?

JMarc


 insetinfo.C.diff


Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Amir Karger

On Mon, Apr 12, 1999 at 03:52:02PM +0200, Jean-Marc Lasgouttes wrote:
  "Amir" == Amir Karger [EMAIL PROTECTED] writes:
 
 Amir Yup. I was concerned at first that reLyX might be changing both
 Amir of those $ signs into a \( \) pair before it dealt with the
 Amir \verb command.  Surprisingly, it seems like the guy who coded
 Amir reLyX brilliantly foresaw that possibility. Or did it by
 Amir accident, more likely. Anyway, \verb$a$ translates just fine.
 
 And \url? It accepts both the \url{...} and \url|...| syntaxes. 

I'm afraid not. In fact, we don't even support \url{} right now. How should
it be translated? I don't know that I'll have time to do it in the near
future, but I might as well know what to do so I can put it on my todo list.
I suppose we could have CleanTeX translate \url|foo| to \url{foo}, by
pretending that it's \verb|foo|, copying it exactly, then replacing the |
with { and }. Hm. Will there be anything within the url that CleanTeX needs
to translate otherwise? I don't think so. For example, we don't really want
to put braces around arguments to _ within a url!

-Amir



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Jean-Marc Lasgouttes

 "Amir" == Amir Karger [EMAIL PROTECTED] writes:

Amir I'm afraid not. In fact, we don't even support \url{} right
Amir now. How should it be translated? I don't know that I'll have
Amir time to do it in the near future, but I might as well know what
Amir to do so I can put it on my todo list.  I suppose we could have
Amir CleanTeX translate \url|foo| to \url{foo}, by pretending that
Amir it's \verb|foo|, copying it exactly, then replacing the | with {
Amir and }. Hm. Will there be anything within the url that CleanTeX
Amir needs to translate otherwise? I don't think so. For example, we
Amir don't really want to put braces around arguments to _ within a
Amir url!

Anyway the url support is rather hackish, and I do not think that
reLyX could support it correctly. How would you guess that
  See the LyX Homepage \url{www.lyx.org}
should be tranlated to something like
  See the [InsetUrl desc='LyX Homepage ' name='www.lyx.org']

There i not much hope there... But at least you should be able to know
where to begin ERT and where to end it.

JMarc



Re: broadway hollywood

1999-04-12 Thread Garst R. Reese

Martin Vermeer wrote:
 
  Keep up the fantastic work, Garst.  You're doing some of the most important
  development work for LyX, don't ever think otherwise.
 
 I most definitely and emphatically agree. `Useability' is a less glamourous
 but extremely important part of LyX development.
 
 That $300 brought another idea to my mind: What about creating a small company
 `Class  Style, Inc' to create class and style files on commission? I suspect
 there are potential users out there that would be willing to pay even if the
 code is later released into the LyX space for free.
 
 On the other hand...
I'll reserve that for people in a great hurry :) I'm quite happy to have
found something to give back.
I am making contacts with other people contributing web pages on screen
writing and listing software tools to let them know about LyX.
see for ex.
http:\\www.tvwriter.com
--
Garst



docs update

1999-04-12 Thread Amir Karger

Well, I finally went and changed - to menuseparator. I think I caught all
of them. I also had to change language slightly a couple times (e.g. when
people referred to the Layout-Document popup, which is isn't).

I hopefully didn't ruin anything. I won't guarantee that everything's right
tho. Reference.lyx is most likely to have problems, since I had to do it
by hand. But Reference.lyx still has a couple thousand person-hours of work
before it's done anyway, so maybe that's not such a problem.

-Amir



Re: LyX Japanese Documents

1999-04-12 Thread Kohtaro Hitomi

From: [EMAIL PROTECTED]
Subject: Re: LyX Japanese Documents
Date: 12 Apr 1999 20:41:52 +0900
Message-ID: [EMAIL PROTECTED]

 
 Please try this against lyx-1.0.0 + lyx-jp-patch
 
 Regards,
 SMiyata

I try it. It works well. Lines are correctly broken even if white
space and protected space are included.

I will use it extensively and report later.

Kohtaro Hitomi





Little patch

1999-04-12 Thread Etienne Grossmann



  Hello,

  this is a very little patch for the array entry in the UserGuide.lyx
document : it says that "M-x math-matrix" (is that specific to emacs
keybindings?) and that one can modify an array (i.e. add columns or
change alignment) by hand-modifying the .lyx file.

  Cheers,

  Etienne

==
--- UserGuide.lyx.orig  Fri Jan 15 14:10:43 1999
+++ UserGuide.lyx   Fri Jan 15 14:11:21 1999
@@ -1,4 +1,4 @@
-#This file was created by lasgoutt Mon Dec 28 14:07:02 1998
+#This file was created by etienne Fri Jan 15 14:11:19 1999
 #LyX 1.0 (C) 1995-1998 Matthias Ettrich and the LyX Team
 \lyxformat 2.15
 \textclass book
@@ -16740,6 +16740,11 @@
 \layout Standard
 
 Arrays, such as matrices, are easily entered in LyX.
+ Typing
+\family sans 
+ M-x math-matrix 2 3 
+\family default 
+creates a matrix with 3 rows and 2 columns.
  In the 
 \family sans 
 Math
@@ -16794,6 +16799,23 @@
 \family default 
 \series default 
 , but you can't add or delete columns, yet.
+ In fact, you can, if you are willing to hand-modify the .lyx file : the
+ array is written there like a 
+\latex latex 
+
+\backslash 
+LaTeX 
+\latex default 
+array, so you may add columnsor change their justifications.
+ You should be careful to modify it 
+\begin_inset Quotes eld
+\end_inset 
+
+cleanly
+\begin_inset Quotes erd
+\end_inset 
+
+.
  Here's another example, with different alignments on the three columns:
 \begin_inset Formula 
 \[



Re: Multidocument fixes

1999-04-12 Thread Amir Karger

The new reference feature and the new bibtex stuff are great. Now, is there
any chance that we could put them together?

In my thesis, I include the bibtex file in my main thesis.lyx. But all of my
citations are given in the included files. If I try Insert-Citation in
thesis.lyx, I get the list of all the citations from the bibtex file
(neat!). But if I try to insert a citation in one of the included files,
the combobox has no entries. It would be really neat if the included file
knew that its parent had a bibliography from bibtex.

Perhaps part of the problem is that the citation popup disappears when you
switch documents. Why does it disappear but the reference popup doesn't?

Hm. If I have two unrelated files (i.e. not parent and child) and I open 
the references popup in one and then switch to the other file, I still have
the references for the first file in the references popup. They stay until I
hit Update. Should that update happen automatically when I go from one file
to the next? (If I move between two *children* and type update, nothing
happens, since they both have all of the references from their parent
document.)

-Amir



Re: lyx-doc list

1999-04-12 Thread Mate Wierdl

A lyxdoc list is fine with me.
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



Bug? report: unable to generate dvi in very specific case.

1999-04-12 Thread Pierre-Henri Boinnard


Description : A footnote, that ends with the "" character, anywhere in the
Author environment make the output impossible. 

Trace extract : 
multiple time the following
...
l.39 \maketitle
   
I can't figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
! Missing \cr inserted.
text 
\cr 
l.39 \maketitle
   
I'm guessing that you meant to end an alignment here.
! Misplaced \cr.
text \cr 
...

Please see enclosed fr_Tutorial_bug.lyx.

For more debug traces, please ask me.

Pierre-Henri BOINNARD
email:[EMAIL PROTECTED]


#This file was created by phb Tue Apr 13 02:47:36 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass book
\language french
\inputencoding latin1
\fontscheme default
\graphics none
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle headings

\layout Title

Le Manuel d'Apprentissage de LyX
\layout Author

par Amir Karger et le LyX Team
\begin_float footnote 
\layout Standard

Merci d'envoyer vos commentaires sur ce premier jet de traduction à : pierre-hen
[EMAIL PROTECTED], [EMAIL PROTECTED], Denis Valdenaire dvaldenaire@mu
ltimania.com
\end_float 
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter

Introduction
\layout Section

Bienvenue dans l'univers de LyX!
\layout Standard

Ce document est destiné à tous ceux qui n'ont jamais entendu parlé de LaTeX,
 ou qui ne le connaissent pas bien.
 Surtout, pas de panique - vous ne devrez pas apprendre LaTeX pour utiliser
 LyX.
 C'est précisément le but de LyX: fournir une interface quasi-WYSIWYG pour
 LaTeX.
 Néanmoins, vous aurez quelques connaissances à acquérir pour utiliser LyX
 efficacement.
\layout Standard

\the_end



Bibkeys and multidoc (was Re: Multidocument fixes

1999-04-12 Thread Alejandro Aguilar Sierra

On Mon, 12 Apr 1999, Amir Karger wrote:

 The new reference feature and the new bibtex stuff are great. Now, is there
 any chance that we could put them together?

No, they are not the same thing. What I have just commited cleans a bit
the bibtex code in the 1.0 way (using inset codes instead of browsing the
generated latex code) and moved it to Buffer, since the bibkeys are buffer
properties. This allowed me to use the same old trick to give multipart
document support for bibkeys.

How it works:

1. Be sure to have all the children their parent updated, poping up
   the cross reference list in the master doc. (can work also inserting
   a bibref in the parent).

2. Insert a citation anywhere in your document, it doesn't matter if
   the bibliography (or bibtex inset) is in the parent document or
   in any of the children.

 
 Perhaps part of the problem is that the citation popup disappears when you
 switch documents. Why does it disappear but the reference popup doesn't?

Because when you want to insert a citation, the inset is inserted first. 
The popup depends on the existence of a citation inset. OTOH when
inserting a reference, the popup appears first to let you choose from the
list. 
 
 Hm. If I have two unrelated files (i.e. not parent and child) and I open 
 the references popup in one and then switch to the other file, I still have
 the references for the first file in the references popup. They stay until I
 hit Update. Should that update happen automatically when I go from one file
 to the next?

well, this misfeature was used as a workaround before the sharing
reference stuff, so I see no reason to not make it automatic. 

Alejandro



Re: Multidocument fixes

1999-04-12 Thread Allan Rae

On Mon, 12 Apr 1999, Amir Karger wrote:

 The new reference feature and the new bibtex stuff are great. Now, is there
 any chance that we could put them together?
 
 In my thesis, I include the bibtex file in my main thesis.lyx. But all of my
 citations are given in the included files. If I try Insert-Citation in
 thesis.lyx, I get the list of all the citations from the bibtex file
 (neat!). But if I try to insert a citation in one of the included files,
 the combobox has no entries. It would be really neat if the included file
 knew that its parent had a bibliography from bibtex.

These new features keep sneaking in.  So given a little longer I'm sure
it'll be made to work as you describe.  Alejandro has committed some new
changes overnight so maybe they cover this situation.

 Perhaps part of the problem is that the citation popup disappears when you
 switch documents. Why does it disappear but the reference popup doesn't?

Well they both used to disappear and people complained that they couldn't
use any dirty tricks to get references from other documents so I put
reference popup back again.  The reason the citation popup is hidden is
that it is buffer-specific like a lot of other popups.  For example,  if
you have a citation already in your document and you open the citation
popup then switch documents what should LyX do?  Insert in the new doc?
Blindly change the old doc?   I elected to hide such buffer-related popups
and there are a quite a few of them.

You'll also notice if you open the Document or Paper popups that they
update to the new buffers settings.  This scheme is fairly simple but not
all popups have been converted in 1.0.x whereas most have been in 1.1.x
where they have also been greatly modified.

 Hm. If I have two unrelated files (i.e. not parent and child) and I open 
 the references popup in one and then switch to the other file, I still have
 the references for the first file in the references popup. They stay until I

This is the dirty trick I mentioned above.

 hit Update. Should that update happen automatically when I go from one file
 to the next? (If I move between two *children* and type update, nothing
 happens, since they both have all of the references from their parent
 document.)

I started looking at automatically updating and determining parent docs
and such ages ago but never got finished.  I suspect Alejandro's recent
changes may be close to the functionality you describe.

Allan. (ARRae)



Re: NOTE bug

1999-04-12 Thread Allan Rae

On Mon, 12 Apr 1999, Jean-Marc Lasgouttes wrote:

  "Tony" == Tony Dancer [EMAIL PROTECTED] writes:
 
 Tony  I have noticed a bug which seems to still be present in the
 Tony latest pre-release.  When i insert a note in my document, i find
 Tony that once the note is entered, if i then choose to delete the
 Tony note with back-delete (immediately after inserting - and the
 Tony error seems to be most prevelant at current insertion point or
 Tony end of paragraph), i get a SIGSEGV signal caught and lyx
 Tony crashes.
  
 Could you try the appended patch? It was useful for inseturl to
 prevent a similar problem on solaris. Are you using solaris, by
 chance?

I've been able to reproduce this on Solaris-2.5.
Your patch makes absolutely no difference :(
I get the same backtrace as Tony provided with/without your patch.

Any other suggestions?

Allan. (ARRae)



hollywood/broadway fixes

1999-04-12 Thread Garst R. Reese

Sorry, I needed some /raggedleft's in the .cls files
and small fixes in the .layout files
The attached file untars in hollywood and has tex and layouts subdirs.
I thought the /sloppy in the layout files would take care of stopping
hyphenation, but when I looked at the ps view there were hyphenated
lines.
That's what I get for hurrying.
Thanks,
   Garst
 hollywood.tgz


thesis template and italian translation (was Re: Binary Lyx notstarts !!!)

1999-04-12 Thread Allan Rae

On Fri, 9 Apr 1999, claudio wrote:

 Allan Rae wrote:
  As in lyx document templates?  Currently all document templates are in the
  distribution.  We are supposed to be adding a template and example doc
  repository provided we get a volunteer to support it.
 
 I would like , but I have no time for now ( I'm finishing to study, last
 object and thesis ), my question was direct to the fact I have to write
 thesis, but I don't see a template for this , how can I resolve the
 problem ? maybe I have to use the layout for writing it, I would like to
 have it ready
 
We don't have a thesis template.  The main reason for this is that there
is no single standard -- every University seems to have its own ideas of
how a thesis should be setup.  You should be able to do most of your
thesis using the book class.

Somebody mentioned some time ago on the list that they were working on
a University of Columbia(?) thesis layout and template.  So I've cc'd this
to the list so hopefully they can respond.

[...]
 Maybe could I translate something , when I have some time ,what do you
 think about ??

That would be great! 

There is noone else currently working on an Italian translation so you
will need to check the "Non-English" page on the www.devel.lyx.org site
for useful info on what different areas can be translated and how. There
is plenty of useful info and instructions and if you get stuck, ask.

Allan. (ARRae)




Re: broadway & hollywood

1999-04-12 Thread Martin Vermeer

> Keep up the fantastic work, Garst.  You're doing some of the most important
> development work for LyX, don't ever think otherwise.

I most definitely and emphatically agree. `Useability' is a less glamourous 
but extremely important part of LyX development.

That $300 brought another idea to my mind: What about creating a small company 
`Class & Style, Inc' to create class and style files on commission? I suspect 
there are potential users out there that would be willing to pay even if the 
code is later released into the LyX space for free.

On the other hand...

Martin




LyX 1.0.0: Bug in \maketitle with multiple docs

1999-04-12 Thread Fred Hucht

Hi LyXers,

when you put only the title stuff into a seperate file, \maketitle is
not appended to the tex file. One has to put one line with a hard
space at the end of the file to cause LyX to write the line \maketitle.

Version: LyX-1.0.0

Have fun,

 Fred

Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
Email: [EMAIL PROTECTED]   http://www.thp.Uni-Duisburg.DE/
"Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper"
(E. Landau, Zahlentheorie (1927), Satz 718)



Re: broadway & hollywood

1999-04-12 Thread Jean-Marc Lasgouttes


Helle Garst,

I applied the patches and added the file to my local cvs
repositories. I'll commit that soon.

JMarc



Re: LyX Japanese Documents

1999-04-12 Thread Asger Alstrup Nielsen

> Asger, is the proposal of Wed, 18 Mar 1998 still valid?
> I still think ElementType class you proposed is the best for addressing
> this problem.  By letting ElementType getNextElementType() to return
> "Word" if the cursor is on  or other east Asian character, and
> if the next element is not a certain punctuation, we will be able to
> have a working line breaking algorithm.  UnicodeData will be of
> use here.

The principle is still valid.  The implementaton will be different:  Instead of
having one getNextElementType that will handle all kinds of elements, I think
we should introduce a separate iterator for each type.
So, we will have a "breakPoint" iterator that will give us the points in the
data structure where we can be a line break. This one will be able to support
the line breaks that are needed for your situation. And the flow logic will use
this one, so I think we have solved this problem for Asian languages.

Greets,

Asger



Re: Namespaces (was: string vs. LString)

1999-04-12 Thread Asger Alstrup Nielsen

> Asger seems to want to make extensive use of namespaces and to a certain
> extent I can see that as being a good way to enforce the notion of
> ownership to the various modules.  So we could have a gui namespace and an
> Inset namespace among others.  If we then use namespaces in our code we
> can use namespaces from stl (which involves using different headers).

Yes, I would like to use namespaces more.
My feeling is that the bad things about global functions and variables does not
exists anymore when you have namespaces.  Suddenly, there is nothing wrong with
having global functions and variables, and this change opens up some methods of
coding that were previously packed away as bad coding style.

With namespaces, I feel it's easier to let the code express what things are. 
For instance, the encoding facility is a global means of performing encoding
conversions, that does not depend on any state or context. So I don't see why
this feature should not just be exactly that in the code:  an independent
global function that does the conversion.

Regarding whether we should *require* support for namespaces from the compiler
or not:  I have no real opinion on this.  I'm sure that we can make things work
without proper namespace support, and that is a good thing.  The important
thing is that the developers will be able to exploit the concept of namespaces,
and if their compiler is up to it, get the extra safety from the compiler.

I find it hard to make a list of things that we want from the compiler in
advance.  I'm more into the lazy style:  Just code, and then take care of the
problems when they appear.  That's what we have been doing so far, and it seems
to work pretty well.  Of course, we are demanding more things from the
compilers now, and it might turn out that we have to set some minimum
requirements, but until we know more about the problems, it's hard to say what
those are.

Greets,

Asger



Re: thesis template and italian translation (was Re: Binary Lyx notstarts !!!)

1999-04-12 Thread Jean-Marc Lasgouttes

> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

Allan> Somebody mentioned some time ago on the list that they were
Allan> working on a University of Columbia(?) thesis layout and
Allan> template.  So I've cc'd this to the list so hopefully they can
Allan> respond.

Have a look at ftp.lyx.org/pub/lyx/contrib/CU-Thesis.tar.gz. I don't
know much about what's in there, but John Weiss can probably tell
more.


JMarc



Re: Namespaces (was: string vs. LString)

1999-04-12 Thread Jean-Marc Lasgouttes

> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

Allan> Asger seems to want to make extensive use of namespaces and to
Allan> a certain extent I can see that as being a good way to enforce
Allan> the notion of ownership to the various modules.  So we could
Allan> have a gui namespace and an Inset namespace among others.  If
Allan> we then use namespaces in our code we can use namespaces from
Allan> stl (which involves using different headers).

Well, I see it as good but not necessarily required if we do not want
to lock out a number of compilers...

JMarc



Re: small bug in lyx1.0.1:usepackage times not removed

1999-04-12 Thread Jean-Marc Lasgouttes

> "Arnd" == Arnd Hanses <[EMAIL PROTECTED]> writes:

Arnd> Hi, just for the record (aka: Bugs.lyx) two little annoyances:

Arnd> Select document->times->Ok

Arnd> preview ps: times is used.

Arnd> Select document->default->Ok

Arnd> preview ps: times is still used.

What happens if you insert and remove a character, to force LyX to
re-generate the LaTeX file? I think the problem is there...

Arnd> Remedy: Remove the usepackage times command by hand.

Arnd> This happens in rare cases, normally it works. I could not yet
Arnd> find out what triggers this behaviour.


Arnd> Numbers on number key pad (German DIN keyboard) work, the
Arnd> functions there, don't. (Probably xforms?).

What functions do you mean? When num-lock is off?

JMarc



Re: Docs in 1.0.2pre1

1999-04-12 Thread Jean-Marc Lasgouttes

> "Daniel" == Daniel Naber <[EMAIL PROTECTED]> writes:

Daniel> Hi, maybe we should change the BUGS file in 1.0.2 so that it
Daniel> doesn't contain that footnote about "January 1999" anymore?

I removed the footnote (and removed the bug report about \sqrt).

JMarc



Re: 1.0.2pre1: ReplaceAll button not disabled

1999-04-12 Thread Jean-Marc Lasgouttes


I applied the patch. Thanks.

JMarc



Re: Lyx crash v1.0.1, OS/2 binary distribution

1999-04-12 Thread miyata

"Kovacs Istvan" <[EMAIL PROTECTED]> wrote:

> The formulae may be broken, they also include TeX code inserted via the
> math-insert command from the mini buffer (namely, \sqrt[3]{Z_1+Z_2}).
> I'm no TeX wizard...

\sqrt[3]{Z_{1}+Z_{2}} does not crash LyX.  However, please wait
1.0.2 for n-th root support.

Regards,
SMiyata



Re: LyX Japanese Documents

1999-04-12 Thread miyata

Hi,

"Kohtaro Hitomi" <[EMAIL PROTECTED]> wrote:

> Japanese patch.  Suppose a Japanese sentence
> includes English name, for example Donald Knuth. Japanese
> sentences in general  don't includes white space. If a white space
> is included in a sentence, LyX recoginizes a sentence as two very
> long words and try to make it right justfied. As the results, the line is
> broken at the white spece. This makes a document difficult to read.

Please try this against lyx-1.0.0 + lyx-jp-patch

Regards,
SMiyata

begin 666 diff.bz2
M0EIH.3%!629366P16QP``$U?@&`P06OV"H"_Y=[.0`#]2V)-!IH\H
M!IH80``-`>IIH:#4](&(R#3)@0-!IB9H.8!-,`F0P`!,$P```2@HGI1
MZ">HT'IJ;3)#30]0T>4`T:/48$20C554&22VMT_:([VKM;3)2ZY!+O1+]T]5
M_SCU:P3O%&[C/Y2"`C:BS7#VM/Z60H,(<043\2J1P:FUJMK^E@I#"+-*ZV/A
ML(LA!J33R)K.O'9SR(?<_BXCI@&9W7C%NA#@RS19:BLE44K(]CT3[\RJ)WZA
MLRFSZ7.\_LUUK4$J0^J8Z)0S<`EI4>F[$`?0LW?0ZLP*P]`P3)J.)$Z5@N`&
MS&"107JGET(AF4)V9*@_K.T%B7(MKAD$>\G,WB0M=BQ`HJI_-T4PO,!-G-!0
651IS2E%B$I#

better BibTeX support

1999-04-12 Thread Jochen Kuepper

Hey All,

I just upgraded to the latest lyx-1_0_x cvs-sources and found that wonderfull
new feature. 
(Well, I am sorry I don't have time to follow the list right now.)

Two suggestions regarding the bibtex-entry-key-combobox (hey, I am German, we
are used to use words two lines long, or so):

- make it bigger
  Well, it would make live much easier to show approx 10 entries or so, and
  also make it wide enough to show the full keys - or probably just 1.5 times
  as wide as it is right now.
  Sorry, I won´t get into XForms any more, but probably it's quite easy for one
  of you guys.

- sort the entries alphabetically.
  By taking a quick look at the sources this might be probably something for
  1.1, when it uses a vector< string >, so you can just stable_sort that :-)

Still, like it - and 
I will use it even with my moderatly big databases, I guess.

Greetings,
Jochen
---
  Jochen Küpper

  Heinrich-Heine-Universität Düsseldorf [EMAIL PROTECTED]
  Institut für Physikalische Chemie I
  Universitätsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
  40225 Düsseldorf fax   ++49-211-8115195
  Germany http://www-public.rz.uni-duesseldorf.de/~jochen
---



Re: Translation of the tutorial into french.

1999-04-12 Thread Amir Karger

On Fri, Apr 09, 1999 at 08:08:10PM +0200, Denis Valdenaire wrote:
> I don't know if it is the right place to ask but i consider studying LyX
> and translate it to french = the language we talk in Paris :)

Yes, this is the right place to ask.  And we would love to have things
translated into another language! I assume you're talking about translating
the documentation, since the menus, key bindings etc. have already 
been translated.

> Well, i got two questions : 
> Could i somehow organize this french translation ? i suppose i can't
> make it alone...

Check out the Translations page at www.devel.lyx.org, which suggests that
you should translate the Introduction, splash page, and Tutorial first. I'll
put your name in as the French translation contact on that page. 

> Who can help me when i - anyone who helps me - got terrible doubt about
> the meaning ?

There are at least a couple french/english speakers on the developer's list.
Jean-Marc Lasgouttes --- [EMAIL PROTECTED] --- has been on the 
list for ages, so he knows about LyX, and his English is good (I don't know
about his French :) so he's a good person to talk to. If you have trouble
with a weird English idiom, you could mail me ([EMAIL PROTECTED]).

By the way, Jean-Marc, can you tell us if there's anyone else working on
French translations? It would be a shame to duplicate effort...

>  Thanks a lot if you can directly answer me as i'm not concerned by
> development.

OK. There's a very low volume "list" (more like an alias) of lyx
documentation folk.

-Amir



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Jean-Marc Lasgouttes

> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:

Amir> On Sun, Apr 11, 1999 at 09:36:29PM +, Daniel Naber wrote:
>> I found the slide and removed nearly all non-critical lines. The
>> attached file should be the (nearly) minimal file that produced the
>> error.
>> 

>> \documentclass[a4paper]{slides} \usepackage{tla,german,latexsym}
>> 
>> \begin{tabular}{lll} $#$ & \verb$#$ & \verb$\neq$ \\ $\/$ &
>> \verb$\/$ & \verb$\lor$ \\ \end{tabular}
>> 

Amir> Aha! It's not my fault! Well, maybe it's not my fault. This
Amir> might be a "tla" issue, whatever tla is.

Amir, does reLyX support \verb's syntax, like in \verb|foo| or
\verb$bar$? 

JMarc



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Amir Karger

On Mon, Apr 12, 1999 at 03:46:24PM +0200, Jean-Marc Lasgouttes wrote:
> 
> >> \begin{tabular}{lll} $#$ & \verb$#$ & \verb$\neq$ \\ $\/$ &
> >> \verb$\/$ & \verb$\lor$ \\ \end{tabular}
> 
> Amir> Aha! It's not my fault! Well, maybe it's not my fault. This
> Amir> might be a "tla" issue, whatever tla is.
> 
> Amir, does reLyX support \verb's syntax, like in \verb|foo| or
> \verb$bar$? 

Yup. I was concerned at first that reLyX might be changing both of those $
signs into a \( \) pair before it dealt with the \verb command.
Surprisingly, it seems like the guy who coded reLyX brilliantly foresaw that
possibility. Or did it by accident, more likely. Anyway, \verb$a$ translates
just fine.

-Amir



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Jean-Marc Lasgouttes

> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:

Amir> On Mon, Apr 12, 1999 at 03:46:24PM +0200, Jean-Marc Lasgouttes
Amir> wrote:
>>  >> \begin{tabular}{lll} $#$ & \verb$#$ & \verb$\neq$ \\ $\/$ & >>
>> \verb$\/$ & \verb$\lor$ \\ \end{tabular}
>> 
Amir> Aha! It's not my fault! Well, maybe it's not my fault. This
Amir> might be a "tla" issue, whatever tla is.
>>  Amir, does reLyX support \verb's syntax, like in \verb|foo| or
>> \verb$bar$?

Amir> Yup. I was concerned at first that reLyX might be changing both
Amir> of those $ signs into a \( \) pair before it dealt with the
Amir> \verb command.  Surprisingly, it seems like the guy who coded
Amir> reLyX brilliantly foresaw that possibility. Or did it by
Amir> accident, more likely. Anyway, \verb$a$ translates just fine.

And \url? It accepts both the \url{...} and \url|...| syntaxes. 

JMarc



Re: Translation of the tutorial into french.

1999-04-12 Thread Jean-Marc Lasgouttes

> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:

Amir> On Fri, Apr 09, 1999 at 08:08:10PM +0200, Denis Valdenaire
Amir> wrote:
>> I don't know if it is the right place to ask but i consider
>> studying LyX and translate it to french = the language we talk in
>> Paris :)

Amir> Yes, this is the right place to ask.  And we would love to have
Amir> things translated into another language! I assume you're talking
Amir> about translating the documentation, since the menus, key
Amir> bindings etc. have already been translated.

There is still more work to do there.

Amir> Check out the Translations page at www.devel.lyx.org, which
Amir> suggests that you should translate the Introduction, splash
Amir> page, and Tutorial first. I'll put your name in as the French
Amir> translation contact on that page.

Please put Pierre-Henri Boinnard <[EMAIL PROTECTED]>
there instead. He has a more advanced translation already (I just know
it since friday...). I'll commit what is showable today.

Amir> There are at least a couple french/english speakers on the
Amir> developer's list.  Jean-Marc Lasgouttes ---
Amir> [EMAIL PROTECTED] --- has been on the list for ages,
Amir> so he knows about LyX, and his English is good (I don't know
Amir> about his French :) so he's a good person to talk to. If you
Amir> have trouble with a weird English idiom, you could mail me
Amir> ([EMAIL PROTECTED]).

Why are you showing off your nice [EMAIL PROTECTED] address and do not
mention my nicer [EMAIL PROTECTED]?? Envy?

Seriously, I already put Pierre Henri and David in contact and have
great hopes that they will manage the translation work without needing
me :)

Amir> By the way, Jean-Marc, can you tell us if there's anyone else
Amir> working on French translations? It would be a shame to duplicate
Amir> effort...

I just answered to this question 20 lines earlier in this mesage. You
have not been reading carefully.

>> Thanks a lot if you can directly answer me as i'm not concerned by
>> development.

Amir> OK. There's a very low volume "list" (more like an alias) of lyx
Amir> documentation folk.

Yes, it would be a good idea to manage this list from lists.lyx.org
and let anybody subscribe.

JMarc



Re: ellipsis insertion from keyboard

1999-04-12 Thread Jean-Marc Lasgouttes

> "John" == John Wetterau <[EMAIL PROTECTED]> writes:

John> Hi, Inserting the special character, ellipsis . . . , from the
John> keyboard doesn't work in LyX 1.01. M-i,s,i goes
John> unrecognized. LyX is terrific. Keep up the good work.

Hello,

Thanks for the report. In fact, it was bound to M-i s p. I chnaged
that.

JMarc



Re: thesis template and italian translation (was Re: Binary Lyx not starts !!!)

1999-04-12 Thread Richard E. Hawkins Esq.


allan added,


> We don't have a thesis template.  The main reason for this is that there
> is no single standard -- every University seems to have its own ideas of
> how a thesis should be setup.  You should be able to do most of your
> thesis using the book class.

> Somebody mentioned some time ago on the list that they were working on
> a University of Columbia(?) thesis layout and template.  So I've cc'd this
> to the list so hopefully they can respond.

Just an idea, but how about using something well documented, such as 
the University of Chicago, and do others as a diff from that?

rick, who still curses the fact that his copy of Terrabian (sp?) is one 
of only two books from his education that he can't find (the other 
being Complex Variables)


-- 




NOTE bug

1999-04-12 Thread Tony Dancer


 I have noticed a bug which seems to still be present in the latest
 pre-release.
 When i insert a note in my document, i find that once the note is
 entered, if i then choose to delete the note with back-delete
(immediately after inserting - and the error seems to be most prevelant
at current insertion point or end of paragraph), i get a SIGSEGV signal
caught and lyx crashes.
 
i did a back trace under gdb.after some more trial-and-error (or
trial-and-crash) testing it seems to do it most when a note is inserted
then removed at the end of a
paragraph or at the point of the end of typing (ie. the insertion point
as you type) rather than say in the middle of a pre-existant paragraph.
This may be nonsense, but that it what it appears to do.

Anyhow, the output for the backtrace follows:


Program received signal SIGSEGV, Segmentation fault.
0x4003d08e in do_keyboard ()
Current language:  auto; currently c
(gdb) bt
#0  0x4003d08e in do_keyboard ()
#1  0x4003d7e9 in do_interaction_step ()
#2  0x4003de82 in fl_treat_interaction_events ()
#3  0x4003dec0 in fl_check_forms ()
#4  0x8058172 in LyXGUI::runTime (this=0x825aa48) at lyx_gui.C:629
#5  0x804dfd2 in LyX::LyX (this=0xbbd4, argc=0xbc78,
argv=0xbc8c) at ../src/lyx_main.C:128
#6  0x804d8b2 in main (argc=2, argv=0xbc8c) at ../src/main.C:51
(gdb) 


Tony



lyxdoc mailing list? [was: Re: Translation of the tutorial into french.]

1999-04-12 Thread Amir Karger

On Mon, Apr 12, 1999 at 03:57:06PM +0200, Jean-Marc Lasgouttes wrote:

[Lots of really useful stuff snipped]

> >> Thanks a lot if you can directly answer me as i'm not concerned by
> >> development.
> 
> Amir> OK. There's a very low volume "list" (more like an alias) of lyx
> Amir> documentation folk.
> 
> Yes, it would be a good idea to manage this list from lists.lyx.org
> and let anybody subscribe.

Interesting idea. Mate? I assume this wouldn't be hard. Lars? Do you think
this is a good idea? It's conceivable though improbable that having an
official mailing list for this would lure more people to the doc effort. Of
course, that will make mailing.html that much longer.

-Amir



Re: NOTE bug

1999-04-12 Thread Jean-Marc Lasgouttes

> "Tony" == Tony Dancer <[EMAIL PROTECTED]> writes:

Tony>  I have noticed a bug which seems to still be present in the
Tony> latest pre-release.  When i insert a note in my document, i find
Tony> that once the note is entered, if i then choose to delete the
Tony> note with back-delete (immediately after inserting - and the
Tony> error seems to be most prevelant at current insertion point or
Tony> end of paragraph), i get a SIGSEGV signal caught and lyx
Tony> crashes.
 
Could you try the appended patch? It was useful for inseturl to
prevent a similar problem on solaris. Are you using solaris, by
chance?

JMarc


 insetinfo.C.diff


Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Amir Karger

On Mon, Apr 12, 1999 at 03:52:02PM +0200, Jean-Marc Lasgouttes wrote:
> > "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:
> 
> Amir> Yup. I was concerned at first that reLyX might be changing both
> Amir> of those $ signs into a \( \) pair before it dealt with the
> Amir> \verb command.  Surprisingly, it seems like the guy who coded
> Amir> reLyX brilliantly foresaw that possibility. Or did it by
> Amir> accident, more likely. Anyway, \verb$a$ translates just fine.
> 
> And \url? It accepts both the \url{...} and \url|...| syntaxes. 

I'm afraid not. In fact, we don't even support \url{} right now. How should
it be translated? I don't know that I'll have time to do it in the near
future, but I might as well know what to do so I can put it on my todo list.
I suppose we could have CleanTeX translate \url|foo| to \url{foo}, by
pretending that it's \verb|foo|, copying it exactly, then replacing the |
with { and }. Hm. Will there be anything within the url that CleanTeX needs
to translate otherwise? I don't think so. For example, we don't really want
to put braces around arguments to _ within a url!

-Amir



Re: reLyX/mathed '#' bug [was Re: bug in 1.0.2pre1/relyx?]

1999-04-12 Thread Jean-Marc Lasgouttes

> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:

Amir> I'm afraid not. In fact, we don't even support \url{} right
Amir> now. How should it be translated? I don't know that I'll have
Amir> time to do it in the near future, but I might as well know what
Amir> to do so I can put it on my todo list.  I suppose we could have
Amir> CleanTeX translate \url|foo| to \url{foo}, by pretending that
Amir> it's \verb|foo|, copying it exactly, then replacing the | with {
Amir> and }. Hm. Will there be anything within the url that CleanTeX
Amir> needs to translate otherwise? I don't think so. For example, we
Amir> don't really want to put braces around arguments to _ within a
Amir> url!

Anyway the url support is rather hackish, and I do not think that
reLyX could support it correctly. How would you guess that
  See the LyX Homepage \url{www.lyx.org}
should be tranlated to something like
  See the [InsetUrl desc='LyX Homepage ' name='www.lyx.org']

There i not much hope there... But at least you should be able to know
where to begin ERT and where to end it.

JMarc



Re: broadway & hollywood

1999-04-12 Thread Garst R. Reese

Martin Vermeer wrote:
> 
> > Keep up the fantastic work, Garst.  You're doing some of the most important
> > development work for LyX, don't ever think otherwise.
> 
> I most definitely and emphatically agree. `Useability' is a less glamourous
> but extremely important part of LyX development.
> 
> That $300 brought another idea to my mind: What about creating a small company
> `Class & Style, Inc' to create class and style files on commission? I suspect
> there are potential users out there that would be willing to pay even if the
> code is later released into the LyX space for free.
> 
> On the other hand...
I'll reserve that for people in a great hurry :) I'm quite happy to have
found something to give back.
I am making contacts with other people contributing web pages on screen
writing and listing software tools to let them know about LyX.
see for ex.
http:\\www.tvwriter.com
--
Garst



docs update

1999-04-12 Thread Amir Karger

Well, I finally went and changed -> to menuseparator. I think I caught all
of them. I also had to change language slightly a couple times (e.g. when
people referred to the Layout->Document popup, which is isn't).

I hopefully didn't ruin anything. I won't guarantee that everything's right
tho. Reference.lyx is most likely to have problems, since I had to do it
by hand. But Reference.lyx still has a couple thousand person-hours of work
before it's done anyway, so maybe that's not such a problem.

-Amir



Re: LyX Japanese Documents

1999-04-12 Thread Kohtaro Hitomi

From: [EMAIL PROTECTED]
Subject: Re: LyX Japanese Documents
Date: 12 Apr 1999 20:41:52 +0900
Message-ID: <[EMAIL PROTECTED]>

> 
> Please try this against lyx-1.0.0 + lyx-jp-patch
> 
> Regards,
> SMiyata

I try it. It works well. Lines are correctly broken even if white
space and protected space are included.

I will use it extensively and report later.

Kohtaro Hitomi





Little patch

1999-04-12 Thread Etienne Grossmann



  Hello,

  this is a very little patch for the array entry in the UserGuide.lyx
document : it says that "M-x math-matrix" (is that specific to emacs
keybindings?) and that one can modify an array (i.e. add columns or
change alignment) by hand-modifying the .lyx file.

  Cheers,

  Etienne

==
--- UserGuide.lyx.orig  Fri Jan 15 14:10:43 1999
+++ UserGuide.lyx   Fri Jan 15 14:11:21 1999
@@ -1,4 +1,4 @@
-#This file was created by  Mon Dec 28 14:07:02 1998
+#This file was created by  Fri Jan 15 14:11:19 1999
 #LyX 1.0 (C) 1995-1998 Matthias Ettrich and the LyX Team
 \lyxformat 2.15
 \textclass book
@@ -16740,6 +16740,11 @@
 \layout Standard
 
 Arrays, such as matrices, are easily entered in LyX.
+ Typing
+\family sans 
+ M-x math-matrix 2 3 
+\family default 
+creates a matrix with 3 rows and 2 columns.
  In the 
 \family sans 
 Math
@@ -16794,6 +16799,23 @@
 \family default 
 \series default 
 , but you can't add or delete columns, yet.
+ In fact, you can, if you are willing to hand-modify the .lyx file : the
+ array is written there like a 
+\latex latex 
+
+\backslash 
+LaTeX 
+\latex default 
+array, so you may add columnsor change their justifications.
+ You should be careful to modify it 
+\begin_inset Quotes eld
+\end_inset 
+
+cleanly
+\begin_inset Quotes erd
+\end_inset 
+
+.
  Here's another example, with different alignments on the three columns:
 \begin_inset Formula 
 \[



Re: Multidocument fixes

1999-04-12 Thread Amir Karger

The new reference feature and the new bibtex stuff are great. Now, is there
any chance that we could put them together?

In my thesis, I include the bibtex file in my main thesis.lyx. But all of my
citations are given in the included files. If I try Insert->Citation in
thesis.lyx, I get the list of all the citations from the bibtex file
(neat!). But if I try to insert a citation in one of the included files,
the combobox has no entries. It would be really neat if the included file
knew that its parent had a bibliography from bibtex.

Perhaps part of the problem is that the citation popup disappears when you
switch documents. Why does it disappear but the reference popup doesn't?

Hm. If I have two unrelated files (i.e. not parent and child) and I open 
the references popup in one and then switch to the other file, I still have
the references for the first file in the references popup. They stay until I
hit Update. Should that update happen automatically when I go from one file
to the next? (If I move between two *children* and type update, nothing
happens, since they both have all of the references from their parent
document.)

-Amir



Re: lyx-doc list

1999-04-12 Thread Mate Wierdl

A lyxdoc list is fine with me.
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



Bug? report: unable to generate dvi in very specific case.

1999-04-12 Thread Pierre-Henri Boinnard


Description : A footnote, that ends with the ">" character, anywhere in the
Author environment make the output impossible. 

Trace extract : 
multiple time the following
...
l.39 \maketitle
   
I can't figure out why you would want to use a tab mark
or \cr or \span just now. If something like a right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
! Missing \cr inserted.
text> 
\cr 
l.39 \maketitle
   
I'm guessing that you meant to end an alignment here.
! Misplaced \cr.
text> \cr 
...

Please see enclosed fr_Tutorial_bug.lyx.

For more debug traces, please ask me.

Pierre-Henri BOINNARD
email:[EMAIL PROTECTED]


#This file was created by  Tue Apr 13 02:47:36 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass book
\language french
\inputencoding latin1
\fontscheme default
\graphics none
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle headings

\layout Title

Le Manuel d'Apprentissage de LyX
\layout Author

par Amir Karger et le LyX Team
\begin_float footnote 
\layout Standard

Merci d'envoyer vos commentaires sur ce premier jet de traduction à : pierre-hen
[EMAIL PROTECTED], [EMAIL PROTECTED], Denis Valdenaire 
\end_float 
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter

Introduction
\layout Section

Bienvenue dans l'univers de LyX!
\layout Standard

Ce document est destiné à tous ceux qui n'ont jamais entendu parlé de LaTeX,
 ou qui ne le connaissent pas bien.
 Surtout, pas de panique - vous ne devrez pas apprendre LaTeX pour utiliser
 LyX.
 C'est précisément le but de LyX: fournir une interface quasi-WYSIWYG pour
 LaTeX.
 Néanmoins, vous aurez quelques connaissances à acquérir pour utiliser LyX
 efficacement.
\layout Standard

\the_end



Bibkeys and multidoc (was Re: Multidocument fixes

1999-04-12 Thread Alejandro Aguilar Sierra

On Mon, 12 Apr 1999, Amir Karger wrote:

> The new reference feature and the new bibtex stuff are great. Now, is there
> any chance that we could put them together?

No, they are not the same thing. What I have just commited cleans a bit
the bibtex code in the 1.0 way (using inset codes instead of browsing the
generated latex code) and moved it to Buffer, since the bibkeys are buffer
properties. This allowed me to use the same old trick to give multipart
document support for bibkeys.

How it works:

1. Be sure to have all the children their parent updated, poping up
   the cross reference list in the master doc. (can work also inserting
   a bibref in the parent).

2. Insert a citation anywhere in your document, it doesn't matter if
   the bibliography (or bibtex inset) is in the parent document or
   in any of the children.

 
> Perhaps part of the problem is that the citation popup disappears when you
> switch documents. Why does it disappear but the reference popup doesn't?

Because when you want to insert a citation, the inset is inserted first. 
The popup depends on the existence of a citation inset. OTOH when
inserting a reference, the popup appears first to let you choose from the
list. 
 
> Hm. If I have two unrelated files (i.e. not parent and child) and I open 
> the references popup in one and then switch to the other file, I still have
> the references for the first file in the references popup. They stay until I
> hit Update. Should that update happen automatically when I go from one file
> to the next?

well, this misfeature was used as a workaround before the sharing
reference stuff, so I see no reason to not make it automatic. 

Alejandro



Re: Multidocument fixes

1999-04-12 Thread Allan Rae

On Mon, 12 Apr 1999, Amir Karger wrote:

> The new reference feature and the new bibtex stuff are great. Now, is there
> any chance that we could put them together?
> 
> In my thesis, I include the bibtex file in my main thesis.lyx. But all of my
> citations are given in the included files. If I try Insert->Citation in
> thesis.lyx, I get the list of all the citations from the bibtex file
> (neat!). But if I try to insert a citation in one of the included files,
> the combobox has no entries. It would be really neat if the included file
> knew that its parent had a bibliography from bibtex.

These new features keep sneaking in.  So given a little longer I'm sure
it'll be made to work as you describe.  Alejandro has committed some new
changes overnight so maybe they cover this situation.

> Perhaps part of the problem is that the citation popup disappears when you
> switch documents. Why does it disappear but the reference popup doesn't?

Well they both used to disappear and people complained that they couldn't
use any dirty tricks to get references from other documents so I put
reference popup back again.  The reason the citation popup is hidden is
that it is buffer-specific like a lot of other popups.  For example,  if
you have a citation already in your document and you open the citation
popup then switch documents what should LyX do?  Insert in the new doc?
Blindly change the old doc?   I elected to hide such buffer-related popups
and there are a quite a few of them.

You'll also notice if you open the Document or Paper popups that they
update to the new buffers settings.  This scheme is fairly simple but not
all popups have been converted in 1.0.x whereas most have been in 1.1.x
where they have also been greatly modified.

> Hm. If I have two unrelated files (i.e. not parent and child) and I open 
> the references popup in one and then switch to the other file, I still have
> the references for the first file in the references popup. They stay until I

This is the dirty trick I mentioned above.

> hit Update. Should that update happen automatically when I go from one file
> to the next? (If I move between two *children* and type update, nothing
> happens, since they both have all of the references from their parent
> document.)

I started looking at automatically updating and determining parent docs
and such ages ago but never got finished.  I suspect Alejandro's recent
changes may be close to the functionality you describe.

Allan. (ARRae)



Re: NOTE bug

1999-04-12 Thread Allan Rae

On Mon, 12 Apr 1999, Jean-Marc Lasgouttes wrote:

> > "Tony" == Tony Dancer <[EMAIL PROTECTED]> writes:
> 
> Tony>  I have noticed a bug which seems to still be present in the
> Tony> latest pre-release.  When i insert a note in my document, i find
> Tony> that once the note is entered, if i then choose to delete the
> Tony> note with back-delete (immediately after inserting - and the
> Tony> error seems to be most prevelant at current insertion point or
> Tony> end of paragraph), i get a SIGSEGV signal caught and lyx
> Tony> crashes.
>  
> Could you try the appended patch? It was useful for inseturl to
> prevent a similar problem on solaris. Are you using solaris, by
> chance?

I've been able to reproduce this on Solaris-2.5.
Your patch makes absolutely no difference :(
I get the same backtrace as Tony provided with/without your patch.

Any other suggestions?

Allan. (ARRae)



hollywood/broadway fixes

1999-04-12 Thread Garst R. Reese

Sorry, I needed some /raggedleft's in the .cls files
and small fixes in the .layout files
The attached file untars in hollywood and has tex and layouts subdirs.
I thought the /sloppy in the layout files would take care of stopping
hyphenation, but when I looked at the ps view there were hyphenated
lines.
That's what I get for hurrying.
Thanks,
   Garst
 hollywood.tgz


thesis template and italian translation (was Re: Binary Lyx notstarts !!!)

1999-04-12 Thread Allan Rae

On Fri, 9 Apr 1999, claudio wrote:

> Allan Rae wrote:
> > As in lyx document templates?  Currently all document templates are in the
> > distribution.  We are supposed to be adding a template and example doc
> > repository provided we get a volunteer to support it.
> 
> I would like , but I have no time for now ( I'm finishing to study, last
> object and thesis ), my question was direct to the fact I have to write
> thesis, but I don't see a template for this , how can I resolve the
> problem ? maybe I have to use the layout for writing it, I would like to
> have it ready
 
We don't have a thesis template.  The main reason for this is that there
is no single standard -- every University seems to have its own ideas of
how a thesis should be setup.  You should be able to do most of your
thesis using the book class.

Somebody mentioned some time ago on the list that they were working on
a University of Columbia(?) thesis layout and template.  So I've cc'd this
to the list so hopefully they can respond.

[...]
> Maybe could I translate something , when I have some time ,what do you
> think about ??

That would be great! 

There is noone else currently working on an Italian translation so you
will need to check the "Non-English" page on the www.devel.lyx.org site
for useful info on what different areas can be translated and how. There
is plenty of useful info and instructions and if you get stuck, ask.

Allan. (ARRae)