Re: Problems with forms.h (again)

2001-08-20 Thread Tuukka Toivonen

On Sat, 18 Aug 2001, Jochen F. Rick wrote:

 --with-extra-inf= flags. The first problem goes away, but the second one 
 remains. I check the directory and sure enough there is a forms.h file 

Use --with-extra-inc= instead. If that doesn't help, try setting the
following environment variable:
export C_INCLUDE_PATH=/home/nadja/include
or whatever the path is. (see man gcc for explanation of the environment
variable).
If you're using tcsh instead of bash, it's something like
setenv C_INCLUDE_PATH /home/nadja/include

I think that configure doesn't complain but fails silently if you mispell
an argument.





Re: Hyphenation

2001-08-20 Thread Tuukka Toivonen

On Sun, 19 Aug 2001, Alessandro Cafarella wrote:

 I am writing my thesis both at university and at home.
 The problem is that it cause a different way of
 hyphenating the ending word of the line: in the first
 case the word is not broken while in the second it's
 broken. You can view an example of it in the attached

Have you enabled the hyphenation for your language at home?
If it's tetex, use texconfig hyphen/latex to
enable hyphenation for your language. If it's the university
system, the administrators should have been done this.

LyX doesn't hyphenate, it is done by the LaTeX system.





Hyperrefs to figures, tables ...

2001-08-20 Thread Oliver Haertel

Hi all,

I'm trying to have nice blue hyperref links in my
PDF files, not just for the TOC but as well for references.

With Lyx I've a document with several Labels and References.
one of my labels is 'fig:xxx' to which a PrettyRef points.
I my PDF now, I'd like to have the reference being shown as
'Figure 1' and visible and acting as a link. 

Therefore I've done the following:

\newrefformat{fig}{\hyperlink{#1}{Figure \ref{#1}}}

Now the trouble is, that 'Figure 1' shows up as a link
in my PDF-Doc (which is the desired look), but only a 
click on its number takes me to the figure itself. 
Clicks on 'Figure' are ignored.

But I'd love to have 'Figure' acting as hyperlink
just as well, How can I do this ?


TIA 
oliver



Questions about 6.2.2 in Customizing Lyx: Features for the advanced User

2001-08-20 Thread Steve Litt

Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts 
directory to change just about anything I want in the Lyx environment. But of 
course layout file changes don't change the finished product (.dvi, .ps, .pdf 
etc).

My understanding is I need to make a .sty file to change what I want in the 
finished product. First question: What would be in a myclass.sty file that 
does nothing but change the font size of the Author environment to Giant, 
otherwise keeping the Report text class as-is?

Assuming I can make such a myclass.sty file, my other two questions concern 
what is not said in 6.22. Below I reproduce 6.22, interspersed with my 
twoquestions in angle brackets . Thanks in advance. Once I get this figured 
out I'll make a simple tutorial so nobody else will need to ask these silly 
questions again :-)


6.2.2 LaTeX2e sty file

If your new document class is provided as a style file that is used in 
conjunction with an existing, supported document class, start by copying the 
existing class's layout file into your local directory. For the sake of 
example we'll assume that the style file is called myclass.sty and it is 
meant to be used with report.cls which is a standard class. 

where do I put myclass.sty??

cp report.layout ~/.lyx/layouts/myclass.layout

Then edit myclass.layout and change the line: 

\DeclareLaTeXClass{report}

to read

\DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

Then add:

Preamble \usepackage{myclass}EndPreamble

near the top of the file.

what file? myclass.layout, or something else??





Re: Questions about 6.2.2 in Customizing Lyx: Features for the advanced User

2001-08-20 Thread Christopher M. Jones

If you were to write one, it would most likely go somewhere under your LaTeX 
tree: depending on distribution, /usr/share/texmf/tex/latex/misc, or 
something. Then texconfig rehash.

But really, all you need to do for simple things is modify the existing 
commands, or load extra packages, in the preamble of the layout file.

So: a myArticle.layout that changes section heading to bold looks like

Preamble
 \usepackage{sectsty}
 \sectionfont{\textbf}
EndPreamble.

after the input stuff, after the heading stuff, and before the style 
definitions.

A. to YourQuestion 2: myclass.layout. The idea is you start out with a 
functional layout file and make small modifications to it. So cp report, or 
anything.layout which does basically what you want, and then make 
modifications to the copy. 

On Sunday 19 August 2001 08:35 pm, you wrote:
 Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts
 directory to change just about anything I want in the Lyx environment. But
 of course layout file changes don't change the finished product (.dvi, .ps,
 .pdf etc).

 My understanding is I need to make a .sty file to change what I want in the
 finished product. First question: What would be in a myclass.sty file that
 does nothing but change the font size of the Author environment to Giant,
 otherwise keeping the Report text class as-is?

 Assuming I can make such a myclass.sty file, my other two questions concern
 what is not said in 6.22. Below I reproduce 6.22, interspersed with my
 twoquestions in angle brackets . Thanks in advance. Once I get this
 figured out I'll make a simple tutorial so nobody else will need to ask
 these silly questions again :-)


 6.2.2 LaTeX2e sty file

 If your new document class is provided as a style file that is used in
 conjunction with an existing, supported document class, start by copying
 the existing class's layout file into your local directory. For the sake of
 example we'll assume that the style file is called myclass.sty and it is
 meant to be used with report.cls which is a standard class.

 where do I put myclass.sty??

 cp report.layout ~/.lyx/layouts/myclass.layout

 Then edit myclass.layout and change the line:

 \DeclareLaTeXClass{report}

 to read

 \DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

 Then add:

 Preamble \usepackage{myclass}EndPreamble

 near the top of the file.

 what file? myclass.layout, or something else??



Re: Problems with forms.h (again)

2001-08-20 Thread Jochen F. Rick

Hi!

Thanks for the help. It turns out I don't have the kernel headers 
installed. For the time being, I'm giving up. Compiling the program 
without root access is just too difficult. I've asked my sysadmin to 
install it.

Peace and Luck!

Je77

On Mon, Aug 20, 2001 at 10:25:15AM +0300, Tuukka Toivonen wrote:
 On Sat, 18 Aug 2001, Jochen F. Rick wrote:
 
  --with-extra-inf= flags. The first problem goes away, but the second one 
  remains. I check the directory and sure enough there is a forms.h file 
 
 Use --with-extra-inc= instead. If that doesn't help, try setting the
 following environment variable:
   export C_INCLUDE_PATH=/home/nadja/include
 or whatever the path is. (see man gcc for explanation of the environment
 variable).
   If you're using tcsh instead of bash, it's something like
   setenv C_INCLUDE_PATH /home/nadja/include
 
 I think that configure doesn't complain but fails silently if you mispell
 an argument.
 



Re: Questions about 6.2.2 in Customizing Lyx: Features for the advanced User

2001-08-20 Thread Renaud MICHEL


Le Lundi 20 Août 2001 03:35, vous avez écrit :
 Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts
 directory to change just about anything I want in the Lyx environment. But
 of course layout file changes don't change the finished product (.dvi, .ps,
 .pdf etc).

 My understanding is I need to make a .sty file to change what I want in the
 finished product. First question: What would be in a myclass.sty file that
 does nothing but change the font size of the Author environment to Giant,
 otherwise keeping the Report text class as-is?


No, you don't need to create a .sty file to have a layout file that will do 
something different, you can use the Preamble ... EndPreamble alone or within 
a style statement and LyX will automatically include those lines in the LaTeX 
preamble. Have a look at the formulaire.layout I did for my personal use wich 
is a modification of the article layout.

-- 
L'intelligence est la chose la mieux repartie dans le monde,
tout le monde pense en avoir assez, vu que c'est avec la
sienne qu'il en juge. Coluche

Renaud MICHEL

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{formulaire}
# Article textclass definition file. Taken from initial LyX source code
# Author : Renaud MICHEL [EMAIL PROTECTED]
# Heavily modifed and enhanced by serveral developers.


# General textclass parameters
Columns 1
Sides   1
SecNumDepth 3
TocDepth3
MaxCounter  Counter_Section
ProvidesMakeidx 1

ClassOptions
  PageStyle 
  Other fleqn
End

#definitions dans le preambule
Preamble
  \usepackage{amsfonts,amssymb}
  \usepackage{fancyhdr}
  \usepackage{slashbox}
  \usepackage{multirow}
  \pagestyle{fancy}
  
  \usepackage{makeidx}
  \makeindex
  
  \newcommand{\nompartie}{}
  \newcommand{\nomsection}{}
  \newcommand{\theparthead}{\thepart \hspace{0.5em} \textsc{\nompartie}}
  \newcommand{\thesectionhead}{\thesection \hspace{0.5em} \nomsection}
  
  \@addtoreset{section}{part}
  
  \let\tableofcontentsancien=\tableofcontents
  \renewcommand{\tableofcontents}{\pagebreak {\renewcommand{\nompartie}{\textsc{Table 
des matires}} %
\markboth{}{} \renewcommand{\thepage}{\Roman{page}} \tableofcontentsancien 
\pagebreak} %
\setcounter{page}{1}}
  
  \let\printindexancien=\printindex
  \renewcommand{\printindex}{\pagebreak \addcontentsline{toc}{part}{Index} %
{\renewcommand{\theparthead}{\textsc{Index}} \markboth{}{} \printindexancien 
\pagebreak}}
  
  %on (re)definit les commandes pour les fonctions mathematiques
  \def\sin{\mbox{sin}}
  \def\cos{\mbox{cos}}
  \def\tan{\mbox{tg}}
  \def\cot{\mbox{cotg}}
  
  \def\arcsin{\mbox{arcsin}}
  \def\arccos{\mbox{arccos}}
  \def\arctan{\mbox{arctg}}
  \def\arccot{\mbox{arccotg}}
  
  \def\sinh{\mbox{sh}}
  \def\cosh{\mbox{ch}}
  \def\tanh{\mbox{th}}
  \def\coth{\mbox{coth}}
  
  \def\arcsinh{\mbox{arcsh}}
  \def\arccosh{\mbox{arcch}}
  \def\arctanh{\mbox{arcth}}
  \def\arccoth{\mbox{arccoth}}
  
  \def\arg{\mbox{arg}}
  
  %pour les ensembles mathematiques
  \def\N{\mbox{I\hspace{-0.15em}N}}
  \def\Z{\mbox{Z\hspace{-0.3em}Z}}
  \def\R{\mbox{I\hspace{-0.15em}R}}
  \def\C{\mbox{\hspace{0.22em}\textsf{I}\hspace{-0.47em}C}}
  \def\Q{\mbox{\hspace{0.22em}\textsf{I}\hspace{-0.47em}Q}}
  
  %le 1 de la matrice identite
  \def\un{\ensuremath{1\hspace{-0.22em}\mathrm{l}}}
  
  %modifier l'espacement des equations hors-texte
  \setlength{\mathindent}{5mm}
EndPreamble

# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
  FamilyRoman
  SeriesMedium
  Shape Up
  Size  Normal
  Color None
EndFont

# 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

Input stdlists.inc
Input stdsections.inc

# Part style definition
Style Part
  TopSep2
  BottomSep 1.5
  Align Left
  Alignpossible Left

  Font 
SizeLarger
  EndFont

  Preamble
