Re: tex2pdf 2.1 released -- appologies for my ignorance

2001-06-13 Thread Jean-Pierre.Chretien


Date: Tue, 12 Jun 2001 19:04:56 +1000
From: Kathryn Andersen [EMAIL PROTECTED]
To: Bryan J. Smith [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: tex2pdf 2.1 released -- appologies for my ignorance
User-Agent: Mutt/1.2.5i

On Tue, Jun 12, 2001 at 12:11:08AM -0400, Bryan J. Smith wrote:
 Kayvan A. Sylvan wrote:
  No, that's good enough.
 
 I just need hyperref, right?  What is the easiest way to install
 it in a near-stock RedHat 7.1 full install (just added LyX,
 TeTeX-LyX and XForms)?

I'm using RedHat 7.1 -- hyperref is already there, if you have the teTeX
stuff installed, which I expect you do.

  The following code in your LaTeX preamble does most of what
  I want (with LaTeX - dvips -ps2pdf). You can read the
  hyperref docs for more info.
 
 The problem with ps2pdf is that it seems to not preserve the
 orientation of my paper.  E.g., if I use FoilTeX and landscape for
 slides, the PDF will have the paper portrait with the output
 sideways.  It's fine for printing, but not for presentations.
 
 So I previously used pdftex but it didn't convert the EPS graphics
 before output (and lost them in the end result).  Hence why the
 tex2pdf script was exactly what I needed -- and gives me both
 thumbnails and hyperlinks in the PDF.  I get everything but the PDF
 bookmarks.

You *can* use pdftex if you do the conversion of the EPS graphics
yourself; the actual tex2pdf script uses epstopdf to do the
conversion.  That way, you have two versions of the image file, the EPS
version and the PDF version.  Then, when you include the image file in
your LyX document, just give it the name without the extension, and it
will pick the correct version of the file depending on what it's doing.
Version 1.1.6fix2 of LyX has fixed a bug with this, so that the image
displays correctly when you leave out the extension.

I did it this way myself, because the generated PDF file, if it was a
greyscale image, looked like a dog's breakfast if I used tex2pdf.  But,
what they didn't tell one, is that you can use jpg and png files as
well... and since my greyscale images were originally jpg files in the
first place, I just used them.  So I have the JPG file and the EPS file.

I suggested to the tex2pdf auhors three improvements:
 - allow includegraphics command to span several lines (easy with perl
 instead of sed);
 - put a time stamp to prevent conversion to pdf if the eps is older
 (useful for repetitive conversions);
 - put a check on availability of jpg or png images to prevent conversion
 
May be due to the age of my teTeX install, but eps2pdf after convert
from jpg/png to eps may give bad results, it seems better to use
the original graphic when available.

tex2pdf does a great job to get bookmarks, thumbnails and hyperrefs
in a snap of a finger and these small improvments would make use
of graphics in their original version easier.

Sorry I couln'd give a hand to it...

BTW, didn't check, there improvements might have been made in
the last release.

-- 
Jean-Pierre




Re: LyX on a CD

2001-06-13 Thread Markus Mohr

Hi!

Just to give another example of excellent Unix installation procedures:
take a look at Debian.
Installing lyx is this line (as root): 'apt-get install lyx'. Thats it.
apt resolves all dependencies, loads all needed packages from the
configured source (cd, nfs, ftp, http) and installs them. It will only
ask you if it really needs to and if it wants to overwrite a
configuration file. Normally packages are so well preconfigured that you
don't have to do anything yourself. Packages are also removed
painlessly.
There are other places where Windows is superior (printing springs into
mind), but not in that field.

ciao
marksu



Re: Dumb math question

2001-06-13 Thread Robin Turner

Alberto Vecchiato wrote:
 
 On Tue, 12 Jun 2001, Robin Turner wrote:
 
  Well, I've looked through the Tutorial, the User Guide and a LaTeX command
  summary, and I still can't find how to do the following ...
 
  1.  Type a fraction as an ordinary slash fraction rather than a math fraction;
 
  2.  Type a degree sign (as in a 90 degree arc).
 
  Am I stupid or what?
 
 Don't know if it's what you want, but I usually do this:
 1. simply a/b in math mode;

This just gives more-or-less the same result as text mode.  What I was
hoping for was something where the first number is slightly higher then
the second, as in a normal half sign/

 2. 90^\circ in math mode.

Ha ha, I just failed the lateral thinking test!  It didn't occur to me
to see a degree sign as a superscripted circle.

Thanks

Robin



Re: Dumb math question

2001-06-13 Thread Robin Turner

Herbert Voss wrote:
 
 Robin Turner wrote:
 
  Well, I've looked through the Tutorial, the User Guide and a LaTeX command
  summary, and I still can't find how to do the following ...
 
  1.  Type a fraction as an ordinary slash fraction rather than a math fraction;
 
 http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#nicefrac
 
  2.  Type a degree sign (as in a 90 degree arc).
 
 \usepackagae{textcomp}
 and in text \textdegree

Very elegant!  Thanks once again to Herbert.

Robin



How do I add to/change LYXDIR/encodings (/usr/share/lyx/encodings)?

2001-06-13 Thread David Fong

Dear all!

When trying to change /usr/share/lyx/languages to recognise Chinese-Big5,
I noted that CJK-LyX seems unable to find big5 encoding information.

I guess this information is to be found in /usr/share/lyx/encodings.

How do I go about modifying /usr/share/lyx/encodings so that big5 (or GB) is 
available?

Cheerio, David.

-- 
[EMAIL PROTECTED] - Ivanhoe, 3079, Australia.
http://www.users.bigpond.com/vkelim/ - GnuPG and ICQ available
Amiga / Linux APUS / Linux Mandrake



ieee template

2001-06-13 Thread morten

hi
I am about to write an article and for that I chose the IEEEtran.lyx template.
Opening this resulted in the error that the textclass IEEEtran was unknown.
Also I get errors when I try to dvi the templatefile

Do I need an update of the template and the texclasses - and where do I find it?
I use 1.1.6fix2

morten

-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 13-Jun-2001
Time: 16:48:04

Currently working hard for the LAI at INSA-lyon
--



Re: ieee template

2001-06-13 Thread Peter Suetterlin

morten wrote:
 hi

 I am about to write an article and for that I chose the IEEEtran.lyx
 template.  Opening this resulted in the error that the textclass
 IEEEtran was unknown.  Also I get errors when I try to dvi the
 templatefile

 Do I need an update of the template and the texclasses - and where do
 I find it?

You need the respective latex textclass file.
Use Help-LaTeX_Configuration in LyX and read section 4.13

  Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: ieee template

2001-06-13 Thread Herbert Voss

Peter Suetterlin wrote:
 
  I am about to write an article and for that I chose the IEEEtran.lyx
  template.  Opening this resulted in the error that the textclass
  IEEEtran was unknown.  Also I get errors when I try to dvi the
  templatefile
 
  Do I need an update of the template and the texclasses - and where do
  I find it?

that's right, but i wonder wha the layout file is in the menu,
when the class is not there??

go into ~/.lyx/ and run configure by hand and look for
a line like this
+checking for document class cv [cv]... yes
+checking for document class dinbrief [dinbrief]... yes

did ieee appears?

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: ieee template

2001-06-13 Thread Herbert Voss

Herbert Voss wrote:
 
 Peter Suetterlin wrote:
 
   I am about to write an article and for that I chose the IEEEtran.lyx
   template.  Opening this resulted in the error that the textclass
   IEEEtran was unknown.  Also I get errors when I try to dvi the
   templatefile
 
 that's right, but i wonder wha the layout file is in the menu,
 when the class is not there??

uuups! it was the template, so you can open this file without
the existing cls-file.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: cite in paragraph

2001-06-13 Thread Dekel Tsur

On Tue, Jun 12, 2001 at 09:17:48PM +0200, Ragnar Beer wrote:
   I'm trying to cite in a paragraph environment but it doesn't work.
   I keep getting errors that I don't understand. Is it not possible
   to cite in environments like paragraph, section, etc.?
 
 should be no problem! or so you mean cites in
 section-titles, subsection-...?
 
 You're right. I have no problem until I insert \usepackage{apacite}
 in the preamble to use APA style literature references.
 I think I'll simply use a workaround in this case an change the
 font to bold.

Better solution are
1. Put \protect in latex mode before the citation inset.
2. Use a better package for citation. natbib is the most powerful citation
package, but you can use other packages (e.g. newapa)



Menu-keyboard-shcuts in polish problem

2001-06-13 Thread Playmark

Hi,
after ubgrading from lyx-1.1.6fix1-1 to lyx-1.1.6fix2-1 I've received 
pretty menu items in polish, but at the same time I miss handy 
keybshortcuts for the the menu items. There are only few underlined 
characters to make Meta(Alt)+ cuts.

Can I do something to make it work as in 1.1.6fix1-1? What have I to do 
and haw to do it?

Any sugestion, pleasy,

Greetings,
Bruno

PS. Please, use my private email as I am not in the list now.
-- 
-
Tym si konnica zdaje najpikniejsza
na czarnej ziemi, tamtym znw piechota,
innym okrty. Ja to nazw piknym,
co zachwyt budzi.(Sapph,p.JB)
-



Re: Cross-refs in Structured bibliography

2001-06-13 Thread Dekel Tsur

On Mon, Jun 11, 2001 at 10:20:10PM +0200, Marko Degenkolb wrote:
 Thanks to your help, I managed to get a structured bibliography done with
 all the features I need using bibtopic.
 However, I have two remaining problems:
 
 1) It only works if I run latex/bibtex on the exported tex file manually.
 From within lyx I just get unresolved references and an empty bibliography.

