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

2001-07-02 Thread Dekel Tsur

On Sun, Jul 01, 2001 at 05:26:31PM -0500, A. Gunes Koru wrote:
 Now I get the dvi output however there is a problem here. The writings go
 over the picture. And also it writes picture on the screen i am attaching
 the example.lyx file I created and also the postscript file it generated
 so that you can see it. How can we solve it?

The problem is that you mix code from the old IEEEtran.cls and the new
IEEEtran.cls.
If you use the new class file (V1.4), use

\RequirePackage{graphics}
\newenvironment{biography}[2][]{%
\addcontentsline{toc}{section}{Biography}
\footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%   box containing the frame
\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{\bfseries#2}\rmfamily}{
\par\normalfont}

However, the two figures will be one on top of another.
Don't ask me how to fix this.
I suggest you don't try to improve the class file if you don't know what you
are doing. Just use the original class file without trying to insert the eps
figures.



Re: [Q]: mathbf

2001-07-02 Thread Rainer Dorsch

  I made the observation:
  
  Entering \mathbf{c} in math mode is displayed as written (without backslash).
  
  Reloading the document, a bold font is used for c.
  
  It is nice that lyx is able to display in bold font, but is that the expected 
  behavior?
 
 Don't know. It propably depends on what you expect...
 
 Seriously: What version are you using? How should it work?
 

1.1.6fix2. I would have expected, that whenever I type \mathbfspace the next 
letters are bold

I noted also, that when I mark something in a formula and use the menu to make 
it bold, it does not work. I have to select first bold in the menu an then I 
have to type, then it works.

Thanks.

Rainer.





RE: chapterbib + lyx (more info)

2001-07-02 Thread Oscar Garcia Poblacion


Oscar Garcia Poblacion wrote:

No. The .bib is in the same dir that master.lyx. I exported
 master.lyx to latex and then I compiled it with latex master.lyx. If
I
 remove the [gather] option it seems to work, but all chapters gets the
same
 bibliography. Is'nt there any way to include a bibliography for each
 chapter
 directly from lyx?

- open the master doc and run dvi-view, so that all sub-docs are
  loaded and than available through document-menu.
- input in _each_ sub-doc at the end
  insert-liststocs-bibtex reference with the bibfile
  and bibstyle (plain is default)
  (you can copy this inset and paste it in the other docs)
- run dvi-view on this subdoc
  the bibliography should be at the end
- at last the same for the main-doc

with the gather option you'll get a bib for each chapter
at the end of the main-doc. without gather at the end of
each chapter.

IMPORTANT: lyx creates for each subdoc a temp-dir, so latex
doesn't finds the chapterbibs. therefore you have to switch
off the use of a tempdir:
edit-preferences-input-path-tempdir

Herbert


Hi Again.

I have followed all these steps and It seems I am getting closer :) but I
am still having a few problems:

1) Following these steps I get a bibliography on each chapter. OK! but it
includes al cites from the chapter and all the previous (it accumulates
references).

2) If I add in the preamble \usepackage[sectionbib]{chapterbib} then all my
cites go [?] but bibliography gets generated correctly and only for that
chapter, that is what I want. The parameter [sectionbib] works fine. I have
tried many styles, but with the same result [?]. Any idea of how to solve
it?

3) When all subdocuments contains Bibtex generated references and you
open the Add cite and you get the same entry duplicated as many times as
documents that contains that entry. Well, not a big deal anyway.

1) My .bib file contains @preamble {\newcommand{\noopshort}[1]} . I
don't know what is this preamble for. I just copied it from .bib template
file included with bibtex distribution. If I dont remove this, when my
document have many BibTex generated references it complains because
\newcommand... is already defined. Well, if doesn't seem to be a problem if
I remove this preamble.


Thanks a lot for your help.

Oscar







saving DVI files in YAP???

2001-07-02 Thread Michael Koundouros

Hi,

i am using lyx 1.1.6fixb. Lyx succesfully opens up my YAP (latest version as 
of 2/7/01) dvi viewer to show the texified document. How do i then save this 
dvi file as YAP doesnt have this option???

regards
Mike.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




ERROR MSG: I cant find file xyz.aux \enddocument

2001-07-02 Thread Michelle Dukich

 
 Greetings:

HELP!  

I took a file from emacs that was written html, used
the html2latex converter to get it into LyX, and for
some reason, it keeps erroring when I try to DVI it
and it says I cant find xyz.aux. /enddocument.

I DID try to import a logo into the document but it
failed so I took it out (not named xyz.aux) but I am
still getting this error message and I am going nuts. 
Is there anyway to tell WHERE it thinks this file is
coming into play?  

Thanks in advance.

Michelle



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: saving DVI files in YAP???

