setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
I'm using lyx-1.3.2, xforms.

I'm generating a page of thumbnail images and need to specify the
graphics height as a percentage of the text height.  The width should
scale with the height, as it is not the constraining dimension.

What I'd like to get is the equivalent of

\includegraphics[height=0.2\textheight]{foo.ps}

I can't figure out how to do this.

In order to make the Height input box active, I select anything but
Scale% for the Width.  I then select text% for Height, but it translates
that to textwidth, not textheight, in the output LaTeX.

Is there some way to do this?

Thanks,
Diab

-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Diab Jerius wrote:

 I'm using lyx-1.3.2, xforms.
 
 I'm generating a page of thumbnail images and need to specify the
 graphics height as a percentage of the text height.  The width should
 scale with the height, as it is not the constraining dimension.
 
 What I'd like to get is the equivalent of
 
   \includegraphics[height=0.2\textheight]{foo.ps}
 
 I can't figure out how to do this.
 
 In order to make the Height input box active, I select anything but
 Scale% for the Width.  I then select text% for Height, but it translates
 that to textwidth, not textheight, in the output LaTeX.
 

IIRC, just set the horizontal value to 0cm or something. Lyx uses the 
largest value, if you have clicked keep proportions.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
On 22 Aug, Christian Ridderström wrote:
 On Fri, 22 Aug 2003, Diab Jerius wrote:
 
 I'm using lyx-1.3.2, xforms.
 
 I'm generating a page of thumbnail images and need to specify the
 graphics height as a percentage of the text height.  The width should
 scale with the height, as it is not the constraining dimension.
 
 What I'd like to get is the equivalent of
 
  \includegraphics[height=0.2\textheight]{foo.ps}
 
 I can't figure out how to do this.
 
 In order to make the Height input box active, I select anything but
 Scale% for the Width.  I then select text% for Height, but it translates
 that to textwidth, not textheight, in the output LaTeX.
 
 
 IIRC, just set the horizontal value to 0cm or something. Lyx uses the 
 largest value, if you have clicked keep proportions.
 
 /Christian
 

Hmm. no go.  LyX still translates that to a textwidth

\includegraphics[%
  bb=36bp 236bp 577bp 529bp,
  clip,
  height=0.2\textwidth,
  keepaspectratio]{graphics/02+hrma_00.00:01.00.ps}



Re: setting graphics height to % of text height?

2003-08-22 Thread Juergen Spitzmueller
Diab Jerius wrote:
 What I'd like to get is the equivalent of

 \includegraphics[height=0.2\textheight]{foo.ps}

 I can't figure out how to do this.

Select
width: 0 %theight
height: 20 %theight

Juergen. 


Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
On 22 Aug, Juergen Spitzmueller wrote:
 Diab Jerius wrote:
 What I'd like to get is the equivalent of

 \includegraphics[height=0.2\textheight]{foo.ps}

 I can't figure out how to do this.
 


 Select
 width: 0 %theight
 height: 20 %theight
 

Are you using lyx-qt?  %theight isn't one of the choices I get in
the xforms version.

Diab



Re: setting graphics height to % of text height?

2003-08-22 Thread Herbert Voß
Juergen Spitzmueller schrieb:
Diab Jerius wrote:

What I'd like to get is the equivalent of

   \includegraphics[height=0.2\textheight]{foo.ps}

I can't figure out how to do this.


Select
width: 0 %theight
height: 20 %theight
when this works, it is a bug. if not, also a bug ...

Herbert




Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Diab Jerius wrote:

 
  Select
  width: 0 %theight
  height: 20 %theight
  
 
 Are you using lyx-qt?  %theight isn't one of the choices I get in
 the xforms version.
 
You're right.. there is no %theight in lyx 1.3.2-xforms... You should file 
a bug about this in bugzilla.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Herbert Voß wrote:

 Juergen Spitzmueller schrieb:
  Diab Jerius wrote:
  
 What I'd like to get is the equivalent of
 
 \includegraphics[height=0.2\textheight]{foo.ps}
 
 I can't figure out how to do this.
  
  
  Select
  width: 0 %theight
  height: 20 %theight
 
 when this works, it is a bug. if not, also a bug ...
 
