Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread A. Gunes Koru


Hi,

My problem is about the usage of IEEEtran.cls in lyx. At the beginning I
couldn't make lyx to see my IEEEtran.cls . Now it is OK but when i try to
see the dvi output it gives me errors. Herbert suggested

 go to
 edit-preferences-languages-language
 and delete the in package the entry \usepackage{babel}

I did it.

I removed the \usepackage{babel}. This time I got 4 error messages instead
of 10. However my assumption was that this template comes with the
package. So it should have compiled (I mean should produce dvi file)
without any error. Anyone who has any idea about that?





On Sat, 30 Jun 2001, Herbert Voss wrote:

 A. Gunes Koru wrote:
 
  and I get the error message I explained before.

 I suppose that you get the error message for
 babel. go to
 edit-preferences-languages-language
 and delete the in package the entry \usepackage{babel}

 it works for me. lyx1.1.6fix2 with the ieee-template

 Herbert




-- 
***

A. Gunes Koru

Research Assistant, Ph.D. Student

Southern Methodist University
Computer Science and Engineering Department
Science and Information Building Room 317
Dallas, TX 75205


Home: 214 691 5633
Work: 214 768 2005
Cell: 214 893 7311
http://www.seas.smu.edu/~gkoru
Email: [EMAIL PROTECTED]

***




Title class always include the date

2001-07-01 Thread Riccardo Gori

I am newbie to LyX

I am going to write my graduation thesis,
well my project was open source and the thesis should be open too

Well I found very easy to choose chapter, section subsections and the page 
customization
but I tried many times to write a good first page with the title of my dissertation 
inside


it would look like

University of Bologna
Telecomunication Engineering

Implementing embedded TCP/IP stacks

My name

Session


Every time I find the date after the Title in the output,

can suggest how to modify the Title text class to cut the date away??



thank you really

Riki








Re: Beginner: use of Jpeg, Png + lyx preview and html output

2001-07-01 Thread Dekel Tsur

On Fri, Jun 29, 2001 at 08:36:44PM +0200, Renaud MICHEL wrote:
 Le Jeudi 28 Juin 2001 12:52, vous avez écrit :
  ImageMagic can create small files (only 30% bigger than the original) if
  you convert into a level 2 Postscript file (the default is a level 1 file):
 
convert file.png eps2:file.eps
 
 Very interesting, but when I tried it with a gif file convert said me that 
 LZW library is not avaible, but it works fine if I convert the gif file to 
 png or jpg. Any idea of what happened?

Your version of imagemagick was compiled without support for the LZW
compression algorithm due to the patent on the algorithm.
(although it is weird that convert gave an error message and didn't use a
different compression algorithm).
You can either compile imagemagick yourself, or use a different compression
algorithm:
Use either
convert -compress RunlengthEncoded file.png eps2:file.eps
or
convert -compress Zip file.png eps2:file.eps

The latter gives smaller file, but the zip compression is not part
of the level 2 standard, so it might not print if you try to print on a
Postscript printer (it is supported by ghostscript).

 Anyway, why not using level 2 postscript when converting raster images in the 
 external material?

Good question. But if running 'convert file.png eps2:file.eps' doesn't work
on some machines, then we should use convert -compress RunlengthEncoded.



Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Herbert Voss

A. Gunes Koru wrote:
 
 I removed the \usepackage{babel}. This time I got 4 error messages instead
 of 10. However my assumption was that this template comes with the
 package. So it should have compiled (I mean should produce dvi file)
 without any error. Anyone who has any idea about that?

what kind of error messages? 

Herbert

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



Re: Title class always include the date

2001-07-01 Thread Herbert Voss

Riccardo Gori wrote:
 
 
 Every time I find the date after the Title in the output,
 
 can suggest how to modify the Title text class to cut the date away??

have a look at

http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.html#date

Herbert

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



Re: The log file Re: Now 4 error messages Re: OK but anotherproblemRe: IEEE template/layout

2001-07-01 Thread Herbert Voss

A. Gunes Koru wrote:
 
 Here you go. Attached are
 
 1. The log file I get (for the 4 error messages)

