Re: Cross references (was Re: Ideas

2000-05-13 Thread Alejandro Aguilar Sierra

On Fri, 12 May 2000, Allan Rae wrote:

 who cares what he wrote, he's alive!
 
 Yay! 

:)
 
 I do hope you haven't been dangerously ill or anything.

Hi Allan, I am ill of work, nothing else.
 
 It's friday so I should probably flame you for not making an appearance
 sooner. Slacker!

Well, I have been just a passive member of this list, for months. Now I 
have a real job and a lot of things to do.  :(

 So, are you now back or is this a fleeting visit?
 Where's the new Mathed?

If you help me to update it to the recent kernel changes, I'll unveil it
gladly. :)

 Any number of other annoying questions... ;-)
 
 Are you coming to the developers meeting?

I'll try but I'm involved in a big project, I'm not sure I'll have the
time. However, it's possible that I'll go to your land, as a member of
the support team for the wind sailing team (sorry I don't know the proper
terms) in the next games, but that's not sure.

BTW is the GUI independence ready?

Greets,

Alejandro




Help needed?

2000-05-13 Thread Michael Schmitt

Hi,

I noticed that a new LyX version (1.1.5) is coming soon. 

Before 1.1.4 was released, I tested Lyx on Sun SPARC Solaris with Sun CC
5.0 and Purify. This way, several problems could be detected and fixed.

Even though I cannot afford too much effort this time, I would like to
offer my help to you again. If you think that Lyx 1.1.5 is stable and
likely to be released soon, you can send me a short email. Then, I will
spend an evening on doing nasty things with LyX.

Michael


-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==



Re: Hollywood class

2000-05-13 Thread Dekel Tsur

On Fri, May 12, 2000 at 05:57:12PM +0200, Jean-Marc Lasgouttes wrote:

 There are some rambling about this in the fancyhdr documentation. In
 the meantime, I asked on compt.text.tex.

I saw the following response in comp.text.tex.
The suggested tex macros indeed work (note that it defines speaker as a
command, whereas hollywood.cls defines it as an environment, but the former
does makes more sense).
The only problem is that it doesn't prohibits breaking of sentences in a
dialogue, though it discourage that.