\let\partancien=\part
\renewcommand{\part}[1]{\pagebreak \renewcommand{\nompartie}{#1} \partancien{#1}}
  EndPreamble
End

# There are no chapters in an article.
NoStyle Chapter

# Section style definition
#Style Section
#  Preamble
#\let\sectionancien=\section
#\renewcommand{\section}[2][]{\renewcommand{\nomsection}{#2} \sectionancien{#2}}
#  EndPreamble
#End

# Paragraph style definition
Style Paragraph
  Preamble
\renewcommand{\theparagraph}{\Alph{paragraph}}
  EndPreamble
End

# Subparagraph style definition
Style Subparagraph
  

\le and \ge from keyboard

2001-08-20 Thread Kostas Oikonomou


In a future release of LyX or mathed, would it be possible to have LyX recognize
\ge and \le when typed in, so one wouldn't have to use the mathed panel?

  Kostas



Re: \le and \ge from keyboard

2001-08-20 Thread Andre Poenitz

On Mon, Aug 20, 2001 at 11:38:41AM -0400, Kostas Oikonomou wrote:
 
 In a future release of LyX or mathed, would it be possible to have LyX
 recognize \ge and \le when typed in, so one wouldn't have to use the
 mathed panel?

It's already in 1.2.0cvs. I think \geq and \leq are already supported in
the old mathed.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Header

2001-08-20 Thread Alexandre Goncalves Jacaranda


Sorry, ins´t log. Is LOGO

Thanks, Alexandre Gonçalves Jacarandá
-Original Message-
From: Christopher M. Jones [EMAIL PROTECTED]
Date: Fri, 17 Aug 2001 10:05:38 -0500
To: LyX [EMAIL PROTECTED]
Subject: Re: Header


 We need more information. Send us error messages, a rehearsal of what you did 
 with what package, what document class you are using, etc.

-- 

___
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 









notice from your webhost

2001-08-20 Thread webhost



This email is being sent to you on behalf of your current webspace provider.
This message is not a spam or junk email, your email address was supplied to 
WebHosting.com
You will not receive any more messages from WebHosting.com this is a one time special 
offer notice.

WebHosting.com is offering a selected number of webhost's member's the following 
special offer. This offer is not available on our website at www.webhosting.com or 
anywhere else, this is a special offer and is valid only for a limitied time. Read on 
to learn more about this amazing offer.

For only $6.25 (one time fee) you can get:

 500mb webspace
 unlimited pop3 email addresses
 cgi-bin
 full ftp access
 php, ssi, my-sql, asp support
 mySQL database
 FREE DOMAIN REGISTRATION (.com .net .org)
 unlimited bandwidth
 miva merchant account
 secure server for transactions
 accept credit cards
 24hour technical support

You did read it right, all this will only cost you $6.25. There are no monthly fees or 
any other costs. You are probably wondering how WebHosting.com can offer all this for 
the very low price of only $6.25, the answer is that WebHosting.com will make a lot of 
revenue from extra webspace charges - people wishing to have more than 500mb can pay 
$10 per 10mb per month.

If you would like to receive this excellent offer all you have to do is send your 
details to the following email address and your username and password will be emailed 
to you within 5 business days. Then you will be able to login at the members area of 
WebHosting.com and configure your account (add domains, setup scripts etc.).

Please send all of the following details:

Your Full Name
Your Full Address
Your Phone Number
Your Email Address
Your Credit Card Number
Your Credit Card Expiry Date
Your Credit Card Type (eg. visa, mastercard etc.)

Send all of the above to [EMAIL PROTECTED]




Thank you and I hope you enjoy this very special offer

John Simmons
Head of Special Promotions, Webhosting.com

-
WebHosting.com is a member of the CNS International Internet Businesses Association




problem with pybliographic

2001-08-20 Thread Manuel Campos Martínez


i've tried both pybliographic and tkbibtex and i get the same result: when i push the
button cite in the lyx documment appears just a grey box with the key of the 
reference
(like [AUTHOR99], by example), but the body with the author's name, tittle and the 
rest
of data doesn't appear.

Using pybliographer  1.0.9-4, lyx1.1.6fix3, on Debian Woody.

Any idea?

Thank you.

---
 · Manuel Campos Martínez 
 · cleese AT teleline DOT es   
 · Linux User #190701 



lyx won't do dvi view (font error?)

2001-08-20 Thread get86

it says it can't find cmr10 and it says other things...
i tried the reconfigure command.

pdf works.

how can i repair it? or do you need more info?

tia

max



Scaling eps figures

2001-08-20 Thread curt brune

Howdy,

I'm running lyx-1.1.6fix3 on Red Hat 7.1  .  I'm having difficulty scaling
eps figures in lyx.  I'm using figure floats to insert several eps figures.
In the figure dialog box I set the Width to 30% of page.  Within lyx the
figure is scaled correctly and looks fine.  However when I view the dvi, ps or 
pdf version the image is not scaled correctly -- the image is shown full size,
which is too large and so is cropped.

Any ideas?  Thanks.

Cheers,
Curt


-- 

Curt Brune   
Stanford Linear Accelerator Center
GLAST -- Flight Software Group
http://www.slac.stanford.edu/exp/glast/daq
[EMAIL PROTECTED]



Thank you!

2001-08-20 Thread Steve Litt

Thank you, thank you, thank you! 

Thanks so much for all the help with document classes, environments, layout 
files, styles, and so much more. There are too many of you to thank -- my 
mailbox was filled with helpful and accurate tips. 

As a result I was able to create my own environment from a .layout file. That 
was the last necessary task in my evaluation, so my next book will be written 
in Lyx.

To carve a path for other newbies, I created a tutorial culminating in the 
creation of an environment at http://www.troubleshooters.com/linux/lyx/. It 
should take about an hour. The page is still under construction and pretty 
rough, but it will probably still be helpful.

Thanks again.

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







APA Document Class

2001-08-20 Thread Birch Browning

Unless I've totally lost my mind while working on a dissertation, didn't 
the standard install of LyX used to include an APA Article class? I had 
fix3 installed and couldn't find it, so I downloaded the cvs source and 
built it. Still no-go on the APA class.

I checked, and I do have apa.cls, apa.sty, apacite.sty, etc. install and 
written into the ls-R data file after I run texhash.

Also, apa.layout is in /usr/share/lyx/layouts/. Any ideas why the APA 
class is not appearing in the menu?

Thanks!

Birch Browning
Tallahassee, FL




Re: APA Document Class

2001-08-20 Thread Remzi Seker

1. did you edit  reconfigure?
2. did you run texhash?
r
- Original Message - 
From: Birch Browning [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 20, 2001 8:51 PM
Subject: APA Document Class


 Unless I've totally lost my mind while working on a dissertation, didn't 
 the standard install of LyX used to include an APA Article class? I had 
 fix3 installed and couldn't find it, so I downloaded the cvs source and 
 built it. Still no-go on the APA class.
 
 I checked, and I do have apa.cls, apa.sty, apacite.sty, etc. install and 
 written into the ls-R data file after I run texhash.
 
 Also, apa.layout is in /usr/share/lyx/layouts/. Any ideas why the APA 
 class is not appearing in the menu?
 
 Thanks!
 
 Birch Browning
 Tallahassee, FL
 





change alignment in matrix

2001-08-20 Thread R.G.N. Meegama


I've created a matrix with centred vertical alignment and entered the
values into the cells. Now, I need to change the alignment to the right.
Do I need to start all over again or is there a way to change the vertical
alignment of the cells without having to key-in the values again ?

I'm running lyx1.1.6.fix1 in Sun OS 5.6.

Thank you

Gayan














config went sour? need bit of help please.

2001-08-20 Thread get86

i ran LyX, fine.

i selected Viewdpi

terminal said:

Running latex
executing command: xdvi -paper us 'newfile1.dvi'
-mktex --mfmode cx --bdpi 300 --mag 'magstep(0)' --dpi 300 cmr12 '3'
mktexpk: Mismatched mode cx and resolution 300; ignoring mode.
mktexpk: Running mf \mode:=; mag:=magstep(0); nonstopmode; input cmr10
This is METAFONT, Version 2.7182 (Web2C 7.3.1)
I can't find the base file 'mf.base'!
grep: cmr10.log: No such file or directory
mktexpk: 'mf \mode:=cx; mag:=magstep(0); nonstopmode; input cmr10' 
failed to make cmr10.300pk

...it repeats...

xvi: can't find font cmr10.
xdvi: Not all pixel files were found

how can i fix this please?

max





Re: change alignment in matrix

2001-08-20 Thread David Green

R.G.N. Meegama [EMAIL PROTECTED] writes:

 I've created a matrix with centred vertical alignment and entered the
 values into the cells. Now, I need to change the alignment to the right.
 Do I need to start all over again or is there a way to change the vertical
 alignment of the cells without having to key-in the values again ?

Right-click on table cell (or highlight rows, columns or tables then
right-click) and then choose right alignment in the Column/Row tab.

-- 
David G. Green  [EMAIL PROTECTED]
UAB Electrical and Computer Engineering Birmingham, AL USA




Re: change alignment in matrix

2001-08-20 Thread R.G.N. Meegama


The matrix was created in math panel and not under the Table environment.  
I cannot right-click the highlighted cells when I create the matrix in
math-panel.

Any idea ?

Gayan


  I've created a matrix with centred vertical alignment and entered the
  values into the cells. Now, I need to change the alignment to the right.
  Do I need to start all over again or is there a way to change the vertical
  alignment of the cells without having to key-in the values again ?
 
 Right-click on table cell (or highlight rows, columns or tables then
 right-click) and then choose right alignment in the Column/Row tab.
 
 -- 
 David G. Green  [EMAIL PROTECTED]
 UAB Electrical and Computer Engineering Birmingham, AL USA
 
 




Re: change alignment in matrix

2001-08-20 Thread Andre Poenitz

 I've created a matrix with centred vertical alignment and entered the
 values into the cells. Now, I need to change the alignment to the right.
 Do I need to start all over again or is there a way to change the vertical
 alignment of the cells without having to key-in the values again ?

I think the only way to do so in 1.1.6 is to open the .lyx file in a text
editor and change the alignment of the column from 'c' to 'r'.

In 1.2.0 you could use  'M-x math-halign r' or some key bound to this.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: change alignment in matrix

2001-08-20 Thread Andre Poenitz

On Mon, Aug 20, 2001 at 11:32:26PM -0500, David Green wrote:
 R.G.N. Meegama [EMAIL PROTECTED] writes:
 
  I've created a matrix with centred vertical alignment and entered the
  values into the cells. Now, I need to change the alignment to the right.
  Do I need to start all over again or is there a way to change the vertical
  alignment of the cells without having to key-in the values again ?
 
 Right-click on table cell (or highlight rows, columns or tables then
 right-click) and then choose right alignment in the Column/Row tab.

Erm... are we talking about math matrices or tables in the outer world?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Problems with forms.h (again)

2001-08-20 Thread Tuukka Toivonen

On Sat, 18 Aug 2001, Jochen F. Rick wrote:

 --with-extra-inf= flags. The first problem goes away, but the second one 
 remains. I check the directory and sure enough there is a forms.h file 

Use --with-extra-inc= instead. If that doesn't help, try setting the
following environment variable:
export C_INCLUDE_PATH=/home/nadja/include
or whatever the path is. (see man gcc for explanation of the environment
variable).
If you're using tcsh instead of bash, it's something like
setenv C_INCLUDE_PATH /home/nadja/include

I think that configure doesn't complain but fails silently if you mispell
an argument.





Re: Hyphenation

2001-08-20 Thread Tuukka Toivonen

On Sun, 19 Aug 2001, Alessandro Cafarella wrote:

 I am writing my thesis both at university and at home.
 The problem is that it cause a different way of
 hyphenating the ending word of the line: in the first
 case the word is not broken while in the second it's
 broken. You can view an example of it in the attached

Have you enabled the hyphenation for your language at home?
If it's tetex, use texconfig hyphen/latex to
enable hyphenation for your language. If it's the university
system, the administrators should have been done this.

LyX doesn't hyphenate, it is done by the LaTeX system.





Hyperrefs to figures, tables ...

2001-08-20 Thread Oliver Haertel

Hi all,

I'm trying to have nice blue hyperref links in my
PDF files, not just for the TOC but as well for references.

With Lyx I've a document with several Labels and References.
one of my labels is 'fig:xxx' to which a PrettyRef points.
I my PDF now, I'd like to have the reference being shown as
'Figure 1' and visible and acting as a link. 

Therefore I've done the following:

\newrefformat{fig}{\hyperlink{#1}{Figure \ref{#1}}}

Now the trouble is, that 'Figure 1' shows up as a link
in my PDF-Doc (which is the desired look), but only a 
click on its number takes me to the figure itself. 
Clicks on 'Figure' are ignored.

But I'd love to have 'Figure' acting as hyperlink
just as well, How can I do this ?


TIA 
oliver



Questions about 6.2.2 in Customizing Lyx: Features for the advanced User

2001-08-20 Thread Steve Litt

Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts 
directory to change just about anything I want in the Lyx environment. But of 
course layout file changes don't change the finished product (.dvi, .ps, .pdf 
etc).

My understanding is I need to make a .sty file to change what I want in the 
finished product. First question: What would be in a myclass.sty file that 
does nothing but change the font size of the Author environment to Giant, 
otherwise keeping the Report text class as-is?

Assuming I can make such a myclass.sty file, my other two questions concern 
what is not said in 6.22. Below I reproduce 6.22, interspersed with my 
twoquestions in angle brackets . Thanks in advance. Once I get this figured 
out I'll make a simple tutorial so nobody else will need to ask these silly 
questions again :-)


6.2.2 LaTeX2e sty file

If your new document class is provided as a style file that is used in 
conjunction with an existing, supported document class, start by copying the 
existing class's layout file into your local directory. For the sake of 
example we'll assume that the style file is called myclass.sty and it is 
meant to be used with report.cls which is a standard class. 

where do I put myclass.sty??

cp report.layout ~/.lyx/layouts/myclass.layout

Then edit myclass.layout and change the line: 

\DeclareLaTeXClass{report}

to read

\DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

Then add:

Preamble \usepackage{myclass}EndPreamble

near the top of the file.

what file? myclass.layout, or something else??





Re: Questions about 6.2.2 in Customizing Lyx: Features for the advanced User

2001-08-20 Thread Christopher M. Jones

If you were to write one, it would most likely go somewhere under your LaTeX 
tree: depending on distribution, /usr/share/texmf/tex/latex/misc, or 
something. Then texconfig rehash.

But really, all you need to do for simple things is modify the existing 
commands, or load extra packages, in the preamble of the layout file.

So: a myArticle.layout that changes section heading to bold looks like

Preamble
 \usepackage{sectsty}
 \sectionfont{\textbf}
EndPreamble.

after the input stuff, after the heading stuff, and before the style 
definitions.

A. to YourQuestion 2: myclass.layout. The idea is you start out with a 
functional layout file and make small modifications to it. So cp report, or 
anything.layout which does basically what you want, and then make 
modifications to the copy. 

On Sunday 19 August 2001 08:35 pm, you wrote:
 Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts
 directory to change just about anything I want in the Lyx environment. But
 of course layout file changes don't change the finished product (.dvi, .ps,
 .pdf etc).

 My understanding is I need to make a .sty file to change what I want in the
 finished product. First question: What would be in a myclass.sty file that
 does nothing but change the font size of the Author environment to Giant,
 otherwise keeping the Report text class as-is?

 Assuming I can make such a myclass.sty file, my other two questions concern
 what is not said in 6.22. Below I reproduce 6.22, interspersed with my
 twoquestions in angle brackets . Thanks in advance. Once I get this
 figured out I'll make a simple tutorial so nobody else will need to ask
 these silly questions again :-)


 6.2.2 LaTeX2e sty file

 If your new document class is provided as a style file that is used in
 conjunction with an existing, supported document class, start by copying
 the existing class's layout file into your local directory. For the sake of
 example we'll assume that the style file is called myclass.sty and it is
 meant to be used with report.cls which is a standard class.

 where do I put myclass.sty??

 cp report.layout ~/.lyx/layouts/myclass.layout

 Then edit myclass.layout and change the line:

 \DeclareLaTeXClass{report}

 to read

 \DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

 Then add:

 Preamble \usepackage{myclass}EndPreamble

 near the top of the file.

 what file? myclass.layout, or something else??



Re: Problems with forms.h (again)

2001-08-20 Thread Jochen F. Rick

Hi!

Thanks for the help. It turns out I don't have the kernel headers 
installed. For the time being, I'm giving up. Compiling the program 
without root access is just too difficult. I've asked my sysadmin to 
install it.

Peace and Luck!

Je77

On Mon, Aug 20, 2001 at 10:25:15AM +0300, Tuukka Toivonen wrote:
 On Sat, 18 Aug 2001, Jochen F. Rick wrote:
 
  --with-extra-inf= flags. The first problem goes away, but the second one 
  remains. I check the directory and sure enough there is a forms.h file 
 
 Use --with-extra-inc= instead. If that doesn't help, try setting the
 following environment variable:
   export C_INCLUDE_PATH=/home/nadja/include
 or whatever the path is. (see man gcc for explanation of the environment
 variable).
   If you're using tcsh instead of bash, it's something like
   setenv C_INCLUDE_PATH /home/nadja/include
 
 I think that configure doesn't complain but fails silently if you mispell
 an argument.
 



Re: Questions about 6.2.2 in Customizing Lyx: Features for the advanced User

2001-08-20 Thread Renaud MICHEL


Le Lundi 20 Août 2001 03:35, vous avez écrit :
 Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts
 directory to change just about anything I want in the Lyx environment. But
 of course layout file changes don't change the finished product (.dvi, .ps,
 .pdf etc).

 My understanding is I need to make a .sty file to change what I want in the
 finished product. First question: What would be in a myclass.sty file that
 does nothing but change the font size of the Author environment to Giant,
 otherwise keeping the Report text class as-is?