2001-07-02 Thread Claus Hentschel

 i am using lyx 1.1.6fixb. Lyx succesfully opens up my YAP (latest version
as
 of 2/7/01) dvi viewer to show the texified document. How do i then save
this
 dvi file as YAP doesnt have this option???

Choose File-Export-DVI from inside Lyx and a dvi file will be created
beside your lyX file.

Claus




Re: Figures Overlap

2001-07-02 Thread Herbert Voss

A. Gunes Koru wrote:
 
 Please see the attached ps file. You will see that the figures in the

do us a favour and send all files zipped and no files which are
often part of any tex-installation or available at CTAN, like 
IEEEtran.cls

Herbert


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



The files are available

2001-07-02 Thread A. Gunes Koru


Dear LyX Users,

For the problem of overlapping figures. Please visit:

http://www.seas.smu.edu/~gkoru

The attached files mentioned in the e-mail below (my previous e-mail) can
be found in the above address. Again, I am looking forward to hearing from
you if you have any idea about the solution. Thanks to everybody.

***

Dear LyX Users,

Please see the attached ps file. You will see that the figures in the
biography section overlap. I guess the second one should start to print
after the first photo finishes. However instead of doing that, it starts
before its normal (should be) place and it overlaps. So, right now LyX
works if you are the only author :)

We use the attached IEEEtran.cls for the IEEEtran.layout which is
available in LyX. We have spent some time and sent e-mails back and forth
about how we can use the photographs in the biography section of IEEE
documents. This is the point we have come so far.

The biograpy section in the IEEEtran.cls is changed by this piece below.

 \RequirePackage{graphics}
 \newenvironment{biography}[2][]{%
 \addcontentsline{toc}{section}{Biography}
 \footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
 \rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
 \noindent\setbox0\hbox{\ifx\\#1\\%
 \framebox(25,32){}%
 \else%
 \resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
 \fi}%   box containing the frame
 \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{\bfseries#2}\rmfamily}{
 \par\normalfont}

(Before everything.. Also make sure that your IEEEtran.cls is recognized
by LyX. In Linux, you can put IEEEtran.cls under:

/usr/share/texmf/tex/latex/base

and run texhash command.)

You can open an IEEE document from File - New From Template menu and
change the bigraphy section as..(you should have a photograph in the eps
format named myimage.eps)

[myimage] {Myname MyMiddlename MySurname} my biograph... blah blah

Do the same for the other authors... You will see that the images will
overlap (like in the ps file we attached)

I would greatly appreciate if someone could share his/her opinions about
why this is happening and how we can fix it? I don't have any
experience/knowledge in writing class files but I think there may be a
solution because LaTeX is a powerful tool. So far, we have come to a point
but if the figures overlap, there is not much point in doing it. We have
to rollback to our starting point where we could not use photographs. So
what I suggest is.. if we can take a step in solving this then it will be
a useful tool for many authors in academics. I am looking forward to
hearing from you..

Regards

-- 

***

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: ERROR MSG: I cant find file xyz.aux \enddocument

2001-07-02 Thread Herbert Voss

Michelle Dukich wrote:
 
 
 I took a file from emacs that was written html, used
 the html2latex converter to get it into LyX, and for
 some reason, it keeps erroring when I try to DVI it
 and it says I cant find xyz.aux. /enddocument.
 
 I DID try to import a logo into the document but it
 failed so I took it out (not named xyz.aux) but I am
 still getting this error message and I am going nuts.
 Is there anyway to tell WHERE it thinks this file is
 coming into play?

can you send the lyx-file?

Herbert

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





Re: Figures Overlap

2001-07-02 Thread Herbert Voss

A. Gunes Koru wrote:
 
 We use the attached IEEEtran.cls for the IEEEtran.layout which is
 available in LyX. We have spent some time and sent e-mails back and forth
 about how we can use the photographs in the biography section of IEEE
 documents. This is the point we have come so far.

write in latex preamble and not in the class-file!

\RequirePackage{graphicx}
\renewenvironment{biography}[2]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\IfFileExists{#1}{%
 
\noindent\setbox0\hbox{\resizebox{25mm}{32mm}{\includegraphics[]{#1}}}%
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}}%
  {}% else nothing
  \dp0=0mm\ht0=0mm\box0\bf#2\rm%
  \list{}{
\setlength{\leftmargin}{29mm}
\item{}}%
}{ % !AC
  \endlist\par\rm\normalsize\addtolength{\parindent}{-29mm}}


and in the text

 {myimage} {Myname MyMiddlename MySurname} my biograph... blah blah

no square brackets!!

Herbert

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




Re: The files are available

2001-07-02 Thread A. Gunes Koru


Herbert,

Either you use a preamble or you use the IEEEtran.cls file on my webpage,
they work same if you use the correct syntax

{myfigure.eps}{myname} blah blah

But if blah blah s are not enough, then pictures overlap. If they are
enough (like in the lyx file you sent to me) a correct output is obtained.
You can try it and see it.

In a normal paper the biograpy section will be enough to seperate the
pictures therefore.. to me the problem is solved. Ideally it should work
for only two words but it is not important.

Thanks for everything



On Mon, 2 Jul 2001, Herbert Voss wrote:

 here my examplefile with the preamble

 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]

***





sgml2lyx/sgmlsasp/afpi?

2001-07-02 Thread Norbert Omar Cartagena

Has anyone else seen the following message?

/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/afpi': No such
file or directory


I get the message when I try to import a DocBook 3.1 document to LyX. I
created another SGML documnent from LyX to see if maybe it only works
wih document it created, but I got the following:

/usr/bin/nsgmls:OSFD0:29:9:E: end tag for SECT1 which is not
finished
/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/aclass': No such
file or directory

Does anyone know what's up with these ghost-files and why sgmlsasp keeps
looking for them, as well as where I may aquire them if necessary?

I'm not sure if the following is relevant, but I'm running Red Hat 7.1,
LyX 1.1.6fix2. DocBook 3.1 (the documents I currently have to update are
of the such), and SGMLtools-lite 3.0.3

Thanks in advance,


Norbert Cartagena

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Font resolution

2001-07-02 Thread A. Gunes Koru


Lyx fonts that I view on the screen seem like they have a low resolution.
I was wondering if it is the same for everybody. Is there any way of
improving it?

Thanks
-- 
***

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: chapterbib + lyx (more info)

2001-07-02 Thread Oscar Garcia Poblacion



-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Herbert
Voss
Enviado el: lunes, 02 de julio de 2001 21:27
Para: Oscar Garcia Poblacion
CC: lyx user
Asunto: Re: chapterbib + lyx (more info)


Oscar Garcia Poblacion wrote:

 1) Following these steps I get a bibliography on each chapter. OK!