--
Subject: Re: Continuation marks (cont'd)
Date:05/12/2000
Author:  Donald Arseneau [EMAIL PROTECTED]

[EMAIL PROTECTED] (Jean-Marc Lasgouttes) writes:

 There is a LaTeX class (hollywood.cls) bundled with LyX which is
 designed to write hollywood scripts. While it is good, it comes with the
 following disclaimer:

  Always preview the script to find where to insert page breaks. Speakers'
  lines should NEVER break in mid-sentence. If a speaker's lines continue
  over a page break, repeat the Speaker title followed by (Cont'd).

You call this "good"?  I can't imagine writing a document
class that did not perform such a fundamental action.

 LaTeX/LyX. While not breaking at mid-sentence may be difficult (is it
 possible?),

With great difficulty, but I have never seen such a rule.
Just that each speech by a speaker should stay together,
but if it *must* be broken, then it should have a
continuation title.

The whole document should be in typewriter.

Fancyhdr.sty provides continuation titles.

Without fancyhdr, here is something I made a long time
ago.  Don't know if it really works now.

% Repeated in-text headings; shown here for speakers in a
script.

\def\speaker{\@startsection{speaker}{99}{\z@}%
{-.5ex \@plus -.2ex \@minus -.2ex}%
{1\p@ \@plus 1\p@ \@minus1\p@}%
{\normalfont\normalsize\bfseries\centering}}
\newcounter{speaker}% not used
\def\thespeaker{\arabic{speaker}}
\def\speakermark#1{\markboth{#1}{#1}}

\def\ps@speakers{% based on "plain" page style

\let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\thepage
\hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot
\let\@mkboth\markboth
\let\chaptermark\@gobble \let\sectionmark\@gobble
}
\pagestyle{speakers}

\def\dep@save{\@tempdima\dp\@cclv}

\output\expandafter{\expandafter\dep@save\the\output
  \ifnum\outputpenalty\m@ne
\centerline{\normalfont\normalsize \leftmark
~(\continuedname)}% \kern-\prevdepth\kern\@tempdima
\nobreak
\vskip 1\p@ \@plus\p@ \@minus\p@
  \fi}

\def\continuedname{continued}% allow multilingual

\raggedbottom
\advance\topskip 0pt plus 6pt
\interlinepenalty 300

Donald Arseneau  [EMAIL PROTECTED]



Re: Hollywood class

2000-05-13 Thread Garst R. Reese

Dekel Tsur wrote:
 
 On Fri, May 12, 2000 at 05:57:12PM +0200, Jean-Marc Lasgouttes wrote:
 
  There are some rambling about this in the fancyhdr documentation. In
  the meantime, I asked on compt.text.tex.
 
 I saw the following response in comp.text.tex.
 The suggested tex macros indeed work (note that it defines speaker as a
 command, whereas hollywood.cls defines it as an environment, but the former
 does makes more sense).
 The only problem is that it doesn't prohibits breaking of sentences in a
 dialogue, though it discourage that.
 
 --
 Subject: Re: Continuation marks (cont'd)
 Date:05/12/2000
 Author:  Donald Arseneau [EMAIL PROTECTED]
 
 [EMAIL PROTECTED] (Jean-Marc Lasgouttes) writes:
 
  There is a LaTeX class (hollywood.cls) bundled with LyX which is
  designed to write hollywood scripts. While it is good, it comes with the
  following disclaimer:
 
   Always preview the script to find where to insert page breaks. Speakers'
   lines should NEVER break in mid-sentence. If a speaker's lines continue
   over a page break, repeat the Speaker title followed by (Cont'd).
 
 You call this "good"?  I can't imagine writing a document
 class that did not perform such a fundamental action.

When I wrote hollywood I could not imagine writing a document class at
all:)
 
  LaTeX/LyX. While not breaking at mid-sentence may be difficult (is it
  possible?),
 
 With great difficulty, but I have never seen such a rule.
 Just that each speech by a speaker should stay together,
 but if it *must* be broken, then it should have a
 continuation title.

Imagine first reading of a script and having to turn pages in
mid-sentence.

 
 The whole document should be in typewriter.

It is.

 Fancyhdr.sty provides continuation titles.

Yes, but not in the preferred format.
 
 Without fancyhdr, here is something I made a long time
 ago.  Don't know if it really works now.
[snip latex] 
 Donald Arseneau  [EMAIL PROTECTED]

OK, what works for 99% of the cases, is to bracket the SPEAKER part in
\begin{minipage}[t]{6.15in}
speaker
parentheticals (if any}
dialogue
\end{minipage}

The only time when this does not work is if the a single instance spans
more than a page. The minipage will apparently run over a page lenght
and off the paper. Such lengthy monologue is discourage, but does occurr
(e.g., the pig in Waiting for Godot.)

But, we currently have no way of inserting \begin{minipage}

With the ERT version, I had some other problems. I tried making an
example to see what would happen by just holding down the x key. The
lines wrapped on the LyX screen at the expected place, but on
ViewPostscript the lines did not break, so I had to go back and do
returns at one character before each line ending.

Derfor, I suggest moving the minipage setup out of Layout Paragraph
ExtraOpt and provide a separate Layouts for Begin and End Minipage. This
layout could be extended to do parboxes and the like.

Garst


Garst



lyx bug: incoreect highlighting of text

2000-05-13 Thread U. Guenther

I have attached a jpg image of a lyx screen shot which shows a bug which I see
often although I can't produce it on command.

I have just highlighted the 'Untersuchungen' region and get a second region
highlighted as well.  No crashes.  Lyx will edit the area I want.  It is just
the display which is wrong.

Now with the attachment.

 Ulrich


-- 
Ulrich Günther


 lyx_bug.jpg


Re: Help needed?

2000-05-13 Thread Kayvan A. Sylvan

On Sat, May 13, 2000 at 02:16:59PM +0200, Michael Schmitt wrote:
 Hi,
 
 I noticed that a new LyX version (1.1.5) is coming soon. 
 
 Before 1.1.4 was released, I tested Lyx on Sun SPARC Solaris with Sun CC
 5.0 and Purify. This way, several problems could be detected and fixed.
 
 Even though I cannot afford too much effort this time, I would like to
 offer my help to you again. If you think that Lyx 1.1.5 is stable and
 likely to be released soon, you can send me a short email. Then, I will
 spend an evening on doing nasty things with LyX.
 
 Michael

That sounds like a great idea.

You can start with 1.1.5pre2 which should be release Real Soon Now.

---Kayvan
-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory



Re: Cross references (was Re: Ideas

2000-05-13 Thread Alejandro Aguilar Sierra

On Fri, 12 May 2000, Allan Rae wrote:

> who cares what he wrote, he's alive!
> 
> Yay! 

:)
 
> I do hope you haven't been dangerously ill or anything.

Hi Allan, I am ill of work, nothing else.
 
> It's friday so I should probably flame you for not making an appearance
> sooner. Slacker!

Well, I have been just a passive member of this list, for months. Now I 
have a real job and a lot of things to do.  :(

> So, are you now back or is this a fleeting visit?
> Where's the new Mathed?

If you help me to update it to the recent kernel changes, I'll unveil it
gladly. :)

> Any number of other annoying questions... ;-)
> 
> Are you coming to the developers meeting?

I'll try but I'm involved in a big project, I'm not sure I'll have the
time. However, it's possible that I'll go to your land, as a member of
the support team for the wind sailing team (sorry I don't know the proper
terms) in the next games, but that's not sure.

BTW is the GUI independence ready?

Greets,

Alejandro




Help needed?

2000-05-13 Thread Michael Schmitt

Hi,

I noticed that a new LyX version (1.1.5) is coming soon. 

Before 1.1.4 was released, I tested Lyx on Sun SPARC Solaris with Sun CC
5.0 and Purify. This way, several problems could be detected and fixed.

Even though I cannot afford too much effort this time, I would like to
offer my help to you again. If you think that Lyx 1.1.5 is stable and
likely to be released soon, you can send me a short email. Then, I will
spend an evening on doing nasty things with LyX.

Michael


-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==



Re: Hollywood class

2000-05-13 Thread Dekel Tsur

On Fri, May 12, 2000 at 05:57:12PM +0200, Jean-Marc Lasgouttes wrote:

> There are some rambling about this in the fancyhdr documentation. In
> the meantime, I asked on compt.text.tex.

I saw the following response in comp.text.tex.
The suggested tex macros indeed work (note that it defines speaker as a
command, whereas hollywood.cls defines it as an environment, but the former
does makes more sense).
The only problem is that it doesn't prohibits breaking of sentences in a
dialogue, though it discourage that.

--
Subject: Re: Continuation marks (cont'd)
Date:05/12/2000
Author:  Donald Arseneau <[EMAIL PROTECTED]>

[EMAIL PROTECTED] (Jean-Marc Lasgouttes) writes:

> There is a LaTeX class (hollywood.cls) bundled with LyX which is
> designed to write hollywood scripts. While it is good, it comes with the
> following disclaimer:
>
>  Always preview the script to find where to insert page breaks. Speakers'
>  lines should NEVER break in mid-sentence. If a speaker's lines continue
>  over a page break, repeat the Speaker title followed by (Cont'd).

You call this "good"?  I can't imagine writing a document
class that did not perform such a fundamental action.

> LaTeX/LyX. While not breaking at mid-sentence may be difficult (is it
> possible?),

With great difficulty, but I have never seen such a rule.
Just that each speech by a speaker should stay together,
but if it *must* be broken, then it should have a
continuation title.

The whole document should be in typewriter.

Fancyhdr.sty provides continuation titles.

Without fancyhdr, here is something I made a long time
ago.  Don't know if it really works now.

% Repeated in-text headings; shown here for speakers in a
script.

\def\speaker{\@startsection{speaker}{99}{\z@}%
{-.5ex \@plus -.2ex \@minus -.2ex}%
{1\p@ \@plus 1\p@ \@minus1\p@}%
{\normalfont\normalsize\bfseries\centering}}
\newcounter{speaker}% not used
\def\thespeaker{\arabic{speaker}}
\def\speakermark#1{\markboth{#1}{#1}}

\def\ps@speakers{% based on "plain" page style

\let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\thepage
\hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot
\let\@mkboth\markboth
\let\chaptermark\@gobble \let\sectionmark\@gobble
}
\pagestyle{speakers}

\def\dep@save{\@tempdima\dp\@cclv}

\output\expandafter{\expandafter\dep@save\the\output
  \ifnum\outputpenalty>\m@ne
\centerline{\normalfont\normalsize \leftmark
~(\continuedname)}% \kern-\prevdepth\kern\@tempdima
\nobreak
\vskip 1\p@ \@plus\p@ \@minus\p@
  \fi}

\def\continuedname{continued}% allow multilingual

\raggedbottom
\advance\topskip 0pt plus 6pt
\interlinepenalty 300

Donald Arseneau  [EMAIL PROTECTED]



Re: Hollywood class

2000-05-13 Thread Garst R. Reese

Dekel Tsur wrote:
> 
> On Fri, May 12, 2000 at 05:57:12PM +0200, Jean-Marc Lasgouttes wrote:
> 
> > There are some rambling about this in the fancyhdr documentation. In
> > the meantime, I asked on compt.text.tex.
> 
> I saw the following response in comp.text.tex.
> The suggested tex macros indeed work (note that it defines speaker as a
> command, whereas hollywood.cls defines it as an environment, but the former
> does makes more sense).
> The only problem is that it doesn't prohibits breaking of sentences in a
> dialogue, though it discourage that.
> 
> --
> Subject: Re: Continuation marks (cont'd)
> Date:05/12/2000
> Author:  Donald Arseneau <[EMAIL PROTECTED]>
> 
> [EMAIL PROTECTED] (Jean-Marc Lasgouttes) writes:
> 
> > There is a LaTeX class (hollywood.cls) bundled with LyX which is
> > designed to write hollywood scripts. While it is good, it comes with the
> > following disclaimer:
> >
> >  Always preview the script to find where to insert page breaks. Speakers'
> >  lines should NEVER break in mid-sentence. If a speaker's lines continue
> >  over a page break, repeat the Speaker title followed by (Cont'd).
> 
> You call this "good"?  I can't imagine writing a document
> class that did not perform such a fundamental action.

When I wrote hollywood I could not imagine writing a document class at
all:)
 
> > LaTeX/LyX. While not breaking at mid-sentence may be difficult (is it
> > possible?),
> 
> With great difficulty, but I have never seen such a rule.
> Just that each speech by a speaker should stay together,
> but if it *must* be broken, then it should have a
> continuation title.

Imagine first reading of a script and having to turn pages in
mid-sentence.

 
> The whole document should be in typewriter.

It is.

> Fancyhdr.sty provides continuation titles.

Yes, but not in the preferred format.
 
> Without fancyhdr, here is something I made a long time
> ago.  Don't know if it really works now.
[snip latex] 
> Donald Arseneau  [EMAIL PROTECTED]

OK, what works for 99% of the cases, is to bracket the SPEAKER part in
\begin{minipage}[t]{6.15in}
speaker
parentheticals (if any}
dialogue
\end{minipage}

The only time when this does not work is if the a single instance spans
more than a page. The minipage will apparently run over a page lenght
and off the paper. Such lengthy monologue is discourage, but does occurr
(e.g., the pig in Waiting for Godot.)

But, we currently have no way of inserting \begin{minipage}

With the ERT version, I had some other problems. I tried making an
example to see what would happen by just holding down the x key. The
lines wrapped on the LyX screen at the expected place, but on
ViewPostscript the lines did not break, so I had to go back and do
returns at one character before each line ending.

Derfor, I suggest moving the minipage setup out of Layout Paragraph
ExtraOpt and provide a separate Layouts for Begin and End Minipage. This
layout could be extended to do parboxes and the like.

Garst


Garst



lyx bug: incoreect highlighting of text

2000-05-13 Thread U. Guenther

I have attached a jpg image of a lyx screen shot which shows a bug which I see
often although I can't produce it on command.

I have just highlighted the 'Untersuchungen' region and get a second region
highlighted as well.  No crashes.  Lyx will edit the area I want.  It is just
the display which is wrong.

Now with the attachment.

 Ulrich


-- 
Ulrich Günther


 lyx_bug.jpg


Re: Help needed?

2000-05-13 Thread Kayvan A. Sylvan

On Sat, May 13, 2000 at 02:16:59PM +0200, Michael Schmitt wrote:
> Hi,
> 
> I noticed that a new LyX version (1.1.5) is coming soon. 
> 
> Before 1.1.4 was released, I tested Lyx on Sun SPARC Solaris with Sun CC
> 5.0 and Purify. This way, several problems could be detected and fixed.
> 
> Even though I cannot afford too much effort this time, I would like to
> offer my help to you again. If you think that Lyx 1.1.5 is stable and
> likely to be released soon, you can send me a short email. Then, I will
> spend an evening on doing nasty things with LyX.
> 
> Michael

That sounds like a great idea.

You can start with 1.1.5pre2 which should be release Real Soon Now.

---Kayvan
-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory