Xfig, external material and scale

2004-08-22 Thread Paul Smith
Dear All
I am inserting a Xfig picture via insert--external material. Is there 
some way of setting the scale of the Xfig picture with which the picture 
will appear in the DVI file?

Thanks in advance,
Paul


Re: Xfig, external material and scale

2004-08-22 Thread Mark Carroll
On Sun, 22 Aug 2004, Paul Smith wrote:

 I am inserting a Xfig picture via insert--external material. Is there
 some way of setting the scale of the Xfig picture with which the picture
 will appear in the DVI file?

In the parameters field (for fig2dev) of the dialog box where you set
the filename you can set an -m scaling option - for instance, -m 0.5
to halve its size.

-- Mark


Need help with frustrating natbib/apa error

2004-08-22 Thread Birch Browning
OK latex-gurus, I have a stumper for you.
I have a sample APA style document with bibliography (using natbib) that 
works fine on my mac, but the citations and references fail on my linux 
box. Obviously, something is honked-up in my tetex installation. I've 
re-installed from scratch (version 2.0.2-r3 on a gentoo box) and still 
no go.

I've isolated the problem to the .bbl file. Here's the real stumper: If 
I export a .tex file, edit the documentclass from apa to article, run 
latex, bibtex, change document class back from article to apa, and run 
latex, latex I get a perfect document. The error seems to be in creating 
the .bbl file using apa.cls. Bib style is set to newapa.

I've included the .tex, .bib, .bbl and pertinent errors from the log.
Please let me know if you need additional information and TIA for any 
assistance! (Sorry for the long post.)

MyTestArticle.tex:
--
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,man]{apa}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{setspace}
\doublespacing
\usepackage[authoryear]{natbib}
\makeatletter
%% Textclass specific LaTeX commands.
\helvetica
\author{Author} % hack around some bugs in apa.cls
\affiliation{Affiliation} % hack around some bugs in apa.cls
\usepackage{babel}
\makeatother
\begin{document}
\title{My Test Article}
\rightheader{A Right header}
\abstract{An Abstract}
\shorttitle{A Short Title}
\author{Birch Pinhead Browning, IRAPHD}
\affiliation{Cleveland State University}
\maketitle
\section*{A Section Header}
Some text \citet{rich2002}.
\singlespace
\bibliographystyle{newapa}
\bibliography{/home/browning/MyTestArea/MyTestBib}
\end{document}
MyTestBib.bib

