Re: Previews of EPS in colour (or not!)

1999-08-23 Thread Dirk Klugmann

Reuben Thomas wrote:
> 
> A related matter: probably others have asked for this, but it would be
> most useful to scale a picture by a %age of its size, and have the option
> to keep the aspect ratio when scaling it (e.g. if "Keep aspect ratio" were
> selected, then it would be possible only to select one scaling method, not
> both horizontal and vertical).
> 
There is only the option to scale a picture by percentages of column
width or page width and height, respectively.  But the second part of
your request still works for this.  If you set width or height to a
given percentage and set the other dimension to "Default", the aspect
ratio will be kept.  By the way: This also works if you give a fixed
size (in inch or cm) for one dimension.

Regards, Dirk

-- 

**

 Dr. Dirk Klugmann
Institut fuer Troposphaerenforschung  Tel.: +49 341 235 - 2146
 Permoserstrasse 15FAX: +49 341 235 - 2139
 D-04318 LeipzigE-mail: [EMAIL PROTECTED]

   WWW: http://www.tropos.de/

**



Re: Latex Class Trouble

1999-08-23 Thread Jan Ulrich Hasecke

On Mon, 23 Aug 1999, Efram Burlingame wrote:

>restarted it.  I am a broken man and in need of help, what have I
>missed(not knowing a bit of latex)?

How did you write your own class, not knowing a bit of latex? You
must be a wizard!;-)

>
>Did I:
>1)not put the .cls file in the correct place?

Did you put it somewhere in the path texmf/tex/latex? I have a
special directory for my styles there.

Can you run latex from a shell on that file sucessfully? Export
your lyx-file as latex and try. 

latex path/to/your/latex-file.tex

>2)incorrectly ran mktexlsr?

Mhh. I am using texconfig, where there is a command rehash
(rebuild ls-R database) I think it ran mktexlsr. You must be root
to do that!

>3)have a foul .cls file?

Then you will have many error-massages using 

latex path/to/your/latex-file.tex

>4)have trouble reading documention or more likely,
>5)anger the gods

Never try violence or prayers. Talk friendly to your computer. ;-)

Ciao!
juh

-- 
juh's Sudelbuch
Literatur und Satire per E-Mail
http://www.sudelbuch.de




Latex Class Trouble

1999-08-23 Thread Efram Burlingame

Here is my problem, and any and all help is appreciated.

I am trying to use a thesis class from latex in lyx.  I have read the
customization file and also many of the emails to this archive and I must
admit I am still stumped.
What is happening: I can get the lyx document menu to show my class
(ucdthesis), but it tells me 
"unable to use document class.  Reverting to original class"
What I have Done: I created a ucdthesis.layout file in ~/.lyx/layouts
which is as follows

#% our love is a many splendored thing or something
#   \DeclareLaTeXClass[ucdthesis]{ucdthesis} 


>>> then because I read it on one of these posts, i ran texhash (which
apparently is just a pointer to mktexlsr).  I have stored in many
directories my file ucdthesis.cls.  I have stored it in
~/.lyx/tex,~/.lyx/layouts,~texmf, and /usr/share/texmf/tex/latex/misc.
If it is supposed to transfrom the ucdthesis.cls file into something, i
have not seen it.  Oh, and of course I ran reconfigure in lyx and
restarted it.  I am a broken man and in need of help, what have I
missed(not knowing a bit of latex)?

Did I:
1)not put the .cls file in the correct place?
2)incorrectly ran mktexlsr?
3)have a foul .cls file?
4)have trouble reading documention or more likely,
5)anger the gods

-Efram Burlingame

ps. I like lyx and the people in my lab are becoming excited about its
power.  If you can help me surmount this problem you will have gained at
least 10 people more to the cause.  viva lyx!



subtitle?

1999-08-23 Thread Tony Dancer

I have a paper with a short title and a subtitle, but there is no
defined style for 'subtitle'. Can someone point me in the direction for
defining one (I am using AMS Article). As with my previous query, would
some preabmle do the job?


Thanks 
Tony



Still stuck on Solaris

1999-08-23 Thread David F. Nitz

Hi,