but it
 includes al cites from the chapter and all the previous (it accumulates
 references).

i can'r reproduce this with my text

I have tried with a new document from scratch and I get the same results.


What I say in point 1 happends when I include the files as
\input{file1.tex} \input{file2.tex}... All cites appears correctly, but in
each capter appears the bibliography used in all the previous chapters.

Then, if I include the files as \include{file1.tex} \include{file2.tex} the
bibliographies for each chapter gets generated correctly, but the cites in
the doc appears as [?]

I have deleted everything from the latex preamble, I mean delete
\usepackage[sectionbib]{chapterbib}.

I can't figure out what I am doing wrong



 2) If I add in the preamble \usepackage[sectionbib]{chapterbib}
then all my
 cites go [?] but bibliography gets generated correctly and only for that
 chapter, that is what I want. The parameter [sectionbib] works fine. I
have
 tried many styles, but with the same result [?]. Any idea of how to solve
 it?

do you have a bibentry in the maindoc too?

Yes, but nothing changes If I remove it. I currently have four bibentries,
three in each file (that starts with \chapter...) and one for the master.

Do I need to use package chapterbib? What's the diference between \input
and \include?

Thanks for your help Herbert. I wouldn't like to bother here in the list
with such a recursive problem.

Oscar






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

2001-07-02 Thread Dekel Tsur

On Sun, Jul 01, 2001 at 05:26:31PM -0500, A. Gunes Koru wrote:
 Now I get the dvi output however there is a problem here. The writings go
 over the picture. And also it writes picture on the screen i am attaching
 the example.lyx file I created and also the postscript file it generated
 so that you can see it. How can we solve it?

The problem is that you mix code from the old IEEEtran.cls and the new
IEEEtran.cls.
If you use the new class file (V1.4), use