No, you don't need to create a .sty file to have a layout file that will do 
something different, you can use the Preamble ... EndPreamble alone or within 
a style statement and LyX will automatically include those lines in the LaTeX 
preamble. Have a look at the formulaire.layout I did for my personal use wich 
is a modification of the article layout.

-- 
L'intelligence est la chose la mieux repartie dans le monde,
tout le monde pense en avoir assez, vu que c'est avec la
sienne qu'il en juge. Coluche

Renaud MICHEL

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{formulaire}
# Article textclass definition file. Taken from initial LyX source code
# Author : Renaud MICHEL [EMAIL PROTECTED]
# Heavily modifed and enhanced by serveral developers.


# General textclass parameters
Columns 1
Sides   1
SecNumDepth 3
TocDepth3
MaxCounter  Counter_Section
ProvidesMakeidx 1

ClassOptions
  PageStyle 
  Other fleqn
End

#definitions dans le preambule
Preamble
  \usepackage{amsfonts,amssymb}
  \usepackage{fancyhdr}
  \usepackage{slashbox}
  \usepackage{multirow}
  \pagestyle{fancy}
  
  \usepackage{makeidx}
  \makeindex
  
  \newcommand{\nompartie}{}
  \newcommand{\nomsection}{}
  \newcommand{\theparthead}{\thepart \hspace{0.5em} \textsc{\nompartie}}
  \newcommand{\thesectionhead}{\thesection \hspace{0.5em} \nomsection}
  
  \@addtoreset{section}{part}
  
  \let\tableofcontentsancien=\tableofcontents
  \renewcommand{\tableofcontents}{\pagebreak {\renewcommand{\nompartie}{\textsc{Table 
des matires}} %
\markboth{}{} \renewcommand{\thepage}{\Roman{page}} \tableofcontentsancien 
\pagebreak} %
\setcounter{page}{1}}
  
  \let\printindexancien=\printindex
  \renewcommand{\printindex}{\pagebreak \addcontentsline{toc}{part}{Index} %
{\renewcommand{\theparthead}{\textsc{Index}} \markboth{}{} \printindexancien 
\pagebreak}}
  
  %on (re)definit les commandes pour les fonctions mathematiques
  \def\sin{\mbox{sin}}
  \def\cos{\mbox{cos}}
  \def\tan{\mbox{tg}}
  \def\cot{\mbox{cotg}}
  
  \def\arcsin{\mbox{arcsin}}
  \def\arccos{\mbox{arccos}}
  \def\arctan{\mbox{arctg}}
  \def\arccot{\mbox{arccotg}}
  
  \def\sinh{\mbox{sh}}
  \def\cosh{\mbox{ch}}
  \def\tanh{\mbox{th}}
  \def\coth{\mbox{coth}}
  
  \def\arcsinh{\mbox{arcsh}}
  \def\arccosh{\mbox{arcch}}
  \def\arctanh{\mbox{arcth}}
  \def\arccoth{\mbox{arccoth}}
  
  \def\arg{\mbox{arg}}
  
  %pour les ensembles mathematiques
  \def\N{\mbox{I\hspace{-0.15em}N}}
  \def\Z{\mbox{Z\hspace{-0.3em}Z}}
  \def\R{\mbox{I\hspace{-0.15em}R}}
  \def\C{\mbox{\hspace{0.22em}\textsf{I}\hspace{-0.47em}C}}
  \def\Q{\mbox{\hspace{0.22em}\textsf{I}\hspace{-0.47em}Q}}
  
  %le 1 de la matrice identite
  \def\un{\ensuremath{1\hspace{-0.22em}\mathrm{l}}}
  
  %modifier l'espacement des equations hors-texte
  \setlength{\mathindent}{5mm}
EndPreamble

# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
  FamilyRoman
  SeriesMedium
  Shape Up
  Size  Normal
  Color None
EndFont

# 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

Input stdlists.inc
Input stdsections.inc