I think the motivation for why it *should* work is that LyX will take the 
larger value when keep aspect ratio is selected (which isn't very 
obvious of course)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
Thanks for the confirmation; the bug report is filed.

On 22 Aug, Christian Ridderström wrote:
 On Fri, 22 Aug 2003, Diab Jerius wrote:
 
 
  Select
  width: 0 %theight
  height: 20 %theight
  
 
 Are you using lyx-qt?  %theight isn't one of the choices I get in
 the xforms version.
 
 You're right.. there is no %theight in lyx 1.3.2-xforms... You should file 
 a bug about this in bugzilla.
 

Diab


Re: Output using arial font

2003-08-22 Thread Matej Cepl
On 2003-08-20, 02:50 GMT, Ben Nelson wrote:
 Let's assume that the audience is not typographically naive enough to
 distinguish the two.  How would I go about exporting a postscript or PDF
 file that has arial embedded.

You have to install version of dvips supporting type42 fonts, then
convert arial font from TTF to Type42, generate .afm metrics, and then
you can create PostScript with Arial. It is much more simple with
pdflatex which supports TTF fonts natively -- read its manual.

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



wierd crshes..

2003-08-22 Thread Thomi Richards

Hi all,


I've recently re-installed lyx (after a PC crash, and massive loss of data 
(thank god for backups )). However, when i run it, I get the following output:


-snip-
checking for TeX fonts
checking [for cmex10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmmi10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmr10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmsy10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for eufm10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for msam10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for msbm10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for wasy10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
removing lyxrc.defaults, which is identical to the system global version
removing textclass.lst, which is identical to the system global version
removing packages.lst, which is identical to the system global version
removing doc/LaTeXConfig.lyx, which is identical to the system global version
mv: cannot stat `xfonts/fonts.dir': No such file or directory
mv: cannot stat `xfonts/fonts.dir.new': No such file or directory
removing font links
LyX: Done!

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
instructions in Help-Introduction and send us a bug report, if necessary. 
Thanks !
Bye.
Aborted
-/snip-

Has anyone else come across this crash? Lyx *used* to work just fine, now I 
can't even geta  GUI up.


any ideas?

Thanks,

Thomi Richards


Re: wierd crshes..

2003-08-22 Thread Nirmal Govind

 checking [for cmex10]... /usr/local/share/lyx/configure: kpsewhich:
 command not found

kpsewhich is part of the tex distribution right.. so you may want to check
if the tex distribution was installed properly.. or maybe the path to
kpsewhich isn't in your default path... the experts will be able to
pinpoint the problem hopefully, but something to check out in the
meanwhile.. 

nirmal  



setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
I'm using lyx-1.3.2, xforms.

I'm generating a page of thumbnail images and need to specify the
graphics height as a percentage of the text height.  The width should
scale with the height, as it is not the constraining dimension.

What I'd like to get is the equivalent of

\includegraphics[height=0.2\textheight]{foo.ps}

I can't figure out how to do this.

In order to make the Height input box active, I select anything but
Scale% for the Width.  I then select text% for Height, but it translates
that to textwidth, not textheight, in the output LaTeX.

Is there some way to do this?

Thanks,
Diab

-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Diab Jerius wrote:

 I'm using lyx-1.3.2, xforms.
 
 I'm generating a page of thumbnail images and need to specify the
 graphics height as a percentage of the text height.  The width should
 scale with the height, as it is not the constraining dimension.
 
 What I'd like to get is the equivalent of
 
   \includegraphics[height=0.2\textheight]{foo.ps}
 
 I can't figure out how to do this.
 
 In order to make the Height input box active, I select anything but
 Scale% for the Width.  I then select text% for Height, but it translates
 that to textwidth, not textheight, in the output LaTeX.
 

IIRC, just set the horizontal value to 0cm or something. Lyx uses the 
largest value, if you have clicked keep proportions.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
On 22 Aug, Christian Ridderström wrote:
 On Fri, 22 Aug 2003, Diab Jerius wrote:
 
 I'm using lyx-1.3.2, xforms.
 
 I'm generating a page of thumbnail images and need to specify the
 graphics height as a percentage of the text height.  The width should
 scale with the height, as it is not the constraining dimension.
 
 What I'd like to get is the equivalent of
 
  \includegraphics[height=0.2\textheight]{foo.ps}
 
 I can't figure out how to do this.
 
 In order to make the Height input box active, I select anything but
 Scale% for the Width.  I then select text% for Height, but it translates
 that to textwidth, not textheight, in the output LaTeX.
 
 
 IIRC, just set the horizontal value to 0cm or something. Lyx uses the 
 largest value, if you have clicked keep proportions.
 
 /Christian
 

Hmm. no go.  LyX still translates that to a textwidth

\includegraphics[%
  bb=36bp 236bp 577bp 529bp,
  clip,
  height=0.2\textwidth,
  keepaspectratio]{graphics/02+hrma_00.00:01.00.ps}



Re: setting graphics height to % of text height?

2003-08-22 Thread Juergen Spitzmueller
Diab Jerius wrote:
 What I'd like to get is the equivalent of

 \includegraphics[height=0.2\textheight]{foo.ps}

 I can't figure out how to do this.

Select
width: 0 %theight
height: 20 %theight

Juergen. 


Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
On 22 Aug, Juergen Spitzmueller wrote:
 Diab Jerius wrote:
 What I'd like to get is the equivalent of

 \includegraphics[height=0.2\textheight]{foo.ps}

 I can't figure out how to do this.
 


 Select
 width: 0 %theight
 height: 20 %theight
 

Are you using lyx-qt?  %theight isn't one of the choices I get in
the xforms version.

Diab



Re: setting graphics height to % of text height?

2003-08-22 Thread Herbert Voß
Juergen Spitzmueller schrieb:
Diab Jerius wrote:

What I'd like to get is the equivalent of

   \includegraphics[height=0.2\textheight]{foo.ps}

I can't figure out how to do this.


Select
width: 0 %theight
height: 20 %theight
when this works, it is a bug. if not, also a bug ...

Herbert




Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Diab Jerius wrote:

 
  Select
  width: 0 %theight
  height: 20 %theight
  
 
 Are you using lyx-qt?  %theight isn't one of the choices I get in
 the xforms version.
 
You're right.. there is no %theight in lyx 1.3.2-xforms... You should file 
a bug about this in bugzilla.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Herbert Voß wrote:

 Juergen Spitzmueller schrieb:
  Diab Jerius wrote:
  
 What I'd like to get is the equivalent of
 
 \includegraphics[height=0.2\textheight]{foo.ps}
 
 I can't figure out how to do this.
  
  
  Select
  width: 0 %theight
  height: 20 %theight
 
 when this works, it is a bug. if not, also a bug ...
 
I think the motivation for why it *should* work is that LyX will take the 
larger value when keep aspect ratio is selected (which isn't very 
obvious of course)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
Thanks for the confirmation; the bug report is filed.

On 22 Aug, Christian Ridderström wrote:
 On Fri, 22 Aug 2003, Diab Jerius wrote:
 
 
  Select
  width: 0 %theight
  height: 20 %theight
  
 
 Are you using lyx-qt?  %theight isn't one of the choices I get in
 the xforms version.
 
 You're right.. there is no %theight in lyx 1.3.2-xforms... You should file 
 a bug about this in bugzilla.
 

Diab


Re: Output using arial font

2003-08-22 Thread Matej Cepl
On 2003-08-20, 02:50 GMT, Ben Nelson wrote:
 Let's assume that the audience is not typographically naive enough to
 distinguish the two.  How would I go about exporting a postscript or PDF
 file that has arial embedded.

You have to install version of dvips supporting type42 fonts, then
convert arial font from TTF to Type42, generate .afm metrics, and then
you can create PostScript with Arial. It is much more simple with
pdflatex which supports TTF fonts natively -- read its manual.

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



wierd crshes..

2003-08-22 Thread Thomi Richards

Hi all,


I've recently re-installed lyx (after a PC crash, and massive loss of data 
(thank god for backups )). However, when i run it, I get the following output:


-snip-
checking for TeX fonts
checking [for cmex10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmmi10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmr10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmsy10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for eufm10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for msam10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for msbm10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for wasy10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
removing lyxrc.defaults, which is identical to the system global version
removing textclass.lst, which is identical to the system global version
removing packages.lst, which is identical to the system global version
removing doc/LaTeXConfig.lyx, which is identical to the system global version
mv: cannot stat `xfonts/fonts.dir': No such file or directory
mv: cannot stat `xfonts/fonts.dir.new': No such file or directory
removing font links
LyX: Done!

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
instructions in Help-Introduction and send us a bug report, if necessary. 
Thanks !
Bye.
Aborted
-/snip-

Has anyone else come across this crash? Lyx *used* to work just fine, now I 
can't even geta  GUI up.


any ideas?

Thanks,

Thomi Richards


Re: wierd crshes..

2003-08-22 Thread Nirmal Govind

 checking [for cmex10]... /usr/local/share/lyx/configure: kpsewhich:
 command not found

kpsewhich is part of the tex distribution right.. so you may want to check
if the tex distribution was installed properly.. or maybe the path to
kpsewhich isn't in your default path... the experts will be able to
pinpoint the problem hopefully, but something to check out in the
meanwhile.. 

nirmal  



setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
I'm using lyx-1.3.2, xforms.

I'm generating a page of "thumbnail" images and need to specify the
graphics height as a percentage of the text height.  The width should
scale with the height, as it is not the constraining dimension.

What I'd like to get is the equivalent of

\includegraphics[height=0.2\textheight]{foo.ps}

I can't figure out how to do this.

In order to make the Height input box active, I select anything but
Scale% for the Width.  I then select text% for Height, but it translates
that to textwidth, not textheight, in the output LaTeX.

Is there some way to do this?

Thanks,
Diab

-- 
Diab Jerius   Harvard-Smithsonian Center for Astrophysics
  60 Garden St, MS 70, Cambridge MA 02138 USA
[EMAIL PROTECTED]   vox: 617 496 7575 fax: 617 495 7356


Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Diab Jerius wrote:

> I'm using lyx-1.3.2, xforms.
> 
> I'm generating a page of "thumbnail" images and need to specify the
> graphics height as a percentage of the text height.  The width should
> scale with the height, as it is not the constraining dimension.
> 
> What I'd like to get is the equivalent of
> 
>   \includegraphics[height=0.2\textheight]{foo.ps}
> 
> I can't figure out how to do this.
> 
> In order to make the Height input box active, I select anything but
> Scale% for the Width.  I then select text% for Height, but it translates
> that to textwidth, not textheight, in the output LaTeX.
> 

IIRC, just set the horizontal value to 0cm or something. Lyx uses the 
largest value, if you have clicked keep proportions.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
On 22 Aug, Christian Ridderström wrote:
> On Fri, 22 Aug 2003, Diab Jerius wrote:
> 
>> I'm using lyx-1.3.2, xforms.
>> 
>> I'm generating a page of "thumbnail" images and need to specify the
>> graphics height as a percentage of the text height.  The width should
>> scale with the height, as it is not the constraining dimension.
>> 
>> What I'd like to get is the equivalent of
>> 
>>  \includegraphics[height=0.2\textheight]{foo.ps}
>> 
>> I can't figure out how to do this.
>> 
>> In order to make the Height input box active, I select anything but
>> Scale% for the Width.  I then select text% for Height, but it translates
>> that to textwidth, not textheight, in the output LaTeX.
>> 
> 
> IIRC, just set the horizontal value to 0cm or something. Lyx uses the 
> largest value, if you have clicked keep proportions.
> 
> /Christian
> 

Hmm. no go.  LyX still translates that to a textwidth

\includegraphics[%
  bb=36bp 236bp 577bp 529bp,
  clip,
  height=0.2\textwidth,
  keepaspectratio]{graphics/02+hrma_00.00:01.00.ps}&



Re: setting graphics height to % of text height?

2003-08-22 Thread Juergen Spitzmueller
Diab Jerius wrote:
> What I'd like to get is the equivalent of
>
> \includegraphics[height=0.2\textheight]{foo.ps}
>
> I can't figure out how to do this.

Select
width: 0 %theight
height: 20 %theight

Juergen. 


Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
On 22 Aug, Juergen Spitzmueller wrote:
> Diab Jerius wrote:
>> What I'd like to get is the equivalent of
>>
>> \includegraphics[height=0.2\textheight]{foo.ps}
>>
>> I can't figure out how to do this.
> 


> Select
> width: 0 %theight
> height: 20 %theight
> 

Are you using lyx-qt?  %theight isn't one of the choices I get in
the xforms version.

Diab



Re: setting graphics height to % of text height?

2003-08-22 Thread Herbert Voß
Juergen Spitzmueller schrieb:
Diab Jerius wrote:

What I'd like to get is the equivalent of

   \includegraphics[height=0.2\textheight]{foo.ps}

I can't figure out how to do this.


Select
width: 0 %theight
height: 20 %theight
when this works, it is a bug. if not, also a bug ...

Herbert




Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Diab Jerius wrote:

> 
> > Select
> > width: 0 %theight
> > height: 20 %theight
> > 
> 
> Are you using lyx-qt?  %theight isn't one of the choices I get in
> the xforms version.
> 
You're right.. there is no %theight in lyx 1.3.2-xforms... You should file 
a bug about this in bugzilla.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Christian Ridderström
On Fri, 22 Aug 2003, Herbert Voß wrote:

> Juergen Spitzmueller schrieb:
> > Diab Jerius wrote:
> > 
> >>What I'd like to get is the equivalent of
> >>
> >>\includegraphics[height=0.2\textheight]{foo.ps}
> >>
> >>I can't figure out how to do this.
> > 
> > 
> > Select
> > width: 0 %theight
> > height: 20 %theight
> 
> when this works, it is a bug. if not, also a bug ...
> 
I think the motivation for why it *should* work is that LyX will take the 
larger value when "keep aspect ratio" is selected (which isn't very 
obvious of course)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: setting graphics height to % of text height?

2003-08-22 Thread Diab Jerius
Thanks for the confirmation; the bug report is filed.

On 22 Aug, Christian Ridderström wrote:
> On Fri, 22 Aug 2003, Diab Jerius wrote:
> 
>> 
>> > Select
>> > width: 0 %theight
>> > height: 20 %theight
>> > 
>> 
>> Are you using lyx-qt?  %theight isn't one of the choices I get in
>> the xforms version.
>> 
> You're right.. there is no %theight in lyx 1.3.2-xforms... You should file 
> a bug about this in bugzilla.
> 

Diab


Re: Output using arial font

2003-08-22 Thread Matej Cepl
On 2003-08-20, 02:50 GMT, Ben Nelson wrote:
> Let's assume that the audience is not typographically naive enough to
> distinguish the two.  How would I go about exporting a postscript or PDF
> file that has arial embedded.

You have to install version of dvips supporting type42 fonts, then
convert arial font from TTF to Type42, generate .afm metrics, and then
you can create PostScript with Arial. It is much more simple with
pdflatex which supports TTF fonts natively -- read its manual.

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



wierd crshes..

2003-08-22 Thread Thomi Richards

Hi all,


I've recently re-installed lyx (after a PC crash, and massive loss of data 
(thank god for backups )). However, when i run it, I get the following output:


--
checking for TeX fonts
checking [for cmex10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmmi10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmr10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for cmsy10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for eufm10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for msam10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for msbm10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
checking [for wasy10]... /usr/local/share/lyx/configure: kpsewhich: command 
not found
/usr/local/share/lyx/configure: kpsewhich: command not found
/usr/local/share/lyx/configure: kpsewhich: command not found
no
removing lyxrc.defaults, which is identical to the system global version
removing textclass.lst, which is identical to the system global version
removing packages.lst, which is identical to the system global version
removing doc/LaTeXConfig.lyx, which is identical to the system global version
mv: cannot stat `xfonts/fonts.dir': No such file or directory
mv: cannot stat `xfonts/fonts.dir.new': No such file or directory
removing font links
LyX: Done!

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
instructions in Help->Introduction and send us a bug report, if necessary. 
Thanks !
Bye.
Aborted
--

Has anyone else come across this crash? Lyx *used* to work just fine, now I 
can't even geta  GUI up.


any ideas?

Thanks,

Thomi Richards


Re: wierd crshes..

2003-08-22 Thread Nirmal Govind

> checking [for cmex10]... /usr/local/share/lyx/configure: kpsewhich:
> command not found

kpsewhich is part of the tex distribution right.. so you may want to check
if the tex distribution was installed properly.. or maybe the path to
kpsewhich isn't in your default path... the experts will be able to
pinpoint the problem hopefully, but something to check out in the
meanwhile.. 

nirmal