Thanks to those who responded to with suggestions regarding my
problem getting Lyx to work on Solaris 2.6.1.  Unfortunately,
none of the suggestions hit the mark.  Let me re-describe
what appears to be the crux of the problem perhaps a bit
more clearly.

Operating System: Solaris 2.6
Compiler: gcc 2.7.2

Lyx versions tried:  1.01 pre-built binary
 1.03 built from source
 1.04pre built from source

Problem:

Can't export LaTex file.  A ".tex" file is created, but size is always 0
bytes.  No error or warning messages are generated.

Any suggestions?  Thanks.

---
David F. Nitz ([EMAIL PROTECTED])
Physics Department, Michigan Tech
Tel: (906)487-2274  Fax: (906) 487-2933



document classes

1999-08-23 Thread Ralph Döring

Hi all,

I think, there are many people who creates their own documentclasses
(*.layout/*.inc - files) for LyX.
I want suggest to install an archive for such user created files on this
sites.

regards

--
  Ralph Döring



Previews of EPS in colour (or not!)

1999-08-23 Thread Reuben Thomas

I've just used EPS figures for the first time, and there's an oddity:
while the pictures are drawn in colour correctly when I preview the
PostScript, the picture in the LyX window doesn't appear in colour, even
though I've ticked the "Colour" option; instead it appears as greyscale.
Is this correct?

A related matter: probably others have asked for this, but it would be
most useful to scale a picture by a %age of its size, and have the option
to keep the aspect ratio when scaling it (e.g. if "Keep aspect ratio" were
selected, then it would be possible only to select one scaling method, not
both horizontal and vertical).

-- 
http://sc3d.org/rrt/ | certain, a.  insufficiently analysed



Re: widow and orphan control

1999-08-23 Thread Jean-Pierre.Chretien


>> Date: Mon, 23 Aug 1999 16:48:29 +
>> From: Darrin Thompson <[EMAIL PROTECTED]>
>> To: lyx <[EMAIL PROTECTED]>
>> Subject: widow and orphan control
>> 
>> Is there a latex or lyx package of some kind that adds widow and orphan
>> control?
>> 
>> Just in case I am not using standard words:
>> 
>> widow: The last line of a paragraph containing seven or less characters.
>> 
>> orphan: The last line of paragraph appearing as the first line in a
>> column.
>> 
>> These are considered undesireable in some cases and I would like to know
>> if there is any latex or lyx way of automatically removing them.
>> 
>> Darrin

>From a previous answer a similar question by Jean-Marc Lasgouttes:

> 1/ The default parameters used by the latex classes for widow/orphans
> might not be the right ones. What I've seen advised is:

> \widowpenalty=1
> \clubpenalty=1
> \raggedbottom

> [this should go in the preamble]

> 2/ If you set explicit vertical paragraph spaces, you should ensure
> that they contain enough elasticity. The default Medskip et al do have
> elasticity, '2em' does not. 

Further information must be in the TeXBook, I guess, as these question
are basic typographic ones.

Regards

-- 
Jean-Pierre



widow and orphan control

1999-08-23 Thread Darrin Thompson

Is there a latex or lyx package of some kind that adds widow and orphan
control?

Just in case I am not using standard words:

widow: The last line of a paragraph containing seven or less characters.

orphan: The last line of paragraph appearing as the first line in a
column.

These are considered undesireable in some cases and I would like to know
if there is any latex or lyx way of automatically removing them.

Darrin



Re: using AMS Article style

1999-08-23 Thread Herbert

Tony Dancer wrote:
> 
> I'm using the AMS Article style, mostly because I like the look.
> However, I would like to modify the style so that there is a return
> after each subsection and subsubsection - at the moment the text flows
> one the same line as these sub-headings. Can anyone offer any pointers
> as to how to change this (which i guess is another way of asking about
> how one creates styles?) ?

put in your latex preamble of the text:

\renewcommand\subsection{\@startsection{subsection}{2}%
\z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
  {\normalfont\bfseries}}

and for "subsubsection" 

\renewcommand\subsubsection{\@startsection{subsubsection}{3}%
...
...


Herbert 

-- 
[EMAIL PROTECTED]
http://www.educat.hu-berlin.de/~voss