# Part style definition
Style Part
  TopSep2
  BottomSep 1.5
  Align Left
  Alignpossible Left

  Font 
SizeLarger
  EndFont

  Preamble
\let\partancien=\part
\renewcommand{\part}[1]{\pagebreak \renewcommand{\nompartie}{#1} \partancien{#1}}
  EndPreamble
End

# There are no chapters in an article.
NoStyle Chapter

# Section style definition
#Style Section
#  Preamble
#\let\sectionancien=\section
#\renewcommand{\section}[2][]{\renewcommand{\nomsection}{#2} \sectionancien{#2}}
#  EndPreamble
#End

# Paragraph style definition
Style Paragraph
  Preamble
\renewcommand{\theparagraph}{\Alph{paragraph}}
  EndPreamble
End

# Subparagraph style definition
Style Subparagraph
  

\le and \ge from keyboard

2001-08-20 Thread Kostas Oikonomou


In a future release of LyX or mathed, would it be possible to have LyX recognize
\ge and \le when typed in, so one wouldn't have to use the mathed panel?

  Kostas



Re: \le and \ge from keyboard

2001-08-20 Thread Andre Poenitz

On Mon, Aug 20, 2001 at 11:38:41AM -0400, Kostas Oikonomou wrote:
 
 In a future release of LyX or mathed, would it be possible to have LyX
 recognize \ge and \le when typed in, so one wouldn't have to use the
 mathed panel?

It's already in 1.2.0cvs. I think \geq and \leq are already supported in
the old mathed.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Header

2001-08-20 Thread Alexandre Goncalves Jacaranda


Sorry, ins´t log. Is LOGO

Thanks, Alexandre Gonçalves Jacarandá
-Original Message-
From: Christopher M. Jones [EMAIL PROTECTED]
Date: Fri, 17 Aug 2001 10:05:38 -0500
To: LyX [EMAIL PROTECTED]
Subject: Re: Header


 We need more information. Send us error messages, a rehearsal of what you did 
 with what package, what document class you are using, etc.

-- 

___
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 









notice from your webhost

2001-08-20 Thread webhost



This email is being sent to you on behalf of your current webspace provider.
This message is not a spam or junk email, your email address was supplied to 
WebHosting.com
You will not receive any more messages from WebHosting.com this is a one time special 
offer notice.

WebHosting.com is offering a selected number of webhost's member's the following 
special offer. This offer is not available on our website at www.webhosting.com or 
anywhere else, this is a special offer and is valid only for a limitied time. Read on 
to learn more about this amazing offer.

For only $6.25 (one time fee) you can get:

 500mb webspace
 unlimited pop3 email addresses
 cgi-bin
 full ftp access
 php, ssi, my-sql, asp support
 mySQL database
 FREE DOMAIN REGISTRATION (.com .net .org)
 unlimited bandwidth
 miva merchant account
 secure server for transactions
 accept credit cards
 24hour technical support

You did read it right, all this will only cost you $6.25. There are no monthly fees or 
any other costs. You are probably wondering how WebHosting.com can offer all this for 
the very low price of only $6.25, the answer is that WebHosting.com will make a lot of 
revenue from extra webspace charges - people wishing to have more than 500mb can pay 
$10 per 10mb per month.

If you would like to receive this excellent offer all you have to do is send your 
details to the following email address and your username and password will be emailed 
to you within 5 business days. Then you will be able to login at the members area of 
WebHosting.com and configure your account (add domains, setup scripts etc.).

Please send all of the following details:

Your Full Name
Your Full Address
Your Phone Number
Your Email Address
Your Credit Card Number
Your Credit Card Expiry Date
Your Credit Card Type (eg. visa, mastercard etc.)

Send all of the above to [EMAIL PROTECTED]




Thank you and I hope you enjoy this very special offer

John Simmons
Head of Special Promotions, Webhosting.com

-
WebHosting.com is a member of the CNS International Internet Businesses Association




problem with pybliographic

2001-08-20 Thread Manuel Campos Martínez


i've tried both pybliographic and tkbibtex and i get the same result: when i push the
button cite in the lyx documment appears just a grey box with the key of the 
reference
(like [AUTHOR99], by example), but the body with the author's name, tittle and the 
rest
of data doesn't appear.

Using pybliographer  1.0.9-4, lyx1.1.6fix3, on Debian Woody.

Any idea?

Thank you.

---
 · Manuel Campos Martínez 
 · cleese AT teleline DOT es   
 · Linux User #190701 



lyx won't do dvi view (font error?)

2001-08-20 Thread get86

it says it can't find cmr10 and it says other things...
i tried the reconfigure command.

pdf works.

how can i repair it? or do you need more info?

tia

max



Scaling eps figures

2001-08-20 Thread curt brune

Howdy,

I'm running lyx-1.1.6fix3 on Red Hat 7.1  .  I'm having difficulty scaling
eps figures in lyx.  I'm using figure floats to insert several eps figures.
In the figure dialog box I set the Width to 30% of page.  Within lyx the
figure is scaled correctly and looks fine.  However when I view the dvi, ps or 
pdf version the image is not scaled correctly -- the image is shown full size,
which is too large and so is cropped.

Any ideas?  Thanks.

Cheers,
Curt


-- 

Curt Brune   
Stanford Linear Accelerator Center
GLAST -- Flight Software Group
http://www.slac.stanford.edu/exp/glast/daq
[EMAIL PROTECTED]



Thank you!

2001-08-20 Thread Steve Litt

Thank you, thank you, thank you! 

Thanks so much for all the help with document classes, environments, layout 
files, styles, and so much more. There are too many of you to thank -- my 
mailbox was filled with helpful and accurate tips. 

As a result I was able to create my own environment from a .layout file. That 
was the last necessary task in my evaluation, so my next book will be written 
in Lyx.

To carve a path for other newbies, I created a tutorial culminating in the 
creation of an environment at http://www.troubleshooters.com/linux/lyx/. It 
should take about an hour. The page is still under construction and pretty 
rough, but it will probably still be helpful.

Thanks again.

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







APA Document Class

2001-08-20 Thread Birch Browning

Unless I've totally lost my mind while working on a dissertation, didn't 
the standard install of LyX used to include an APA Article class? I had 
fix3 installed and couldn't find it, so I downloaded the cvs source and 
built it. Still no-go on the APA class.

I checked, and I do have apa.cls, apa.sty, apacite.sty, etc. install and 
written into the ls-R data file after I run texhash.

Also, apa.layout is in /usr/share/lyx/layouts/. Any ideas why the APA 
class is not appearing in the menu?

Thanks!

Birch Browning
Tallahassee, FL




Re: APA Document Class

2001-08-20 Thread Remzi Seker

1. did you edit  reconfigure?
2. did you run texhash?
r
- Original Message - 
From: Birch Browning [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 20, 2001 8:51 PM
Subject: APA Document Class


 Unless I've totally lost my mind while working on a dissertation, didn't 
 the standard install of LyX used to include an APA Article class? I had 
 fix3 installed and couldn't find it, so I downloaded the cvs source and 
 built it. Still no-go on the APA class.
 
 I checked, and I do have apa.cls, apa.sty, apacite.sty, etc. install and 
 written into the ls-R data file after I run texhash.
 
 Also, apa.layout is in /usr/share/lyx/layouts/. Any ideas why the APA 
 class is not appearing in the menu?
 
 Thanks!
 
 Birch Browning
 Tallahassee, FL
 





change alignment in matrix

2001-08-20 Thread R.G.N. Meegama


I've created a matrix with centred vertical alignment and entered the
values into the cells. Now, I need to change the alignment to the right.
Do I need to start all over again or is there a way to change the vertical
alignment of the cells without having to key-in the values again ?

I'm running lyx1.1.6.fix1 in Sun OS 5.6.

Thank you

Gayan














config went sour? need bit of help please.

2001-08-20 Thread get86

i ran LyX, fine.

i selected Viewdpi

terminal said:

Running latex
executing command: xdvi -paper us 'newfile1.dvi'
-mktex --mfmode cx --bdpi 300 --mag 'magstep(0)' --dpi 300 cmr12 '3'
mktexpk: Mismatched mode cx and resolution 300; ignoring mode.
mktexpk: Running mf \mode:=; mag:=magstep(0); nonstopmode; input cmr10
This is METAFONT, Version 2.7182 (Web2C 7.3.1)
I can't find the base file 'mf.base'!
grep: cmr10.log: No such file or directory
mktexpk: 'mf \mode:=cx; mag:=magstep(0); nonstopmode; input cmr10' 
failed to make cmr10.300pk

...it repeats...

xvi: can't find font cmr10.
xdvi: Not all pixel files were found

how can i fix this please?

max





Re: change alignment in matrix

2001-08-20 Thread David Green

R.G.N. Meegama [EMAIL PROTECTED] writes:

 I've created a matrix with centred vertical alignment and entered the
 values into the cells. Now, I need to change the alignment to the right.
 Do I need to start all over again or is there a way to change the vertical
 alignment of the cells without having to key-in the values again ?

Right-click on table cell (or highlight rows, columns or tables then
right-click) and then choose right alignment in the Column/Row tab.

-- 
David G. Green  [EMAIL PROTECTED]
UAB Electrical and Computer Engineering Birmingham, AL USA




Re: change alignment in matrix

2001-08-20 Thread R.G.N. Meegama


The matrix was created in math panel and not under the Table environment.  
I cannot right-click the highlighted cells when I create the matrix in
math-panel.

Any idea ?

Gayan


  I've created a matrix with centred vertical alignment and entered the
  values into the cells. Now, I need to change the alignment to the right.
  Do I need to start all over again or is there a way to change the vertical
  alignment of the cells without having to key-in the values again ?
 
 Right-click on table cell (or highlight rows, columns or tables then
 right-click) and then choose right alignment in the Column/Row tab.
 
 -- 
 David G. Green  [EMAIL PROTECTED]
 UAB Electrical and Computer Engineering Birmingham, AL USA
 
 




Re: change alignment in matrix

2001-08-20 Thread Andre Poenitz

 I've created a matrix with centred vertical alignment and entered the
 values into the cells. Now, I need to change the alignment to the right.
 Do I need to start all over again or is there a way to change the vertical
 alignment of the cells without having to key-in the values again ?

I think the only way to do so in 1.1.6 is to open the .lyx file in a text
editor and change the alignment of the column from 'c' to 'r'.

In 1.2.0 you could use  'M-x math-halign r' or some key bound to this.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: change alignment in matrix

2001-08-20 Thread Andre Poenitz

On Mon, Aug 20, 2001 at 11:32:26PM -0500, David Green wrote:
 R.G.N. Meegama [EMAIL PROTECTED] writes:
 
  I've created a matrix with centred vertical alignment and entered the
  values into the cells. Now, I need to change the alignment to the right.
  Do I need to start all over again or is there a way to change the vertical
  alignment of the cells without having to key-in the values again ?
 
 Right-click on table cell (or highlight rows, columns or tables then
 right-click) and then choose right alignment in the Column/Row tab.

Erm... are we talking about math matrices or tables in the outer world?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Problems with forms.h (again)

2001-08-20 Thread Tuukka Toivonen

On Sat, 18 Aug 2001, Jochen F. Rick wrote:

> --with-extra-inf= flags. The first problem goes away, but the second one 
> remains. I check the directory and sure enough there is a "forms.h" file 

Use --with-extra-inc= instead. If that doesn't help, try setting the
following environment variable:
export C_INCLUDE_PATH=/home/nadja/include
or whatever the path is. (see man gcc for explanation of the environment
variable).
If you're using tcsh instead of bash, it's something like
setenv C_INCLUDE_PATH /home/nadja/include

I think that configure doesn't complain but fails silently if you mispell
an argument.





Re: Hyphenation

2001-08-20 Thread Tuukka Toivonen

On Sun, 19 Aug 2001, Alessandro Cafarella wrote:

> I am writing my thesis both at university and at home.
> The problem is that it cause a different way of
> hyphenating the ending word of the line: in the first
> case the word is not broken while in the second it's
> broken. You can view an example of it in the attached

Have you enabled the hyphenation for your language at home?
If it's tetex, use "texconfig" hyphen/latex to
enable hyphenation for your language. If it's the university
system, the administrators should have been done this.

LyX doesn't hyphenate, it is done by the LaTeX system.





Hyperrefs to figures, tables ...

2001-08-20 Thread Oliver Haertel

Hi all,

I'm trying to have nice blue hyperref links in my
PDF files, not just for the TOC but as well for references.

With Lyx I've a document with several Labels and References.
one of my labels is 'fig:xxx' to which a PrettyRef points.
I my PDF now, I'd like to have the reference being shown as
'Figure 1' and visible and acting as a link. 

Therefore I've done the following:

\newrefformat{fig}{\hyperlink{#1}{Figure \ref{#1}}}

Now the trouble is, that 'Figure 1' shows up as a link
in my PDF-Doc (which is the desired look), but only a 
click on its number takes me to the figure itself. 
Clicks on 'Figure' are ignored.

But I'd love to have 'Figure' acting as hyperlink
just as well, How can I do this ?


TIA 
oliver



Questions about 6.2.2 in "Customizing Lyx: Features for the advanced User

2001-08-20 Thread Steve Litt

Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts 
directory to change just about anything I want in the Lyx environment. But of 
course layout file changes don't change the finished product (.dvi, .ps, .pdf 
etc).

My understanding is I need to make a .sty file to change what I want in the 
finished product. First question: What would be in a myclass.sty file that 
does nothing but change the font size of the Author environment to Giant, 
otherwise keeping the Report text class as-is?

Assuming I can make such a myclass.sty file, my other two questions concern 
what is not said in 6.22. Below I reproduce 6.22, interspersed with my 
twoquestions in angle brackets <>. Thanks in advance. Once I get this figured 
out I'll make a simple tutorial so nobody else will need to ask these silly 
questions again :-)


6.2.2 LaTeX2e sty file

If your new document class is provided as a style file that is used in 
conjunction with an existing, supported document class, start by copying the 
existing class's layout file into your local directory. For the sake of 
example we'll assume that the style file is called myclass.sty and it is 
meant to be used with report.cls which is a standard class. 



cp report.layout ~/.lyx/layouts/myclass.layout

Then edit myclass.layout and change the line: 

\DeclareLaTeXClass{report}

to read

\DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

Then add:

Preamble \usepackage{myclass}EndPreamble

near the top of the file.







Re: Questions about 6.2.2 in "Customizing Lyx: Features for the advanced User

2001-08-20 Thread Christopher M. Jones

If you were to write one, it would most likely go somewhere under your LaTeX 
tree: depending on distribution, /usr/share/texmf/tex/latex/misc, or 
something. Then texconfig rehash.

But really, all you need to do for simple things is modify the existing 
commands, or load extra packages, in the preamble of the layout file.

So: a myArticle.layout that changes section heading to bold looks like

Preamble
 \usepackage{sectsty}
 \sectionfont{\textbf}
EndPreamble.

after the input stuff, after the heading stuff, and before the style 
definitions.

A. to YourQuestion 2: myclass.layout. The idea is you start out with a 
functional layout file and make small modifications to it. So cp report, or 
anything.layout which does basically what you want, and then make 
modifications to the copy. 

On Sunday 19 August 2001 08:35 pm, you wrote:
> Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts
> directory to change just about anything I want in the Lyx environment. But
> of course layout file changes don't change the finished product (.dvi, .ps,
> .pdf etc).
>
> My understanding is I need to make a .sty file to change what I want in the
> finished product. First question: What would be in a myclass.sty file that
> does nothing but change the font size of the Author environment to Giant,
> otherwise keeping the Report text class as-is?
>
> Assuming I can make such a myclass.sty file, my other two questions concern
> what is not said in 6.22. Below I reproduce 6.22, interspersed with my
> twoquestions in angle brackets <>. Thanks in advance. Once I get this
> figured out I'll make a simple tutorial so nobody else will need to ask
> these silly questions again :-)
>
>
> 6.2.2 LaTeX2e sty file
>
> If your new document class is provided as a style file that is used in
> conjunction with an existing, supported document class, start by copying
> the existing class's layout file into your local directory. For the sake of
> example we'll assume that the style file is called myclass.sty and it is
> meant to be used with report.cls which is a standard class.
>
> 
>
> cp report.layout ~/.lyx/layouts/myclass.layout
>
> Then edit myclass.layout and change the line:
>
> \DeclareLaTeXClass{report}
>
> to read
>
> \DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
>
> Then add:
>
> Preamble \usepackage{myclass}EndPreamble
>
> near the top of the file.
>
> 



Re: Problems with forms.h (again)

2001-08-20 Thread Jochen F. Rick

Hi!

Thanks for the help. It turns out I don't have the kernel headers 
installed. For the time being, I'm giving up. Compiling the program 
without root access is just too difficult. I've asked my sysadmin to 
install it.

Peace and Luck!

Je77

On Mon, Aug 20, 2001 at 10:25:15AM +0300, Tuukka Toivonen wrote:
> On Sat, 18 Aug 2001, Jochen F. Rick wrote:
> 
> > --with-extra-inf= flags. The first problem goes away, but the second one 
> > remains. I check the directory and sure enough there is a "forms.h" file 
> 
> Use --with-extra-inc= instead. If that doesn't help, try setting the
> following environment variable:
>   export C_INCLUDE_PATH=/home/nadja/include
> or whatever the path is. (see man gcc for explanation of the environment
> variable).
>   If you're using tcsh instead of bash, it's something like
>   setenv C_INCLUDE_PATH /home/nadja/include
> 
> I think that configure doesn't complain but fails silently if you mispell
> an argument.
> 



Re: Questions about 6.2.2 in "Customizing Lyx: Features for the advanced User

2001-08-20 Thread Renaud MICHEL


Le Lundi 20 Août 2001 03:35, vous avez écrit :
> Thanks to all your help, I'm able to make layout files in my ~/.lyx/layouts
> directory to change just about anything I want in the Lyx environment. But
> of course layout file changes don't change the finished product (.dvi, .ps,
> .pdf etc).
>
> My understanding is I need to make a .sty file to change what I want in the
> finished product. First question: What would be in a myclass.sty file that
> does nothing but change the font size of the Author environment to Giant,
> otherwise keeping the Report text class as-is?