\RequirePackage{graphics}
\newenvironment{biography}[2][]{%
\addcontentsline{toc}{section}{Biography}
\footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%   box containing the frame
\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{\bfseries#2}\rmfamily}{
\par\normalfont}

However, the two figures will be one on top of another.
Don't ask me how to fix this.
I suggest you don't try to improve the class file if you don't know what you
are doing. Just use the original class file without trying to insert the eps
figures.



Re: [Q]: mathbf

2001-07-02 Thread Rainer Dorsch

  I made the observation:
  
  Entering \mathbf{c} in math mode is displayed as written (without backslash).
  
  Reloading the document, a bold font is used for c.
  
  It is nice that lyx is able to display in bold font, but is that the expected 
  behavior?
 
 Don't know. It propably depends on what you expect...
 
 Seriously: What version are you using? How should it work?
 

1.1.6fix2. I would have expected, that whenever I type \mathbfspace the next 
letters are bold

I noted also, that when I mark something in a formula and use the menu to make 
it bold, it does not work. I have to select first bold in the menu an then I 
have to type, then it works.

Thanks.

Rainer.





RE: chapterbib + lyx (more info)

2001-07-02 Thread Oscar Garcia Poblacion


Oscar Garcia Poblacion wrote:

No. The .bib is in the same dir that master.lyx. I exported
 master.lyx to latex and then I compiled it with latex master.lyx. If
I
 remove the [gather] option it seems to work, but all chapters gets the
same
 bibliography. Is'nt there any way to include a bibliography for each
 chapter
 directly from lyx?

- open the master doc and run dvi-view, so that all sub-docs are
  loaded and than available through document-menu.
- input in _each_ sub-doc at the end
  insert-liststocs-bibtex reference with the bibfile
  and bibstyle (plain is default)
  (you can copy this inset and paste it in the other docs)
- run dvi-view on this subdoc
  the bibliography should be at the end
- at last the same for the main-doc

with the gather option you'll get a bib for each chapter
at the end of the main-doc. without gather at the end of
each chapter.

IMPORTANT: lyx creates for each subdoc a temp-dir, so latex
doesn't finds the chapterbibs. therefore you have to switch
off the use of a tempdir:
edit-preferences-input-path-tempdir

Herbert


Hi Again.

I have followed all these steps and It seems I am getting closer :) but I
am still having a few problems:

1) Following these steps I get a bibliography on each chapter. OK! but it
includes al cites from the chapter and all the previous (it accumulates
references).

2) If I add in the preamble \usepackage[sectionbib]{chapterbib} then all my
cites go [?] but bibliography gets generated correctly and only for that
chapter, that is what I want. The parameter [sectionbib] works fine. I have
tried many styles, but with the same result [?]. Any idea of how to solve
it?

3) When all subdocuments contains Bibtex generated references and you
open the Add cite and you get the same entry duplicated as many times as
documents that contains that entry. Well, not a big deal anyway.

1) My .bib file contains @preamble {\newcommand{\noopshort}[1]} . I
don't know what is this preamble for. I just copied it from .bib template
file included with bibtex distribution. If I dont remove this, when my
document have many BibTex generated references it complains because
\newcommand... is already defined. Well, if doesn't seem to be a problem if
I remove this preamble.


Thanks a lot for your help.

Oscar







saving DVI files in YAP???

2001-07-02 Thread Michael Koundouros

Hi,

i am using lyx 1.1.6fixb. Lyx succesfully opens up my YAP (latest version as 
of 2/7/01) dvi viewer to show the texified document. How do i then save this 
dvi file as YAP doesnt have this option???

regards
Mike.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




ERROR MSG: I cant find file xyz.aux \enddocument

2001-07-02 Thread Michelle Dukich

 
 Greetings:

HELP!  

I took a file from emacs that was written html, used
the html2latex converter to get it into LyX, and for
some reason, it keeps erroring when I try to DVI it
and it says I cant find xyz.aux. /enddocument.

I DID try to import a logo into the document but it
failed so I took it out (not named xyz.aux) but I am
still getting this error message and I am going nuts. 
Is there anyway to tell WHERE it thinks this file is
coming into play?  

Thanks in advance.

Michelle



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: saving DVI files in YAP???

2001-07-02 Thread Claus Hentschel

 i am using lyx 1.1.6fixb. Lyx succesfully opens up my YAP (latest version
as
 of 2/7/01) dvi viewer to show the texified document. How do i then save
this
 dvi file as YAP doesnt have this option???

Choose File-Export-DVI from inside Lyx and a dvi file will be created
beside your lyX file.

Claus




Re: Figures Overlap

2001-07-02 Thread Herbert Voss

A. Gunes Koru wrote:
 
 Please see the attached ps file. You will see that the figures in the

do us a favour and send all files zipped and no files which are
often part of any tex-installation or available at CTAN, like 
IEEEtran.cls

Herbert


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



The files are available

2001-07-02 Thread A. Gunes Koru


Dear LyX Users,

For the problem of overlapping figures. Please visit:

http://www.seas.smu.edu/~gkoru

The attached files mentioned in the e-mail below (my previous e-mail) can
be found in the above address. Again, I am looking forward to hearing from
you if you have any idea about the solution. Thanks to everybody.

***

Dear LyX Users,

Please see the attached ps file. You will see that the figures in the
biography section overlap. I guess the second one should start to print
after the first photo finishes. However instead of doing that, it starts
before its normal (should be) place and it overlaps. So, right now LyX
works if you are the only author :)

We use the attached IEEEtran.cls for the IEEEtran.layout which is
available in LyX. We have spent some time and sent e-mails back and forth
about how we can use the photographs in the biography section of IEEE
documents. This is the point we have come so far.