the last for lines are biography style, which has
a parameter for the eps-image, which is not present.
change these last four lines to standard -paragraph
layout and all should work well.

now you can have a look at the biography part, which
you changed in the cls-file. a better way is to leave
these cls-files as they are and make changes through
latex preamble!

 2. The IEEEtran.cls that I use

maybe an old one. the last version 1.4 makes
no problems for me.

Herbert

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



Re: I found the reason Re: Now 4 error messages Re: OK but anotherproblem Re: IEEE template/layout

2001-07-01 Thread A. Gunes Koru


Hi Dekal,

I tried your update but it didn't workn any better than my previous
version of IEEEtran.cls. Anything missing?

On Mon, 2 Jul 2001, Dekel Tsur wrote:

 On Sun, Jul 01, 2001 at 03:06:20PM -0500, A. Gunes Koru wrote:
  I'd like to ask you guys, especially to those who has a
  knowledge/experience in writing class files. Can you tell me the reason.
  Is there any way of keeping this cool feature and also making it work in
  lyx?

 You do need to load the graphics package and remove the [] after the
 includegraphics command:

 \RequirePackage{graphics}
 \newenvironment{biography}[2]{% % !AC
 \footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
 \rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
 \noindent\setbox0\hbox{\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}}%
 picture % !AC
 \ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
 \global\hangindent29mm\global\hangafter-\count10%
 \hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
 \dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
 \par\rm\normalsize}

  3 rd What is the reason it worked when we remove the /usepackage{babel}
  from edit - Preferences - Languages section

 Because the IEEEtran.cls doesn't work with babel.


-- 
***

A. Gunes Koru

Research Assistant, Ph.D. Student

Southern Methodist University
Computer Science and Engineering Department
Science and Information Building Room 317
Dallas, TX 75205


Home: 214 691 5633
Work: 214 768 2005
Cell: 214 893 7311
http://www.seas.smu.edu/~gkoru
Email: [EMAIL PROTECTED]

***




Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Dekel Tsur

On Mon, Jul 02, 2001 at 12:29:38AM +0300, Dekel Tsur wrote:
  You do need to load the graphics package and remove the [] after the
  includegraphics command:

 Note that even with these changes the IEEE template file will note work
 because the template doesn't give two arguments to the biography environment.
 You need to add {figurename} before {Your Name} and {Coauthor} at the end of
 the template.

Another option is to define the eps figure argument as optional:

\RequirePackage{graphics}
\newenvironment{biography}[2][]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%
picture % !AC
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
\par\rm\normalsize}

With this change, you can use the template file with no change.
If you want to insert a picture, use [figurename]{Your name}
instead of {figurename}{Your Name}



Re: Title class always include the date

2001-07-01 Thread Stephen Carville

On Sun, 1 Jul 2001, Riccardo Gori wrote:

- I am newbie to LyX
-
- I am going to write my graduation thesis,
- well my project was open source and the thesis should be open too
-
- Well I found very easy to choose chapter, section subsections and the page 
customization
- but I tried many times to write a good first page with the title of my dissertation 
inside
-
-
- it would look like
- 
- University of Bologna
- Telecomunication Engineering
-
- Implementing embedded TCP/IP stacks
-
- My name
-
- Session
- 
-
- Every time I find the date after the Title in the output,
-
- can suggest how to modify the Title text class to cut the date away??

Not the best solution but try adding a blank line labelled as date.

--
--Stephen Carville
http://www.heronforge.net/~stephen/gnupgkey.txt
==
Government is like burning witches:  After years of burning young women
failed to solve any of society's problems, the solution was to burn more
young women.
==




Re: Scary LyX moment!

2001-07-01 Thread Allan Rae

On Fri, 29 Jun 2001, Glenn Hutchings wrote:

 But maybe something like the emacs autosave gimmick (saving a copy of
 the file at intervals to a completely different filename, which gets
 removed when a user save takes place) wouldn't go amiss in LyX.

Unless something has gone horribly wrong in 1.1.6fix2 autosave occurs
every 10 minutes by default to a file named #filename#.

The interval and backup directory are configurable via Edit-Preferences.

Allan. (ARRae)




Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread A. Gunes Koru


Hi,

