patch for broadway.cls

2000-05-15 Thread Garst R. Reese

Here is the complimentary patch to broadway to ensure page breaks
preventing speaker lines from being broken across a page.
Garst

--- broadway.cls.oldMon May 15 08:49:16 2000
+++ broadway.clsMon May 15 08:55:11 2000
@@ -168,21 +168,22 @@
 \fi
 
 \newenvironment{atrise}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]AT RISE:\ignorespaces}
 {\unskip \end{list}}
 
 \newenvironment{scene}%
-{
-%\stepcounter{scene}
+{\filbreak
+\stepcounter{scene}
 \begin{center}{}{%
 \center}
 \item[]SCENE \ignorespaces}
 {\unskip \end{center}}
 
 \newenvironment{act}%
-{
+{\filbreak
 \stepcounter{act}
 %\setcounter{scene}{0}
 \begin{center}{}{%
@@ -202,6 +203,7 @@
 
 \newenvironment{narrative}%
 {\raggedright
+\filbreak
 \fontshape{it}\selectfont{}
 \begin{list}{}{%
\setlength{\leftmargin}{0in}
@@ -212,7 +214,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{center}{}{%
+{\filbreak
+\begin{center}{}{%
 \center
 \setlength{\parsep}{0mm}
 \setlength{\topsep}{2mm}}



Re: Hollywood class + patch

2000-05-15 Thread Garst R. Reese

Martin Vermeer wrote:
 
 Reading the TeXbook page 111 I see a command \filbreak which will break
 the page where it occurs, unless the stuff to the next \filbreak fits on
 the page too. So you should put it between (around?) all sections that
 you want not to break.
 
 Would this be what you need?
 
 Martin (not very intellignent about TeX)
 --
 Martin Vermeer [EMAIL PROTECTED]   Phone +358 9 295 55 215   Fax +358 9 295 55 200
 Finnish Geodetic InstituteGeodeetinrinne 2FIN-02430 Masala FINLAND
 :wq
That seems to have done the trick.
I just added it at the beginning of the Speaker environment.

The only case where adjustments will have to be made is the rare monolog
that runs over 40 lines. The only one that comes to mind is The Pig in
Waiting for Godot. This is such a corner case that I don't think
anything needs to be done.
Some will think that it leads to too much whitespace, but in scripts
whitespace is a Good Thing (TM).

Thanks Martin.

--- hollywood.cls~  Sun May 14 19:46:32 2000
+++ hollywood.cls   Mon May 15 03:30:41 2000
@@ -189,7 +189,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
\setlength{\leftmargin}{2.5in}
 \setlength{\partopsep}{4mm}
 \setlength{\parsep}{0mm}



Re: new patch for hollywood.cls

2000-05-15 Thread Garst R. Reese

Jean-Marc Lasgouttes wrote:
 
  "Garst" == Garst R Reese [EMAIL PROTECTED] writes:
 
 Garst This supercedes the one I hastily sent. It adds more filbreaks
 Garst to cover stuff that could go in between speakers. Garst
 
 And where is it?
 
 JMarc
Duh, here.

--- hollywood.cls.old   Mon May 15 04:32:26 2000
+++ hollywood.cls   Mon May 15 04:30:53 2000
@@ -158,13 +158,15 @@
 {\unskip \end{list}}
 
 \newenvironment{interior}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]INT. \ignorespaces}
 {\unskip \end{list}}
 
 \newenvironment{exterior}%
-{\begin{list}{}{%
+{filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]EXT. \ignorespaces}
 {\unskip \end{list}}
@@ -180,7 +182,8 @@
 {\unskip \end{list}}
 
 \newenvironment{narrative}%
-{\raggedright
+{\filbreak
+\raggedright
 \begin{list}{}{%
 \leftmargin \rightmargin
 \setlength{\parsep}{2mm}
@@ -189,7 +192,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
\setlength{\leftmargin}{2.5in}
 \setlength{\partopsep}{4mm}
 \setlength{\parsep}{0mm}
@@ -206,7 +210,8 @@
 {\unskip)\end{list}}
 
 \newenvironment{fadeout}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]FADE OUT: \ignorespaces}
 {\unskip \end{list}}



Re: Small change for Extended.lyx

2000-05-15 Thread Jean-Marc Lasgouttes

 "Garst" == Garst R Reese [EMAIL PROTECTED] writes:

Garst The first sentence of 2.12.2 (in Hollywood) "Always preview the
Garst script to find where to insert pagebreaks." Can be deleted when
Garst the patch just sent for hollywood.cls is applied. Garst

Done.

JMarc



Re: new patch for hollywood.cls

2000-05-15 Thread Jean-Marc Lasgouttes

 "Garst" == Garst R Reese [EMAIL PROTECTED] writes:

Garst This supercedes the one I hastily sent. It adds more filbreaks
Garst to cover stuff that could go in between speakers. Garst

And where is it?

JMarc



Re: Basque Translation (eu.po)

2000-05-15 Thread Jean-Marc Lasgouttes

 "blackziggy" == blackziggy  [EMAIL PROTECTED] writes:

blackziggy Hi! I'm Iñaki Larrañaga (aka Dooteo) and I just finished
blackziggy (i think...) the translation of eu.po file for
blackziggy LyX-1.0.3... 

Hello,

Thanks for the files. I'd be glad to add them to our distribution, I
fear that many strings will mismatch with the current version (soon
1.1.5). Would you be willing to update this translation?

I can apply this translation to 1.1.5, if you want, but I'm afraid it
will not be of much use. The best is probably to wait for LyX
1.1.5pre2 (in a few days) and update your translation for it.

blackziggy And now, while a friend of mine is correcting the Intro,
blackziggy Splash  Tutorials handbooks translated a few weeks ago to
blackziggy Basque language (eu) 

Great! Would you like to be added as the Basque maintainer for LyX?

blackziggy When I was reading some
blackziggy information about how to translate this files, I read that
blackziggy to made it I must use docstrip utilities... The matter is
blackziggy that I never used nor Tex nor LaTeX, so, can somebody help
blackziggy me explainig what must I do with this?

Where did you read that?

blackziggy p.d: The files that I just insert in this email are:
blackziggy eu.po, eu.gmo, Credits, Changes and Configure..

Please do not send files like configure and eu.gmo: their are really
to large, and can be regenerated.

JMarc



Re: Paste bug.

2000-05-15 Thread Jean-Marc Lasgouttes

 "Chris" == Chris Eliasmith [EMAIL PROTECTED] writes:

Chris Hi, I'm using 1.1.5pre1 and have a consistent problem copying
Chris and pasting. It occurs when I attempt to copy and paste over
Chris headings and between documents.

Chris Whenever I select text plus a heading (hilighting the numbers
Chris as well) and then goto a different document and hit 'paste', i
Chris get a complete stop and the following:

The following patch should help:

JMarc

Index: src/CutAndPaste.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/CutAndPaste.C,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- src/CutAndPaste.C   2000/04/20 13:48:34 1.7
+++ src/CutAndPaste.C   2000/04/27 09:05:04 1.8
@@ -325,8 +325,8 @@
(*par)-ParFromPos(pos)-PasteParagraph();

// store the new cursor position
-   tmppar = lastbuffer;
-   tmppos = lastbuffer-Last();
+   *par = lastbuffer;
+   pos  = lastbuffer-Last();

// maybe some pasting
if (lastbuffer-Next()  paste_the_end) {
@@ -343,7 +343,6 @@
}
// restore the simple cut buffer
buf = simple_cut_clone;
-   pos = tmppos;
 }
 
 return true;



patches for broadway and hollywood

2000-05-15 Thread Garst R. Reese

The automatic () in parenthetical did not display well in broadway
because I was centering it there. I fixed the problem by using the same
method I used in hollywood.

The attached broadway.cls.diff supercedes the one I sent earlier, as it
also fixes a bug.

I re-ordered the hollywood layout a bit to conform more with usage.

This time I tested the broadway fixes against one of Alice's longer
plays, and all looked fine.

Garst

--- broadway.cls.oldMon May 15 08:49:16 2000
+++ broadway.clsMon May 15 08:55:11 2000
@@ -168,21 +168,22 @@
 \fi
 
 \newenvironment{atrise}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]AT RISE:\ignorespaces}
 {\unskip \end{list}}
 
 \newenvironment{scene}%
-{
-%\stepcounter{scene}
+{\filbreak
+\stepcounter{scene}
 \begin{center}{}{%
 \center}
 \item[]SCENE \ignorespaces}
 {\unskip \end{center}}
 
 \newenvironment{act}%
-{
+{\filbreak
 \stepcounter{act}
 %\setcounter{scene}{0}
 \begin{center}{}{%
@@ -202,6 +203,7 @@
 
 \newenvironment{narrative}%
 {\raggedright
+\filbreak
 \fontshape{it}\selectfont{}
 \begin{list}{}{%
\setlength{\leftmargin}{0in}
@@ -212,7 +214,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{center}{}{%
+{\filbreak
+\begin{center}{}{%
 \center
 \setlength{\parsep}{0mm}
 \setlength{\topsep}{2mm}}


--- broadway.layout.old Mon May 15 10:58:22 2000
+++ broadway.layout Mon May 15 10:50:38 2000
@@ -146,8 +146,12 @@
   MarginStatic
   LatexType Environment
   LatexName parenthetical
-  Align Center
-  AlignPossible Center
+  LeftMarginM
+  TopSep   0.0
+  BottomSep0.0
+  ParSkip  0.0
+  Align Left
+  AlignPossible Left
   LabelTypeStatic
   LabelString  (
   EndLabelType Static


--- hollywood.layout.oldMon May 15 10:58:45 2000
+++ hollywood.layoutMon May 15 01:30:02 2000
@@ -140,7 +140,20 @@
   MarginStatic
   LatexType Environment
   LatexName speaker
-  LeftMarginMM
+  LeftMarginMMM
+  ParSkip   0.0
+  TopSep   1.0
+  BottomSep0.0
+  Align Left
+  AlignPossible Left
+  LabelType No_Label
+End
+# Speaker style definition, identifies speaker  ALL CAPS
+Style Speakername
+  MarginStatic
+  LatexType Environment
+  LatexName speakername
+  LeftMargin
   ParSkip   0.0
   TopSep   1.0
   BottomSep0.0



Re: patches for broadway and hollywood

2000-05-15 Thread Garst R. Reese

"Garst R. Reese" wrote:
 
 The automatic () in parenthetical did not display well in broadway
 because I was centering it there. I fixed the problem by using the same
 method I used in hollywood.
 
 The attached broadway.cls.diff supercedes the one I sent earlier, as it
 also fixes a bug.
 
 I re-ordered the hollywood layout a bit to conform more with usage.

Ouch, I diffed the wrong file on hollywood.layout. It does not need any
changes.
Sorry,
Garst



Re: New citation dialog

2000-05-15 Thread Angus Leeming

Many thanks, Dekel, for working so hard at this and my apologies for the
confusion caused by my original submission with the empty file!

I like very much your inclusion of the info browser. Smashing idea.

I've made some tiny changes to get the thing to compile with DEC cxx (std::
stuff).

I've moved the info browser underneath the other two, and immediately above the
"Text After" box. If the bibliography database is empty, then this info is not
drawn at all and the dialog is resized accordingly.

As I see it, this info browser needs a little work only, to improve the parsing
of the bibliography data base. Ie, insetbib::getKeys() needs modifying. At the
moment a database containing:

@article{Butler:Tsuda97,
 author = {J.P. Butler and A. Tsuda},
 title  = {Effect of convective stretching and folding on aerosol
  mixing deep in the lung, assessed by approximate
  entropy},
 journal = JAP,
 year   = 1997,
 volume = 83,
 pages  = {800-809}
}


@phdthesis{deFoy98,
 author = {B. de Foy},
...

will produce a info browser containing:
 author = {J.P. Butler and A. Tsuda},
 title  = {Effect of convective stretching and folding on aerosol
  mixing deep in the lung, assessed by approximate
  entropy},
 journal = JAP,
 year   = 1997,
 volume = 83,
 pages  = {800-809}
}
_
_

where _ indicates redundant extra lines. Note also the } at the end.

I'd suggest modifying the parser to strip off this rubbish from the tail. I
don't think we need make it intelligent and recognise the different fields, but
we might also get it to replace any strings with the expanded version. In this
case:

@String{JAP = {J. Appl. Physiol.}}

If you are busy implementing some of this, fine. If not, I'll have a go. Let's
not both do it though (so just drop me a line...)

Any other suggestions?

Angus



Re: Hollywood class + patch

2000-05-15 Thread Dekel Tsur

On Mon, May 15, 2000 at 04:08:47AM -0300, Garst R. Reese wrote:
 Some will think that it leads to too much whitespace, but in scripts
 whitespace is a Good Thing (TM).

So, if you have a half page long dialogue, and the current page is 60% full,
you consider moving the long dialogue to the next page a better option than
splitting the dialogue ?

One thing that I don't understand is why you define the speaker,transition
etc. layouts as latex environments, and not as latex commands (this also
means changing hollywood.cls).
If you use the latter (and also move the dialogue layout to the top of the
file), after pressing enter in a speaker paragraph, LyX will automatically
switch to the dialogue layout.



Paste bug.

2000-05-15 Thread Chris Eliasmith

Hi,

I'm using 1.1.5pre1 and have a consistent problem
copying and pasting. It occurs when I attempt to
copy and paste over headings and between documents.

Whenever I select text plus a heading (hilighting the
numbers as well) and then goto a different document
and hit 'paste', i get a complete stop and the following:

ERROR (LyXParagraph::ParFromPos): position does not exist.
ERROR (LyXParagraph::PositionInParFromPos): position does not exist.
ERROR (LyXParagraph::GetChar const): position does not exist.55 (55)
  0 [sig] lyx 1001 stackdump: Dumping stack trace to lyx.exe.stackdump

Thought you'd want to know.  

Thanks for the great product - invaluable!
-chris.



new patch for hollywood.cls

2000-05-15 Thread Garst R. Reese

This supercedes the one I hastily sent. It adds more filbreaks to cover
stuff that could go in between speakers.
Garst



Re: Hollywood class + patch

2000-05-15 Thread Garst R. Reese

Dekel Tsur wrote:
 
 On Mon, May 15, 2000 at 04:08:47AM -0300, Garst R. Reese wrote:
  Some will think that it leads to too much whitespace, but in scripts
  whitespace is a Good Thing (TM).
 
 So, if you have a half page long dialogue, and the current page is 60% full,
 you consider moving the long dialogue to the next page a better option than
 splitting the dialogue ?

It is not me that does the considering, it is the people who read the
scripts and decide which ones to reject. The information I have from
successful screenwriters is that it is better to leave the whitespace
than to split the dialogue. But, if you want to split it, you can just
insert another speaker and use a parenthetical (CONT'd). 
 One thing that I don't understand is why you define the speaker,transition
 etc. layouts as latex environments, and not as latex commands (this also
 means changing hollywood.cls).
 If you use the latter (and also move the dialogue layout to the top of the
 file), after pressing enter in a speaker paragraph, LyX will automatically
 switch to the dialogue layout.
In brief, lack of competence :)
I was lucky to get anything working. I presume that by "top of the file"
you mean top of the .cls file?
I'll work on it, but feel free to patch.
Thanks much for your input and very much for edible labels and the ).
Garst



how do I subscribe?

2000-05-15 Thread Martin D. Muggli

subscribe [EMAIL PROTECTED]




Re: Hollywood class + patch

2000-05-15 Thread Garst R. Reese

Dekel Tsur wrote:
 If you use the latter (and also move the dialogue layout to the top of the
 file), after pressing enter in a speaker paragraph, LyX will automatically
 switch to the dialogue layout.
OK, I see what you are saying. The first thing in the layout is the
default.

A further note on the page breaks. The rationale behind the script
format is to make it easy read, and easy to modify. Pages get ripped
out, moved, and rewritten on the fly, with no respect for the original
author. That is why broadway is so much different from hollywood. The
playwrite has rights.
A script first goes to triage readers and the first thing they look at
is the form. They might have 200 scripts on their desk. Too little
whitespace and its in the trash. Wrong font, in the trash. Coloured
binder, in the trash. Great, now I only have 10 scripts that I actually
have to read.
Garst



can't inline call to int __black_count...

2000-05-15 Thread Garst R. Reese

I've been seeing this for quite in cvs awhile a presume its harmless.
gcc 2.95.2 glibc-2.1.3
Garst



Feature suggestion: removing of space in front of a period.

2000-05-15 Thread Pauli Virtanen


Would it be possible to add a feature which would prevent
an unnecessary space be left between a word and a period after it.

So for example:

This is a sentence|. Another sentence
[space pressed]
This is a sentence |. Another sentence
[move caret to right]
This is a sentence.| Another sentence
  ^
[unnecessary space deleted]

and this could also be done when a word is removed in front of
a period, like:

This is a sentence|. Another sentence
[word 'sentence' selected and deleted]
This is a |. Another sentence
[move caret to left]
This is a|. Another sentence

-- 
Pauli Virtanen [EMAIL PROTECTED]
http://www.saunalahti.fi/pvirtan2



lyx-1.1.5cvs: crash when deleting text

2000-05-15 Thread Pauli Virtanen



lyx-1.1.5cvs of date 13 May 2000:

A crash happened when I selected and deleted few charachters
from the beginning of a line. (But not at the beginning of the paragraph).

Emergency file was not created, if I remember correctly.
(Hmm. I don't remember whether I had saved the document before the crash)
(or not. Does LyX create emergency files when there seems to be no need?)

Here is the traceback:
(Sorry, I didn't have the sources installed then, so there are just)
(source line numbers here.)

Program received signal SIGSEGV, Segmentation fault.
0x80e44a0 in LyXParagraph::IsDummy (this=0x3a696c65) at paragraph.C:4061
4061paragraph.C: No such file or directory.
#0  0x80e44a0 in LyXParagraph::IsDummy (this=0x3a696c65)
at paragraph.C:4061
#1  0x80dd8a0 in LyXParagraph::FirstPhysicalPar (this=0x3a696c65)
at paragraph.C:1290
#2  0x8106e83 in LyXText::RedoParagraphs (this=0x82674f0, cur=@0x82675a0, 
endpar=0x8266d08) at text2.C:926
#3  0x8109c3c in LyXText::CutSelection (this=0x82674f0, doclear=true)
at text2.C:2233
#4  0x80513b0 in BufferView::cut (this=0x81ff398) at BufferView2.C:579
#5  0x80bfe67 in LyXFunc::Dispatch (this=0x8200d58, ac=65, 
do_not_use_this_arg=0x81c0068 "") at lyxfunc.C:1708
#6  0x80ba045 in LyXFunc::processKeyEvent (this=0x8200d58, ev=0x400d0200)
at lyxfunc.C:305
#7  0x80671b0 in LyXView::KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:420
#8  0x8067256 in C_LyXView_KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:452
#9  0x4004bf53 in fl_register_raw_callback () from /usr/lib/libforms.so.0.89
#10 0x4004b1db in fl_last_event () from /usr/lib/libforms.so.0.89
#11 0x4004b9f9 in fl_treat_interaction_events () from
/usr/lib/libforms.so.0.89
#12 0x4004ba34 in fl_check_forms () from /usr/lib/libforms.so.0.89
#13 0x80afc95 in LyXGUI::runTime (this=0x81ce090) at lyx_gui.C:621
#14 0x80b1075 in LyX::LyX (this=0xb648, argc=0xb6f0, argv=0xb734)
at ../src/lyx_main.C:147
#15 0x80cf9b6 in main (argc=1, argv=0xb734) at ../src/main.C:75
#1  0x80dd8a0 in LyXParagraph::FirstPhysicalPar (this=0x3a696c65)
at paragraph.C:1290
1290in paragraph.C
#2  0x8106e83 in LyXText::RedoParagraphs (this=0x82674f0, cur=@0x82675a0, 
endpar=0x8266d08) at text2.C:926
926 text2.C: No such file or directory.
#3  0x8109c3c in LyXText::CutSelection (this=0x82674f0, doclear=true)
at text2.C:2233
2233in text2.C
#4  0x80513b0 in BufferView::cut (this=0x81ff398) at BufferView2.C:579
579 BufferView2.C: No such file or directory.
#5  0x80bfe67 in LyXFunc::Dispatch (this=0x8200d58, ac=65, 
do_not_use_this_arg=0x81c0068 "") at lyxfunc.C:1708
1708lyxfunc.C: No such file or directory.
#6  0x80ba045 in LyXFunc::processKeyEvent (this=0x8200d58, ev=0x400d0200)
at lyxfunc.C:305
305 in lyxfunc.C
#7  0x80671b0 in LyXView::KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:420
420 LyXView.C: No such file or directory.
#8  0x8067256 in C_LyXView_KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:452
452 in LyXView.C
#9  0x4004bf53 in fl_register_raw_callback () from /usr/lib/libforms.so.0.89
#10 0x4004b1db in fl_last_event () from /usr/lib/libforms.so.0.89
#11 0x4004b9f9 in fl_treat_interaction_events () from
/usr/lib/libforms.so.0.89
#12 0x4004ba34 in fl_check_forms () from /usr/lib/libforms.so.0.89
#13 0x80afc95 in LyXGUI::runTime (this=0x81ce090) at lyx_gui.C:621
621 lyx_gui.C: No such file or directory.
#14 0x80b1075 in LyX::LyX (this=0xb648, argc=0xb6f0, argv=0xb734)
at ../src/lyx_main.C:147
147 ../src/lyx_main.C: No such file or directory.
#15 0x80cf9b6 in main (argc=1, argv=0xb734) at ../src/main.C:75
75  ../src/main.C: No such file or directory.

-- 
Pauli Virtanen [EMAIL PROTECTED]
http://www.saunalahti.fi/pvirtan2



Re: Feature suggestion: removing of space in front of a period.

2000-05-15 Thread Garst R. Reese

Pauli Virtanen wrote:
 
 Would it be possible to add a feature which would prevent
 an unnecessary space be left between a word and a period after it.
This is just one of a whole class of errors that chktex takes care of.
Just get it.
Garst



Re: New citation dialog

2000-05-15 Thread Dekel Tsur

On Mon, May 15, 2000 at 04:33:31PM +0100, Angus Leeming wrote:
 
 I've moved the info browser underneath the other two, and immediately above the
 "Text After" box. If the bibliography database is empty, then this info is not
 drawn at all and the dialog is resized accordingly.

I think that this makes the browser too tall (it will not fit in low
resolution displays).

 As I see it, this info browser needs a little work only, to improve the parsing
 of the bibliography data base. Ie, insetbib::getKeys() needs modifying. At the
 moment a database containing:
 
 I'd suggest modifying the parser to strip off this rubbish from the tail. I
 don't think we need make it intelligent and recognise the different fields, but
 we might also get it to replace any strings with the expanded version. In this
 case:

I'm not sure that @string expansion is a feature that worth the effort of
coding it (I listed more important features (IMHO) below).

Since InsetBibtex::getKeys() operates on the entire bibliography database,
which can be quite large, it might be better to do there as little work as
possible, and do the parsing in InsetCitation::Edit().
For example, instead of returning vectorstring,string from insetbib::getKeys(),
where the first element in a pair is a key, and the second is the
concatenation of the lines in the entry
strings, return vectorstring,vectorstring, where the second element of
the pair is a vector of the lines.

 If you are busy implementing some of this, fine. If not, I'll have a go. Let's
 not both do it though (so just drop me a line...)

No, I'm not working on this currently.

 
 Any other suggestions?

- Below the browser line, add a text input form, and a button labeled search.
When pressing the button, a key that its bibliography entry contains that
string is searched for, and if such a key is found it will be selected in the
bibliography keys browser (if there is already a selected key in this
browser, the search will start from the next key).
Use exsisting code for doing the search (e.g. contains() in support/lstrings.C)

- Add a toggle button named "sort" below the bibliography keys browser, 
that allows you to watch the keys in sorted order/original order.

- Move up/down buttons for reordering the keys in the inset-keys browser.

- Discard "static vectorstring bibkeys;" . This requires deleting the 
InsetCitation::Update() method, and also adding a functor for using with
std::find.



Re: New citation dialog

2000-05-15 Thread Garst R. Reese

Dekel Tsur wrote:
 
 No, I'm not working on this currently.
How about edible labels? They are pretty essential for hollywood and
broadway, and got lost when the menu TOC and REF went out. The baby went
out with the bath water.
Garst



Re: New citation dialog

2000-05-15 Thread Jules Bean

On Mon, May 15, 2000 at 04:53:51PM -0300, Garst R. Reese wrote:
 Dekel Tsur wrote:
  
  No, I'm not working on this currently.
 How about edible labels? They are pretty essential for hollywood and

edible labels?

Yum.

Can I get ketchup with that?


-- 
Jules Bean  |Any sufficiently advanced 
jules@{debian.org,jellybean.co.uk}  |  technology is indistinguishable
[EMAIL PROTECTED]  |   from a perl script



Re: New citation dialog

2000-05-15 Thread Garst R. Reese

Jules Bean wrote:
 
 On Mon, May 15, 2000 at 04:53:51PM -0300, Garst R. Reese wrote:
  Dekel Tsur wrote:
  
   No, I'm not working on this currently.
  How about edible labels? They are pretty essential for hollywood and
 
 edible labels?
 
 Yum.
 
 Can I get ketchup with that?
Its poetic licentiousnous, only served with French wine, Norwegian beer
or Aqua Vit.
Garst



Small change for Extended.lyx

2000-05-15 Thread Garst R. Reese

The first sentence of 2.12.2 (in Hollywood) 
"Always preview the script to find where to insert pagebreaks."
Can be deleted when the patch just sent for hollywood.cls is applied.
Garst



Basque Translation (eu.po)

2000-05-15 Thread blackziggy



Hi! I'm Iñaki Larrañaga (aka Dooteo) and I just 
finished (i think...) the translation of eu.po file
for LyX-1.0.3...
so I decided to send it with this email..Perhaps it 
isn't the best way to 
do that, but I haven't an Internet connection at 
home, so I must use my
job's center's computers (and I'm sorry, 'couse 
there isn't GNU/Linux O.S.).

And now, while a friend of mine is correcting the 
Intro, Splash  Tutorials handbooks
translated a few weeks ago to Basque language (eu) 
(when it's finished I send them to
LyX translation group), I'm going to translate the 
Latex files where appears words like 
"chaper" and other words because when somebody (like me) use LyX to write an article
(or book), all the text it's writing in Euskera 
(Basque Language) except those words that
LaTeX has in English (but not in Euskera). When I 
was reading some information
about how to translate this files, I read that to 
made it I must use docstrip utilities...
The matter is that I never used nor Tex nor LaTeX, 
so, can somebody help me explainig
what must I do with this? 

Waiting for an answer and if somebody has a comment 
or something else to tell me (like Hello! How are You?)
please send a email to:

[EMAIL PROTECTED]
Thank you!!
p.d: The files that I just insert in this email 
are: eu.po, eu.gmo, Credits, Changes and Configure..

 Eu.po
 Configure
 Credits
 Eu.gmo
 Changes


patch for broadway.cls

2000-05-15 Thread Garst R. Reese

Here is the complimentary patch to broadway to ensure page breaks
preventing speaker lines from being broken across a page.
Garst

--- broadway.cls.oldMon May 15 08:49:16 2000
+++ broadway.clsMon May 15 08:55:11 2000
@@ -168,21 +168,22 @@
 \fi
 
 \newenvironment{atrise}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]AT RISE:\ignorespaces}
 {\unskip \end{list}}
 
 \newenvironment{scene}%
-{
-%\stepcounter{scene}
+{\filbreak
+\stepcounter{scene}
 \begin{center}{}{%
 \center}
 \item[]SCENE \ignorespaces}
 {\unskip \end{center}}
 
 \newenvironment{act}%
-{
+{\filbreak
 \stepcounter{act}
 %\setcounter{scene}{0}
 \begin{center}{}{%
@@ -202,6 +203,7 @@
 
 \newenvironment{narrative}%
 {\raggedright
+\filbreak
 \fontshape{it}\selectfont{}
 \begin{list}{}{%
\setlength{\leftmargin}{0in}
@@ -212,7 +214,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{center}{}{%
+{\filbreak
+\begin{center}{}{%
 \center
 \setlength{\parsep}{0mm}
 \setlength{\topsep}{2mm}}



Re: Hollywood class + patch

2000-05-15 Thread Garst R. Reese

Martin Vermeer wrote:
> 
> Reading the TeXbook page 111 I see a command \filbreak which will break
> the page where it occurs, unless the stuff to the next \filbreak fits on
> the page too. So you should put it between (around?) all sections that
> you want not to break.
> 
> Would this be what you need?
> 
> Martin (not very intellignent about TeX)
> --
> Martin Vermeer [EMAIL PROTECTED]   Phone +358 9 295 55 215   Fax +358 9 295 55 200
> Finnish Geodetic InstituteGeodeetinrinne 2FIN-02430 Masala FINLAND
> :wq
That seems to have done the trick.
I just added it at the beginning of the Speaker environment.

The only case where adjustments will have to be made is the rare monolog
that runs over 40 lines. The only one that comes to mind is The Pig in
Waiting for Godot. This is such a corner case that I don't think
anything needs to be done.
Some will think that it leads to too much whitespace, but in scripts
whitespace is a Good Thing (TM).

Thanks Martin.

--- hollywood.cls~  Sun May 14 19:46:32 2000
+++ hollywood.cls   Mon May 15 03:30:41 2000
@@ -189,7 +189,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
\setlength{\leftmargin}{2.5in}
 \setlength{\partopsep}{4mm}
 \setlength{\parsep}{0mm}



Re: new patch for hollywood.cls

2000-05-15 Thread Garst R. Reese

Jean-Marc Lasgouttes wrote:
> 
> > "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes:
> 
> Garst> This supercedes the one I hastily sent. It adds more filbreaks
> Garst> to cover stuff that could go in between speakers. Garst
> 
> And where is it?
> 
> JMarc
Duh, here.

--- hollywood.cls.old   Mon May 15 04:32:26 2000
+++ hollywood.cls   Mon May 15 04:30:53 2000
@@ -158,13 +158,15 @@
 {\unskip \end{list}}
 
 \newenvironment{interior}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]INT. \ignorespaces}
 {\unskip \end{list}}
 
 \newenvironment{exterior}%
-{\begin{list}{}{%
+{filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]EXT. \ignorespaces}
 {\unskip \end{list}}
@@ -180,7 +182,8 @@
 {\unskip \end{list}}
 
 \newenvironment{narrative}%
-{\raggedright
+{\filbreak
+\raggedright
 \begin{list}{}{%
 \leftmargin \rightmargin
 \setlength{\parsep}{2mm}
@@ -189,7 +192,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
\setlength{\leftmargin}{2.5in}
 \setlength{\partopsep}{4mm}
 \setlength{\parsep}{0mm}
@@ -206,7 +210,8 @@
 {\unskip)\end{list}}
 
 \newenvironment{fadeout}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]FADE OUT: \ignorespaces}
 {\unskip \end{list}}



Re: Small change for Extended.lyx

2000-05-15 Thread Jean-Marc Lasgouttes

> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes:

Garst> The first sentence of 2.12.2 (in Hollywood) "Always preview the
Garst> script to find where to insert pagebreaks." Can be deleted when
Garst> the patch just sent for hollywood.cls is applied. Garst

Done.

JMarc



Re: new patch for hollywood.cls

2000-05-15 Thread Jean-Marc Lasgouttes

> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes:

Garst> This supercedes the one I hastily sent. It adds more filbreaks
Garst> to cover stuff that could go in between speakers. Garst

And where is it?

JMarc



Re: Basque Translation (eu.po)

2000-05-15 Thread Jean-Marc Lasgouttes

> "blackziggy" == blackziggy  <[EMAIL PROTECTED]> writes:

blackziggy> Hi! I'm Iñaki Larrañaga (aka Dooteo) and I just finished
blackziggy> (i think...) the translation of eu.po file for
blackziggy> LyX-1.0.3... 

Hello,

Thanks for the files. I'd be glad to add them to our distribution, I
fear that many strings will mismatch with the current version (soon
1.1.5). Would you be willing to update this translation?

I can apply this translation to 1.1.5, if you want, but I'm afraid it
will not be of much use. The best is probably to wait for LyX
1.1.5pre2 (in a few days) and update your translation for it.

blackziggy> And now, while a friend of mine is correcting the Intro,
blackziggy> Splash & Tutorials handbooks translated a few weeks ago to
blackziggy> Basque language (eu) 

Great! Would you like to be added as the Basque maintainer for LyX?

blackziggy> When I was reading some
blackziggy> information about how to translate this files, I read that
blackziggy> to made it I must use docstrip utilities... The matter is
blackziggy> that I never used nor Tex nor LaTeX, so, can somebody help
blackziggy> me explainig what must I do with this?

Where did you read that?

blackziggy> p.d: The files that I just insert in this email are:
blackziggy> eu.po, eu.gmo, Credits, Changes and Configure..

Please do not send files like configure and eu.gmo: their are really
to large, and can be regenerated.

JMarc



Re: Paste bug.

2000-05-15 Thread Jean-Marc Lasgouttes

> "Chris" == Chris Eliasmith <[EMAIL PROTECTED]> writes:

Chris> Hi, I'm using 1.1.5pre1 and have a consistent problem copying
Chris> and pasting. It occurs when I attempt to copy and paste over
Chris> headings and between documents.

Chris> Whenever I select text plus a heading (hilighting the numbers
Chris> as well) and then goto a different document and hit 'paste', i
Chris> get a complete stop and the following:

The following patch should help:

JMarc

Index: src/CutAndPaste.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/CutAndPaste.C,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- src/CutAndPaste.C   2000/04/20 13:48:34 1.7
+++ src/CutAndPaste.C   2000/04/27 09:05:04 1.8
@@ -325,8 +325,8 @@
(*par)->ParFromPos(pos)->PasteParagraph();

// store the new cursor position
-   tmppar = lastbuffer;
-   tmppos = lastbuffer->Last();
+   *par = lastbuffer;
+   pos  = lastbuffer->Last();

// maybe some pasting
if (lastbuffer->Next() && paste_the_end) {
@@ -343,7 +343,6 @@
}
// restore the simple cut buffer
buf = simple_cut_clone;
-   pos = tmppos;
 }
 
 return true;



patches for broadway and hollywood

2000-05-15 Thread Garst R. Reese

The automatic () in parenthetical did not display well in broadway
because I was centering it there. I fixed the problem by using the same
method I used in hollywood.

The attached broadway.cls.diff supercedes the one I sent earlier, as it
also fixes a bug.

I re-ordered the hollywood layout a bit to conform more with usage.

This time I tested the broadway fixes against one of Alice's longer
plays, and all looked fine.

Garst

--- broadway.cls.oldMon May 15 08:49:16 2000
+++ broadway.clsMon May 15 08:55:11 2000
@@ -168,21 +168,22 @@
 \fi
 
 \newenvironment{atrise}%
-{\begin{list}{}{%
+{\filbreak
+\begin{list}{}{%
 \leftmargin \rightmargin}
 \item[]AT RISE:\ignorespaces}
 {\unskip \end{list}}
 
 \newenvironment{scene}%
-{
-%\stepcounter{scene}
+{\filbreak
+\stepcounter{scene}
 \begin{center}{}{%
 \center}
 \item[]SCENE \ignorespaces}
 {\unskip \end{center}}
 
 \newenvironment{act}%
-{
+{\filbreak
 \stepcounter{act}
 %\setcounter{scene}{0}
 \begin{center}{}{%
@@ -202,6 +203,7 @@
 
 \newenvironment{narrative}%
 {\raggedright
+\filbreak
 \fontshape{it}\selectfont{}
 \begin{list}{}{%
\setlength{\leftmargin}{0in}
@@ -212,7 +214,8 @@
 {\unskip \end{list}}
 
 \newenvironment{speaker}%
-{\begin{center}{}{%
+{\filbreak
+\begin{center}{}{%
 \center
 \setlength{\parsep}{0mm}
 \setlength{\topsep}{2mm}}


--- broadway.layout.old Mon May 15 10:58:22 2000
+++ broadway.layout Mon May 15 10:50:38 2000
@@ -146,8 +146,12 @@
   MarginStatic
   LatexType Environment
   LatexName parenthetical
-  Align Center
-  AlignPossible Center
+  LeftMarginM
+  TopSep   0.0
+  BottomSep0.0
+  ParSkip  0.0
+  Align Left
+  AlignPossible Left
   LabelTypeStatic
   LabelString  (
   EndLabelType Static


--- hollywood.layout.oldMon May 15 10:58:45 2000
+++ hollywood.layoutMon May 15 01:30:02 2000
@@ -140,7 +140,20 @@
   MarginStatic
   LatexType Environment
   LatexName speaker
-  LeftMarginMM
+  LeftMarginMMM
+  ParSkip   0.0
+  TopSep   1.0
+  BottomSep0.0
+  Align Left
+  AlignPossible Left
+  LabelType No_Label
+End
+# Speaker style definition, identifies speaker  ALL CAPS
+Style Speakername
+  MarginStatic
+  LatexType Environment
+  LatexName speakername
+  LeftMargin
   ParSkip   0.0
   TopSep   1.0
   BottomSep0.0



Re: patches for broadway and hollywood

2000-05-15 Thread Garst R. Reese

"Garst R. Reese" wrote:
> 
> The automatic () in parenthetical did not display well in broadway
> because I was centering it there. I fixed the problem by using the same
> method I used in hollywood.
> 
> The attached broadway.cls.diff supercedes the one I sent earlier, as it
> also fixes a bug.
> 
> I re-ordered the hollywood layout a bit to conform more with usage.

Ouch, I diffed the wrong file on hollywood.layout. It does not need any
changes.
Sorry,
Garst



Re: New citation dialog

2000-05-15 Thread Angus Leeming

Many thanks, Dekel, for working so hard at this and my apologies for the
confusion caused by my original submission with the empty file!

I like very much your inclusion of the info browser. Smashing idea.

I've made some tiny changes to get the thing to compile with DEC cxx (std::
stuff).

I've moved the info browser underneath the other two, and immediately above the
"Text After" box. If the bibliography database is empty, then this info is not
drawn at all and the dialog is resized accordingly.

As I see it, this info browser needs a little work only, to improve the parsing
of the bibliography data base. Ie, insetbib::getKeys() needs modifying. At the
moment a database containing:

@article{Butler:Tsuda97,
 author = {J.P. Butler and A. Tsuda},
 title  = {Effect of convective stretching and folding on aerosol
  mixing deep in the lung, assessed by approximate
  entropy},
 journal = JAP,
 year   = 1997,
 volume = 83,
 pages  = {800-809}
}


@phdthesis{deFoy98,
 author = {B. de Foy},
...

will produce a info browser containing:
 author = {J.P. Butler and A. Tsuda},
 title  = {Effect of convective stretching and folding on aerosol
  mixing deep in the lung, assessed by approximate
  entropy},
 journal = JAP,
 year   = 1997,
 volume = 83,
 pages  = {800-809}
}
_
_

where _ indicates redundant extra lines. Note also the } at the end.

I'd suggest modifying the parser to strip off this rubbish from the tail. I
don't think we need make it intelligent and recognise the different fields, but
we might also get it to replace any strings with the expanded version. In this
case:

@String{JAP = {J. Appl. Physiol.}}

If you are busy implementing some of this, fine. If not, I'll have a go. Let's
not both do it though (so just drop me a line...)

Any other suggestions?

Angus



Re: Hollywood class + patch

2000-05-15 Thread Dekel Tsur

On Mon, May 15, 2000 at 04:08:47AM -0300, Garst R. Reese wrote:
> Some will think that it leads to too much whitespace, but in scripts
> whitespace is a Good Thing (TM).

So, if you have a half page long dialogue, and the current page is 60% full,
you consider moving the long dialogue to the next page a better option than
splitting the dialogue ?

One thing that I don't understand is why you define the speaker,transition
etc. layouts as latex environments, and not as latex commands (this also
means changing hollywood.cls).
If you use the latter (and also move the dialogue layout to the top of the
file), after pressing enter in a speaker paragraph, LyX will automatically
switch to the dialogue layout.



Paste bug.

2000-05-15 Thread Chris Eliasmith

Hi,

I'm using 1.1.5pre1 and have a consistent problem
copying and pasting. It occurs when I attempt to
copy and paste over headings and between documents.

Whenever I select text plus a heading (hilighting the
numbers as well) and then goto a different document
and hit 'paste', i get a complete stop and the following:

ERROR (LyXParagraph::ParFromPos): position does not exist.
ERROR (LyXParagraph::PositionInParFromPos): position does not exist.
ERROR (LyXParagraph::GetChar const): position does not exist.55 (55)
  0 [sig] lyx 1001 stackdump: Dumping stack trace to lyx.exe.stackdump

Thought you'd want to know.  

Thanks for the great product - invaluable!
-chris.



new patch for hollywood.cls

2000-05-15 Thread Garst R. Reese

This supercedes the one I hastily sent. It adds more filbreaks to cover
stuff that could go in between speakers.
Garst



Re: Hollywood class + patch

2000-05-15 Thread Garst R. Reese

Dekel Tsur wrote:
> 
> On Mon, May 15, 2000 at 04:08:47AM -0300, Garst R. Reese wrote:
> > Some will think that it leads to too much whitespace, but in scripts
> > whitespace is a Good Thing (TM).
> 
> So, if you have a half page long dialogue, and the current page is 60% full,
> you consider moving the long dialogue to the next page a better option than
> splitting the dialogue ?
>
It is not me that does the considering, it is the people who read the
scripts and decide which ones to reject. The information I have from
successful screenwriters is that it is better to leave the whitespace
than to split the dialogue. But, if you want to split it, you can just
insert another speaker and use a parenthetical (CONT'd). 
> One thing that I don't understand is why you define the speaker,transition
> etc. layouts as latex environments, and not as latex commands (this also
> means changing hollywood.cls).
> If you use the latter (and also move the dialogue layout to the top of the
> file), after pressing enter in a speaker paragraph, LyX will automatically
> switch to the dialogue layout.
In brief, lack of competence :)
I was lucky to get anything working. I presume that by "top of the file"
you mean top of the .cls file?
I'll work on it, but feel free to patch.
Thanks much for your input and very much for edible labels and the ).
Garst



how do I subscribe?

2000-05-15 Thread Martin D. Muggli

subscribe [EMAIL PROTECTED]




Re: Hollywood class + patch

2000-05-15 Thread Garst R. Reese

Dekel Tsur wrote:
> If you use the latter (and also move the dialogue layout to the top of the
> file), after pressing enter in a speaker paragraph, LyX will automatically
> switch to the dialogue layout.
OK, I see what you are saying. The first thing in the layout is the
default.

A further note on the page breaks. The rationale behind the script
format is to make it easy read, and easy to modify. Pages get ripped
out, moved, and rewritten on the fly, with no respect for the original
author. That is why broadway is so much different from hollywood. The
playwrite has rights.
A script first goes to triage readers and the first thing they look at
is the form. They might have 200 scripts on their desk. Too little
whitespace and its in the trash. Wrong font, in the trash. Coloured
binder, in the trash. Great, now I only have 10 scripts that I actually
have to read.
Garst



can't inline call to int __black_count...

2000-05-15 Thread Garst R. Reese

I've been seeing this for quite in cvs awhile a presume its harmless.
gcc 2.95.2 glibc-2.1.3
Garst



Feature suggestion: removing of space in front of a period.

2000-05-15 Thread Pauli Virtanen


Would it be possible to add a feature which would prevent
an unnecessary space be left between a word and a period after it.

So for example:

This is a sentence|. Another sentence
[space pressed]
This is a sentence |. Another sentence
[move caret to right]
This is a sentence.| Another sentence
  ^
[unnecessary space deleted]

and this could also be done when a word is removed in front of
a period, like:

This is a sentence|. Another sentence
[word 'sentence' selected and deleted]
This is a |. Another sentence
[move caret to left]
This is a|. Another sentence

-- 
Pauli Virtanen <[EMAIL PROTECTED]>
http://www.saunalahti.fi/pvirtan2



lyx-1.1.5cvs: crash when deleting text

2000-05-15 Thread Pauli Virtanen



lyx-1.1.5cvs of date 13 May 2000:

A crash happened when I selected and deleted few charachters
from the beginning of a line. (But not at the beginning of the paragraph).

Emergency file was not created, if I remember correctly.
(Hmm. I don't remember whether I had saved the document before the crash)
(or not. Does LyX create emergency files when there seems to be no need?)

Here is the traceback:
(Sorry, I didn't have the sources installed then, so there are just)
(source line numbers here.)

Program received signal SIGSEGV, Segmentation fault.
0x80e44a0 in LyXParagraph::IsDummy (this=0x3a696c65) at paragraph.C:4061
4061paragraph.C: No such file or directory.
#0  0x80e44a0 in LyXParagraph::IsDummy (this=0x3a696c65)
at paragraph.C:4061
#1  0x80dd8a0 in LyXParagraph::FirstPhysicalPar (this=0x3a696c65)
at paragraph.C:1290
#2  0x8106e83 in LyXText::RedoParagraphs (this=0x82674f0, cur=@0x82675a0, 
endpar=0x8266d08) at text2.C:926
#3  0x8109c3c in LyXText::CutSelection (this=0x82674f0, doclear=true)
at text2.C:2233
#4  0x80513b0 in BufferView::cut (this=0x81ff398) at BufferView2.C:579
#5  0x80bfe67 in LyXFunc::Dispatch (this=0x8200d58, ac=65, 
do_not_use_this_arg=0x81c0068 "") at lyxfunc.C:1708
#6  0x80ba045 in LyXFunc::processKeyEvent (this=0x8200d58, ev=0x400d0200)
at lyxfunc.C:305
#7  0x80671b0 in LyXView::KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:420
#8  0x8067256 in C_LyXView_KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:452
#9  0x4004bf53 in fl_register_raw_callback () from /usr/lib/libforms.so.0.89
#10 0x4004b1db in fl_last_event () from /usr/lib/libforms.so.0.89
#11 0x4004b9f9 in fl_treat_interaction_events () from
/usr/lib/libforms.so.0.89
#12 0x4004ba34 in fl_check_forms () from /usr/lib/libforms.so.0.89
#13 0x80afc95 in LyXGUI::runTime (this=0x81ce090) at lyx_gui.C:621
#14 0x80b1075 in LyX::LyX (this=0xb648, argc=0xb6f0, argv=0xb734)
at ../src/lyx_main.C:147
#15 0x80cf9b6 in main (argc=1, argv=0xb734) at ../src/main.C:75
#1  0x80dd8a0 in LyXParagraph::FirstPhysicalPar (this=0x3a696c65)
at paragraph.C:1290
1290in paragraph.C
#2  0x8106e83 in LyXText::RedoParagraphs (this=0x82674f0, cur=@0x82675a0, 
endpar=0x8266d08) at text2.C:926
926 text2.C: No such file or directory.
#3  0x8109c3c in LyXText::CutSelection (this=0x82674f0, doclear=true)
at text2.C:2233
2233in text2.C
#4  0x80513b0 in BufferView::cut (this=0x81ff398) at BufferView2.C:579
579 BufferView2.C: No such file or directory.
#5  0x80bfe67 in LyXFunc::Dispatch (this=0x8200d58, ac=65, 
do_not_use_this_arg=0x81c0068 "") at lyxfunc.C:1708
1708lyxfunc.C: No such file or directory.
#6  0x80ba045 in LyXFunc::processKeyEvent (this=0x8200d58, ev=0x400d0200)
at lyxfunc.C:305
305 in lyxfunc.C
#7  0x80671b0 in LyXView::KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:420
420 LyXView.C: No such file or directory.
#8  0x8067256 in C_LyXView_KeyPressMask_raw_callback (fl=0x81f7ef0, 
xev=0x400d0200) at LyXView.C:452
452 in LyXView.C
#9  0x4004bf53 in fl_register_raw_callback () from /usr/lib/libforms.so.0.89
#10 0x4004b1db in fl_last_event () from /usr/lib/libforms.so.0.89
#11 0x4004b9f9 in fl_treat_interaction_events () from
/usr/lib/libforms.so.0.89
#12 0x4004ba34 in fl_check_forms () from /usr/lib/libforms.so.0.89
#13 0x80afc95 in LyXGUI::runTime (this=0x81ce090) at lyx_gui.C:621
621 lyx_gui.C: No such file or directory.
#14 0x80b1075 in LyX::LyX (this=0xb648, argc=0xb6f0, argv=0xb734)
at ../src/lyx_main.C:147
147 ../src/lyx_main.C: No such file or directory.
#15 0x80cf9b6 in main (argc=1, argv=0xb734) at ../src/main.C:75
75  ../src/main.C: No such file or directory.

-- 
Pauli Virtanen <[EMAIL PROTECTED]>
http://www.saunalahti.fi/pvirtan2



Re: Feature suggestion: removing of space in front of a period.

2000-05-15 Thread Garst R. Reese

Pauli Virtanen wrote:
> 
> Would it be possible to add a feature which would prevent
> an unnecessary space be left between a word and a period after it.
This is just one of a whole class of errors that chktex takes care of.
Just get it.
Garst



Re: New citation dialog

2000-05-15 Thread Dekel Tsur

On Mon, May 15, 2000 at 04:33:31PM +0100, Angus Leeming wrote:
> 
> I've moved the info browser underneath the other two, and immediately above the
> "Text After" box. If the bibliography database is empty, then this info is not
> drawn at all and the dialog is resized accordingly.

I think that this makes the browser too tall (it will not fit in low
resolution displays).

> As I see it, this info browser needs a little work only, to improve the parsing
> of the bibliography data base. Ie, insetbib::getKeys() needs modifying. At the
> moment a database containing:
> 
> I'd suggest modifying the parser to strip off this rubbish from the tail. I
> don't think we need make it intelligent and recognise the different fields, but
> we might also get it to replace any strings with the expanded version. In this
> case:

I'm not sure that @string expansion is a feature that worth the effort of
coding it (I listed more important features (IMHO) below).

Since InsetBibtex::getKeys() operates on the entire bibliography database,
which can be quite large, it might be better to do there as little work as
possible, and do the parsing in InsetCitation::Edit().
For example, instead of returning vector from insetbib::getKeys(),
where the first element in a pair is a key, and the second is the
concatenation of the lines in the entry
strings, return vector, where the second element of
the pair is a vector of the lines.

> If you are busy implementing some of this, fine. If not, I'll have a go. Let's
> not both do it though (so just drop me a line...)

No, I'm not working on this currently.

> 
> Any other suggestions?

- Below the browser line, add a text input form, and a button labeled search.
When pressing the button, a key that its bibliography entry contains that
string is searched for, and if such a key is found it will be selected in the
bibliography keys browser (if there is already a selected key in this
browser, the search will start from the next key).
Use exsisting code for doing the search (e.g. contains() in support/lstrings.C)

- Add a toggle button named "sort" below the bibliography keys browser, 
that allows you to watch the keys in sorted order/original order.

- Move up/down buttons for reordering the keys in the inset-keys browser.

- Discard "static vector bibkeys;" . This requires deleting the 
InsetCitation::Update() method, and also adding a functor for using with
std::find.



Re: New citation dialog

2000-05-15 Thread Garst R. Reese

Dekel Tsur wrote:
> 
> No, I'm not working on this currently.
How about edible labels? They are pretty essential for hollywood and
broadway, and got lost when the menu TOC and REF went out. The baby went
out with the bath water.
Garst



Re: New citation dialog

2000-05-15 Thread Jules Bean

On Mon, May 15, 2000 at 04:53:51PM -0300, Garst R. Reese wrote:
> Dekel Tsur wrote:
> > 
> > No, I'm not working on this currently.
> How about edible labels? They are pretty essential for hollywood and

edible labels?

Yum.

Can I get ketchup with that?


-- 
Jules Bean  |Any sufficiently advanced 
jules@{debian.org,jellybean.co.uk}  |  technology is indistinguishable
[EMAIL PROTECTED]  |   from a perl script



Re: New citation dialog

2000-05-15 Thread Garst R. Reese

Jules Bean wrote:
> 
> On Mon, May 15, 2000 at 04:53:51PM -0300, Garst R. Reese wrote:
> > Dekel Tsur wrote:
> > >
> > > No, I'm not working on this currently.
> > How about edible labels? They are pretty essential for hollywood and
> 
> edible labels?
> 
> Yum.
> 
> Can I get ketchup with that?
Its poetic licentiousnous, only served with French wine, Norwegian beer
or Aqua Vit.
Garst



Small change for Extended.lyx

2000-05-15 Thread Garst R. Reese

The first sentence of 2.12.2 (in Hollywood) 
"Always preview the script to find where to insert pagebreaks."
Can be deleted when the patch just sent for hollywood.cls is applied.
Garst



Basque Translation (eu.po)

2000-05-15 Thread blackziggy



Hi! I'm Iñaki Larrañaga (aka Dooteo) and I just 
finished (i think...) the translation of eu.po file
for LyX-1.0.3...
so I decided to send it with this email..Perhaps it 
isn't the best way to 
do that, but I haven't an Internet connection at 
home, so I must use my
job's center's computers (and I'm sorry, 'couse 
there isn't GNU/Linux O.S.).
 
And now, while a friend of mine is correcting the 
Intro, Splash & Tutorials handbooks
translated a few weeks ago to Basque language (eu) 
(when it's finished I send them to
LyX translation group), I'm going to translate the 
Latex files where appears words like 
"chaper" and other words because when somebody (like me) use LyX to write an article
(or book), all the text it's writing in Euskera 
(Basque Language) except those words that
LaTeX has in English (but not in Euskera). When I 
was reading some information
about how to translate this files, I read that to 
made it I must use docstrip utilities...
The matter is that I never used nor Tex nor LaTeX, 
so, can somebody help me explainig
what must I do with this? 
 
Waiting for an answer and if somebody has a comment 
or something else to tell me (like Hello! How are You?)
please send a email to:

[EMAIL PROTECTED]
Thank you!!
p.d: The files that I just insert in this email 
are: eu.po, eu.gmo, Credits, Changes and Configure..
 
 Eu.po
 Configure
 Credits
 Eu.gmo
 Changes