The biograpy section in the IEEEtran.cls is changed by this piece below.

 \RequirePackage{graphics}
 \newenvironment{biography}[2][]{%
 \addcontentsline{toc}{section}{Biography}
 \footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
 \rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
 \noindent\setbox0\hbox{\ifx\\#1\\%
 \framebox(25,32){}%
 \else%
 \resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
 \fi}%   box containing the frame
 \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{\bfseries#2}\rmfamily}{
 \par\normalfont}

(Before everything.. Also make sure that your IEEEtran.cls is recognized
by LyX. In Linux, you can put IEEEtran.cls under:

/usr/share/texmf/tex/latex/base

and run texhash command.)

You can open an IEEE document from File - New From Template menu and
change the bigraphy section as..(you should have a photograph in the eps
format named myimage.eps)

[myimage] {Myname MyMiddlename MySurname} my biograph... blah blah

Do the same for the other authors... You will see that the images will
overlap (like in the ps file we attached)

I would greatly appreciate if someone could share his/her opinions about
why this is happening and how we can fix it? I don't have any
experience/knowledge in writing class files but I think there may be a
solution because LaTeX is a powerful tool. So far, we have come to a point
but if the figures overlap, there is not much point in doing it. We have
to rollback to our starting point where we could not use photographs. So
what I suggest is.. if we can take a step in solving this then it will be
a useful tool for many authors in academics. I am looking forward to
hearing from you..

Regards

-- 

***

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: ERROR MSG: I cant find file xyz.aux \enddocument

2001-07-02 Thread Herbert Voss

Michelle Dukich wrote:
 
 
 I took a file from emacs that was written html, used
 the html2latex converter to get it into LyX, and for
 some reason, it keeps erroring when I try to DVI it
 and it says I cant find xyz.aux. /enddocument.
 
 I DID try to import a logo into the document but it
 failed so I took it out (not named xyz.aux) but I am
 still getting this error message and I am going nuts.
 Is there anyway to tell WHERE it thinks this file is
 coming into play?

can you send the lyx-file?

Herbert

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





Re: Figures Overlap

2001-07-02 Thread Herbert Voss

A. Gunes Koru wrote:
 
 We use the attached IEEEtran.cls for the IEEEtran.layout which is
 available in LyX. We have spent some time and sent e-mails back and forth
 about how we can use the photographs in the biography section of IEEE
 documents. This is the point we have come so far.

write in latex preamble and not in the class-file!

\RequirePackage{graphicx}
\renewenvironment{biography}[2]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\IfFileExists{#1}{%
 
\noindent\setbox0\hbox{\resizebox{25mm}{32mm}{\includegraphics[]{#1}}}%
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}}%
  {}% else nothing
  \dp0=0mm\ht0=0mm\box0\bf#2\rm%
  \list{}{
\setlength{\leftmargin}{29mm}
\item{}}%
}{ % !AC
  \endlist\par\rm\normalsize\addtolength{\parindent}{-29mm}}


and in the text

 {myimage} {Myname MyMiddlename MySurname} my biograph... blah blah

no square brackets!!

Herbert

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




Re: The files are available

2001-07-02 Thread A. Gunes Koru


Herbert,

Either you use a preamble or you use the IEEEtran.cls file on my webpage,
they work same if you use the correct syntax

{myfigure.eps}{myname} blah blah

But if blah blah s are not enough, then pictures overlap. If they are
enough (like in the lyx file you sent to me) a correct output is obtained.
You can try it and see it.

In a normal paper the biograpy section will be enough to seperate the
pictures therefore.. to me the problem is solved. Ideally it should work
for only two words but it is not important.

Thanks for everything



On Mon, 2 Jul 2001, Herbert Voss wrote:

 here my examplefile with the preamble

 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]

***





sgml2lyx/sgmlsasp/afpi?

2001-07-02 Thread Norbert Omar Cartagena

Has anyone else seen the following message?

/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/afpi': No such
file or directory


I get the message when I try to import a DocBook 3.1 document to LyX. I
created another SGML documnent from LyX to see if maybe it only works
wih document it created, but I got the following:

/usr/bin/nsgmls:OSFD0:29:9:E: end tag for SECT1 which is not
finished
/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/aclass': No such
file or directory

Does anyone know what's up with these ghost-files and why sgmlsasp keeps
looking for them, as well as where I may aquire them if necessary?

I'm not sure if the following is relevant, but I'm running Red Hat 7.1,
LyX 1.1.6fix2. DocBook 3.1 (the documents I currently have to update are
of the such), and SGMLtools-lite 3.0.3

Thanks in advance,


Norbert Cartagena

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Font resolution

2001-07-02 Thread A. Gunes Koru


Lyx fonts that I view on the screen seem like they have a low resolution.
I was wondering if it is the same for everybody. Is there any way of
improving it?

Thanks
-- 
***

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: chapterbib + lyx (more info)

2001-07-02 Thread Oscar Garcia Poblacion



-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Herbert
Voss
Enviado el: lunes, 02 de julio de 2001 21:27
Para: Oscar Garcia Poblacion
CC: lyx user
Asunto: Re: chapterbib + lyx (more info)


Oscar Garcia Poblacion wrote:

 1) Following these steps I get a bibliography on each chapter. OK!
