Re: PS/DVI-Output without Umlaute

2000-08-10 Thread Rainer Hoffmann

Have you set Layout->Dokument->Kodierung to Latin1 ?

Edwin Hoff schrieb:

> I'm using lyx 1.1.4fix3 under Debian-potato i86 to finish my thesis
> thesis.
> Every time I try to produce an PS/DVI-Output-File, the lovely program
> looses
> the german 'Umlaute'. I don't think that Umlaute are essentials for
> communication
> but they are necessary for my thesis. Does anybody know this problem and
>
> how to solve it?
> Edwin.


begin:vcard 
n:Hoffmann;Rainer
tel;fax:+49-8121-72-4728
tel;work:+49-8121-72-4508
x-mozilla-html:FALSE
org:Oce Printing Systems;TEC 23
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing. Rainer Hoffmann
adr;quoted-printable:;;Siemensallee 2=0D=0A;Poing;;85581;Germany
end:vcard



RE: PS/DVI-Output without Umlaute

2000-08-10 Thread Juergen Vigna


On 09-Aug-2000 Edwin Hoff wrote:
> I'm using lyx 1.1.4fix3 under Debian-potato i86 to finish my thesis
> thesis.
> Every time I try to produce an PS/DVI-Output-File, the lovely program
> looses
> the german 'Umlaute'. I don't think that Umlaute are essentials for
> communication
> but they are necessary for my thesis. Does anybody know this problem and

Set latin1 as the document-encoding in the Layout->Document, as you are
using a latin1 language ;)

   Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450296
I-39100 Bozen   Web: http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Go on, EMOTE!  I was RAISED on thought balloons!!




Re: Surefire method to crash Lyx 1.15fix1

2000-08-10 Thread David Martin




David Martin <[EMAIL PROTECTED]> writes:

| After a few hours of sleep I can add that the X paste buffer must be empty
| for the crash to occur.  If the X paste buffer contains something then it
| just pastes the contents of the buffer into the infobar (why is it editable
| at all?).  The traceback shows the forms library clipboard request code to be
| the culprit, my amateurish guess is that it is not handling the empty X paste
| buffer gracefully - but what do I know?:

What version of XForms are you using?
Some versions have had problems with the clipboard.
Are you also sure that you are using a xforms lib that is compiled for
you libc?

    Lgb




As I mentioned in the original post the Xforms lib version is 0.89. 
It is the glibc2.1 elf version from the XForms master ftp server, and I
am running a clean installed Redhat 6.2 distro on a brand new machine,
so it **should** be OK.  This is the only lyx glitch I have so far
found, everything else looks fine and I have other forms library based
apps which don't seem to be showing any symptoms at this stage - bear in
mind the whole installation in less than two weeks old, so there could
be problems lurking that I have not tripped over yet.  It would be
nice to be able to get the forms library source and rebuild it myself to
rule a libc hiccup out (and trace the crash a little better). oh well.
-- 
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND
 


slow typing in lyx

2000-08-10 Thread Tony Dancer

Dear all:

I was having problems with back-delete being so slow, this has been
fixed thanks to help and a patch -- thankyou.

But now I see part of the problem persists. 1.1.5fix1 seems very slow
when I type. I do not notice the effects when I type a paragraph from
scratch. However, when I go back to insert some further words of
wisdom, many of the letters don't appear as lyx/my computer is busy
doing something else (presumably redrawing the screen and working out
what text needs to flow onto the next line and..etc). This isn't just
annoying -- it is unproductive and pretty unbearable to live with. It
was fine in 1.0.4. Can something be done to improve things (and/or the
efficiency  of the code (if this is the root of the problem)?

Thanks 

Tony

--
Airplanes. I survive by watching the movies, without earphones,
reading the lips of actors. Since I understand practically nothing
that is said, I feel quite at home, little different than I do
aground. (Daniel Berrigan)




Re: slow typing in lyx

2000-08-10 Thread Lars Gullik Bjønnes

Tony Dancer <[EMAIL PROTECTED]> writes:

| Dear all:
| 
| I was having problems with back-delete being so slow, this has been
| fixed thanks to help and a patch -- thankyou.

What cpu are you running on?
What compiler/libraries? (or are you using binary packages like rpm?)

Lgb



Inserting Post Script Figures ino Lyx Docs

2000-08-10 Thread MW Reeks, Interface Analysis Centre (URC)

It appears lyx will only accept Post Script Figs. So this means I would 
have to convert my non PS file to PS. The way to do this would be to 
use a PS Printer and generate a PS file from the original file via 
something like Power Point. The problem I am having is that the PS file
generated and inserted into the fig does not appear when I do a post
script view. I guess this is because the PS is level 3 and maybe lyx 
will only accept level 1. Trouble is all the printer drivers supplied 
by Windows 98 are all level 3. So what do you recommend I do? 
The basic problem is how does lyx deal with non PS files in Figs. 
I'd be grateful for you help and advice.
Yours 
Mike Reeks 

--
MW Reeks, Interface Analysis Centre (URC)
[EMAIL PROTECTED]




Re: Inserting Post Script Figures ino Lyx Docs

2000-08-10 Thread Preben Randhol

"MW Reeks, Interface Analysis Centre (URC)" <[EMAIL PROTECTED]> wrote on 
10/08/2000 (14:40) :
> It appears lyx will only accept Post Script Figs. So this means I would 
> have to convert my non PS file to PS. The way to do this would be to 
> use a PS Printer and generate a PS file from the original file via 
> something like Power Point. The problem I am having is that the PS file
> generated and inserted into the fig does not appear when I do a post
> script view. I guess this is because the PS is level 3 and maybe lyx 
> will only accept level 1. Trouble is all the printer drivers supplied 
> by Windows 98 are all level 3. So what do you recommend I do? 

I'd recommend that you install a Postscript driver and use that. You can
get it from Adobe.

  http://www.adobe.com/support/downloads/pdrvwin.htm

Set that driver up to print to the FILE: port (rather than choosing
Print to file). Now each time you need an ps/eps file of a fig you just
choose this printer rather than your ordinary printer.

I think also you can choose the driver to output EPS if you want to. LyX
can handle EPS (it is better than PS for figures etc.)

-- 
Preben Randhol - [EMAIL PROTECTED] - http://www.pvv.org/~randhol/
"Violence is the last refuge of the incompetent",  Isaac Asimov



Re: Inserting Post Script Figures ino Lyx Docs

2000-08-10 Thread Lars Gullik Bjønnes

Preben Randhol <[EMAIL PROTECTED]> writes:

| I think also you can choose the driver to output EPS if you want to. LyX
| can handle EPS (it is better than PS for figures etc.)

LyX can _only_ handle EPS. With plain PS nothing is guaranteed

Lgb



Re: slow typing in lyx

2000-08-10 Thread Tony Dancer

It's a vanilla cyrix p200, and it was an RPM install, but because of
applying the patch it is now an install from a rebuilt RPM, and my
gcc version is egcs-2.91.66 (egcs-1.1.2 release) (it would appear). It
is a RH6.1 with updates.

Tony


> What cpu are you running on?
> What compiler/libraries? (or are you using binary packages like rpm?)
> 
> Lgb

-
 
Most people are carnivorous. This is more than a casual observation. 
They don't want you on the program, they want you on the menu.
(Daniel Berrigan)




Re: Inserting Post Script Figures ino Lyx Docs

2000-08-10 Thread Jean-Pierre.Chretien


>>From: "MW Reeks, Interface Analysis Centre (URC)" <[EMAIL PROTECTED]>
>>Date: Thu, 10 Aug 2000 13:38:09 +0100
>>To: [EMAIL PROTECTED]
>>Subject: Inserting Post Script Figures ino Lyx Docs
>>
>>It appears lyx will only accept Post Script Figs. So this means I would 
>>have to convert my non PS file to PS. The way to do this would be to 
>>use a PS Printer and generate a PS file from the original file via 
>>something like Power Point. The problem I am having is that the PS file
>>generated and inserted into the fig does not appear when I do a post
>>script view. I guess this is because the PS is level 3 and maybe lyx 
>>will only accept level 1. Trouble is all the printer drivers supplied 
>>by Windows 98 are all level 3. So what do you recommend I do? 
>>The basic problem is how does lyx deal with non PS files in Figs. 
>>I'd be grateful for you help and advice.

LyX *should* accept other formats than EPS (no PS which may cover more
than one page and thus includes commands forbidden in EPS) 
using pdflatex (recognized formats are PDF, JPG, PNG and possibly GIF): 
this is clearly oriented towards bitmap figure inclusion 
(and you can't include anymore eps files,
you have to convert them to one of the legal formats).

As far as EPS is concerned, and up to my experience, 
it's not a problem of PS level, but a problem
of quality of the drivers.
Have a look at the ps produced, you should
 - get rid of the exotic data before the %!PS- and after the %%EOF
 - convert to EPS (GStools or ghostcript)
 - get rid of the remaining constructs forbidden in EPS (showpage and
 setpagedevice are common candidates).
 
The inclusion of the cleaned EPS should work, you may still have to
fiddle with the BoundingBox.

Note that drivers claiming to produce EPS may still give you files with
exotic characters and forbidden EPS commands...

Good luck

-- 
Jean-Pierre




Re: slow typing in lyx

2000-08-10 Thread Lars Gullik Bjønnes

Tony Dancer <[EMAIL PROTECTED]> writes:

| It's a vanilla cyrix p200, and it was an RPM install, but because of
| applying the patch it is now an install from a rebuilt RPM, and my
| gcc version is egcs-2.91.66 (egcs-1.1.2 release) (it would appear). It
| is a RH6.1 with updates.

Then I think it is strange that you see this slowdown. Are you tight
on memory? Is the paragraph that you insert chars in huge? (like
~1000 of chars)

Lgb



problem with spellchecking german documents

2000-08-10 Thread Rick Janda

I tried to spellcheck a german document. The documentlanguage is set
to german and everything works fine, except spellchecking.

The spellchecker stop at every word which contain german umlauts
(ü,ä,ö,Ü,Ä,Ö) or a sharp s (ß). If I try "Insert in personal
dictionary" or "Insert in personal dictionary" I will get "Word
'Universitäten' contains illegal characters."

Can anybody help me with this problem?

Thank you, Rick




Re: problem with spellchecking german documents

2000-08-10 Thread Herbert Voss

Rick Janda wrote:
> 
> I tried to spellcheck a german document. The documentlanguage is set
> to german and everything works fine, except spellchecking.
> 
> The spellchecker stop at every word which contain german umlauts
> (ü,ä,ö,Ü,Ä,Ö) or a sharp s (ß). If I try "Insert in personal
> dictionary" or "Insert in personal dictionary" I will get "Word
> 'Universitäten' contains illegal characters."

try options->spellchecker options->input encoding for ispell

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




elsart.layout improved?

2000-08-10 Thread Staffan Ringbom

Hi!

Attach 2 files
-elsart.layout  which I believe is an improved version of
Herbert Voss' file.
-elsmaths.inc (modified from amsmath.inc) to be used with elsart

Please improve!

Staffan

*
elsart.layout
*   #% Do not delete he line below;
configure depends on this
   #  \DeclareLaTeXClass{elsart}
   # Elsevier Article textclass definition file. Taken from article
LyX source code
   # Author : Matthias Ettrich <[EMAIL PROTECTED]>

   # Transposed by Pascal André <[EMAIL PROTECTED]>
   # Heavily modifed and enhanced by serveral developers.
   # article -> elseart by Alain Castera <[EMAIL PROTECTED]>
   # amsart.layout  file used for partial improvement of elsart by
Staffan Ringbom


   # Input general definitions
   Input stdclass.inc

   # There are no chapters in an article.
   NoStyle Chapter
   NoStyle Chapter*

   MaxCounter  Counter_Section
   SecNumDepth 3
   TocDepth3

   # Change a bit Part and Part*
   Style Part
 Align Left
 AlignPossible Left
 TopSep2
 BottomSep 1.5

 Font
   SizeLarger
 EndFont
   End

   Style Part*
 Align Left
 AlignPossible Left
 TopSep2
 BottomSep 1.5

 Font
   SizeLarger
 EndFont
   End

   # begin modifications for elsart from article (A.C.)
   # small caption fonts
   Style Caption
 Font
   SizeSmall
 EndFont
   End

   #added ackowledgement but not stisfactory (watch the keepempty
option)
   Style Acknowledgement
 CopyStyle Section*
 LatexType Command
 LatexName ack
 MarginDynamic
 Align Block
 AlignPossible Block
 NextNoIndent  1
 LabelType Static
 LabelString   Acknowledgement
 KeepEmpty 1

   End


   #added frontmatter. needs also a protected space and change
environment depth
   # for title etc. by hand

   Style Frontmatter
 LatexType Environment
 LatexName frontmatter
 KeepEmpty 1
 LabelType No_label
   End

   #redefined title stuff
   Style Title
 LatexType Command
 Font
  Series   Bold
  Size Large
 EndFont
   End
   Style Author
 LatexType Command
 Font
  Size Large
 EndFont
   End
   Style Abstract
 LabelType Top_Environment
 NextNoIndent  1
   End
   Style Address
 MarginStatic
 LatexType Command
 LatexName address
 AlignPossible Center
 Align Center
 Font
  ShapeItalic
  Size Small
 EndFont
  Preamble
  EndPreamble
   End


### Sections.
# First the standard numbered definitions
Input stdsections.inc


# Redefine some of the section styles.
Style Section
  Align   Left
  AlignPossible  Block, Center, Left

  # standard font definition
  Font
Series   Bold
Shape  Upright
Size  large
  EndFont
End

# Subsection-numbered style definition
Style Subsection
  # standard font definition
  Font
Series   Medium
Shape   Italic
Size  Normal
  EndFont
End

# Subsubsection-numbered style definition
Style Subsubsection
  # standard font definition
  Font
Series  Medium
Shape   Italic
Size  Normal
  EndFont
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

