Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
 Yes this is a xcolor problem. Beamer v2.10 is incompatible with xcolor
 v1.10 (xcolor v1.09 works), see
 https://sourceforge.net/tracker/?func=detailatid=600660aid=930199group_i
d=92412

beamer v2.11 has just been released. This issue should be fixed.

  I got also an error LaTeX Error: Command \boldsymbol already defined.

 After downgrading to xcolor 1.09 this problem remains. When I export the
 template into LaTeX, I see that LyX adds the following:

 %% LyX specific LaTeX commands.
 %% Bold symbol macro for standard LaTeX users
 \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

 But beamer also defines a command \boldsymbold, so I want to disable
 LyX's \boldsymbol as a short workaround. How could this be done?
 (I'll inform the author of beamer, that he shouldn't use this command.)

Hm, perhaps LyX should use \providecommand instead.

  p.s. What other LaTeX package could be used together with LyX for
  presentations? I found in the list archive something about the package
  pdfscreen. Has anybody some experiences (or example LyX-files) with
  prosper, slide etc.?

 Nevertheless this would be interesting.

I am actually using beamer and IMO this package is outstanding. The 
presentations are not only nice, but also very well structured. And it's easy 
to use and powerful.

Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:
 %% LyX specific LaTeX commands.
 %% Bold symbol macro for standard LaTeX users
 \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

 But beamer also defines a command \boldsymbold, so I want to
 disable LyX's \boldsymbol as a short workaround. How could this be
 done? (I'll inform the author of beamer, that he shouldn't use this
 command.)
 
 Hm, perhaps LyX should use \providecommand instead.

Juergen, could you try out the attached patch? Works for me, but I'm 
not trying it against beamer.

-- 
AngusIndex: src/lyx_sty.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_sty.C,v
retrieving revision 1.12
diff -u -p -r1.12 lyx_sty.C
--- src/lyx_sty.C	27 Nov 2002 10:30:09 -	1.12
+++ src/lyx_sty.C	8 Apr 2004 11:26:22 -
@@ -109,7 +109,7 @@ string const minipageindent_def =
 
 string const boldsymbol_def =
 	%% Bold symbol macro for standard LaTeX users\n
-	\\newcommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n;
+	\\providecommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n;
 
 string const binom_def =
 	%% Binom macro for standard LaTeX users\n


Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Angus Leeming wrote:
 Juergen, could you try out the attached patch? Works for me, but I'm
 not trying it against beamer.

