RE: line separation in lists

1999-01-18 Thread Jean-Pierre.Chretien


>> Date: Fri, 15 Jan 1999 17:22:26 -0600 (CST)
>> From: Roland Krause <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED]
>> cc: [EMAIL PROTECTED]
>> Subject: RE: line separation in lists
>> 
>> Have you tried a negative number :-) e.g. -0.1in ?
>> You may have to set \parsep0pt too. 
>> 
>> There is certainly something on line try lookin on CTAN.
>> 
>> Roland
>> PS: The online thing I know is in german, that wouldnt hepp you ?
>> 
>> On Fri, 15 Jan 1999, Mithras wrote:
>> 
>> > 
>> > On Fri, 15 Jan 1999, Roland Krause wrote:
>> > 
>> > > Try to set \itemsep0pt in either your preamble or as ERT (Latex)
>> > > right before your list. 
>> > > Hth
>> > > Roland
>> > 
>> > Unfortunately \itemsep0pt (or \itemsep 0pt, or \itemsep 0 pt) entered into
>> > the preample or in a LaTeX environment or into a TeX file with my text
>> > editor didn't change the typesetting.
>> > 
>> > Can I find documentation for all of the LaTeX commands online?  I haven't
>> > got access to any hardcopy TeX books.  I found some documentation at
>> > www.emerson.emory.edu but apparently it isn't comprehensive.  (It doesn't
>> > document \itemsep, for instance.)

Try this piece of code (stolen from the french LaTeX FAQ) in the preamble.
Then \doitemsep \noitemsep in TeX mode toggles between spacing
and no spacing in lists.

\makeatletter
 debut macro 
%% 
%% Copyright (c) 1993 Hydro-Quebec [EMAIL PROTECTED]
%% 

%% Bring items closer together in list environments 
% Prevent infinite loops
\let\orig@Itemize =\itemize 
\let\orig@Enumerate =\enumerate
\let\orig@Description =\description
% Zero the vertical spacing parameters
\def\Nospacing{\itemsep=0pt\topsep=0pt\partopsep=0pt%
\parskip=0pt\parsep=0pt}
% Redefinition de art12.sty pour commencer a la marge de gauche
%\leftmargini 1.2em  % 2.5em

\def\noitemsep{
% Redefine the environments in terms of the original values
\renewenvironment{itemize}{\orig@Itemize\Nospacing}{\endlist}
\renewenvironment{enumerate}{\orig@Enumerate\Nospacing}{\endlist}
\renewenvironment{description}{\orig@Description\Nospacing}%
{\endlist}
}

\def\doitemsep{
% Redefine the environments to the original values
\renewenvironment{itemize}{\orig@Itemize}{\endlist}
\renewenvironment{enumerate}{\orig@Enumerate}{\endlist}
\renewenvironment{description}{\orig@Description}{\endlist}
}
 fin macro 
\makeatother

Regards,

-- 
Jean-Pierre


-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: bibtex

1999-01-18 Thread Bernhard Kohn


On Sat, 16 Jan 1999, Matthias Zenker wrote:

> Talking of *.bst: How can I tell alpha.bst to take another key for a
> citation ? Example:
> 
> author = {A. Alpha and B. Beta and G. Gamma}
> year = {1999}
> 
> gives [ABG99]
> 
> but I want [Alp99] (only the first author), or something even more fancy.
 
I thing this is notso easy, because you must program your our bst-file.
I have a bst-file which cites in the way you intend (at least the
[Alp99]). But I don't know if the bibliography is the way you want.
I just have attached the bst-file, called myown.bst

If you know the bst-language, I think you can create whatever
bibliography, with whatever you like cites, but you have to handle every
single type of citation,so this is pretty much work.