# remove the layouts that we do not need.
NoStyle  Chapter
NoStyle  Paragraph
NoStyle  Subparagraph
NoStyle  Chapter*
#NoStyle  Paragraph*
#NoStyle  Subparagraph*

# Perharp's we should put this at the end of the file so it appears at
the end
# of the list box ??

Input elsmaths.inc

Input stdlayouts.inc
NoStyle Verse# Although mathematicians tend to be poets at times,
 # we don't need this.


Input stdlists.inc


* end elsart.layout
*begin elsmath.inc*
**
  # Original Author of amsmath.inc: David L. Johnson <[EMAIL PROTECTED]>
# Probably broken by Jean-Marc Lasgouttes
<[EMAIL PROTECTED]>
# modified and modularized by Emmanuel GUREGHIAN
<[EMAIL PROTECTED]>
# This version has Theorems and other results numbered in one sequence,
and all
# numbered environments (figures as well) co

AMS not translated (again)

2000-08-10 Thread Emanuele Olivetti

I posted this question some months ago... but didn't find any
working solution (then I forgot everything). Now I MUST solve it:

I use AMS book in italian but some words are not translated,
i.e.:theorem, proof etc..
How can I do? Can I translate on my own ?

Herberto Voss suggested to add some line to
/usr/share/texmf/tex/generic/babel/italian.ldf

There you can find:
...
\def\seename{vedi}%
\def\alsoname{vedi anche}%
\def\proofname{Dimostrazione}%
...

I thought to add :
\def\theoremname{Teorema}%
\def\corollaryname{Corollario}%

ecc..   (I think that "theoremname" and "corollaryname" are correct word).

THIS DOESN'T WORK !!!


How can I do?

I remember that Jean-Marc Lasgouttes suggested to modify layout file...
but, which file? How to modify it?


Thanks a lot.


Emanuele



Re: slow typing in lyx

2000-08-10 Thread Kayvan A. Sylvan

On Thu, Aug 10, 2000 at 02:14:36PM +0100, Tony Dancer wrote:
> It's a vanilla cyrix p200, and it was an RPM install, but because of
> applying the patch it is now an install from a rebuilt RPM, and my
> gcc version is egcs-2.91.66 (egcs-1.1.2 release) (it would appear). It
> is a RH6.1 with updates.
> 

Did you make sure to make CFLAGS and CXXFLAGS be -O2 instead of -g
when doing the compile from scratch?

---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: exporting to html with lyx

2000-08-10 Thread Jean-Pierre.Chretien


>>Date: Fri, 21 Jul 2000 15:49:08 -0600
>>From: Josh Rigler <[EMAIL PROTECTED]>
>>CC: [EMAIL PROTECTED]
>>Subject: Re: exporting to html with lyx
>>
>>"Lars Gullik Bjønnes" wrote:
>>> 
>>> Josh Rigler <[EMAIL PROTECTED]> writes:

[discussion about the translation of \url{foo} by latex2HTML]

If you want a clean translations of URLS by latex2HTML, you should
use the specific html.sty commands like \htmladdnormallink{foo}{bar}
which allows to give a different name to the anchor and to the url.

As the URL inset offers the two fields, it is easy to write a small
perl script to filter the lyx file in view of the html translation.

Perhaps the type HTML button (which does not make any difference
in tha layout as far I checked) could be used to autmatically
insert the required \usepackage{html} u=in the preamble
and to replace the \url command by \htmladdnormalllink ?
A last improvement would be to insert a second button to
use \htmladdnormallinkfoot which puts the URL as a footnote referred to
by the anchor, which is a good layout when there are few URLs
in a page.

It may seem boring to insert such latex2html specific syntax in LyX,
so a postfiltering solution may be better, but something is needed anyway.

-- 
Jean-Pierre


 




Re: Inserting Post Script Figures ino Lyx Docs

2000-08-10 Thread MW Reeks, Interface Analysis Centre (URC)

Dear J-P
Many thanks for your rapid and detailed response. Most helpful. 
Mike
On Thu, 10 Aug 2000 15:53:00 +0200 (MET DST) "Jean-Pierre.Chretien" 
<[EMAIL PROTECTED]> wrote:

> 
> >>From: "MW Reeks, Interface Analysis Centre (URC)" <[EMAIL PROTECTED]>
> >>Date: Thu, 10 Aug 2000 13:38:09 +0100
> >>To: [EMAIL PROTECTED]
> >>Subject: Inserting Post Script Figures ino Lyx Docs
> >>
> >>It appears lyx will only accept Post Script Figs. So this means I would 
> >>have to convert my non PS file to PS. The way to do this would be to 
> >>use a PS Printer and generate a PS file from the original file via 
> >>something like Power Point. The problem I am having is that the PS file
> >>generated and inserted into the fig does not appear when I do a post
> >>script view. I guess this is because the PS is level 3 and maybe lyx 
> >>will only accept level 1. Trouble is all the printer drivers supplied 
> >>by Windows 98 are all level 3. So what do you recommend I do? 
> >>The basic problem is how does lyx deal with non PS files in Figs. 
> >>I'd be grateful for you help and advice.
> 
> LyX *should* accept other formats than EPS (no PS which may cover more
> than one page and thus includes commands forbidden in EPS) 
> using pdflatex (recognized formats are PDF, JPG, PNG and possibly GIF): 
> this is clearly oriented towards bitmap figure inclusion 
> (and you can't include anymore eps files,
> you have to convert them to one of the legal formats).
> 
> As far as EPS is concerned, and up to my experience, 
> it's not a problem of PS level, but a problem
> of quality of the drivers.
> Have a look at the ps produced, you should
>  - get rid of the exotic data before the %!PS- and after the %%EOF
>  - convert to EPS (GStools or ghostcript)
>  - get rid of the remaining constructs forbidden in EPS (showpage and
>  setpagedevice are common candidates).
>  
> The inclusion of the cleaned EPS should work, you may still have to
> fiddle with the BoundingBox.
> 
> Note that drivers claiming to produce EPS may still give you files with
> exotic characters and forbidden EPS commands...
> 
> Good luck
> 
> -- 
> Jean-Pierre
> 

--
MW Reeks, Interface Analysis Centre (URC)
[EMAIL PROTECTED]




Re: AMS not translated (again)

2000-08-10 Thread Herbert Voss

Emanuele Olivetti wrote:
> 
> I posted this question some months ago... but didn't find any
> working solution (then I forgot everything). Now I MUST solve it:
> 
> I use AMS book in italian but some words are not translated,
> i.e.:theorem, proof etc..
> How can I do? Can I translate on my own ?
> 
> Herberto Voss suggested to add some line to
> /usr/share/texmf/tex/generic/babel/italian.ldf
> 
> There you can find:
> ...
> \def\seename{vedi}%
> \def\alsoname{vedi anche}%
> \def\proofname{Dimostrazione}%
> ...
> 
> I thought to add :
> \def\theoremname{Teorema}%
> \def\corollaryname{Corollario}%