If Uwe can give me a description how to produce this error. I never saw it (I 
don't use any math, though).

Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:

 Angus Leeming wrote:
 Juergen, could you try out the attached patch? Works for me, but
 I'm not trying it against beamer.
 
 If Uwe can give me a description how to produce this error. I never
 saw it (I don't use any math, though).

New document, beamer document type
Create a math inset
Type \boldsymbolspaceV

Export to tex and check that lyx has inserted:

%% Bold symbol macro for standard LaTeX users
\newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

(This command is provided by the amssymb package and so lyx does not 
generate it if it knows that this package is being used.)

-- 
Angus



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Angus Leeming wrote:
 (This command is provided by the amssymb package and so lyx does not
 generate it if it knows that this package is being used.)

Aha. So beamer is also incompatible to amssymb. Anyway, your patch seems to 
work fine (though I have not compared the definitions of boldsymbol in LyX 
and beamer, i.e. if the output is appropriate).

Regards,
Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:
 (This command is provided by the amssymb package and so lyx does
 not generate it if it knows that this package is being used.)
 
 Aha. So beamer is also incompatible to amssymb. 

Would make sense to drop the beamer team a note then, wouldn't it?

 seems to work fine (though I have not compared the definitions of
 boldsymbol in LyX and beamer, i.e. if the output is appropriate).

Good. I'll ask Jean-Marc to apply it to 1.3.5 then.

-- 
Angus



Re: beamer class problems

2004-04-08 Thread Angus Leeming
Angus Leeming wrote:
 (This command is provided by the amssymb package and so lyx does
 not generate it if it knows that this package is being used.)
 
 Aha. So beamer is also incompatible to amssymb.
 
 Would make sense to drop the beamer team a note then, wouldn't it?
 
 seems to work fine (though I have not compared the definitions of
 boldsymbol in LyX and beamer, i.e. if the output is appropriate).
 
 Good. I'll ask Jean-Marc to apply it to 1.3.5 then.

Ok, this is now in the cvs versions of the code and will be part of 
lyx = version 1.3.5.

-- 
Angus



Re: beamer class problems - the solution

2004-04-08 Thread Uwe Sthr
If Uwe can give me a description how to produce this error. I never saw it (I 
don't use any math, though).
To reproduce: Load the LyX template that comes with beamer v2.10 and run 
pdflatex.

When enabling the use of amsmath all would be fine. But Angus fixed the 
problem, thanks.

And here the good news:
This morning beamer v2.11 was released. It could be downloaded from
http://www.ctan.org/tex-archive/macros/latex/contrib/beamer

It fixes the incompatibility with xcolor v1.10 but requires now the 
packages pgf v0.61 and xcolor v1.10. It also fixes the problem with 
boldsymbol:
Actually, the problem is just the missing checking of use
amsmath in Layout  Document  Packages. This is fixed in
version 2.11.
Therefore beamer provides a new LyX template.

Thanks for your help.
regards Uwe


preview problems

2004-04-08 Thread David Cortesi
Trying to get a preview out of LyX under OS X.

All 3 ViewPDF choices work, but the resulting PDF is
a blurry mess - some kind of approximation of the font
that is near-unreadable in Acrobat; here's a sample:
 

lyxsamp.pdf
Description: Adobe PDF document
Can this be corrected?

When I try to preview using ViewDVI the following messages
appear on the console:
LSOpenFromURLSpec() returned -10814 for application (null) path
 /tmp/lyx_tmpdir446DjJZRX/lyx_tmpbuf1/Intro.dvi.
 open[1022] Couldn't open file: 
/tmp/lyx_tmpdir446DjJZRX/lyx_tmpbuf1/Intro.dvi

The referenced file Intro.dvi DOES exist, and indeed if I
fire up X windows, I can open it with xdvi. (I'd rather not,
as I dislike switching between X and OSX mouse conventions)
So what's the problem from within LyX?  Is there something wrong
in LyXPreferencesConverters?
Thanks for the help,
  Dave Cortesi


Re: preview problems

2004-04-08 Thread Angus Leeming
David Cortesi wrote:

 Trying to get a preview out of LyX under OS X.
 
 All 3 ViewPDF choices work, but the resulting PDF is
 a blurry mess - some kind of approximation of the font
 that is near-unreadable in Acrobat; here's a sample:

That's because Acrobat doesn't handle bitmap fonts very well.

http://wiki.lyx.org/pmwiki.php/FAQ/PDF#badFonts

-- 
Angus



Re: preview problems

2004-04-08 Thread Georg Baum
Am Donnerstag, 8. April 2004 20:27 schrieb David Cortesi:
 When I try to preview using ViewDVI the following messages
 appear on the console:
 
      LSOpenFromURLSpec() returned -10814 for application (null) path

This looks like you have not registered a dvi viewer with mac os. Did you 
read the tools section on http://www.18james.com/lyx_on_aqua.html ?


Georg



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Am Donnerstag, 8. April 2004 14:15 schrieb Angus Leeming:
  Aha. So beamer is also incompatible to amssymb.

 Would make sense to drop the beamer team a note then, wouldn't it?

AFAIK the beamer team is just one very busy person, namely Till Tantau. 
Seems that the bug has been already fixed in v.2.11 (released today). I'm 
impressed.
https://sourceforge.net/tracker/index.php?func=detailaid=931277group_id=92412atid=600660

Jürgen.


Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
  I got also an error LaTeX Error: Command \boldsymbol already defined.

 After downgrading to xcolor 1.09 this problem remains. When I export the
 template into LaTeX, I see that LyX adds the following:

 %% LyX specific LaTeX commands.
 %% Bold symbol macro for standard LaTeX users
 \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

 But beamer also defines a command \boldsymbold, so I want to disable
 LyX's \boldsymbol as a short workaround. How could this be done?

You could define a \newcommand{\myboldsymbol}[1]{\mbox{\boldmath $#1$}} and 
use that instead of LyX's boldsymbol.

Jürgen.


Re: Navigating dvi output

2004-04-08 Thread Nirmal Govind
mechanism that permits me to go directly to a specific page. Is this
possible?
Guess you're using xdvi. Try kdvi, it gives you a list of the page 
numbers on the left sidebar, so you can click on the page you want..

nirmal



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
 Yes this is a xcolor problem. Beamer v2.10 is incompatible with xcolor
 v1.10 (xcolor v1.09 works), see
 https://sourceforge.net/tracker/?func=detailatid=600660aid=930199group_i
d=92412

beamer v2.11 has just been released. This issue should be fixed.

  I got also an error LaTeX Error: Command \boldsymbol already defined.

 After downgrading to xcolor 1.09 this problem remains. When I export the
 template into LaTeX, I see that LyX adds the following:

 %% LyX specific LaTeX commands.
 %% Bold symbol macro for standard LaTeX users
 \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

 But beamer also defines a command \boldsymbold, so I want to disable
 LyX's \boldsymbol as a short workaround. How could this be done?
 (I'll inform the author of beamer, that he shouldn't use this command.)

Hm, perhaps LyX should use \providecommand instead.

  p.s. What other LaTeX package could be used together with LyX for
  presentations? I found in the list archive something about the package
  pdfscreen. Has anybody some experiences (or example LyX-files) with
  prosper, slide etc.?

 Nevertheless this would be interesting.

I am actually using beamer and IMO this package is outstanding. The 
presentations are not only nice, but also very well structured. And it's easy 
to use and powerful.

Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:
 %% LyX specific LaTeX commands.
 %% Bold symbol macro for standard LaTeX users
 \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

 But beamer also defines a command \boldsymbold, so I want to
 disable LyX's \boldsymbol as a short workaround. How could this be
 done? (I'll inform the author of beamer, that he shouldn't use this
 command.)
 
 Hm, perhaps LyX should use \providecommand instead.

Juergen, could you try out the attached patch? Works for me, but I'm 
not trying it against beamer.

-- 
AngusIndex: src/lyx_sty.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_sty.C,v
retrieving revision 1.12
diff -u -p -r1.12 lyx_sty.C
--- src/lyx_sty.C	27 Nov 2002 10:30:09 -	1.12
+++ src/lyx_sty.C	8 Apr 2004 11:26:22 -
@@ -109,7 +109,7 @@ string const minipageindent_def =
 
 string const boldsymbol_def =
 	%% Bold symbol macro for standard LaTeX users\n
-	\\newcommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n;
+	\\providecommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n;
 
 string const binom_def =
 	%% Binom macro for standard LaTeX users\n


Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Angus Leeming wrote:
 Juergen, could you try out the attached patch? Works for me, but I'm
 not trying it against beamer.

If Uwe can give me a description how to produce this error. I never saw it (I 
don't use any math, though).

Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:

 Angus Leeming wrote:
 Juergen, could you try out the attached patch? Works for me, but
 I'm not trying it against beamer.
 
 If Uwe can give me a description how to produce this error. I never
 saw it (I don't use any math, though).

New document, beamer document type
Create a math inset
Type \boldsymbolspaceV

Export to tex and check that lyx has inserted:

%% Bold symbol macro for standard LaTeX users
\newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

(This command is provided by the amssymb package and so lyx does not 
generate it if it knows that this package is being used.)

-- 
Angus



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Angus Leeming wrote:
 (This command is provided by the amssymb package and so lyx does not
 generate it if it knows that this package is being used.)

Aha. So beamer is also incompatible to amssymb. Anyway, your patch seems to 
work fine (though I have not compared the definitions of boldsymbol in LyX 
and beamer, i.e. if the output is appropriate).

Regards,
Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:
 (This command is provided by the amssymb package and so lyx does
 not generate it if it knows that this package is being used.)
 
 Aha. So beamer is also incompatible to amssymb. 

Would make sense to drop the beamer team a note then, wouldn't it?

 seems to work fine (though I have not compared the definitions of
 boldsymbol in LyX and beamer, i.e. if the output is appropriate).

Good. I'll ask Jean-Marc to apply it to 1.3.5 then.

-- 
Angus



Re: beamer class problems

2004-04-08 Thread Angus Leeming
Angus Leeming wrote:
 (This command is provided by the amssymb package and so lyx does
 not generate it if it knows that this package is being used.)
 
 Aha. So beamer is also incompatible to amssymb.
 
 Would make sense to drop the beamer team a note then, wouldn't it?
 
 seems to work fine (though I have not compared the definitions of
 boldsymbol in LyX and beamer, i.e. if the output is appropriate).
 
 Good. I'll ask Jean-Marc to apply it to 1.3.5 then.

Ok, this is now in the cvs versions of the code and will be part of 
lyx = version 1.3.5.

-- 
Angus



Re: beamer class problems - the solution

2004-04-08 Thread Uwe Sthr
If Uwe can give me a description how to produce this error. I never saw it (I 
don't use any math, though).
To reproduce: Load the LyX template that comes with beamer v2.10 and run 
pdflatex.

When enabling the use of amsmath all would be fine. But Angus fixed the 
problem, thanks.

And here the good news:
This morning beamer v2.11 was released. It could be downloaded from
http://www.ctan.org/tex-archive/macros/latex/contrib/beamer

It fixes the incompatibility with xcolor v1.10 but requires now the 
packages pgf v0.61 and xcolor v1.10. It also fixes the problem with 
boldsymbol:
Actually, the problem is just the missing checking of use
amsmath in Layout  Document  Packages. This is fixed in
version 2.11.
Therefore beamer provides a new LyX template.

Thanks for your help.
regards Uwe


preview problems

2004-04-08 Thread David Cortesi
Trying to get a preview out of LyX under OS X.

All 3 ViewPDF choices work, but the resulting PDF is
a blurry mess - some kind of approximation of the font
that is near-unreadable in Acrobat; here's a sample:
 

lyxsamp.pdf
Description: Adobe PDF document
Can this be corrected?

When I try to preview using ViewDVI the following messages
appear on the console:
LSOpenFromURLSpec() returned -10814 for application (null) path
 /tmp/lyx_tmpdir446DjJZRX/lyx_tmpbuf1/Intro.dvi.
 open[1022] Couldn't open file: 
/tmp/lyx_tmpdir446DjJZRX/lyx_tmpbuf1/Intro.dvi

The referenced file Intro.dvi DOES exist, and indeed if I
fire up X windows, I can open it with xdvi. (I'd rather not,
as I dislike switching between X and OSX mouse conventions)
So what's the problem from within LyX?  Is there something wrong
in LyXPreferencesConverters?
Thanks for the help,
  Dave Cortesi


Re: preview problems

2004-04-08 Thread Angus Leeming
David Cortesi wrote:

 Trying to get a preview out of LyX under OS X.
 
 All 3 ViewPDF choices work, but the resulting PDF is
 a blurry mess - some kind of approximation of the font
 that is near-unreadable in Acrobat; here's a sample:

That's because Acrobat doesn't handle bitmap fonts very well.

http://wiki.lyx.org/pmwiki.php/FAQ/PDF#badFonts

-- 
Angus



Re: preview problems

2004-04-08 Thread Georg Baum
Am Donnerstag, 8. April 2004 20:27 schrieb David Cortesi:
 When I try to preview using ViewDVI the following messages
 appear on the console:
 
      LSOpenFromURLSpec() returned -10814 for application (null) path

This looks like you have not registered a dvi viewer with mac os. Did you 
read the tools section on http://www.18james.com/lyx_on_aqua.html ?


Georg



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Am Donnerstag, 8. April 2004 14:15 schrieb Angus Leeming:
  Aha. So beamer is also incompatible to amssymb.

 Would make sense to drop the beamer team a note then, wouldn't it?

AFAIK the beamer team is just one very busy person, namely Till Tantau. 
Seems that the bug has been already fixed in v.2.11 (released today). I'm 
impressed.
https://sourceforge.net/tracker/index.php?func=detailaid=931277group_id=92412atid=600660

Jürgen.


Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
  I got also an error LaTeX Error: Command \boldsymbol already defined.

 After downgrading to xcolor 1.09 this problem remains. When I export the
 template into LaTeX, I see that LyX adds the following:

 %% LyX specific LaTeX commands.
 %% Bold symbol macro for standard LaTeX users
 \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

 But beamer also defines a command \boldsymbold, so I want to disable
 LyX's \boldsymbol as a short workaround. How could this be done?

You could define a \newcommand{\myboldsymbol}[1]{\mbox{\boldmath $#1$}} and 
use that instead of LyX's boldsymbol.

Jürgen.


Re: Navigating dvi output

2004-04-08 Thread Nirmal Govind
mechanism that permits me to go directly to a specific page. Is this
possible?
Guess you're using xdvi. Try kdvi, it gives you a list of the page 
numbers on the left sidebar, so you can click on the page you want..

nirmal



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
> Yes this is a xcolor problem. Beamer v2.10 is incompatible with xcolor
> v1.10 (xcolor v1.09 works), see
> https://sourceforge.net/tracker/?func=detail=600660=930199_i
>d=92412

beamer v2.11 has just been released. This issue should be fixed.

> > I got also an error "LaTeX Error: Command \boldsymbol already defined."
>
> After downgrading to xcolor 1.09 this problem remains. When I export the
> template into LaTeX, I see that LyX adds the following:
>
> %% LyX specific LaTeX commands.
> %% Bold symbol macro for standard LaTeX users
> \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}
>
> But beamer also defines a command \boldsymbold, so I want to disable
> LyX's \boldsymbol as a short workaround. How could this be done?
> (I'll inform the author of beamer, that he shouldn't use this command.)

Hm, perhaps LyX should use \providecommand instead.

> > p.s. What other LaTeX package could be used together with LyX for
> > presentations? I found in the list archive something about the package
> > pdfscreen. Has anybody some experiences (or example LyX-files) with
> > prosper, slide etc.?
>
> Nevertheless this would be interesting.

I am actually using beamer and IMO this package is outstanding. The 
presentations are not only nice, but also very well structured. And it's easy 
to use and powerful.

Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:
>> %% LyX specific LaTeX commands.
>> %% Bold symbol macro for standard LaTeX users
>> \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}
>>
>> But beamer also defines a command \boldsymbold, so I want to
>> disable LyX's \boldsymbol as a short workaround. How could this be
>> done? (I'll inform the author of beamer, that he shouldn't use this
>> command.)
> 
> Hm, perhaps LyX should use \providecommand instead.

Juergen, could you try out the attached patch? Works for me, but I'm 
not trying it against beamer.

-- 
AngusIndex: src/lyx_sty.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_sty.C,v
retrieving revision 1.12
diff -u -p -r1.12 lyx_sty.C
--- src/lyx_sty.C	27 Nov 2002 10:30:09 -	1.12
+++ src/lyx_sty.C	8 Apr 2004 11:26:22 -
@@ -109,7 +109,7 @@ string const minipageindent_def =
 
 string const boldsymbol_def =
 	"%% Bold symbol macro for standard LaTeX users\n"
-	"\\newcommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n";
+	"\\providecommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n";
 
 string const binom_def =
 	"%% Binom macro for standard LaTeX users\n"


Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Angus Leeming wrote:
> Juergen, could you try out the attached patch? Works for me, but I'm
> not trying it against beamer.

If Uwe can give me a description how to produce this error. I never saw it (I 
don't use any math, though).

Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:

> Angus Leeming wrote:
>> Juergen, could you try out the attached patch? Works for me, but
>> I'm not trying it against beamer.
> 
> If Uwe can give me a description how to produce this error. I never
> saw it (I don't use any math, though).

New document, beamer document type
Create a math inset
Type "\boldsymbolV"

Export to tex and check that lyx has inserted:

%% Bold symbol macro for standard LaTeX users
\newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

(This command is provided by the amssymb package and so lyx does not 
generate it if it knows that this package is being used.)

-- 
Angus



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Angus Leeming wrote:
> (This command is provided by the amssymb package and so lyx does not
> generate it if it knows that this package is being used.)

Aha. So beamer is also incompatible to amssymb. Anyway, your patch seems to 
work fine (though I have not compared the definitions of boldsymbol in LyX 
and beamer, i.e. if the output is appropriate).

Regards,
Jürgen.


Re: beamer class problems

2004-04-08 Thread Angus Leeming
Juergen Spitzmueller wrote:
>> (This command is provided by the amssymb package and so lyx does
>> not generate it if it knows that this package is being used.)
> 
> Aha. So beamer is also incompatible to amssymb. 

Would make sense to drop the beamer team a note then, wouldn't it?

> seems to work fine (though I have not compared the definitions of
> boldsymbol in LyX and beamer, i.e. if the output is appropriate).

Good. I'll ask Jean-Marc to apply it to 1.3.5 then.

-- 
Angus



Re: beamer class problems

2004-04-08 Thread Angus Leeming
Angus Leeming wrote:
>>> (This command is provided by the amssymb package and so lyx does
>>> not generate it if it knows that this package is being used.)
>> 
>> Aha. So beamer is also incompatible to amssymb.
> 
> Would make sense to drop the beamer team a note then, wouldn't it?
> 
>> seems to work fine (though I have not compared the definitions of
>> boldsymbol in LyX and beamer, i.e. if the output is appropriate).
> 
> Good. I'll ask Jean-Marc to apply it to 1.3.5 then.

Ok, this is now in the cvs versions of the code and will be part of 
lyx >= version 1.3.5.

-- 
Angus



Re: beamer class problems - the solution

2004-04-08 Thread Uwe Stöhr
If Uwe can give me a description how to produce this error. I never saw it (I 
don't use any math, though).
To reproduce: Load the LyX template that comes with beamer v2.10 and run 
pdflatex.

When enabling the use of amsmath all would be fine. But Angus fixed the 
problem, thanks.

And here the good news:
This morning beamer v2.11 was released. It could be downloaded from
http://www.ctan.org/tex-archive/macros/latex/contrib/beamer

It fixes the incompatibility with xcolor v1.10 but requires now the 
packages pgf v0.61 and xcolor v1.10. It also fixes the problem with 
boldsymbol:
"Actually, the problem is just the missing checking of "use
amsmath" in Layout > Document > Packages. This is fixed in
version 2.11."
Therefore beamer provides a new LyX template.

Thanks for your help.
regards Uwe


preview problems

2004-04-08 Thread David Cortesi
Trying to get a preview out of LyX under OS X.

All 3 View>PDF choices work, but the resulting PDF is
a blurry mess - some kind of approximation of the font
that is near-unreadable in Acrobat; here's a sample:
 

lyxsamp.pdf
Description: Adobe PDF document
Can this be corrected?

When I try to preview using View>DVI the following messages
appear on the console:
LSOpenFromURLSpec() returned -10814 for application (null) path
 /tmp/lyx_tmpdir446DjJZRX/lyx_tmpbuf1/Intro.dvi.
 open[1022] Couldn't open file: 
/tmp/lyx_tmpdir446DjJZRX/lyx_tmpbuf1/Intro.dvi

The referenced file Intro.dvi DOES exist, and indeed if I
fire up X windows, I can open it with xdvi. (I'd rather not,
as I dislike switching between X and OSX mouse conventions)
So what's the problem from within LyX?  Is there something wrong
in LyX>Preferences>Converters?
Thanks for the help,
  Dave Cortesi


Re: preview problems

2004-04-08 Thread Angus Leeming
David Cortesi wrote:

> Trying to get a preview out of LyX under OS X.
> 
> All 3 View>PDF choices work, but the resulting PDF is
> a blurry mess - some kind of approximation of the font
> that is near-unreadable in Acrobat; here's a sample:

That's because Acrobat doesn't handle bitmap fonts very well.

http://wiki.lyx.org/pmwiki.php/FAQ/PDF#badFonts

-- 
Angus



Re: preview problems

2004-04-08 Thread Georg Baum
Am Donnerstag, 8. April 2004 20:27 schrieb David Cortesi:
> When I try to preview using View>DVI the following messages
> appear on the console:
> 
>      LSOpenFromURLSpec() returned -10814 for application (null) path

This looks like you have not registered a dvi viewer with mac os. Did you 
read the tools section on http://www.18james.com/lyx_on_aqua.html ?


Georg



Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Am Donnerstag, 8. April 2004 14:15 schrieb Angus Leeming:
> > Aha. So beamer is also incompatible to amssymb.
>
> Would make sense to drop the beamer team a note then, wouldn't it?

AFAIK the "beamer team" is just one very busy person, namely Till Tantau. 
Seems that the bug has been already fixed in v.2.11 (released today). I'm 
impressed.
https://sourceforge.net/tracker/index.php?func=detail=931277_id=92412=600660

Jürgen.


Re: beamer class problems

2004-04-08 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
> > I got also an error "LaTeX Error: Command \boldsymbol already defined."
>
> After downgrading to xcolor 1.09 this problem remains. When I export the
> template into LaTeX, I see that LyX adds the following:
>
> %% LyX specific LaTeX commands.
> %% Bold symbol macro for standard LaTeX users
> \newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}
>
> But beamer also defines a command \boldsymbold, so I want to disable
> LyX's \boldsymbol as a short workaround. How could this be done?

You could define a \newcommand{\myboldsymbol}[1]{\mbox{\boldmath $#1$}} and 
use that instead of LyX's boldsymbol.

Jürgen.


Re: Navigating dvi output

2004-04-08 Thread Nirmal Govind
mechanism that permits me to go directly to a specific page. Is this
possible?
Guess you're using xdvi. Try kdvi, it gives you a list of the page 
numbers on the left sidebar, so you can click on the page you want..

nirmal