See http://www.educat.hu-berlin.de/~voss/lyx/bibtex/bibtopic.html

 I can't even insert references with the lyx popup but have to put it in ERT.

To allow insertion of citation with lyx, insert a bibtex generated references
inset at the end of the document, and change the layout of the paragraph to
comment.



Re: Space between lines (whats wrong with this TeX?)

2001-06-13 Thread Dekel Tsur

On Tue, Jun 12, 2001 at 07:38:39AM +0200, Herbert Voss wrote:
 Christian Naeger wrote:
  
  Well, if s.o. could tell me how I can change page numbering to begin with 0
  instead of 1 (so that the title page doesn't get a number), I'd be all set!
 
 have a look at
 http://www.educat.hu-berlin.de/~voss/lyx/page/page.html

The solution is not there.

Put \setcounter{page}{0} in the preamble.



Q: multi-line formula numbering

2001-06-13 Thread Wonil Chang

Hello all,

I'm trying to get this problem solved. I've look up lyx documents, latex books,
Deja news, and of course, this lyx mailing list. The situation I have is
examplified as follows,

I have a 3-line equation such as

a=b+c
d=e+f
g=h+i

If I use lyx labeling system, the above equation is labeled like

a=b+c   (1)
d=e+f   (2)
g=h+i   (3)

But what I want is something like

a=b+c   (1.1)
d=e+f   (1.2)
g=h+i   (1.3)

Can any lyx guru help me on this? Any help would be appreciated.

Wonil




Re: Q: multi-line formula numbering

2001-06-13 Thread Herbert Voss

Wonil Chang wrote:
 
 I'm trying to get this problem solved. I've look up lyx documents, latex books,
 Deja news, and of course, this lyx mailing list. The situation I have is
 examplified as follows,
 
 I have a 3-line equation such as
 
 But what I want is something like
 
 a=b+c   (1.1)
 d=e+f   (1.2)
 g=h+i   (1.3)

in latex preamble

\renewcommand{\theequation}{\thechapter.\arabic{equation}}

or \thesection instead of \thechapter if you have article class

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: tex2pdf 2.1 released -- appologies for my ignorance

2001-06-13 Thread Jean-Pierre.Chretien


Date: Tue, 12 Jun 2001 19:04:56 +1000
From: Kathryn Andersen [EMAIL PROTECTED]
To: Bryan J. Smith [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: tex2pdf 2.1 released -- appologies for my ignorance
User-Agent: Mutt/1.2.5i

On Tue, Jun 12, 2001 at 12:11:08AM -0400, Bryan J. Smith wrote:
 Kayvan A. Sylvan wrote:
  No, that's good enough.
 
 I just need hyperref, right?  What is the easiest way to install
 it in a near-stock RedHat 7.1 full install (just added LyX,
 TeTeX-LyX and XForms)?

I'm using RedHat 7.1 -- hyperref is already there, if you have the teTeX
stuff installed, which I expect you do.

  The following code in your LaTeX preamble does most of what
  I want (with LaTeX - dvips -ps2pdf). You can read the
  hyperref docs for more info.
 
 The problem with ps2pdf is that it seems to not preserve the
 orientation of my paper.  E.g., if I use FoilTeX and landscape for
 slides, the PDF will have the paper portrait with the output
 sideways.  It's fine for printing, but not for presentations.
 
 So I previously used pdftex but it didn't convert the EPS graphics
 before output (and lost them in the end result).  Hence why the
 tex2pdf script was exactly what I needed -- and gives me both
 thumbnails and hyperlinks in the PDF.  I get everything but the PDF
 bookmarks.

You *can* use pdftex if you do the conversion of the EPS graphics
yourself; the actual tex2pdf script uses epstopdf to do the
conversion.  That way, you have two versions of the image file, the EPS
version and the PDF version.  Then, when you include the image file in
your LyX document, just give it the name without the extension, and it
will pick the correct version of the file depending on what it's doing.
Version 1.1.6fix2 of LyX has fixed a bug with this, so that the image
displays correctly when you leave out the extension.

I did it this way myself, because the generated PDF file, if it was a
greyscale image, looked like a dog's breakfast if I used tex2pdf.  But,
what they didn't tell one, is that you can use jpg and png files as
well... and since my greyscale images were originally jpg files in the
first place, I just used them.  So I have the JPG file and the EPS file.

I suggested to the tex2pdf auhors three improvements:
 - allow includegraphics command to span several lines (easy with perl
 instead of sed);
 - put a time stamp to prevent conversion to pdf if the eps is older
 (useful for repetitive conversions);
 - put a check on availability of jpg or png images to prevent conversion
 
May be due to the age of my teTeX install, but eps2pdf after convert
from jpg/png to eps may give bad results, it seems better to use
the original graphic when available.

tex2pdf does a great job to get bookmarks, thumbnails and hyperrefs
in a snap of a finger and these small improvments would make use
of graphics in their original version easier.

Sorry I couln'd give a hand to it...

BTW, didn't check, there improvements might have been made in
the last release.

-- 
Jean-Pierre




Re: LyX on a CD

2001-06-13 Thread Markus Mohr

Hi!

Just to give another example of excellent Unix installation procedures:
take a look at Debian.
Installing lyx is this line (as root): 'apt-get install lyx'. Thats it.
apt resolves all dependencies, loads all needed packages from the
configured source (cd, nfs, ftp, http) and installs them. It will only
ask you if it really needs to and if it wants to overwrite a
configuration file. Normally packages are so well preconfigured that you
don't have to do anything yourself. Packages are also removed
painlessly.
There are other places where Windows is superior (printing springs into
mind), but not in that field.

ciao
marksu



Re: Dumb math question

2001-06-13 Thread Robin Turner

Alberto Vecchiato wrote:
 
 On Tue, 12 Jun 2001, Robin Turner wrote:
 
  Well, I've looked through the Tutorial, the User Guide and a LaTeX command
  summary, and I still can't find how to do the following ...
 
  1.  Type a fraction as an ordinary slash fraction rather than a math fraction;
 
  2.  Type a degree sign (as in a 90 degree arc).
 
  Am I stupid or what?
 
 Don't know if it's what you want, but I usually do this:
 1. simply a/b in math mode;

This just gives more-or-less the same result as text mode.  What I was
hoping for was something where the first number is slightly higher then
the second, as in a normal half sign/

 2. 90^\circ in math mode.

Ha ha, I just failed the lateral thinking test!  It didn't occur to me
to see a degree sign as a superscripted circle.

Thanks

Robin



Re: Dumb math question

2001-06-13 Thread Robin Turner

Herbert Voss wrote:
 
 Robin Turner wrote:
 
  Well, I've looked through the Tutorial, the User Guide and a LaTeX command
  summary, and I still can't find how to do the following ...
 
  1.  Type a fraction as an ordinary slash fraction rather than a math fraction;
 
 http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#nicefrac
 
  2.  Type a degree sign (as in a 90 degree arc).
 
 \usepackagae{textcomp}
 and in text \textdegree

Very elegant!  Thanks once again to Herbert.

Robin



How do I add to/change LYXDIR/encodings (/usr/share/lyx/encodings)?

2001-06-13 Thread David Fong

Dear all!

When trying to change /usr/share/lyx/languages to recognise Chinese-Big5,
I noted that CJK-LyX seems unable to find big5 encoding information.

I guess this information is to be found in /usr/share/lyx/encodings.

How do I go about modifying /usr/share/lyx/encodings so that big5 (or GB) is 
available?

Cheerio, David.

-- 
[EMAIL PROTECTED] - Ivanhoe, 3079, Australia.
http://www.users.bigpond.com/vkelim/ - GnuPG and ICQ available
Amiga / Linux APUS / Linux Mandrake



ieee template

2001-06-13 Thread morten

hi
I am about to write an article and for that I chose the IEEEtran.lyx template.
Opening this resulted in the error that the textclass IEEEtran was unknown.
Also I get errors when I try to dvi the templatefile

Do I need an update of the template and the texclasses - and where do I find it?
I use 1.1.6fix2

morten

-- 
--
E-Mail: morten [EMAIL PROTECTED]
Date: 13-Jun-2001
Time: 16:48:04

Currently working hard for the LAI at INSA-lyon
--



Re: ieee template

2001-06-13 Thread Peter Suetterlin

morten wrote:
 hi

 I am about to write an article and for that I chose the IEEEtran.lyx
 template.  Opening this resulted in the error that the textclass
 IEEEtran was unknown.  Also I get errors when I try to dvi the
 templatefile

 Do I need an update of the template and the texclasses - and where do
 I find it?

You need the respective latex textclass file.
Use Help-LaTeX_Configuration in LyX and read section 4.13

  Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: ieee template

2001-06-13 Thread Herbert Voss

Peter Suetterlin wrote:
 
  I am about to write an article and for that I chose the IEEEtran.lyx
  template.  Opening this resulted in the error that the textclass
  IEEEtran was unknown.  Also I get errors when I try to dvi the
  templatefile
 
  Do I need an update of the template and the texclasses - and where do
  I find it?

that's right, but i wonder wha the layout file is in the menu,
when the class is not there??

go into ~/.lyx/ and run configure by hand and look for
a line like this
+checking for document class cv [cv]... yes
+checking for document class dinbrief [dinbrief]... yes

did ieee appears?

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: ieee template

2001-06-13 Thread Herbert Voss

Herbert Voss wrote:
 
 Peter Suetterlin wrote:
 
   I am about to write an article and for that I chose the IEEEtran.lyx
   template.  Opening this resulted in the error that the textclass
   IEEEtran was unknown.  Also I get errors when I try to dvi the
   templatefile
 
 that's right, but i wonder wha the layout file is in the menu,
 when the class is not there??

uuups! it was the template, so you can open this file without
the existing cls-file.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: cite in paragraph

2001-06-13 Thread Dekel Tsur

On Tue, Jun 12, 2001 at 09:17:48PM +0200, Ragnar Beer wrote:
   I'm trying to cite in a paragraph environment but it doesn't work.
   I keep getting errors that I don't understand. Is it not possible
   to cite in environments like paragraph, section, etc.?
 
 should be no problem! or so you mean cites in
 section-titles, subsection-...?
 
 You're right. I have no problem until I insert \usepackage{apacite}
 in the preamble to use APA style literature references.
 I think I'll simply use a workaround in this case an change the
 font to bold.

Better solution are
1. Put \protect in latex mode before the citation inset.
2. Use a better package for citation. natbib is the most powerful citation
package, but you can use other packages (e.g. newapa)



Menu-keyboard-shcuts in polish problem

2001-06-13 Thread Playmark

Hi,
after ubgrading from lyx-1.1.6fix1-1 to lyx-1.1.6fix2-1 I've received 
pretty menu items in polish, but at the same time I miss handy 
keybshortcuts for the the menu items. There are only few underlined 
characters to make Meta(Alt)+ cuts.

Can I do something to make it work as in 1.1.6fix1-1? What have I to do 
and haw to do it?

Any sugestion, pleasy,

Greetings,
Bruno

PS. Please, use my private email as I am not in the list now.
-- 
-
Tym si konnica zdaje najpikniejsza
na czarnej ziemi, tamtym znw piechota,
innym okrty. Ja to nazw piknym,
co zachwyt budzi.(Sapph,p.JB)
-



Re: Cross-refs in Structured bibliography

2001-06-13 Thread Dekel Tsur

On Mon, Jun 11, 2001 at 10:20:10PM +0200, Marko Degenkolb wrote:
 Thanks to your help, I managed to get a structured bibliography done with
 all the features I need using bibtopic.
 However, I have two remaining problems:
 
 1) It only works if I run latex/bibtex on the exported tex file manually.
 From within lyx I just get unresolved references and an empty bibliography.

See http://www.educat.hu-berlin.de/~voss/lyx/bibtex/bibtopic.html

 I can't even insert references with the lyx popup but have to put it in ERT.

To allow insertion of citation with lyx, insert a bibtex generated references
inset at the end of the document, and change the layout of the paragraph to
comment.



Re: Space between lines (whats wrong with this TeX?)

2001-06-13 Thread Dekel Tsur

On Tue, Jun 12, 2001 at 07:38:39AM +0200, Herbert Voss wrote:
 Christian Naeger wrote:
  
  Well, if s.o. could tell me how I can change page numbering to begin with 0
  instead of 1 (so that the title page doesn't get a number), I'd be all set!
 
 have a look at
 http://www.educat.hu-berlin.de/~voss/lyx/page/page.html

The solution is not there.

Put \setcounter{page}{0} in the preamble.



Q: multi-line formula numbering

2001-06-13 Thread Wonil Chang

Hello all,

I'm trying to get this problem solved. I've look up lyx documents, latex books,
Deja news, and of course, this lyx mailing list. The situation I have is
examplified as follows,

I have a 3-line equation such as

a=b+c
d=e+f
g=h+i

If I use lyx labeling system, the above equation is labeled like

a=b+c   (1)
d=e+f   (2)
g=h+i   (3)

But what I want is something like

a=b+c   (1.1)
d=e+f   (1.2)
g=h+i   (1.3)

Can any lyx guru help me on this? Any help would be appreciated.

Wonil




Re: Q: multi-line formula numbering

2001-06-13 Thread Herbert Voss

Wonil Chang wrote:
 
 I'm trying to get this problem solved. I've look up lyx documents, latex books,
 Deja news, and of course, this lyx mailing list. The situation I have is
 examplified as follows,
 
 I have a 3-line equation such as
 
 But what I want is something like
 
 a=b+c   (1.1)
 d=e+f   (1.2)
 g=h+i   (1.3)

in latex preamble

\renewcommand{\theequation}{\thechapter.\arabic{equation}}

or \thesection instead of \thechapter if you have article class

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: tex2pdf 2.1 released -- appologies for my ignorance

2001-06-13 Thread Jean-Pierre.Chretien


>>Date: Tue, 12 Jun 2001 19:04:56 +1000
>>From: Kathryn Andersen <[EMAIL PROTECTED]>
>>To: "Bryan J. Smith" <[EMAIL PROTECTED]>
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: tex2pdf 2.1 released -- appologies for my ignorance
>>User-Agent: Mutt/1.2.5i
>>
>>On Tue, Jun 12, 2001 at 12:11:08AM -0400, Bryan J. Smith wrote:
>>> "Kayvan A. Sylvan" wrote:
>>> > No, that's good enough.
>>> 
>>> I just need "hyperref," right?  What is the easiest way to install
>>> it in a near-stock RedHat 7.1 full install (just added LyX,
>>> TeTeX-LyX and XForms)?
>>
>>I'm using RedHat 7.1 -- hyperref is already there, if you have the teTeX
>>stuff installed, which I expect you do.
>>
>>> > The following code in your LaTeX preamble does most of what
>>> > I want (with LaTeX -> dvips ->ps2pdf). You can read the
>>> > hyperref docs for more info.
>>> 
>>> The problem with "ps2pdf" is that it seems to not "preserve" the
>>> orientation of my paper.  E.g., if I use FoilTeX and landscape for
>>> slides, the PDF will have the paper "portrait" with the output
>>> "sideways."  It's fine for printing, but not for presentations.
>>> 
>>> So I previously used "pdftex" but it didn't convert the EPS graphics
>>> before output (and lost them in the end result).  Hence why the
>>> "tex2pdf" script was exactly what I needed -- and gives me both
>>> thumbnails and hyperlinks in the PDF.  I get everything but the PDF
>>> bookmarks.
>>
>>You *can* use pdftex if you do the conversion of the EPS graphics
>>yourself; the actual tex2pdf script uses "epstopdf" to do the
>>conversion.  That way, you have two versions of the image file, the EPS
>>version and the PDF version.  Then, when you include the image file in
>>your LyX document, just give it the name without the extension, and it
>>will pick the correct version of the file depending on what it's doing.
>>Version 1.1.6fix2 of LyX has fixed a bug with this, so that the image
>>displays correctly when you leave out the extension.
>>
>>I did it this way myself, because the generated PDF file, if it was a
>>greyscale image, looked like a dog's breakfast if I used tex2pdf.  But,
>>what they didn't tell one, is that you can use jpg and png files as
>>well... and since my greyscale images were originally jpg files in the
>>first place, I just used them.  So I have the JPG file and the EPS file.

I suggested to the tex2pdf auhors three improvements:
 - allow includegraphics command to span several lines (easy with perl
 instead of sed);
 - put a time stamp to prevent conversion to pdf if the eps is older
 (useful for repetitive conversions);
 - put a check on availability of jpg or png images to prevent conversion
 
May be due to the age of my teTeX install, but eps2pdf after convert
from jpg/png to eps may give bad results, it seems better to use
the original graphic when available.

tex2pdf does a great job to get bookmarks, thumbnails and hyperrefs
in a snap of a finger and these small improvments would make use
of graphics in their original version easier.

Sorry I couln'd give a hand to it...

BTW, didn't check, there improvements might have been made in
the last release.

-- 
Jean-Pierre




Re: LyX on a CD

2001-06-13 Thread Markus Mohr

Hi!

Just to give another example of excellent Unix installation procedures:
take a look at Debian.
Installing lyx is this line (as root): 'apt-get install lyx'. Thats it.
apt resolves all dependencies, loads all needed packages from the
configured source (cd, nfs, ftp, http) and installs them. It will only
ask you if it really needs to and if it wants to overwrite a
configuration file. Normally packages are so well preconfigured that you
don't have to do anything yourself. Packages are also removed
painlessly.
There are other places where Windows is superior (printing springs into
mind), but not in that field.

ciao
marksu



Re: Dumb math question

2001-06-13 Thread Robin Turner

Alberto Vecchiato wrote:
> 
> On Tue, 12 Jun 2001, Robin Turner wrote:
> 
> > Well, I've looked through the Tutorial, the User Guide and a LaTeX command
> > summary, and I still can't find how to do the following ...
> >
> > 1.  Type a fraction as an ordinary slash fraction rather than a math fraction;
> >
> > 2.  Type a degree sign (as in "a 90 degree arc").
> >
> > Am I stupid or what?
> >
> Don't know if it's what you want, but I usually do this:
> 1. simply a/b in math mode;

This just gives more-or-less the same result as text mode.  What I was
hoping for was something where the first number is slightly higher then
the second, as in a normal "half" sign/

> 2. 90^\circ in math mode.

Ha ha, I just failed the lateral thinking test!  It didn't occur to me
to see a degree sign as a superscripted circle.

Thanks

Robin



Re: Dumb math question

2001-06-13 Thread Robin Turner

Herbert Voss wrote:
> 
> Robin Turner wrote:
> >
> > Well, I've looked through the Tutorial, the User Guide and a LaTeX command
> > summary, and I still can't find how to do the following ...
> >
> > 1.  Type a fraction as an ordinary slash fraction rather than a math fraction;
> 
> http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#nicefrac
> 
> > 2.  Type a degree sign (as in "a 90 degree arc").
> 
> \usepackagae{textcomp}
> and in text \textdegree

Very elegant!  Thanks once again to Herbert.

Robin



How do I add to/change LYXDIR/encodings (/usr/share/lyx/encodings)?

2001-06-13 Thread David Fong

Dear all!

When trying to change /usr/share/lyx/languages to recognise Chinese-Big5,
I noted that CJK-LyX seems unable to find big5 encoding information.

I guess this information is to be found in /usr/share/lyx/encodings.

How do I go about modifying /usr/share/lyx/encodings so that big5 (or GB) is 
available?

Cheerio, David.

-- 
[EMAIL PROTECTED] - Ivanhoe, 3079, Australia.
http://www.users.bigpond.com/vkelim/ - GnuPG and ICQ available
Amiga / Linux APUS / Linux Mandrake



ieee template

2001-06-13 Thread morten

hi
I am about to write an article and for that I chose the IEEEtran.lyx template.
Opening this resulted in the error that the textclass IEEEtran was unknown.
Also I get errors when I try to dvi the templatefile

Do I need an update of the template and the texclasses - and where do I find it?
I use 1.1.6fix2

morten

-- 
--
E-Mail: morten <[EMAIL PROTECTED]>
Date: 13-Jun-2001
Time: 16:48:04

Currently working hard for the LAI at INSA-lyon
--



Re: ieee template

2001-06-13 Thread Peter Suetterlin

morten wrote:
> hi

> I am about to write an article and for that I chose the IEEEtran.lyx
> template.  Opening this resulted in the error that the textclass
> IEEEtran was unknown.  Also I get errors when I try to dvi the
> templatefile

> Do I need an update of the template and the texclasses - and where do
> I find it?

You need the respective latex textclass file.
Use Help->LaTeX_Configuration in LyX and read section 4.13

  Pit

-- 
Peter "Pit" Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: ieee template

2001-06-13 Thread Herbert Voss

Peter Suetterlin wrote:
> 
> > I am about to write an article and for that I chose the IEEEtran.lyx
> > template.  Opening this resulted in the error that the textclass
> > IEEEtran was unknown.  Also I get errors when I try to dvi the
> > templatefile
> 
> > Do I need an update of the template and the texclasses - and where do
> > I find it?

that's right, but i wonder wha the layout file is in the menu,
when the class is not there??

go into ~/.lyx/ and run configure by hand and look for
a line like this
+checking for document class cv [cv]... yes
+checking for document class dinbrief [dinbrief]... yes

did ieee appears?

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: ieee template

2001-06-13 Thread Herbert Voss

Herbert Voss wrote:
> 
> Peter Suetterlin wrote:
> >
> > > I am about to write an article and for that I chose the IEEEtran.lyx
> > > template.  Opening this resulted in the error that the textclass
> > > IEEEtran was unknown.  Also I get errors when I try to dvi the
> > > templatefile
> 
> that's right, but i wonder wha the layout file is in the menu,
> when the class is not there??

uuups! it was the template, so you can open this file without
the existing cls-file.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: cite in paragraph

2001-06-13 Thread Dekel Tsur

On Tue, Jun 12, 2001 at 09:17:48PM +0200, Ragnar Beer wrote:
> >>  I'm trying to cite in a paragraph environment but it doesn't work.
> >>  I keep getting errors that I don't understand. Is it not possible
> >>  to cite in environments like paragraph, section, etc.?
> >
> >should be no problem! or so you mean cites in
> >section-titles, subsection-...?
> 
> You're right. I have no problem until I insert \usepackage{apacite}
> in the preamble to use APA style literature references.
> I think I'll simply use a workaround in this case an change the
> font to bold.

Better solution are
1. Put \protect in latex mode before the citation inset.
2. Use a better package for citation. natbib is the most powerful citation
package, but you can use other packages (e.g. newapa)



Menu-keyboard-shcuts in polish problem

2001-06-13 Thread Playmark

Hi,
after ubgrading from lyx-1.1.6fix1-1 to lyx-1.1.6fix2-1 I've received 
pretty menu items in polish, but at the same time I miss handy 
keybshortcuts for the the menu items. There are only few underlined 
characters to make Meta(Alt)+ cuts.

Can I do something to make it work as in 1.1.6fix1-1? What have I to do 
and haw to do it?

Any sugestion, pleasy,

Greetings,
Bruno

PS. Please, use my private email as I am not in the list now.
-- 
-
Tym si konnica zdaje najpikniejsza
na czarnej ziemi, tamtym znów piechota,
innym okrty. Ja to nazw piknym,
co zachwyt budzi.(Sapphó,p.JB)
-



Re: Cross-refs in Structured bibliography

2001-06-13 Thread Dekel Tsur

On Mon, Jun 11, 2001 at 10:20:10PM +0200, Marko Degenkolb wrote:
> Thanks to your help, I managed to get a structured bibliography done with
> all the features I need using bibtopic.
> However, I have two remaining problems:
> 
> 1) It only works if I run latex/bibtex on the exported tex file manually.
> >From within lyx I just get unresolved references and an empty bibliography.

See http://www.educat.hu-berlin.de/~voss/lyx/bibtex/bibtopic.html

> I can't even insert references with the lyx popup but have to put it in ERT.

To allow insertion of citation with lyx, insert a "bibtex generated references"
inset at the end of the document, and change the layout of the paragraph to
comment.



Re: Space between lines (whats wrong with this TeX?)

2001-06-13 Thread Dekel Tsur

On Tue, Jun 12, 2001 at 07:38:39AM +0200, Herbert Voss wrote:
> Christian Naeger wrote:
> > 
> > Well, if s.o. could tell me how I can change page numbering to begin with 0
> > instead of 1 (so that the title page doesn't get a number), I'd be all set!
> 
> have a look at
> http://www.educat.hu-berlin.de/~voss/lyx/page/page.html

The solution is not there.

Put \setcounter{page}{0} in the preamble.



Q: multi-line formula numbering

2001-06-13 Thread Wonil Chang

Hello all,

I'm trying to get this problem solved. I've look up lyx documents, latex books,
Deja news, and of course, this lyx mailing list. The situation I have is
examplified as follows,

I have a 3-line equation such as

a=b+c
d=e+f
g=h+i

If I use lyx labeling system, the above equation is labeled like

a=b+c   (1)
d=e+f   (2)
g=h+i   (3)

But what I want is something like

a=b+c   (1.1)
d=e+f   (1.2)
g=h+i   (1.3)

Can any lyx guru help me on this? Any help would be appreciated.

Wonil




Re: Q: multi-line formula numbering

2001-06-13 Thread Herbert Voss

Wonil Chang wrote:
> 
> I'm trying to get this problem solved. I've look up lyx documents, latex books,
> Deja news, and of course, this lyx mailing list. The situation I have is
> examplified as follows,
> 
> I have a 3-line equation such as
> 
> But what I want is something like
> 
> a=b+c   (1.1)
> d=e+f   (1.2)
> g=h+i   (1.3)

in latex preamble

\renewcommand{\theequation}{\thechapter.\arabic{equation}}

or \thesection instead of \thechapter if you have article class

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/