No, you don't need to create a .sty file to have a layout file that will do 
something different, you can use the Preamble ... EndPreamble alone or within 
a style statement and LyX will automatically include those lines in the LaTeX 
preamble. Have a look at the formulaire.layout I did for my personal use wich 
is a modification of the article layout.

-- 
L'intelligence est la chose la mieux repartie dans le monde,
tout le monde pense en avoir assez, vu que c'est avec la
sienne qu'il en juge. Coluche

Renaud MICHEL

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{formulaire}
# Article textclass definition file. Taken from initial LyX source code
# Author : Renaud MICHEL <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.


# General textclass parameters
Columns 1
Sides   1
SecNumDepth 3
TocDepth3
MaxCounter  Counter_Section
ProvidesMakeidx 1

ClassOptions
  PageStyle ""
  Other "fleqn"
End

#definitions dans le preambule
Preamble
  \usepackage{amsfonts,amssymb}
  \usepackage{fancyhdr}
  \usepackage{slashbox}
  \usepackage{multirow}
  \pagestyle{fancy}
  
  \usepackage{makeidx}
  \makeindex
  
  \newcommand{\nompartie}{}
  \newcommand{\nomsection}{}
  \newcommand{\theparthead}{\thepart \hspace{0.5em} \textsc{\nompartie}}
  \newcommand{\thesectionhead}{\thesection \hspace{0.5em} \nomsection}
  
  \@addtoreset{section}{part}
  
  \let\tableofcontentsancien=\tableofcontents
  \renewcommand{\tableofcontents}{\pagebreak {\renewcommand{\nompartie}{\textsc{Table 
des matires}} %
\markboth{}{} \renewcommand{\thepage}{\Roman{page}} \tableofcontentsancien 
\pagebreak} %
\setcounter{page}{1}}
  
  \let\printindexancien=\printindex
  \renewcommand{\printindex}{\pagebreak \addcontentsline{toc}{part}{Index} %
{\renewcommand{\theparthead}{\textsc{Index}} \markboth{}{} \printindexancien 
\pagebreak}}
  
  %on (re)definit les commandes pour les fonctions mathematiques
  \def\sin{\mbox{sin}}
  \def\cos{\mbox{cos}}
  \def\tan{\mbox{tg}}
  \def\cot{\mbox{cotg}}
  
  \def\arcsin{\mbox{arcsin}}
  \def\arccos{\mbox{arccos}}
  \def\arctan{\mbox{arctg}}
  \def\arccot{\mbox{arccotg}}
  
  \def\sinh{\mbox{sh}}
  \def\cosh{\mbox{ch}}
  \def\tanh{\mbox{th}}
  \def\coth{\mbox{coth}}
  
  \def\arcsinh{\mbox{arcsh}}
  \def\arccosh{\mbox{arcch}}
  \def\arctanh{\mbox{arcth}}
  \def\arccoth{\mbox{arccoth}}
  
  \def\arg{\mbox{arg}}
  
  %pour les ensembles mathematiques
  \def\N{\mbox{I\hspace{-0.15em}N}}
  \def\Z{\mbox{Z\hspace{-0.3em}Z}}
  \def\R{\mbox{I\hspace{-0.15em}R}}
  \def\C{\mbox{\hspace{0.22em}\textsf{I}\hspace{-0.47em}C}}
  \def\Q{\mbox{\hspace{0.22em}\textsf{I}\hspace{-0.47em}Q}}
  
  %le 1 de la matrice identite
  \def\un{\ensuremath{1\hspace{-0.22em}\mathrm{l}}}
  
  %modifier l'espacement des equations hors-texte
  \setlength{\mathindent}{5mm}