these names are not part of the classes, they belong to
theorem.sty - package and/or to amsthm.sty - package.
there is a way to get what you want, but it's a little bit
complicated.
first let me say, that there is a historical problem between
lyx and amsbook-class. lyx defines the thm-environment as
a standard with name "Theorem", so there is no easy way
to change this (from my point of view).

1. you can patch the lyx-layout-file amsmath.inc,
   changing the names for the different theorems is
   possible, or alternativ

2. in line 78 of ~/.lyx/layouts/amsbook.layout begins
   a preamble. insert as line 79, before the other
   theorem-commands 
   
   \usepackage[amsthm]{ntheorem}

   (i attached this file, if you are in trouble.)
   with this command you are able to redefine ALL (!)
   theorem-environments, which was not possible with
   the old packages! if this could work, save the
   also attached latex file ntheorem.sty in your
   tex-homedirectory, often ~/.TeX/ or, if you are
   working on your own machine, in 
   /usr/share/texmf/tex/latex/ntheorem/
   (save the old ntheorem.sty, if there is one)

   now you are able to redefine all theorem-styles.
   at the beginning of your document write:

   \renewtheorem{thm}{Teorema}[section]
   \renewtheorem{cor}{Corollario}[section]
   
that's all ... ;-)

thm and cor are the lyx-specific names. here comes the
whole list:
\newtheorem{thm}{Theorem} 
\newtheorem{cor}{Corollary} 
\newtheorem{lem}{Lemma} 
\newtheorem{prop}{Proposition} 
\newtheorem{conjecture}{Conjecture} 
\newtheorem{criterion}{Criterion} 
\newtheorem{algorithm}{Algorithm} 
\newtheorem{fact}{Fact}
\newtheorem{ax}{Axiom}
\newtheorem{defn}{Definition}
\newtheorem{example}{Example}
\newtheorem{condition}{Condition}
\newtheorem{problem}{Problem}
\newtheorem{xca}{Exercise}
\newtheorem{rem}{Remark}
\newtheorem{claim}{Claim}
\newtheorem{note}{Note}
\newtheorem{notation}{Notation}
\newtheorem{summary}{Summary}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{case}{Case}
\newtheorem{conclusion}{Conclusion}

all defined with the ams-classes. 


Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{book (AMS)}
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper "testmath.tex" of January, 1995
# Author : David L. Johnson <[EMAIL PROTECTED]>
# Probably broken by Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
# modified and modularized by Emmanuel GUREGHIAN <[EMAIL PROTECTED]>


# General textclass parameters
# Description  "book (AMS)"
Columns 1
Sides   2
PageStyle   Headers
MaxCounter  Counter_Chapter

ClassOptions
  FontSize   8|9|10|11|12
End  

# Standard style definition
Style Standard
  MarginStatic
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Block
  AlignPossible Block, Left, Right, Center
  LabelType No_Label
End



### Sections.

Input stdsections.inc

# Redefine some of the section styles.
Style Section
  Align Center
  AlignPossible Block, Center, Left

  # standard font definition
  Font
Series  Medium
Shape   Smallcaps
SizeLarge
  EndFont
End

# Subsection-numbered style definition
Style Subsection
  # standard font definition
  Font
Series  Bold
SizeNormal
  EndFont
End

# Subsubsection-numbered style definition
Style Subsubsection
  # standard font definition
  Font
Shape   Italic
SizeNormal
  EndFont
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc


# Perharp's we should put this at the end of the file so it appears at the end
# of the list box ??

Preamble
  \usepackage[amsthm]{ntheorem}
  \numberwithin{section}{chapter}
  \theoremstyle{plain}
  \newtheorem{thm}{Theorem}[section]
  \numberwithin{equation}{section} %% Comment out for sequentially-numbered
  \numberwithin{figure}{section} %% Comment out for sequentially

Re: pdf output

2000-08-10 Thread Matej Cepl

On 5 Aug 00, at 21:35, Steffen Evers wrote:

> > \usepackage{pslatex}
> > \usepackage[ps2pdf,pdftitle={Your Document
> > Title},urlcolor=blue,linktocpage,letterpaper,colorlinks=true]{hyperref}
> > 
> > And then use Export->Postscript and from the shell program ps2pdf
> > 
> > or print-menu and output to a ps-file and than ps2pdf .