but it
 includes al cites from the chapter and all the previous (it accumulates
 references).

i can'r reproduce this with my text

I have tried with a new document from scratch and I get the same results.


What I say in point 1 happends when I include the files as
\input{file1.tex} \input{file2.tex}... All cites appears correctly, but in
each capter appears the bibliography used in all the previous chapters.

Then, if I include the files as \include{file1.tex} \include{file2.tex} the
bibliographies for each chapter gets generated correctly, but the cites in
the doc appears as [?]

I have deleted everything from the latex preamble, I mean delete
\usepackage[sectionbib]{chapterbib}.

I can't figure out what I am doing wrong



 2) If I add in the preamble \usepackage[sectionbib]{chapterbib}
then all my
 cites go [?] but bibliography gets generated correctly and only for that
 chapter, that is what I want. The parameter [sectionbib] works fine. I
have
 tried many styles, but with the same result [?]. Any idea of how to solve
 it?

do you have a bibentry in the maindoc too?

Yes, but nothing changes If I remove it. I currently have four bibentries,
three in each file (that starts with \chapter...) and one for the master.

Do I need to use package chapterbib? What's the diference between \input
and \include?

Thanks for your help Herbert. I wouldn't like to bother here in the list
with such a recursive problem.

Oscar






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

2001-07-02 Thread Dekel Tsur

On Sun, Jul 01, 2001 at 05:26:31PM -0500, A. Gunes Koru wrote:
> Now I get the dvi output however there is a problem here. The writings go
> over the picture. And also it writes picture on the screen i am attaching
> the example.lyx file I created and also the postscript file it generated
> so that you can see it. How can we solve it?

The problem is that you mix code from the old IEEEtran.cls and the new
IEEEtran.cls.
If you use the new class file (V1.4), use

\RequirePackage{graphics}
\newenvironment{biography}[2][]{%
\addcontentsline{toc}{section}{Biography}
\footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%   box containing the frame
\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{\bfseries#2}\rmfamily}{
\par\normalfont}

However, the two figures will be one on top of another.
Don't ask me how to fix this.
I suggest you don't try to improve the class file if you don't know what you
are doing. Just use the original class file without trying to insert the eps
figures.



Re: [Q]: mathbf

2001-07-02 Thread Rainer Dorsch

> > I made the observation:
> > 
> > Entering \mathbf{c} in math mode is displayed as written (without backslash).
> > 
> > Reloading the document, a bold font is used for c.
> > 
> > It is nice that lyx is able to display in bold font, but is that the expected 
> > behavior?
> 
> Don't know. It propably depends on what you expect...
> 
> Seriously: What version are you using? How should it work?
> 

1.1.6fix2. I would have expected, that whenever I type \mathbf the next 
letters are bold

I noted also, that when I mark something in a formula and use the menu to make 
it bold, it does not work. I have to select first bold in the menu an then I 
have to type, then it works.

Thanks.

Rainer.





RE: chapterbib + lyx (more info)

2001-07-02 Thread Oscar Garcia Poblacion


Oscar Garcia Poblacion wrote:
>
> >   No. The ".bib" is in the same dir that "master.lyx". I exported
> >"master.lyx" to latex and then I compiled it with "latex master.lyx". If
I
> >remove the [gather] option it seems to work, but all chapters gets the
same
> >bibliography. Is'nt there any way to include a bibliography for each
> chapter
> >directly from lyx?

- open the master doc and run dvi-view, so that all sub-docs are
  loaded and than available through document-menu.
- input in _each_ sub-doc at the end
  insert->lists>bibtex reference with the bibfile
  and bibstyle (plain is default)
  (you can copy this inset and paste it in the other docs)
- run dvi-view on this subdoc
  the bibliography should be at the end
- at last the same for the main-doc

with the gather option you'll get a bib for each chapter
at the end of the main-doc. without gather at the end of
each chapter.

IMPORTANT: lyx creates for each subdoc a temp-dir, so latex
doesn't finds the chapterbibs. therefore you have to switch
off the use of a tempdir:
edit->preferences->input->path->tempdir

Herbert


Hi Again.

I have followed all these steps and It seems I am getting closer :) but I
am still having a few problems:

1) Following these steps I get a bibliography on each chapter. OK! but it
includes al cites from the chapter and all the previous (it accumulates
references).

2) If I add in the preamble \usepackage[sectionbib]{chapterbib} then all my
cites go [?] but bibliography gets generated correctly and only for that
chapter, that is what I want. The parameter [sectionbib] works fine. I have
tried many styles, but with the same result [?]. Any idea of how to solve
it?