My problem is about the usage of IEEEtran.cls in lyx. At the beginning I
couldn't make lyx to see my IEEEtran.cls . Now it is OK but when i try to
see the dvi output it gives me errors. Herbert suggested

 go to
 edit-preferences-languages-language
 and delete the in package the entry \usepackage{babel}

I did it.

I removed the \usepackage{babel}. This time I got 4 error messages instead
of 10. However my assumption was that this template comes with the
package. So it should have compiled (I mean should produce dvi file)
without any error. Anyone who has any idea about that?





On Sat, 30 Jun 2001, Herbert Voss wrote:

 A. Gunes Koru wrote:
 
  and I get the error message I explained before.

 I suppose that you get the error message for
 babel. go to
 edit-preferences-languages-language
 and delete the in package the entry \usepackage{babel}

 it works for me. lyx1.1.6fix2 with the ieee-template

 Herbert




-- 
***

A. Gunes Koru

Research Assistant, Ph.D. Student

Southern Methodist University
Computer Science and Engineering Department
Science and Information Building Room 317
Dallas, TX 75205


Home: 214 691 5633
Work: 214 768 2005
Cell: 214 893 7311
http://www.seas.smu.edu/~gkoru
Email: [EMAIL PROTECTED]

***




Title class always include the date

2001-07-01 Thread Riccardo Gori

I am newbie to LyX

I am going to write my graduation thesis,
well my project was open source and the thesis should be open too

Well I found very easy to choose chapter, section subsections and the page 
customization
but I tried many times to write a good first page with the title of my dissertation 
inside


it would look like

University of Bologna
Telecomunication Engineering

Implementing embedded TCP/IP stacks

My name

Session


Every time I find the date after the Title in the output,

can suggest how to modify the Title text class to cut the date away??



thank you really

Riki








Re: Beginner: use of Jpeg, Png + lyx preview and html output

2001-07-01 Thread Dekel Tsur

On Fri, Jun 29, 2001 at 08:36:44PM +0200, Renaud MICHEL wrote:
 Le Jeudi 28 Juin 2001 12:52, vous avez écrit :
  ImageMagic can create small files (only 30% bigger than the original) if
  you convert into a level 2 Postscript file (the default is a level 1 file):
 
convert file.png eps2:file.eps
 
 Very interesting, but when I tried it with a gif file convert said me that 
 LZW library is not avaible, but it works fine if I convert the gif file to 
 png or jpg. Any idea of what happened?

Your version of imagemagick was compiled without support for the LZW
compression algorithm due to the patent on the algorithm.
(although it is weird that convert gave an error message and didn't use a
different compression algorithm).
You can either compile imagemagick yourself, or use a different compression
algorithm:
Use either
convert -compress RunlengthEncoded file.png eps2:file.eps
or
convert -compress Zip file.png eps2:file.eps

The latter gives smaller file, but the zip compression is not part
of the level 2 standard, so it might not print if you try to print on a
Postscript printer (it is supported by ghostscript).

 Anyway, why not using level 2 postscript when converting raster images in the 
 external material?

Good question. But if running 'convert file.png eps2:file.eps' doesn't work
on some machines, then we should use convert -compress RunlengthEncoded.



Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Herbert Voss

A. Gunes Koru wrote:
 
 I removed the \usepackage{babel}. This time I got 4 error messages instead
 of 10. However my assumption was that this template comes with the
 package. So it should have compiled (I mean should produce dvi file)
 without any error. Anyone who has any idea about that?

what kind of error messages? 

Herbert

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



Re: Title class always include the date

2001-07-01 Thread Herbert Voss

Riccardo Gori wrote:
 
 
 Every time I find the date after the Title in the output,
 
 can suggest how to modify the Title text class to cut the date away??

have a look at

http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.html#date

Herbert

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



Re: The log file Re: Now 4 error messages Re: OK but anotherproblemRe: IEEE template/layout

2001-07-01 Thread Herbert Voss

A. Gunes Koru wrote:
 
 Here you go. Attached are
 
 1. The log file I get (for the 4 error messages)

the last for lines are biography style, which has
a parameter for the eps-image, which is not present.
change these last four lines to standard -paragraph
layout and all should work well.