> 
> Using the key field in the database (e.g. key = {Alp}) has no effect,
> BibTeX uses it only when no author information is given. Without using
> BibTeX, there is an optional argument to the \bibitem command which would
> do what I want. But what to do if I don't want to edit everything by hand?
> 
> And - is there a tool to customize the *.bst other than by answering
> thousands of questions without a chance of going back - perhaps something 
> based on tcl or the like ... ?

If you find something like this, give the list a hint

> Greets,
> 
> Matthias
>  
> 
> ==
> Matthias Zenker   MAIL: Fraunhofer Institute for Solar Energy Systems
>   Oltmannsstr. 5, 79100 Freiburg, Germany
>   PHONE: (+49) 761/4588-179  
>   FAX  : (+49) 761/4588-217
> EMAIL: [EMAIL PROTECTED]
> WWW  : http://www.ise.fhg.de/personal_home_pages/zenker/Welcome.html
> ==
> 
> -- 
>   +++ the lyx project user mailing list +++
> To unsubscribe from this list send mail to 
>  [EMAIL PROTECTED]
> with the **Subject** unsubscribe.
> 
> 



Bernhard Kohn
Max-Planck-Institut fuer Stroemungsforschung
Bunsenstr. 10
37073 Goettingen

Tel.: 0551-5176-578 Buero I
   -709 Labor
   -574 Buero II
Fax:  0551-5176-607
   -704

email: [EMAIL PROTECTED]