> Wow, that's great!
> I didn't know that you are able to produce so good pdf documents with LyX.
> Thanks a lot Herbert!

Hi,

even better result you get by using PDFLaTeX. The only change 
necessary is to use pdftex is to use pdftex as a driver (i.e., instead 
of ps2pdf), export LaTeX instead of PostScript and use (maybe, 
more than once and bibtex) pdflatex instead of regular latex. 
PDFLaTeX should be part of all regular TeX distributions (certainly, it 
is in tetex for Linux as well as in miktex for Win32)

I personally use slightly more complicated construct, see below:

% for use with PDFLaTeX
\newif \ifpdf
\ifx \pdfoutput \undefined
\pdffalse
\else
\pdftrue
\fi

\ifpdf
\pdfinfo { /Author (your name and e-mail address)
   /Title  (official title -- i.e., title element)
   /Subject (one line description of the document)
}
\pdfcatalog { /PageMode (/UseNone)
  % /OpenAction (fitbh)
}
\usepackage[pdftex]{hyperref}
\else
\usepackage[ps2pdf]{hyperref}
\fi

and whenever I want something which should be only in PDF, I use 
\ifpdf .

Happy TeXing

Matej Cepl



Algorithms

2000-08-10 Thread Jonathan Pennington

Can someone send me a .lyx file with algorithms successfully used? I'm
having problems and imagine it's something simple that I've screwed
up, either in the text or the preamble. Thanks.
-- 
Jonathan Pennington | http://coastalgeology.org
Site Manager| Protection and stewardship
CoastalGeology.Org (CGO)| through public education.
[EMAIL PROTECTED] | Join CGO, make a difference.



Re: pdf output

2000-08-10 Thread Steffen Evers

Matej Cepl wrote:
> even better result you get by using PDFLaTeX. The only change
> necessary is to use pdftex is to use pdftex as a driver (i.e., instead
> of ps2pdf), export LaTeX instead of PostScript and use (maybe,
> more than once and bibtex) pdflatex instead of regular latex.
> PDFLaTeX should be part of all regular TeX distributions (certainly, it
> is in tetex for Linux as well as in miktex for Win32)
>

Yes, I would also prefer pdflatex as this driver is able to break hyperlinks
longer than one line in several parts, but two problems has come up:

1. pdflatex complains about my eps and ps figures:
< ! LaTeX Error: Unknown graphics extension: .eps.
<
< See the LaTeX manual or LaTeX Companion for explanation.
< Type  H   for immediate help.
<  ...
<  
 
< l.2602 ...!}{\includegraphics{project-roles2.eps}}
<   \par}

2. Something is wrong with the font (looks ugly). When using the ps2pdf driver
this can be corrected by using the pslatex package, but this doesn't work with
pdflatex.

Any hints?

Steffen




Title, abstract

2000-08-10 Thread William Burrow

I'm just starting to use LyX, for the second time.  Last time was a few
years back.  I'm doing a report, and find that the article class is the
closest to what I need to do.  

The problem is that the title environment does not seem to produce a
separate page, at least when viewed in ghostview or xdvi.  What is the
problem here?  Does this class not generate a separate page for the
title?  Adding a latex \pagebreak command causes the title page to be
numbered.  :(

Another problem is that the paper must have an Executive Summary, rather
than an Abstract.  These two entities are similar, except that an
Executive Summary is headed as such, rather than with the heading
Abstract.  Is there an easy way to change the heading from within LyX,
without having to resort to editing the latex output?

-- 
William Burrow -- New Brunswick, Canada



Re: Binary Xfig

2000-08-10 Thread Steffen Evers

Li Bing wrote:
> 
> Dear All,
> 
> Where can I find binary Xfig?
> 
> Thanks,
> Bing
> 

Firstly, this kind of question is for sure not a development issue. Therefore it
belongs ONLY to the LyX-user mailing list.

As I have already told you last time: Look at http://freshmeat.net for the
software (just type in xfig in the search field). Xfig ist listed there like
most other software that is available via the Internet. Please, look there first
before you ask for the next binary.

Steffen



Re: Binary Xfig

2000-08-10 Thread Carlos A M dos Santos

On Wed, 9 Aug 2000, Li Bing wrote:

> Where can I find binary Xfig?

Look at http://www.xfig.org/

--Casantos