now you can have a look at the biography part, which
you changed in the cls-file. a better way is to leave
these cls-files as they are and make changes through
latex preamble!

 2. The IEEEtran.cls that I use

maybe an old one. the last version 1.4 makes
no problems for me.

Herbert

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



Re: I found the reason Re: Now 4 error messages Re: OK but anotherproblem Re: IEEE template/layout

2001-07-01 Thread A. Gunes Koru


Hi Dekal,

I tried your update but it didn't workn any better than my previous
version of IEEEtran.cls. Anything missing?

On Mon, 2 Jul 2001, Dekel Tsur wrote:

 On Sun, Jul 01, 2001 at 03:06:20PM -0500, A. Gunes Koru wrote:
  I'd like to ask you guys, especially to those who has a
  knowledge/experience in writing class files. Can you tell me the reason.
  Is there any way of keeping this cool feature and also making it work in
  lyx?

 You do need to load the graphics package and remove the [] after the
 includegraphics command:

 \RequirePackage{graphics}
 \newenvironment{biography}[2]{% % !AC
 \footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
 \rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
 \noindent\setbox0\hbox{\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}}%
 picture % !AC
 \ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
 \global\hangindent29mm\global\hangafter-\count10%
 \hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
 \dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
 \par\rm\normalsize}

  3 rd What is the reason it worked when we remove the /usepackage{babel}
  from edit - Preferences - Languages section

 Because the IEEEtran.cls doesn't work with babel.


-- 
***

A. Gunes Koru

Research Assistant, Ph.D. Student

Southern Methodist University
Computer Science and Engineering Department
Science and Information Building Room 317
Dallas, TX 75205


Home: 214 691 5633
Work: 214 768 2005
Cell: 214 893 7311
http://www.seas.smu.edu/~gkoru
Email: [EMAIL PROTECTED]

***




Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Dekel Tsur

On Mon, Jul 02, 2001 at 12:29:38AM +0300, Dekel Tsur wrote:
  You do need to load the graphics package and remove the [] after the
  includegraphics command:

 Note that even with these changes the IEEE template file will note work
 because the template doesn't give two arguments to the biography environment.
 You need to add {figurename} before {Your Name} and {Coauthor} at the end of
 the template.

Another option is to define the eps figure argument as optional:

\RequirePackage{graphics}
\newenvironment{biography}[2][]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%
picture % !AC
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
\par\rm\normalsize}

With this change, you can use the template file with no change.
If you want to insert a picture, use [figurename]{Your name}
instead of {figurename}{Your Name}



Re: Title class always include the date

2001-07-01 Thread Stephen Carville

On Sun, 1 Jul 2001, Riccardo Gori wrote:

- I am newbie to LyX
-
- I am going to write my graduation thesis,
- well my project was open source and the thesis should be open too
-
- Well I found very easy to choose chapter, section subsections and the page 
customization
- but I tried many times to write a good first page with the title of my dissertation 
inside
-
-
- it would look like
- 
- University of Bologna
- Telecomunication Engineering
-
- Implementing embedded TCP/IP stacks
-
- My name
-
- Session
- 
-
- Every time I find the date after the Title in the output,
-
- can suggest how to modify the Title text class to cut the date away??

Not the best solution but try adding a blank line labelled as date.

--
--Stephen Carville
http://www.heronforge.net/~stephen/gnupgkey.txt
==
Government is like burning witches:  After years of burning young women
failed to solve any of society's problems, the solution was to burn more
young women.
==




Re: Scary LyX moment!

2001-07-01 Thread Allan Rae

On Fri, 29 Jun 2001, Glenn Hutchings wrote:

 But maybe something like the emacs autosave gimmick (saving a copy of
 the file at intervals to a completely different filename, which gets
 removed when a user save takes place) wouldn't go amiss in LyX.

Unless something has gone horribly wrong in 1.1.6fix2 autosave occurs
every 10 minutes by default to a file named #filename#.

The interval and backup directory are configurable via Edit-Preferences.

Allan. (ARRae)




Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread A. Gunes Koru


Hi,

My problem is about the usage of IEEEtran.cls in lyx. At the beginning I
couldn't make lyx to see my IEEEtran.cls . Now it is OK but when i try to
see the dvi output it gives me errors. Herbert suggested

 go to