EndPreamble

# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
  FamilyRoman
  SeriesMedium
  Shape Up
  Size  Normal
  Color None
EndFont

# 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

Input stdlists.inc
Input stdsections.inc

# Part style definition
Style Part
  TopSep2
  BottomSep 1.5
  Align Left
  Alignpossible Left

  Font 
SizeLarger
  EndFont

  Preamble
\let\partancien=\part
\renewcommand{\part}[1]{\pagebreak \renewcommand{\nompartie}{#1} \partancien{#1}}
  EndPreamble
End

# There are no chapters in an article.
NoStyle Chapter

# Section style definition
#Style Section
#  Preamble
#\let\sectionancien=\section
#\renewcommand{\section}[2][]{\renewcommand{\nomsection}{#2} \sectionancien{#2}}
#  EndPreamble
#End

# Paragraph style definition
Style Paragraph
  Preamble
\renewcommand{\theparagraph}{\Alph{paragraph}}
  EndPreamble
End

# Subparagraph style definition
Style 

\le and \ge from keyboard

2001-08-20 Thread Kostas Oikonomou


In a future release of LyX or mathed, would it be possible to have LyX recognize
\ge and \le when typed in, so one wouldn't have to use the mathed panel?

  Kostas



Re: \le and \ge from keyboard

2001-08-20 Thread Andre Poenitz

On Mon, Aug 20, 2001 at 11:38:41AM -0400, Kostas Oikonomou wrote:
> 
> In a future release of LyX or mathed, would it be possible to have LyX
> recognize \ge and \le when typed in, so one wouldn't have to use the
> mathed panel?

It's already in 1.2.0cvs. I think \geq and \leq are already supported in
the old mathed.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Header

2001-08-20 Thread Alexandre Goncalves Jacaranda


Sorry, ins´t log. Is LOGO

Thanks, Alexandre Gonçalves Jacarandá
-Original Message-
From: "Christopher M. Jones" <[EMAIL PROTECTED]>
Date: Fri, 17 Aug 2001 10:05:38 -0500
To: LyX <[EMAIL PROTECTED]>
Subject: Re: Header


> We need more information. Send us error messages, a rehearsal of what you did 
> with what package, what document class you are using, etc.

-- 

___
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 









notice from your webhost

2001-08-20 Thread webhost



This email is being sent to you on behalf of your current webspace provider.
This message is not a spam or junk email, your email address was supplied to 
WebHosting.com
You will not receive any more messages from WebHosting.com this is a one time special 
offer notice.

WebHosting.com is offering a selected number of webhost's member's the following 
special offer. This offer is not available on our website at www.webhosting.com or 
anywhere else, this is a special offer and is valid only for a limitied time. Read on 
to learn more about this amazing offer.

For only $6.25 (one time fee) you can get:

> 500mb webspace
> unlimited pop3 email addresses
> cgi-bin
> full ftp access
> php, ssi, my-sql, asp support
> mySQL database
> FREE DOMAIN REGISTRATION (.com .net .org)
> unlimited bandwidth
> miva merchant account
> secure server for transactions
> accept credit cards
> 24hour technical support

You did read it right, all this will only cost you $6.25. There are no monthly fees or 
any other costs. You are probably wondering how WebHosting.com can offer all this for 
the very low price of only $6.25, the answer is that WebHosting.com will make a lot of 
revenue from extra webspace charges - people wishing to have more than 500mb can pay 
$10 per 10mb per month.

If you would like to receive this excellent offer all you have to do is send your 
details to the following email address and your username and password will be emailed 
to you within 5 business days. Then you will be able to login at the members area of 
WebHosting.com and configure your account (add domains, setup scripts etc.).

Please send all of the following details:

Your Full Name
Your Full Address
Your Phone Number
Your Email Address
Your Credit Card Number
Your Credit Card Expiry Date
Your Credit Card Type (eg. visa, mastercard etc.)

Send all of the above to [EMAIL PROTECTED]




Thank you and I hope you enjoy this very special offer

John Simmons
Head of Special Promotions, Webhosting.com

-
WebHosting.com is a member of the CNS International Internet Businesses Association




problem with pybliographic

2001-08-20 Thread Manuel Campos Martínez


i've tried both pybliographic and tkbibtex and i get the same result: when i push the
button "cite" in the lyx documment appears just a grey box with the key of the 
reference
(like [AUTHOR99], by example), but the "body" with the author's name, tittle and the 
rest
of data doesn't appear.

Using pybliographer  1.0.9-4, lyx1.1.6fix3, on Debian Woody.

Any idea?

Thank you.

---
 · Manuel Campos Martínez 
 · cleese AT teleline DOT es   
 · Linux User #190701 



lyx won't do dvi view (font error?)

2001-08-20 Thread get86

it says it can't find "cmr10" and it says other things...
i tried the "reconfigure" command.

pdf works.

how can i repair it? or do you need more info?

tia

max



Scaling eps figures

2001-08-20 Thread curt brune

Howdy,

I'm running lyx-1.1.6fix3 on Red Hat 7.1  .  I'm having difficulty scaling
eps figures in lyx.  I'm using figure floats to insert several eps figures.
In the figure dialog box I set the Width to 30% of page.  Within lyx the
figure is scaled correctly and looks fine.  However when I view the dvi, ps or 
pdf version the image is not scaled correctly -- the image is shown full size,
which is too large and so is cropped.

Any ideas?  Thanks.

Cheers,
Curt


-- 

Curt Brune   
Stanford Linear Accelerator Center
GLAST -- Flight Software Group
http://www.slac.stanford.edu/exp/glast/daq
[EMAIL PROTECTED]



Thank you!

2001-08-20 Thread Steve Litt

Thank you, thank you, thank you! 

Thanks so much for all the help with document classes, environments, layout 
files, styles, and so much more. There are too many of you to thank -- my 
mailbox was filled with helpful and accurate tips. 

As a result I was able to create my own environment from a .layout file. That 
was the last necessary task in my evaluation, so my next book will be written 
in Lyx.

To carve a path for other newbies, I created a tutorial culminating in the 
creation of an environment at http://www.troubleshooters.com/linux/lyx/. It 
should take about an hour. The page is still under construction and pretty 
rough, but it will probably still be helpful.

Thanks again.

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







APA Document Class

2001-08-20 Thread Birch Browning

Unless I've totally lost my mind while working on a dissertation, didn't 
the standard install of LyX used to include an APA Article class? I had 
fix3 installed and couldn't find it, so I downloaded the cvs source and 
built it. Still no-go on the APA class.

I checked, and I do have apa.cls, apa.sty, apacite.sty, etc. install and 
written into the ls-R data file after I run texhash.

Also, apa.layout is in /usr/share/lyx/layouts/. Any ideas why the APA 
class is not appearing in the menu?

Thanks!

Birch Browning
Tallahassee, FL




Re: APA Document Class

2001-08-20 Thread Remzi Seker

1. did you edit > reconfigure?
2. did you run texhash?
r
- Original Message - 
From: Birch Browning <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 8:51 PM
Subject: APA Document Class


> Unless I've totally lost my mind while working on a dissertation, didn't 
> the standard install of LyX used to include an APA Article class? I had 
> fix3 installed and couldn't find it, so I downloaded the cvs source and 
> built it. Still no-go on the APA class.
> 
> I checked, and I do have apa.cls, apa.sty, apacite.sty, etc. install and 
> written into the ls-R data file after I run texhash.
> 
> Also, apa.layout is in /usr/share/lyx/layouts/. Any ideas why the APA 
> class is not appearing in the menu?
> 
> Thanks!
> 
> Birch Browning
> Tallahassee, FL
> 





change alignment in matrix

2001-08-20 Thread R.G.N. Meegama


I've created a matrix with centred vertical alignment and entered the
values into the cells. Now, I need to change the alignment to the right.
Do I need to start all over again or is there a way to change the vertical
alignment of the cells without having to key-in the values again ?

I'm running lyx1.1.6.fix1 in Sun OS 5.6.

Thank you

Gayan














config went sour? need bit of help please.

2001-08-20 Thread get86

i ran LyX, fine.

i selected >View>dpi

terminal said:

Running latex
executing command: xdvi -paper us 'newfile1.dvi'
-mktex --mfmode cx --bdpi 300 --mag 'magstep(0)' --dpi 300 cmr12 '>&3'
mktexpk: Mismatched mode cx and resolution 300; ignoring mode.
mktexpk: Running mf \mode:=; mag:=magstep(0); nonstopmode; input cmr10
This is METAFONT, Version 2.7182 (Web2C 7.3.1)
I can't find the base file 'mf.base'!
grep: cmr10.log: No such file or directory
mktexpk: 'mf \mode:=cx; mag:=magstep(0); nonstopmode; input cmr10' 
failed to make cmr10.300pk

...it repeats...

xvi: can't find font cmr10.
xdvi: Not all pixel files were found

how can i fix this please?

max





Re: change alignment in matrix

2001-08-20 Thread David Green

"R.G.N. Meegama" <[EMAIL PROTECTED]> writes:

> I've created a matrix with centred vertical alignment and entered the
> values into the cells. Now, I need to change the alignment to the right.
> Do I need to start all over again or is there a way to change the vertical
> alignment of the cells without having to key-in the values again ?

Right-click on table cell (or highlight rows, columns or tables then
right-click) and then choose right alignment in the Column/Row tab.

-- 
David G. Green  [EMAIL PROTECTED]
UAB Electrical and Computer Engineering Birmingham, AL USA




Re: change alignment in matrix

2001-08-20 Thread R.G.N. Meegama


The matrix was created in math panel and not under the Table environment.  
I cannot right-click the highlighted cells when I create the matrix in
math-panel.

Any idea ?

Gayan


> > I've created a matrix with centred vertical alignment and entered the
> > values into the cells. Now, I need to change the alignment to the right.
> > Do I need to start all over again or is there a way to change the vertical
> > alignment of the cells without having to key-in the values again ?
> 
> Right-click on table cell (or highlight rows, columns or tables then
> right-click) and then choose right alignment in the Column/Row tab.
> 
> -- 
> David G. Green  [EMAIL PROTECTED]
> UAB Electrical and Computer Engineering Birmingham, AL USA
> 
> 




Re: change alignment in matrix

2001-08-20 Thread Andre Poenitz

> I've created a matrix with centred vertical alignment and entered the
> values into the cells. Now, I need to change the alignment to the right.
> Do I need to start all over again or is there a way to change the vertical
> alignment of the cells without having to key-in the values again ?

I think the only way to do so in 1.1.6 is to open the .lyx file in a text
editor and change the alignment of the column from 'c' to 'r'.

In 1.2.0 you could use  'M-x math-halign r' or some key bound to this.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: change alignment in matrix

2001-08-20 Thread Andre Poenitz

On Mon, Aug 20, 2001 at 11:32:26PM -0500, David Green wrote:
> "R.G.N. Meegama" <[EMAIL PROTECTED]> writes:
> 
> > I've created a matrix with centred vertical alignment and entered the
> > values into the cells. Now, I need to change the alignment to the right.
> > Do I need to start all over again or is there a way to change the vertical
> > alignment of the cells without having to key-in the values again ?
> 
> Right-click on table cell (or highlight rows, columns or tables then
> right-click) and then choose right alignment in the Column/Row tab.

Erm... are we talking about math matrices or tables in the "outer world"?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]