3) When all subdocuments contains "Bibtex generated references" and you
open the "Add cite" and you get the same entry duplicated as many times as
documents that contains that entry. Well, not a big deal anyway.

1) My .bib file contains "@preamble {"\newcommand{\noopshort}[1]} ". I
don't know what is this "preamble" for. I just copied it from .bib template
file included with bibtex distribution. If I dont remove this, when my
document have many "BibTex generated references" it complains because
\newcommand... is already defined. Well, if doesn't seem to be a problem if
I remove this preamble.


Thanks a lot for your help.

Oscar







saving DVI files in YAP???

2001-07-02 Thread Michael Koundouros

Hi,

i am using lyx 1.1.6fixb. Lyx succesfully opens up my YAP (latest version as 
of 2/7/01) dvi viewer to show the texified document. How do i then save this 
dvi file as YAP doesnt have this option???

regards
Mike.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




ERROR MSG: I cant find file xyz.aux \enddocument

2001-07-02 Thread Michelle Dukich

 
 Greetings:

HELP!  

I took a file from emacs that was written html, used
the html2latex converter to get it into LyX, and for
some reason, it keeps erroring when I try to DVI it
and it says I cant find xyz.aux. /enddocument.

I DID try to import a logo into the document but it
failed so I took it out (not named xyz.aux) but I am
still getting this error message and I am going nuts. 
Is there anyway to tell WHERE it thinks this file is
coming into play?  

Thanks in advance.

Michelle



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: saving DVI files in YAP???

2001-07-02 Thread Claus Hentschel

> i am using lyx 1.1.6fixb. Lyx succesfully opens up my YAP (latest version
as
> of 2/7/01) dvi viewer to show the texified document. How do i then save
this
> dvi file as YAP doesnt have this option???

Choose File->Export->DVI from inside Lyx and a dvi file will be created
beside your lyX file.

Claus




Re: Figures Overlap

2001-07-02 Thread Herbert Voss

"A. Gunes Koru" wrote:
> 
> Please see the attached ps file. You will see that the figures in the

do us a favour and send all files zipped and no files which are
often part of any tex-installation or available at CTAN, like 
IEEEtran.cls

Herbert


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



The files are available

2001-07-02 Thread A. Gunes Koru


Dear LyX Users,

For the problem of overlapping figures. Please visit:

http://www.seas.smu.edu/~gkoru

The attached files mentioned in the e-mail below (my previous e-mail) can
be found in the above address. Again, I am looking forward to hearing from
you if you have any idea about the solution. Thanks to everybody.

***

Dear LyX Users,

Please see the attached ps file. You will see that the figures in the
biography section overlap. I guess the second one should start to print
after the first photo finishes. However instead of doing that, it starts
before its normal (should be) place and it overlaps. So, right now LyX
works if you are the only author :)

We use the attached IEEEtran.cls for the IEEEtran.layout which is
available in LyX. We have spent some time and sent e-mails back and forth
about how we can use the photographs in the biography section of IEEE
documents. This is the point we have come so far.

The biograpy section in the IEEEtran.cls is changed by this piece below.