> edit->preferences->languages->language
> and delete the in package the entry \usepackage{babel}

I did it.

I removed the \usepackage{babel}. This time I got 4 error messages instead
of 10. However my assumption was that this template comes with the
package. So it should have compiled (I mean should produce dvi file)
without any error. Anyone who has any idea about that?





On Sat, 30 Jun 2001, Herbert Voss wrote:

> "A. Gunes Koru" wrote:
> >
> > and I get the error message I explained before.
>
> I suppose that you get the error message for
> babel. go to
> edit->preferences->languages->language
> and delete the in package the entry \usepackage{babel}
>
> it works for me. lyx1.1.6fix2 with the ieee-template
>
> Herbert
>
>
>

-- 
***

A. Gunes Koru

Research Assistant, Ph.D. Student

Southern Methodist University
Computer Science and Engineering Department
Science and Information Building Room 317
Dallas, TX 75205


Home: 214 691 5633
Work: 214 768 2005
Cell: 214 893 7311
http://www.seas.smu.edu/~gkoru
Email: [EMAIL PROTECTED]

***




Title class always include the date

2001-07-01 Thread Riccardo Gori

I am newbie to LyX

I am going to write my graduation thesis,
well my project was open source and the thesis should be open too

Well I found very easy to choose chapter, section subsections and the page 
customization
but I tried many times to write a good first page with the title of my dissertation 
inside


it would look like

"University of Bologna"
Telecomunication Engineering

Implementing embedded TCP/IP stacks

My name

Session


Every time I find the date after the Title in the output,

can suggest how to modify the "Title" text class to cut the date away??



thank you really

Riki








Re: Beginner: use of Jpeg, Png + lyx preview and html output

2001-07-01 Thread Dekel Tsur

On Fri, Jun 29, 2001 at 08:36:44PM +0200, Renaud MICHEL wrote:
> Le Jeudi 28 Juin 2001 12:52, vous avez écrit :
> > ImageMagic can create small files (only 30% bigger than the original) if
> > you convert into a level 2 Postscript file (the default is a level 1 file):
> >
> >   convert file.png eps2:file.eps
> 
> Very interesting, but when I tried it with a gif file convert said me that 
> LZW library is not avaible, but it works fine if I convert the gif file to 
> png or jpg. Any idea of what happened?

Your version of imagemagick was compiled without support for the LZW
compression algorithm due to the patent on the algorithm.
(although it is weird that convert gave an error message and didn't use a
different compression algorithm).
You can either compile imagemagick yourself, or use a different compression
algorithm:
Use either
convert -compress RunlengthEncoded file.png eps2:file.eps
or
convert -compress Zip file.png eps2:file.eps

The latter gives smaller file, but the zip compression is not part
of the level 2 standard, so it might not print if you try to print on a
Postscript printer (it is supported by ghostscript).

> Anyway, why not using level 2 postscript when converting raster images in the 
> external material?

Good question. But if running 'convert file.png eps2:file.eps' doesn't work
on some machines, then we should use convert -compress RunlengthEncoded.



Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Herbert Voss

"A. Gunes Koru" wrote:
> 
> I removed the \usepackage{babel}. This time I got 4 error messages instead
> of 10. However my assumption was that this template comes with the
> package. So it should have compiled (I mean should produce dvi file)
> without any error. Anyone who has any idea about that?

what kind of error messages? 

Herbert

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



Re: Title class always include the date

2001-07-01 Thread Herbert Voss

Riccardo Gori wrote:
> 
> 
> Every time I find the date after the Title in the output,
> 
> can suggest how to modify the "Title" text class to cut the date away??

have a look at

http://www.educat.hu-berlin.de/~voss/lyx/titlepage/titlepage.html#date

Herbert

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



Re: The log file Re: Now 4 error messages Re: OK but anotherproblemRe: IEEE template/layout

2001-07-01 Thread Herbert Voss

"A. Gunes Koru" wrote:
> 
> Here you go. Attached are
> 
> 1. The log file I get (for the 4 error messages)