% BibTeX standard bibliography style `alpha'
% version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
% Copyright (C) 1985, all rights reserved.
% Copying of this file is authorized only if either
% (1) you make absolutely no changes to your copy, including name, or
% (2) if you do make changes, you name it something other than
% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
% This restriction helps ensure that all standard styles are identical.
% The file btxbst.doc has the documentation for this style.

ENTRY
  { address
author
booktitle
chapter
edition
editor
howpublished
institution
journal
key
month
note
number
organization
pages
publisher
school
series
title
type
volume
year
  }
  {}
  { label extra.label sort.label }

INTEGERS { output.state before.all mid.sentence after.sentence after.block }

FUNCTION {init.state.consts}
{ #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}

STRINGS { s t }

FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
{ ", " * write$ }
{ output.state after.block =
{ ", " *  write$
  newline$
  "\newblock " write$
}
{ output.state before.all =
'write$
{ add.period$ " " * write$ }
  if$
}
  if$
  mid.sentence 'output.state :=
}
  if$
  s
}

FUNCTION {output}
{ duplicate$ empty$
'pop$
'output.nonnull
  if$
}

FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
{ pop$ "empty " t * " in " * cite$ * warning$ }
'output.nonnull
  if$
}

FUNCTION {output.bibitem}
{ newline$
  "\bibitem[" write$
  label write$
  "]{" write$
  cite$ write$
  "}" write$
  newline$
  ""
  before.all 'output.state :=
}

FUNCTION {fin.entry}
{ add.period$
  write$
  newline$
}

FUNCTION {new.block}
{ output.state before.all =
'skip$
{ after.block 'output.state := }
  if$
}


FUNCTION {new.sentence}
{ output.state after.block =
'skip$
{ output.state before.all =
'skip$
{ after.sentence 'output.state := }
  if$
}
  if$
}

FUNCTION {not}
{   { #0 }
{ #1 }
  if$
}

FUNCTION {and}
{   'skip$
{ pop$ #0 }
  if$
}

FUNCTION {or}
{   { pop$ #1 }
'skip$
  if$
}

FUNCTION {new.block.checka}
{ empty$
'skip$
'new.block
  if$

Re: word-delete-forward and punctuation marks

1999-01-18 Thread Etienne Grossmann

  Hello,

  as of 1.0pre7, word-delete-forward does not delete punctuation after
the word.

  It should be possible to modify word-forward in that sense too. Can I
submit a patch? Let's say, within three days? 

  Cheers,

  Etienne

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: bibtex

1999-01-18 Thread Jean-Pierre.Chretien

Message-Id: 
>> From: Bernhard Kohn <[EMAIL PROTECTED]>
>> Subject: Re: bibtex
>> 
>> 
>> On Sat, 16 Jan 1999, Matthias Zenker wrote:
>> 
>> > Talking of *.bst: How can I tell alpha.bst to take another key for a
>> > citation ? Example:
>> > 
>> > author = {A. Alpha and B. Beta and G. Gamma}
>> > year = {1999}
>> > 
>> > gives [ABG99]
>> > 
>> > but I want [Alp99] (only the first author), or something even more fancy.
>>  
>> I thing this is notso easy, because you must program your our bst-file.
>> I have a bst-file which cites in the way you intend (at least the
>> [Alp99]). But I don't know if the bibliography is the way you want.
>> I just have attached the bst-file, called myown.bst

Two comments about this discussion (rather bibTeX/LaTeX than LyX-oriented,
I'm afraid).

1/ I think it's better to look for a convenient bst file (and the style
which fits to get the right stuff in the text) than try to
hack the bsts. Seems that natbib does a pretty good job on that
(probably among a lot of others).
A catalogs of bsts and the corresponding result on a database
would be useful, and maybe exist.

2/ As for french citation of first names, the adequation of the
citation style in not so simple as having a non-english bst
for a non-english language, keeping the same bibtex database,
when there are french and english citations in the same bibliography.
My personal feeling is that you will need a french citation style
for french citations and an english citation style for english citations.
That means that the citation type should be different 
(@RapTech for @TechReport for example).
I understand that this raises some problems however, and an automatic
recognition of a language field should be perhaps better.

Regards

-- 
Jean-Pierre

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: can't see text when mouse in lyx window, any idea why?

1999-01-18 Thread Jean-Marc Lasgouttes

> "Dominic" == Dominic Barraclough <[EMAIL PROTECTED]> writes:

Dominic> I finally able to install lyx v 0.12.0.beta last night after
Dominic> some fighting with the xforms. However, when I tried to use
Dominic> lyx I found that if I place the mouse cursor over the lyx
Dominic> window my text area would go black and I could no longer see
Dominic> any text. By contrast if the cursor is over the back ground
Dominic> every thing seems to be fine and I can read the tutorial and
Dominic> the like. Incidentally, I receive the message "failed to
Dominic> share colors. Using private colormap" whenever I start lyx.

Upgrading to a newer version of LyX (1.0.0pre6 from ftp.lyx.org) would
be a good idea, since the particular bug you are encountering is fixed
there.

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: can't see text when mouse in lyx window, any idea why?

1999-01-18 Thread Norbert Stribeck

Dominic Barraclough wrote:

> when I tried to use lyx  I found that
> if I place the mouse cursor over the lyx window my text area would go
> black and I could no longer see any text. By contrast if the cursor is
> over the back ground every thing seems to be fine  and I can read the
> tutorial and the like. Incidentally, I receive the message
> "failed to share colors. Using private colormap" whenever I start lyx.

Close all other applications (except xterm windows) and then start LyX
in order to offer LyX to choose from  the whole palette of colours. Or
upgrade your Xwindows to more than 256 colours.

Most of the other applications are more forgiving with shared colours.
An exception is netscape: While LyX is running you should start it
with a special option: "netscape -install" in order to force it to use a
well designed private colour map.

Norbert

--
%---
%Dr.  Norbert Stribeck   Universitaet Hamburg   fax +49-40-4123-6008
%- polymer physicist - Institut   T M C phone   ...-3615
%---



-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: Keymaps

1999-01-18 Thread Jean-Marc Lasgouttes

> "Reuben" == Reuben Thomas <[EMAIL PROTECTED]> writes:

Reuben> I like the new european keymap and I have LyX set up with
Reuben> european on keymap 1 and greek on keymap 2. But I'd like it to
Reuben> default to no keymap.  Is there a way of doing this?

You can probably set \use_kmap to false in lyxrc and use one of the
following to switch them on:

#
# Keyboard menu
#

\bind "M-k 1"   "keymap-primary"
\bind "M-k 2"   "keymap-secondary"
\bind "M-k o"   "keymap-off"
\bind "M-k t"   "keymap-toggle"
\bind "M-k x"   "keymap-off"

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: word-delete-forward and punctuation marks

1999-01-18 Thread Jean-Marc Lasgouttes

> "Etienne" == Etienne Grossmann <[EMAIL PROTECTED]> writes:

Etienne>   Hello, as of 1.0pre7, word-delete-forward does not delete
Etienne> punctuation after the word.

... except that I forgot to apply your patch. I'll try to do it today.

Etienne>   It should be possible to modify word-forward in that sense
Etienne> too. Can I submit a patch? Let's say, within three days?

Well, I don't know. We should probably make new common functions to
find previous and next words and use that in all word-related
functions. Maybe for 1.0.1. In any case, if you can provide a patch to
unify word function, it would be nice.

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



RE: line separation in lists

1999-01-18 Thread Kinch

On 15-Jan-99 Mithras wrote:

> Can I find documentation for all of the LaTeX commands online?  I
> haven't got access to any hardcopy TeX books.  

You can try this URL:
http://wwwcdf.pd.infn.it/pub/doc/LATEX.PS
It's the LaTeX-2.09 command summary, but I don't know if it is
comprehensive.
-- 
Ciao,   Mileto Rigido

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



AMS with german words

1999-01-18 Thread wollmann

Hi everybody!

I'm learning to use the AMS layout-style. Because I've to write my mathematical
papers in german I set the language to german. For example the word "Proof" is
replaced correctly with "Beweis". But other words like "Example, Theorem..."
are not replaced. Why that? Is there a way to replace all words?

Thank in advance,

Alex.


--
E-Mail: [EMAIL PROTECTED]
Date: 18-Jan-99
Time: 16:03:47

This message was sent by XFMail
--

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: can't see text when mouse in lyx window, any idea why?

1999-01-18 Thread Dominic Barraclough


Thanks for the advice - it worked - Will be up grading soon
Dominic


>
>Try to exit all graphic intensive programs like, Netscape and also 
>all KDE programs - everything that uses a lot of colors and the restart 
>Lyx. Sounds like you are running X in 8bit mode. 
>
>Also try using a newer version - 0,12 is pretty outdated by now.
>
>
>Roland
>
>
>On Fri, 15 Jan 1999, Dominic Barraclough wrote:
>
>> I finally able to install  lyx v 0.12.0.beta last night after some 
>> fighting with the xforms. However, when I tried to use lyx  I found 
that 
>> if I place the mouse cursor over the lyx window my text area would go 
>> black and I could no longer see any text. By contrast if the cursor 
is 
>> over the back ground every thing seems to be fine  and I can read the 
>> tutorial and the like. Incidentally, I receive the message 
>> "failed to share colors. Using private colormap" whenever I start 
lyx.
>> 
>> Advice to a linux/lyx novice please- 
>> 
>> Dominic 
>> 
>> __
>> Get Your Private, Free Email at http://www.hotmail.com
>> 
>> -- 
>>  +++ the lyx project user mailing list +++
>> To unsubscribe from this list send mail to 
>>  [EMAIL PROTECTED]
>> with the **Subject** unsubscribe.
>> 
>
>-- 
>   +++ the lyx project user mailing list +++
>To unsubscribe from this list send mail to 
> [EMAIL PROTECTED]
>with the **Subject** unsubscribe.
>
>


__
Get Your Private, Free Email at http://www.hotmail.com

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Character spacing

1999-01-18 Thread Kaare Rasmussen

How can I change the spacing between characters in just one paragraph
(or for a character choice)?

I need to add a little space between the letters in a section header. Is
it possible?

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.