> \RequirePackage{graphics}
> \newenvironment{biography}[2][]{%
> \addcontentsline{toc}{section}{Biography}
> \footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
> \rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
> \noindent\setbox0\hbox{\ifx\\#1\\%
> \framebox(25,32){}%
> \else%
> \resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
> \fi}%   box containing the frame
> \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{\bfseries#2}\rmfamily}{
> \par\normalfont}

(Before everything.. Also make sure that your IEEEtran.cls is recognized
by LyX. In Linux, you can put IEEEtran.cls under:

/usr/share/texmf/tex/latex/base

and run texhash command.)

You can open an IEEE document from File -> New From Template menu and
change the bigraphy section as..(you should have a photograph in the eps
format named myimage.eps)

[myimage] {Myname MyMiddlename MySurname} my biograph... blah blah

Do the same for the other authors... You will see that the images will
overlap (like in the ps file we attached)

I would greatly appreciate if someone could share his/her opinions about
why this is happening and how we can fix it? I don't have any
experience/knowledge in writing class files but I think there may be a
solution because LaTeX is a powerful tool. So far, we have come to a point
but if the figures overlap, there is not much point in doing it. We have
to rollback to our starting point where we could not use photographs. So
what I suggest is.. if we can take a step in solving this then it will be
a useful tool for many authors in academics. I am looking forward to
hearing from you..

Regards

-- 

***

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: ERROR MSG: I cant find file xyz.aux \enddocument

2001-07-02 Thread Herbert Voss

Michelle Dukich wrote:
> 
> 
> I took a file from emacs that was written html, used
> the html2latex converter to get it into LyX, and for
> some reason, it keeps erroring when I try to DVI it
> and it says I cant find xyz.aux. /enddocument.
> 
> I DID try to import a logo into the document but it
> failed so I took it out (not named xyz.aux) but I am
> still getting this error message and I am going nuts.
> Is there anyway to tell WHERE it thinks this file is
> coming into play?

can you send the lyx-file?

Herbert

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





Re: Figures Overlap

2001-07-02 Thread Herbert Voss

"A. Gunes Koru" wrote:
> 
> We use the attached IEEEtran.cls for the IEEEtran.layout which is
> available in LyX. We have spent some time and sent e-mails back and forth
> about how we can use the photographs in the biography section of IEEE
> documents. This is the point we have come so far.

write in latex preamble and not in the class-file!

\RequirePackage{graphicx}
\renewenvironment{biography}[2]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\IfFileExists{#1}{%
 
\noindent\setbox0\hbox{\resizebox{25mm}{32mm}{\includegraphics[]{#1}}}%
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}}%
  {}% else nothing
  \dp0=0mm\ht0=0mm\box0\bf#2\rm%
  \list{}{
\setlength{\leftmargin}{29mm}
\item{}}%
}{ % !AC
  \endlist\par\rm\normalsize\addtolength{\parindent}{-29mm}}


and in the text

> {myimage} {Myname MyMiddlename MySurname} my biograph... blah blah

no square brackets!!

Herbert

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




Re: The files are available

2001-07-02 Thread A. Gunes Koru


Herbert,

Either you use a preamble or you use the IEEEtran.cls file on my webpage,
they work same if you use the correct syntax

{myfigure.eps}{myname} blah blah

But if blah blah s are not enough, then pictures overlap. If they are
enough (like in the lyx file you sent to me) a correct output is obtained.
You can try it and see it.

In a normal paper the biograpy section will be enough to seperate the
pictures therefore.. to me the problem is solved. Ideally it should work
for only two words but it is not important.

Thanks for everything



On Mon, 2 Jul 2001, Herbert Voss wrote:

> here my examplefile with the preamble
>
> 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]

***





sgml2lyx/sgmlsasp/afpi?

2001-07-02 Thread Norbert Omar Cartagena

Has anyone else seen the following message?

/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/afpi': No such
file or directory


I get the message when I try to import a DocBook 3.1 document to LyX. I
created another SGML documnent from LyX to see if maybe it only works
wih document it created, but I got the following:

/usr/bin/nsgmls:0:29:9:E: end tag for "SECT1" which is not
finished
/usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/aclass': No such
file or directory

Does anyone know what's up with these ghost-files and why sgmlsasp keeps
looking for them, as well as where I may aquire them if necessary?

I'm not sure if the following is relevant, but I'm running Red Hat 7.1,
LyX 1.1.6fix2. DocBook 3.1 (the documents I currently have to update are
of the such), and SGMLtools-lite 3.0.3

Thanks in advance,


Norbert Cartagena

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Font resolution

2001-07-02 Thread A. Gunes Koru


Lyx fonts that I view on the screen seem like they have a low resolution.
I was wondering if it is the same for everybody. Is there any way of
improving it?

Thanks
-- 
***

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: chapterbib + lyx (more info)

2001-07-02 Thread Oscar Garcia Poblacion



-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Herbert
Voss
Enviado el: lunes, 02 de julio de 2001 21:27
Para: Oscar Garcia Poblacion
CC: lyx user
Asunto: Re: chapterbib + lyx (more info)


Oscar Garcia Poblacion wrote:

> 1) Following these steps I get a bibliography on each chapter. OK!
but it
> includes al cites from the chapter and all the previous (it accumulates
> references).

i can'r reproduce this with my text

I have tried with a new document from scratch and I get the same results.


What I say in point 1 happends when I include the files as
\input{file1.tex} \input{file2.tex}... All cites appears correctly, but in
each capter appears the bibliography used in all the previous chapters.

Then, if I include the files as \include{file1.tex} \include{file2.tex} the
bibliographies for each chapter gets generated correctly, but the cites in
the doc appears as [?]

I have deleted everything from the latex preamble, I mean delete
\usepackage[sectionbib]{chapterbib}.

I can't figure out what I am doing wrong



> 2) If I add in the preamble \usepackage[sectionbib]{chapterbib}
then all my
> cites go [?] but bibliography gets generated correctly and only for that
> chapter, that is what I want. The parameter [sectionbib] works fine. I
have
> tried many styles, but with the same result [?]. Any idea of how to solve
> it?

do you have a bibentry in the maindoc too?

Yes, but nothing changes If I remove it. I currently have four bibentries,
three in each file (that starts with \chapter...) and one for the master.

Do I need to use package chapterbib? What's the diference between \input
and \include?

Thanks for your help Herbert. I wouldn't like to bother here in the list
with such a recursive problem.

Oscar