the last for lines are biography style, which has
a parameter for the eps-image, which is not present.
change these last four lines to standard -paragraph
layout and all should work well.

now you can have a look at the biography part, which
you changed in the cls-file. a better way is to leave
these cls-files as they are and make changes through
latex preamble!

> 2. The IEEEtran.cls that I use

maybe an old one. the last version 1.4 makes
no problems for me.

Herbert

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



Re: I found the reason Re: Now 4 error messages Re: OK but anotherproblem Re: IEEE template/layout

2001-07-01 Thread A. Gunes Koru


Hi Dekal,

I tried your update but it didn't workn any better than my previous
version of IEEEtran.cls. Anything missing?

On Mon, 2 Jul 2001, Dekel Tsur wrote:

> On Sun, Jul 01, 2001 at 03:06:20PM -0500, A. Gunes Koru wrote:
> > I'd like to ask you guys, especially to those who has a
> > knowledge/experience in writing class files. Can you tell me the reason.
> > Is there any way of keeping this cool feature and also making it work in
> > lyx?
>
> You do need to load the graphics package and remove the [] after the
> includegraphics command:
>
> \RequirePackage{graphics}
> \newenvironment{biography}[2]{% % !AC
> \footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
> \rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
> \noindent\setbox0\hbox{\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}}%
> picture % !AC
> \ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
> \global\hangindent29mm\global\hangafter-\count10%
> \hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
> \dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
> \par\rm\normalsize}
>
> > 3 rd What is the reason it worked when we remove the /usepackage{babel}
> > from edit - Preferences - Languages section
>
> Because the IEEEtran.cls doesn't work with babel.
>

-- 
***

A. Gunes Koru

Research Assistant, Ph.D. Student

Southern Methodist University
Computer Science and Engineering Department
Science and Information Building Room 317
Dallas, TX 75205


Home: 214 691 5633
Work: 214 768 2005
Cell: 214 893 7311
http://www.seas.smu.edu/~gkoru
Email: [EMAIL PROTECTED]

***




Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Dekel Tsur

On Mon, Jul 02, 2001 at 12:29:38AM +0300, Dekel Tsur wrote:
> > You do need to load the graphics package and remove the [] after the
> > includegraphics command:

> Note that even with these changes the IEEE template file will note work
> because the template doesn't give two arguments to the biography environment.
> You need to add {figurename} before {Your Name} and {Coauthor} at the end of
> the template.

Another option is to define the eps figure argument as optional:

\RequirePackage{graphics}
\newenvironment{biography}[2][]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%
picture % !AC
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
\par\rm\normalsize}

With this change, you can use the template file with no change.
If you want to insert a picture, use [figurename]{Your name}
instead of {figurename}{Your Name}



Re: Title class always include the date

2001-07-01 Thread Stephen Carville

On Sun, 1 Jul 2001, Riccardo Gori wrote:

- I am newbie to LyX
-
- I am going to write my graduation thesis,
- well my project was open source and the thesis should be open too
-
- Well I found very easy to choose chapter, section subsections and the page 
customization
- but I tried many times to write a good first page with the title of my dissertation 
inside
-
-
- it would look like
- 
- "University of Bologna"
- Telecomunication Engineering
-
- Implementing embedded TCP/IP stacks
-
- My name
-
- Session
- 
-
- Every time I find the date after the Title in the output,
-
- can suggest how to modify the "Title" text class to cut the date away??

Not the best solution but try adding a blank line labelled as date.

--
--Stephen Carville
http://www.heronforge.net/~stephen/gnupgkey.txt
==
Government is like burning witches:  After years of burning young women
failed to solve any of society's problems, the solution was to burn more
young women.
==




Re: Scary LyX moment!

2001-07-01 Thread Allan Rae

On Fri, 29 Jun 2001, Glenn Hutchings wrote:

> But maybe something like the emacs autosave gimmick (saving a copy of
> the file at intervals to a completely different filename, which gets
> removed when a user save takes place) wouldn't go amiss in LyX.

Unless something has gone horribly wrong in 1.1.6fix2 autosave occurs
every 10 minutes by default to a file named "#filename#".

The interval and backup directory are configurable via Edit->Preferences.

Allan. (ARRae)