This file was created with JabRef 1.19.
@ARTICLE{rich2002,
  author = {Curt Rich},
  title = {How to xerox your way to a Ph.D.},
  journal = {Journal of Academic Dishonesty},
  year = {2002},
  volume = {1},
  number = {1},
  pages = {1-3},
  month = {January},
}
@comment{jabref-meta: selector_journal:}
@comment{jabref-meta: selector_keywords:}
@comment{jabref-meta: selector_publisher:}
\begin{thebibliography}{}
MyTestArticle.bbl
-
\bibitem[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
Rich, C.
\newblock{}\BBOP{}2002\BBCP{}.
\newblock{}\BBOQ{}How to xerox your way to a ph.d.\BBCQ{}
\newblock{}\Bem{Journal of Academic Dishonesty}, \Bem{1}(1), 1-3.
\end{thebibliography}
From MyTestArticle.log

Class apa Warning: \bibliographystyle command ignored on input line 46.
(./MyTestArticle.bbl
! Undefined control sequence.
argument \protect \BCAY
  {Rich}{Rich}{2002}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
?
! Undefined control sequence.
\org@@lbibitem ...orend [EMAIL PROTECTED] #1(@)(@)[EMAIL PROTECTED]
  {#2}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
?
) AED endfloat: Processing end Figures and Tables [3] (./MyTestArticle.ttt)
(./MyTestArticle.fff)
Package natbib Warning: There were undefined citations.


Re: Xfig, external material and scale

2004-08-22 Thread Paul Smith
Mark Carroll wrote:
I am inserting a Xfig picture via insert--external material. Is there
some way of setting the scale of the Xfig picture with which the picture
will appear in the DVI file?
In the parameters field (for fig2dev) of the dialog box where you set
the filename you can set an -m scaling option - for instance, -m 0.5
to halve its size.
Thanks, Mark. I had already tried that, but it does not work, i.e., the 
picture appears in DVI file with the original size. (Try to insert the 
same picture twice, one with -m 0.5 and the other one without -m 
0.5; you will see no difference.)

Paul



Re: Change quality of pdf output

2004-08-22 Thread Jason Hoogland

Thanks guys,

I think you'll have saved me a _lot_ of time here.

Jason

On Friday 20 August 2004 21:18, Helge Hafting wrote:
 Jason Hoogland wrote:
 Hi,
 
 Using Lyx in Suse 9.1.  How do I change the quality (is that the same as
 resolution?) of pdf output?  The default seems quite chunky.  How does it
 work?  I recall from Windows/Acrobat that you can change the output
 resolution.

 I don't know your exact problem, but  _the_ most common pdf problem
 is that the default computer modern fonts gets embedded as bitmaps,
 and adobe acrobat is lousy at displaying that.  This makes for real ugly,
 chunky text on screen.  (Printing fares a lot better.)

 The quick and easy solution:  layout-document and select any other font
 than default. pslatex tend to be okay.

 If you want the default computer modern font in pdf, then install
 a postscript version of this font. I don't know where to get it or how
 to do it, but it exists.

 If you really need to change pdf resolution, run texconfig.   You'll get
 menus for changing a lot of things in your tex setup, including the
 resolution
 options for dvips, dvipdfm and pdftex.  A pdf from lyx is usually made
 using one of those three.  Doing this is probably a good idea anyway, set
 the resolution to match your printer.

 Helge Hafting

-- 
==
Jason Hoogland                 [EMAIL PROTECTED]
Doctoral student                ph(w) +61 7 3365 4067
Centre for Hypersonics          ph(mob) +61 41 33 00 887
The University of Queensland    UTC+10
Brisbane QLD 4072, Australia    http://www.marsgravity.org
--


Re: Xfig, external material and scale

2004-08-22 Thread Rich Shepard
On Sun, 22 Aug 2004, Paul Smith wrote:

 I am inserting a Xfig picture via insert--external material. Is there
 some way of setting the scale of the Xfig picture with which the picture
 will appear in the DVI file?

 Thanks, Mark. I had already tried that, but it does not work, i.e., the
 picture appears in DVI file with the original size. (Try to insert the
 same picture twice, one with -m 0.5 and the other one without -m
 0.5; you will see no difference.)

Paul,

  I use Tgif rather than xfig and it provides an .eps version of each
figure. I then import that graphic file into a figure float and use the
figure dialog box to scale and otherwise twiddle with the appearance on the
typeset page.

  Would this not work for you?

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


problem with accents after kde update

2004-08-22 Thread Mario Lopes
Hi there!
I'm currently using Suse 9.1 and I've updated kde 3.2 to latest version 
3.3 and everything runs fine except accents inside LyX.

Since my update, I can't use chars like à è ò or á é ã õ that my 
language needs. I did an effort and set keyboard mapping to Portuguese 
(Portugese is how it is written inside Lyx) and now I'm managed to have 
` and ~ working, but á é, etc.. doesn't work. It's the only accent that 
doesn't work. Besides this, every character works great in all 
programas, except LyX :-(

Need some help please, I really need LyX running smoothly! Well, yes.. 
I'm a LyX-dependent ;-)

Best Regards,
Mário Lopes
P.S. - This e-mail was written with ISO-8859-15 charset, not UTF-8


Xfig, external material and scale

2004-08-22 Thread Paul Smith
Dear All
I am inserting a Xfig picture via insert--external material. Is there 
some way of setting the scale of the Xfig picture with which the picture 
will appear in the DVI file?

Thanks in advance,
Paul


Re: Xfig, external material and scale

2004-08-22 Thread Mark Carroll
On Sun, 22 Aug 2004, Paul Smith wrote:

 I am inserting a Xfig picture via insert--external material. Is there
 some way of setting the scale of the Xfig picture with which the picture
 will appear in the DVI file?

In the parameters field (for fig2dev) of the dialog box where you set
the filename you can set an -m scaling option - for instance, -m 0.5
to halve its size.

-- Mark


Need help with frustrating natbib/apa error

2004-08-22 Thread Birch Browning
OK latex-gurus, I have a stumper for you.
I have a sample APA style document with bibliography (using natbib) that 
works fine on my mac, but the citations and references fail on my linux 
box. Obviously, something is honked-up in my tetex installation. I've 
re-installed from scratch (version 2.0.2-r3 on a gentoo box) and still 
no go.

I've isolated the problem to the .bbl file. Here's the real stumper: If 
I export a .tex file, edit the documentclass from apa to article, run 
latex, bibtex, change document class back from article to apa, and run 
latex, latex I get a perfect document. The error seems to be in creating 
the .bbl file using apa.cls. Bib style is set to newapa.

I've included the .tex, .bib, .bbl and pertinent errors from the log.
Please let me know if you need additional information and TIA for any 
assistance! (Sorry for the long post.)

MyTestArticle.tex:
--
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,man]{apa}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{setspace}
\doublespacing
\usepackage[authoryear]{natbib}
\makeatletter
%% Textclass specific LaTeX commands.
\helvetica
\author{Author} % hack around some bugs in apa.cls
\affiliation{Affiliation} % hack around some bugs in apa.cls
\usepackage{babel}
\makeatother
\begin{document}
\title{My Test Article}
\rightheader{A Right header}
\abstract{An Abstract}
\shorttitle{A Short Title}
\author{Birch Pinhead Browning, IRAPHD}
\affiliation{Cleveland State University}
\maketitle
\section*{A Section Header}
Some text \citet{rich2002}.
\singlespace
\bibliographystyle{newapa}
\bibliography{/home/browning/MyTestArea/MyTestBib}
\end{document}
MyTestBib.bib

This file was created with JabRef 1.19.
@ARTICLE{rich2002,
  author = {Curt Rich},
  title = {How to xerox your way to a Ph.D.},
  journal = {Journal of Academic Dishonesty},
  year = {2002},
  volume = {1},
  number = {1},
  pages = {1-3},
  month = {January},
}
@comment{jabref-meta: selector_journal:}
@comment{jabref-meta: selector_keywords:}
@comment{jabref-meta: selector_publisher:}
\begin{thebibliography}{}
MyTestArticle.bbl
-
\bibitem[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
Rich, C.
\newblock{}\BBOP{}2002\BBCP{}.
\newblock{}\BBOQ{}How to xerox your way to a ph.d.\BBCQ{}
\newblock{}\Bem{Journal of Academic Dishonesty}, \Bem{1}(1), 1-3.
\end{thebibliography}
From MyTestArticle.log

Class apa Warning: \bibliographystyle command ignored on input line 46.
(./MyTestArticle.bbl
! Undefined control sequence.
argument \protect \BCAY
  {Rich}{Rich}{2002}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
?
! Undefined control sequence.
\org@@lbibitem ...orend [EMAIL PROTECTED] #1(@)(@)[EMAIL PROTECTED]
  {#2}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
?
) AED endfloat: Processing end Figures and Tables [3] (./MyTestArticle.ttt)
(./MyTestArticle.fff)
Package natbib Warning: There were undefined citations.


Re: Xfig, external material and scale

2004-08-22 Thread Paul Smith
Mark Carroll wrote:
I am inserting a Xfig picture via insert--external material. Is there
some way of setting the scale of the Xfig picture with which the picture
will appear in the DVI file?
In the parameters field (for fig2dev) of the dialog box where you set
the filename you can set an -m scaling option - for instance, -m 0.5
to halve its size.
Thanks, Mark. I had already tried that, but it does not work, i.e., the 
picture appears in DVI file with the original size. (Try to insert the 
same picture twice, one with -m 0.5 and the other one without -m 
0.5; you will see no difference.)

Paul



Re: Change quality of pdf output

2004-08-22 Thread Jason Hoogland

Thanks guys,

I think you'll have saved me a _lot_ of time here.

Jason

On Friday 20 August 2004 21:18, Helge Hafting wrote:
 Jason Hoogland wrote:
 Hi,
 
 Using Lyx in Suse 9.1.  How do I change the quality (is that the same as
 resolution?) of pdf output?  The default seems quite chunky.  How does it
 work?  I recall from Windows/Acrobat that you can change the output
 resolution.

 I don't know your exact problem, but  _the_ most common pdf problem
 is that the default computer modern fonts gets embedded as bitmaps,
 and adobe acrobat is lousy at displaying that.  This makes for real ugly,
 chunky text on screen.  (Printing fares a lot better.)

 The quick and easy solution:  layout-document and select any other font
 than default. pslatex tend to be okay.

 If you want the default computer modern font in pdf, then install
 a postscript version of this font. I don't know where to get it or how
 to do it, but it exists.

 If you really need to change pdf resolution, run texconfig.   You'll get
 menus for changing a lot of things in your tex setup, including the
 resolution
 options for dvips, dvipdfm and pdftex.  A pdf from lyx is usually made
 using one of those three.  Doing this is probably a good idea anyway, set
 the resolution to match your printer.

 Helge Hafting

-- 
==
Jason Hoogland                 [EMAIL PROTECTED]
Doctoral student                ph(w) +61 7 3365 4067
Centre for Hypersonics          ph(mob) +61 41 33 00 887
The University of Queensland    UTC+10
Brisbane QLD 4072, Australia    http://www.marsgravity.org
--


Re: Xfig, external material and scale

2004-08-22 Thread Rich Shepard
On Sun, 22 Aug 2004, Paul Smith wrote:

 I am inserting a Xfig picture via insert--external material. Is there
 some way of setting the scale of the Xfig picture with which the picture
 will appear in the DVI file?

 Thanks, Mark. I had already tried that, but it does not work, i.e., the
 picture appears in DVI file with the original size. (Try to insert the
 same picture twice, one with -m 0.5 and the other one without -m
 0.5; you will see no difference.)

Paul,

  I use Tgif rather than xfig and it provides an .eps version of each
figure. I then import that graphic file into a figure float and use the
figure dialog box to scale and otherwise twiddle with the appearance on the
typeset page.

  Would this not work for you?

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


problem with accents after kde update

2004-08-22 Thread Mario Lopes
Hi there!
I'm currently using Suse 9.1 and I've updated kde 3.2 to latest version 
3.3 and everything runs fine except accents inside LyX.

Since my update, I can't use chars like à è ò or á é ã õ that my 
language needs. I did an effort and set keyboard mapping to Portuguese 
(Portugese is how it is written inside Lyx) and now I'm managed to have 
` and ~ working, but á é, etc.. doesn't work. It's the only accent that 
doesn't work. Besides this, every character works great in all 
programas, except LyX :-(

Need some help please, I really need LyX running smoothly! Well, yes.. 
I'm a LyX-dependent ;-)

Best Regards,
Mário Lopes
P.S. - This e-mail was written with ISO-8859-15 charset, not UTF-8


Xfig, external material and scale

2004-08-22 Thread Paul Smith
Dear All
I am inserting a Xfig picture via "insert-->external material". Is there 
some way of setting the scale of the Xfig picture with which the picture 
will appear in the DVI file?

Thanks in advance,
Paul


Re: Xfig, external material and scale

2004-08-22 Thread Mark Carroll
On Sun, 22 Aug 2004, Paul Smith wrote:

> I am inserting a Xfig picture via "insert-->external material". Is there
> some way of setting the scale of the Xfig picture with which the picture
> will appear in the DVI file?

In the "parameters" field (for fig2dev) of the dialog box where you set
the filename you can set an "-m" scaling option - for instance, "-m 0.5"
to halve its size.

-- Mark


Need help with frustrating natbib/apa error

2004-08-22 Thread Birch Browning
OK latex-gurus, I have a stumper for you.
I have a sample APA style document with bibliography (using natbib) that 
works fine on my mac, but the citations and references fail on my linux 
box. Obviously, something is honked-up in my tetex installation. I've 
re-installed from scratch (version 2.0.2-r3 on a gentoo box) and still 
no go.

I've isolated the problem to the .bbl file. Here's the real stumper: If 
I export a .tex file, edit the documentclass from apa to article, run 
latex, bibtex, change document class back from article to apa, and run 
latex, latex I get a perfect document. The error seems to be in creating 
the .bbl file using apa.cls. Bib style is set to newapa.

I've included the .tex, .bib, .bbl and pertinent errors from the log.
Please let me know if you need additional information and TIA for any 
assistance! (Sorry for the long post.)

MyTestArticle.tex:
--
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,man]{apa}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{setspace}
\doublespacing
\usepackage[authoryear]{natbib}
\makeatletter
%% Textclass specific LaTeX commands.
\helvetica
\author{Author} % hack around some bugs in apa.cls
\affiliation{Affiliation} % hack around some bugs in apa.cls
\usepackage{babel}
\makeatother
\begin{document}
\title{My Test Article}
\rightheader{A Right header}
\abstract{An Abstract}
\shorttitle{A Short Title}
\author{Birch Pinhead Browning, IRAPHD}
\affiliation{Cleveland State University}
\maketitle
\section*{A Section Header}
Some text \citet{rich2002}.
\singlespace
\bibliographystyle{newapa}
\bibliography{/home/browning/MyTestArea/MyTestBib}
\end{document}
MyTestBib.bib

This file was created with JabRef 1.19.
@ARTICLE{rich2002,
  author = {Curt Rich},
  title = {How to xerox your way to a Ph.D.},
  journal = {Journal of Academic Dishonesty},
  year = {2002},
  volume = {1},
  number = {1},
  pages = {1-3},
  month = {January},
}
@comment{jabref-meta: selector_journal:}
@comment{jabref-meta: selector_keywords:}
@comment{jabref-meta: selector_publisher:}
\begin{thebibliography}{}
MyTestArticle.bbl
-
\bibitem[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
Rich, C.
\newblock{}\BBOP{}2002\BBCP{}.
\newblock{}\BBOQ{}How to xerox your way to a ph.d.\BBCQ{}
\newblock{}\Bem{Journal of Academic Dishonesty}, \Bem{1}(1), 1-3.
\end{thebibliography}
From MyTestArticle.log

Class apa Warning: \bibliographystyle command ignored on input line 46.
(./MyTestArticle.bbl
! Undefined control sequence.
 \protect \BCAY
  {Rich}{Rich}{2002}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
?
! Undefined control sequence.
\org@@lbibitem ...orend [EMAIL PROTECTED] #1(@)(@)[EMAIL PROTECTED]
  {#2}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
?
) AED endfloat: Processing end Figures and Tables [3] (./MyTestArticle.ttt)
(./MyTestArticle.fff)
Package natbib Warning: There were undefined citations.


Re: Xfig, external material and scale

2004-08-22 Thread Paul Smith
Mark Carroll wrote:
I am inserting a Xfig picture via "insert-->external material". Is there
some way of setting the scale of the Xfig picture with which the picture
will appear in the DVI file?
In the "parameters" field (for fig2dev) of the dialog box where you set
the filename you can set an "-m" scaling option - for instance, "-m 0.5"
to halve its size.
Thanks, Mark. I had already tried that, but it does not work, i.e., the 
picture appears in DVI file with the original size. (Try to insert the 
same picture twice, one with "-m 0.5" and the other one without "-m 
0.5"; you will see no difference.)

Paul



Re: Change quality of pdf output

2004-08-22 Thread Jason Hoogland

Thanks guys,

I think you'll have saved me a _lot_ of time here.

Jason

On Friday 20 August 2004 21:18, Helge Hafting wrote:
> Jason Hoogland wrote:
> >Hi,
> >
> >Using Lyx in Suse 9.1.  How do I change the quality (is that the same as
> >resolution?) of pdf output?  The default seems quite chunky.  How does it
> >work?  I recall from Windows/Acrobat that you can change the output
> >resolution.
>
> I don't know your exact problem, but  _the_ most common pdf problem
> is that the default computer modern fonts gets embedded as bitmaps,
> and adobe acrobat is lousy at displaying that.  This makes for real ugly,
> chunky text on screen.  (Printing fares a lot better.)
>
> The quick and easy solution:  layout->document and select any other font
> than default. "pslatex" tend to be okay.
>
> If you want the default computer modern font in pdf, then install
> a postscript version of this font. I don't know where to get it or how
> to do it, but it exists.
>
> If you really need to change pdf resolution, run texconfig.   You'll get
> menus for changing a lot of things in your tex setup, including the
> resolution
> options for dvips, dvipdfm and pdftex.  A pdf from lyx is usually made
> using one of those three.  Doing this is probably a good idea anyway, set
> the resolution to match your printer.
>
> Helge Hafting

-- 
==
Jason Hoogland                 [EMAIL PROTECTED]
Doctoral student                ph(w) +61 7 3365 4067
Centre for Hypersonics          ph(mob) +61 41 33 00 887
The University of Queensland    UTC+10
Brisbane QLD 4072, Australia    http://www.marsgravity.org
--


Re: Xfig, external material and scale

2004-08-22 Thread Rich Shepard
On Sun, 22 Aug 2004, Paul Smith wrote:

> >>I am inserting a Xfig picture via "insert-->external material". Is there
> >>some way of setting the scale of the Xfig picture with which the picture
> >>will appear in the DVI file?

> Thanks, Mark. I had already tried that, but it does not work, i.e., the
> picture appears in DVI file with the original size. (Try to insert the
> same picture twice, one with "-m 0.5" and the other one without "-m
> 0.5"; you will see no difference.)

Paul,

  I use Tgif rather than xfig and it provides an .eps version of each
figure. I then import that graphic file into a figure float and use the
figure dialog box to scale and otherwise twiddle with the appearance on the
typeset page.

  Would this not work for you?

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



problem with accents after kde update

2004-08-22 Thread Mario Lopes
Hi there!
I'm currently using Suse 9.1 and I've updated kde 3.2 to latest version 
3.3 and everything runs fine except accents inside LyX.

Since my update, I can't use chars like à è ò or á é ã õ that my 
language needs. I did an effort and set keyboard mapping to Portuguese 
(Portugese is how it is written inside Lyx) and now I'm managed to have 
` and ~ working, but á é, etc.. doesn't work. It's the only accent that 
doesn't work. Besides this, every character works great in all 
programas, except LyX :-(

Need some help please, I really need LyX running smoothly! Well, yes.. 
I'm a LyX-dependent ;-)

Best Regards,
Mário Lopes
P.S. - This e-mail was written with ISO-8859-15 charset, not UTF-8