Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread Julio Rojas
Hi, this is how you do it (you have to add the words in your language
as this code is for spanish):

\makeatletter
\...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
\...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Corolario}}
\...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
\...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
\...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
}{thm}{Ejercicio}}
\...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
\makeatother

-
Julio Rojas
jcredbe...@gmail.com



On Mon, Sep 28, 2009 at 7:00 AM, A B gentosa...@gmail.com wrote:
 I started to write with document class= article and language =
 swedish. I then activated the module Theorem and added a theorem and
 a proof.
 In the lyx window it shows Theorem and Proof (should it not be in swedish?
 But I can live with that lost translation, but the postscript preview
 shows only Proof to be translated. Theorem is not. So how can I
 fix this? Or have I done something wrong?



Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread A B
 Hi, this is how you do it (you have to add the words in your language
 as this code is for spanish):

 \makeatletter
 \...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
 \...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain 
 }{thm}{Corolario}}
 \...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
 \...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
 \...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
 }{thm}{Ejercicio}}
 \...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
 \makeatother

 -
 Julio Rojas

Thank you! I will try that.
One question though, how come Theorem is not translated while
Proof is in the postscript file? That sounds very inconsistent to
me?
I assume it uses a standard LaTeX translation for the document?


Re: \kappa not displayed

2009-09-28 Thread Paul A. Rubin

David Wang wrote:

Hi,

I'm using Lyx 1.6.4 on Windows XP, in which \kappa cannot be displayed.
Instead an open square is shown in place. This is true in all math modes
(inline, display and numbered). The resultant PDF, however, does show the
letter \kappa correctly. This problem does not exist in the same version of
Lyx on my office computer running Fedora Linux. Is it a bug?



Works fine here (also LyX 1.6.4 on Win XP).  Is kappa the only symbol 
that comes up missing?  Usually there are multiple symbols that do that, 
and the problem is typically that the required screen font is not 
installed.  The BaKoMa fonts ship with LyX, but you can grab them from 
the LyX wiki (http://wiki.lyx.org/Windows/WindowsSetup, see math 
fonts) if necessary.


Check C:\Program Files\Lyx16\Resources\fonts.  There should be nine .ttf 
files.  Try using the Windoze font applet to uninstall their 
counterparts (assuming they are already installed) and then reinstall 
from that directory.


/Paul



Re: Font error

2009-09-28 Thread Guenter Milde
On 2009-09-28, Stefano Franchi wrote:
 On Sunday 27 September 2009 10:03:01 pm KR Thorne wrote:
 After importing an OpenOffice document into LyX, I am now formatting into
  book form but encountered an error in part of the text when converting to
  PDF (pdflatex and ps2pdf):

 ...
 . Errors:
 Font LGR/cmr/m/n/10=grmn1000 at 10.0pt not loadable:Metric (TFM) file not
  fo[und] Font LGR/cmr/m/n/10=grmn1000 at 10.0pt not loadable:Metric (TFM)
  file not fo[und]

 Description:

 ...ht{}! But for the time bein\textgreek{'}

Looks like your source file uses the unicode char 0x0384 (GREEK TONOS)
as single quote or accent. LyX translates this according to

0x0384 \\textgreek{'}textgreek force # GREEK TONOS

and if your LaTeX system does not support Greek, you get this error.

Either install the Greek fonts and packages (e.g. texlive-language-greek in
Debian or Ubuntu) or replace all uses of the GREEK TONOS with a supported
character.

Günter



Re: Enumerate

2009-09-28 Thread Guenter Milde
On 2009-09-26, Yago wrote:

 How can I do something like this?:
 .1   Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus =
 elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur =
...
 .2   Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, =
 wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, =
 lobortis vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan =
 bibendum, erat ligula aliquet magna, vitae ornare odio metus a mi. Morbi =

 etc...

 The enumeration starts after a subsection, so I need some leftmargin to =
 begin it. Thanks for to read me.

Search for the the enumitem module at http://wiki.lyx.org and see the
enumitem documentation for the correct parameters/options to the enumerate
list.

Günter



Why Lyx seems to arbitrarily align left margins in the officicial tutorial?

2009-09-28 Thread fabio de francesco
My interest for Lyx's philosophy has been caught up by a recent article on the 
power of WYSIWYM. So I am a perfect newbie asking for something that could be 
perfectly obvious to you all.

I started by opening the tutorial and making  pdf of it. I have immediately 
noticed that Lyx seems to arbitrarily align each line of entire pages of the 
document. There are pages where the text starts almost at a quarter of a page 
from the left.

I haven't yet understood how to solve this issue. I'd like to print the 
tutorial with the proper alignment formatting. Can someone help me to 
understand how to do that?

I wish to thank in advance anyone  who will reply.

fabio de francesco
  


Re: Why Lyx seems to arbitrarily align left margins in the officicial tutorial?

2009-09-28 Thread Paul A. Rubin

fabio de francesco wrote:
My interest for Lyx's philosophy has been caught up by a recent article on the 
power of WYSIWYM. So I am a perfect newbie asking for something that could be 
perfectly obvious to you all.


I started by opening the tutorial and making  pdf of it. I have immediately 
noticed that Lyx seems to arbitrarily align each line of entire pages of the 
document. There are pages where the text starts almost at a quarter of a page 
from the left.


I haven't yet understood how to solve this issue. I'd like to print the 
tutorial with the proper alignment formatting. Can someone help me to 
understand how to do that?


I wish to thank in advance anyone  who will reply.

fabio de francesco
  



I think you will find that left margins are wide on even-numbered pages 
and right margins are wide on odd-numbered pages.  This is because LyX 
uses the book class for the tutorial, which provides extra space for 
binding.


/Paul



Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread rgheck

On 09/28/2009 03:03 AM, A B wrote:

Hi, this is how you do it (you have to add the words in your language
as this code is for spanish):

\makeatletter
\...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
\...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Corolario}}
\...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
\...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
\...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
}{thm}{Ejercicio}}
\...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
\makeatother

-
Julio Rojas
 

Thank you! I will try that.
One question though, how come Theorem is not translated while
Proof is in the postscript file? That sounds very inconsistent to
me?
I assume it uses a standard LaTeX translation for the document?

   
I think it's probably because of how we do the proof environment in LyX, 
though I'm not sure.


You'll be pleased to hear that this entire issue has been solved for the 
next major release.


rh



Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread A B
2009/9/28 rgheck rgh...@bobjweil.com:
 You'll be pleased to hear that this entire issue has been solved for the
 next major release.

 rh
Yes, very pleased.

Will I be equally pleased to hear about the release date?
Just kidding. Thanks for all the work with LyX ;-)


Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Manoj Rajagopalan
Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.

   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.

  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(

Thanks,
Manoj


Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Kenward Vaughan
On Sun, 2009-09-27 at 18:06 -0700, Phil wrote:
 For me, it works only if remove option.nopsheader
  
 
  I've tried putting nopsheader, orient=landscape, mode=present,
  paper=screen into the class options to no avail.  Page layout is greyed
  out as well.

Well, part of the problem stemmed from my belief that the powerdot
documentation was to be taken literally. They make a statement about
putting the above into the options, which I obediently did.  Once I
remove them, the presentation comes up normally.  

Unfortunately this depends on what creates the pdf file (which is my
ultimate goal, of course).

dvipdfm - looks good as screen mode, but overlays show through as grey
which I don't want. Xpdf is the same.

pdflatex - this NEVER works.  It dies in compilation with errors.

ps2pdf - the greyed overlays are gone (totally hidden--good!), but the
orientation is bad.  It's placed on letter-portrait.

If I add orient=portrait then I can see it all with dvipdfm but the
greyed out material persists.  Links (contents) don't work.   ps2pdf
works fine and all is seen.  

I have yet to find a combo (variations of letter=/orient=) which works
the way I thought things would go to produce a full screen version,
except plain portrait mode.  ps2pdf is the only converter which properly
creates a presentation with overlays completely out of sight.

I'm glad to get the portrait version, but it would be nice to get a
normal slide as well.

I don't know where the problem is except that perhaps the way things get
translated from LyX to LaTeX to the pdf files gets messed up from
whatever standard powerdot needs to create a normal result. 


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Abdelrazak Younes

Manoj Rajagopalan wrote:

Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.


   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.


  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(


Hello Manoj,

First 2.0 is not released yet so please report problem to the devel list 
only, not the user one.


I recently touched this part of the code so this is probably my doing, 
I'll have a look.


Abdel.



Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Les Denham
On Monday 28 September 2009 11:02:11 Kenward Vaughan wrote:
 Well, part of the problem stemmed from my belief that the powerdot
 documentation was to be taken literally. They make a statement about
 putting the above into the options, which I obediently did.  Once I
 remove them, the presentation comes up normally.  

 Unfortunately this depends on what creates the pdf file (which is my
 ultimate goal, of course).

 dvipdfm - looks good as screen mode, but overlays show through as grey
 which I don't want. Xpdf is the same.

 pdflatex - this NEVER works.  It dies in compilation with errors.

 ps2pdf - the greyed overlays are gone (totally hidden--good!), but the
 orientation is bad.  It's placed on letter-portrait.

 If I add orient=portrait then I can see it all with dvipdfm but the
 greyed out material persists.  Links (contents) don't work.   ps2pdf
 works fine and all is seen.  

 I have yet to find a combo (variations of letter=/orient=) which works
 the way I thought things would go to produce a full screen version,
 except plain portrait mode.  ps2pdf is the only converter which properly
 creates a presentation with overlays completely out of sight.

 I'm glad to get the portrait version, but it would be nice to get a
 normal slide as well.

 I don't know where the problem is except that perhaps the way things get
 translated from LyX to LaTeX to the pdf files gets messed up from
 whatever standard powerdot needs to create a normal result.

Kenward,

Firstly, check that your LaTeX installation meets the requirements specified in 
the Powerdot documentation (page 26).

The ps2pdf conversion is the only one which will work properly with Powerdot.

I have numerous presentations which work properly with the following options:

nopsheader,style=horatio,display=slides,paper=screen

These are set in Document Class (under Document Settings) as a string in 
Custom, under Class Options. The style can be any of the other Powerdot 
styles. Everything else in Document Settings I leave at whatever  is the 
default, except for the Preamble. Here I fill in the PDF options using 
\pdsetup.


-- 
..
Les Denham


Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Kenward Vaughan
On Mon, 2009-09-28 at 12:59 -0500, Les Denham wrote:
 On Monday 28 September 2009 11:02:11 Kenward Vaughan wrote:
 ...
  I don't know where the problem is except that perhaps the way things get
  translated from LyX to LaTeX to the pdf files gets messed up from
  whatever standard powerdot needs to create a normal result.
 

 Kenward,
 
 Firstly, check that your LaTeX installation meets the requirements specified 
 in 
 the Powerdot documentation (page 26).
 
 The ps2pdf conversion is the only one which will work properly with Powerdot.

Yes, as I have found out.


 I have numerous presentations which work properly with the following options:
 
 nopsheader,style=horatio,display=slides,paper=screen
 
 These are set in Document Class (under Document Settings) as a string in 
 Custom, under Class Options. The style can be any of the other Powerdot 
 styles. Everything else in Document Settings I leave at whatever  is the 
 default, except for the Preamble. Here I fill in the PDF options using 
 \pdsetup.

Your choices still make no difference (screen mode on a portrait page). 

Regarding the reqs. for powerdot... those should be in place if the
Debian packager has their stuff together.  That seems to be the case,
since I have found that a simple export to plain latex, followed by runs
through latex, dvips, and ps2pdf, work perfectly (xpdf and acroread).

I still am led to believe that something in LyX's script must have
options in it which cause the failure to create this.

I do appreciate your help!


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan




Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Les Denham
On Monday 28 September 2009 05:59:54 pm Kenward Vaughan wrote:
 I still am led to believe that something in LyX's script must have
 options in it which cause the failure to create this.

Kenward,

Have you tried the sample file?  It is 
/usr/share/lyx/examples/powerdot-example.lyx 
on the system I'm using this evening.  It works perfectly out of the box.

This is LyX 1.6.2 running on Kubuntu 9.04, and powerdot is provided by 
texlive-latex-recommended 2007.dfsg.1-5 in the main ubuntu repository. Debian 
is known for being rather slow in adopting releases, and while I have not used 
it myself, I have run into problems with LaTeX versions not working with 
Powerdot in other distributions.

Les
-- 
L. R. Denham
http://www.hal-pc.org/~ldenham


Beamer portrait mode

2009-09-28 Thread E. Kaplan
Still no clue as to how to force Beamer to make slides in PORTRAIT mode, 
and whether it is possible to do it for individual slides in an 
otherwise landscape presentation...


EK





Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread Julio Rojas
Hi, this is how you do it (you have to add the words in your language
as this code is for spanish):

\makeatletter
\...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
\...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Corolario}}
\...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
\...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
\...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
}{thm}{Ejercicio}}
\...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
\makeatother

-
Julio Rojas
jcredbe...@gmail.com



On Mon, Sep 28, 2009 at 7:00 AM, A B gentosa...@gmail.com wrote:
 I started to write with document class= article and language =
 swedish. I then activated the module Theorem and added a theorem and
 a proof.
 In the lyx window it shows Theorem and Proof (should it not be in swedish?
 But I can live with that lost translation, but the postscript preview
 shows only Proof to be translated. Theorem is not. So how can I
 fix this? Or have I done something wrong?



Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread A B
 Hi, this is how you do it (you have to add the words in your language
 as this code is for spanish):

 \makeatletter
 \...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
 \...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain 
 }{thm}{Corolario}}
 \...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
 \...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
 \...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
 }{thm}{Ejercicio}}
 \...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
 \makeatother

 -
 Julio Rojas

Thank you! I will try that.
One question though, how come Theorem is not translated while
Proof is in the postscript file? That sounds very inconsistent to
me?
I assume it uses a standard LaTeX translation for the document?


Re: \kappa not displayed

2009-09-28 Thread Paul A. Rubin

David Wang wrote:

Hi,

I'm using Lyx 1.6.4 on Windows XP, in which \kappa cannot be displayed.
Instead an open square is shown in place. This is true in all math modes
(inline, display and numbered). The resultant PDF, however, does show the
letter \kappa correctly. This problem does not exist in the same version of
Lyx on my office computer running Fedora Linux. Is it a bug?



Works fine here (also LyX 1.6.4 on Win XP).  Is kappa the only symbol 
that comes up missing?  Usually there are multiple symbols that do that, 
and the problem is typically that the required screen font is not 
installed.  The BaKoMa fonts ship with LyX, but you can grab them from 
the LyX wiki (http://wiki.lyx.org/Windows/WindowsSetup, see math 
fonts) if necessary.


Check C:\Program Files\Lyx16\Resources\fonts.  There should be nine .ttf 
files.  Try using the Windoze font applet to uninstall their 
counterparts (assuming they are already installed) and then reinstall 
from that directory.


/Paul



Re: Font error

2009-09-28 Thread Guenter Milde
On 2009-09-28, Stefano Franchi wrote:
 On Sunday 27 September 2009 10:03:01 pm KR Thorne wrote:
 After importing an OpenOffice document into LyX, I am now formatting into
  book form but encountered an error in part of the text when converting to
  PDF (pdflatex and ps2pdf):

 ...
 . Errors:
 Font LGR/cmr/m/n/10=grmn1000 at 10.0pt not loadable:Metric (TFM) file not
  fo[und] Font LGR/cmr/m/n/10=grmn1000 at 10.0pt not loadable:Metric (TFM)
  file not fo[und]

 Description:

 ...ht{}! But for the time bein\textgreek{'}

Looks like your source file uses the unicode char 0x0384 (GREEK TONOS)
as single quote or accent. LyX translates this according to

0x0384 \\textgreek{'}textgreek force # GREEK TONOS

and if your LaTeX system does not support Greek, you get this error.

Either install the Greek fonts and packages (e.g. texlive-language-greek in
Debian or Ubuntu) or replace all uses of the GREEK TONOS with a supported
character.

Günter



Re: Enumerate

2009-09-28 Thread Guenter Milde
On 2009-09-26, Yago wrote:

 How can I do something like this?:
 .1   Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus =
 elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur =
...
 .2   Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, =
 wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, =
 lobortis vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan =
 bibendum, erat ligula aliquet magna, vitae ornare odio metus a mi. Morbi =

 etc...

 The enumeration starts after a subsection, so I need some leftmargin to =
 begin it. Thanks for to read me.

Search for the the enumitem module at http://wiki.lyx.org and see the
enumitem documentation for the correct parameters/options to the enumerate
list.

Günter



Why Lyx seems to arbitrarily align left margins in the officicial tutorial?

2009-09-28 Thread fabio de francesco
My interest for Lyx's philosophy has been caught up by a recent article on the 
power of WYSIWYM. So I am a perfect newbie asking for something that could be 
perfectly obvious to you all.

I started by opening the tutorial and making  pdf of it. I have immediately 
noticed that Lyx seems to arbitrarily align each line of entire pages of the 
document. There are pages where the text starts almost at a quarter of a page 
from the left.

I haven't yet understood how to solve this issue. I'd like to print the 
tutorial with the proper alignment formatting. Can someone help me to 
understand how to do that?

I wish to thank in advance anyone  who will reply.

fabio de francesco
  


Re: Why Lyx seems to arbitrarily align left margins in the officicial tutorial?

2009-09-28 Thread Paul A. Rubin

fabio de francesco wrote:
My interest for Lyx's philosophy has been caught up by a recent article on the 
power of WYSIWYM. So I am a perfect newbie asking for something that could be 
perfectly obvious to you all.


I started by opening the tutorial and making  pdf of it. I have immediately 
noticed that Lyx seems to arbitrarily align each line of entire pages of the 
document. There are pages where the text starts almost at a quarter of a page 
from the left.


I haven't yet understood how to solve this issue. I'd like to print the 
tutorial with the proper alignment formatting. Can someone help me to 
understand how to do that?


I wish to thank in advance anyone  who will reply.

fabio de francesco
  



I think you will find that left margins are wide on even-numbered pages 
and right margins are wide on odd-numbered pages.  This is because LyX 
uses the book class for the tutorial, which provides extra space for 
binding.


/Paul



Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread rgheck

On 09/28/2009 03:03 AM, A B wrote:

Hi, this is how you do it (you have to add the words in your language
as this code is for spanish):

\makeatletter
\...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
\...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Corolario}}
\...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
\...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
\...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
}{thm}{Ejercicio}}
\...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
\makeatother

-
Julio Rojas
 

Thank you! I will try that.
One question though, how come Theorem is not translated while
Proof is in the postscript file? That sounds very inconsistent to
me?
I assume it uses a standard LaTeX translation for the document?

   
I think it's probably because of how we do the proof environment in LyX, 
though I'm not sure.


You'll be pleased to hear that this entire issue has been solved for the 
next major release.


rh



Re: How to change theorem to what ever it is called in my own language?

2009-09-28 Thread A B
2009/9/28 rgheck rgh...@bobjweil.com:
 You'll be pleased to hear that this entire issue has been solved for the
 next major release.

 rh
Yes, very pleased.

Will I be equally pleased to hear about the release date?
Just kidding. Thanks for all the work with LyX ;-)


Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Manoj Rajagopalan
Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.

   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.

  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(

Thanks,
Manoj


Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Kenward Vaughan
On Sun, 2009-09-27 at 18:06 -0700, Phil wrote:
 For me, it works only if remove option.nopsheader
  
 
  I've tried putting nopsheader, orient=landscape, mode=present,
  paper=screen into the class options to no avail.  Page layout is greyed
  out as well.

Well, part of the problem stemmed from my belief that the powerdot
documentation was to be taken literally. They make a statement about
putting the above into the options, which I obediently did.  Once I
remove them, the presentation comes up normally.  

Unfortunately this depends on what creates the pdf file (which is my
ultimate goal, of course).

dvipdfm - looks good as screen mode, but overlays show through as grey
which I don't want. Xpdf is the same.

pdflatex - this NEVER works.  It dies in compilation with errors.

ps2pdf - the greyed overlays are gone (totally hidden--good!), but the
orientation is bad.  It's placed on letter-portrait.

If I add orient=portrait then I can see it all with dvipdfm but the
greyed out material persists.  Links (contents) don't work.   ps2pdf
works fine and all is seen.  

I have yet to find a combo (variations of letter=/orient=) which works
the way I thought things would go to produce a full screen version,
except plain portrait mode.  ps2pdf is the only converter which properly
creates a presentation with overlays completely out of sight.

I'm glad to get the portrait version, but it would be nice to get a
normal slide as well.

I don't know where the problem is except that perhaps the way things get
translated from LyX to LaTeX to the pdf files gets messed up from
whatever standard powerdot needs to create a normal result. 


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Abdelrazak Younes

Manoj Rajagopalan wrote:

Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.


   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.


  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(


Hello Manoj,

First 2.0 is not released yet so please report problem to the devel list 
only, not the user one.


I recently touched this part of the code so this is probably my doing, 
I'll have a look.


Abdel.



Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Les Denham
On Monday 28 September 2009 11:02:11 Kenward Vaughan wrote:
 Well, part of the problem stemmed from my belief that the powerdot
 documentation was to be taken literally. They make a statement about
 putting the above into the options, which I obediently did.  Once I
 remove them, the presentation comes up normally.  

 Unfortunately this depends on what creates the pdf file (which is my
 ultimate goal, of course).

 dvipdfm - looks good as screen mode, but overlays show through as grey
 which I don't want. Xpdf is the same.

 pdflatex - this NEVER works.  It dies in compilation with errors.

 ps2pdf - the greyed overlays are gone (totally hidden--good!), but the
 orientation is bad.  It's placed on letter-portrait.

 If I add orient=portrait then I can see it all with dvipdfm but the
 greyed out material persists.  Links (contents) don't work.   ps2pdf
 works fine and all is seen.  

 I have yet to find a combo (variations of letter=/orient=) which works
 the way I thought things would go to produce a full screen version,
 except plain portrait mode.  ps2pdf is the only converter which properly
 creates a presentation with overlays completely out of sight.

 I'm glad to get the portrait version, but it would be nice to get a
 normal slide as well.

 I don't know where the problem is except that perhaps the way things get
 translated from LyX to LaTeX to the pdf files gets messed up from
 whatever standard powerdot needs to create a normal result.

Kenward,

Firstly, check that your LaTeX installation meets the requirements specified in 
the Powerdot documentation (page 26).

The ps2pdf conversion is the only one which will work properly with Powerdot.

I have numerous presentations which work properly with the following options:

nopsheader,style=horatio,display=slides,paper=screen

These are set in Document Class (under Document Settings) as a string in 
Custom, under Class Options. The style can be any of the other Powerdot 
styles. Everything else in Document Settings I leave at whatever  is the 
default, except for the Preamble. Here I fill in the PDF options using 
\pdsetup.


-- 
..
Les Denham


Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Kenward Vaughan
On Mon, 2009-09-28 at 12:59 -0500, Les Denham wrote:
 On Monday 28 September 2009 11:02:11 Kenward Vaughan wrote:
 ...
  I don't know where the problem is except that perhaps the way things get
  translated from LyX to LaTeX to the pdf files gets messed up from
  whatever standard powerdot needs to create a normal result.
 

 Kenward,
 
 Firstly, check that your LaTeX installation meets the requirements specified 
 in 
 the Powerdot documentation (page 26).
 
 The ps2pdf conversion is the only one which will work properly with Powerdot.

Yes, as I have found out.


 I have numerous presentations which work properly with the following options:
 
 nopsheader,style=horatio,display=slides,paper=screen
 
 These are set in Document Class (under Document Settings) as a string in 
 Custom, under Class Options. The style can be any of the other Powerdot 
 styles. Everything else in Document Settings I leave at whatever  is the 
 default, except for the Preamble. Here I fill in the PDF options using 
 \pdsetup.

Your choices still make no difference (screen mode on a portrait page). 

Regarding the reqs. for powerdot... those should be in place if the
Debian packager has their stuff together.  That seems to be the case,
since I have found that a simple export to plain latex, followed by runs
through latex, dvips, and ps2pdf, work perfectly (xpdf and acroread).

I still am led to believe that something in LyX's script must have
options in it which cause the failure to create this.

I do appreciate your help!


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan




Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Les Denham
On Monday 28 September 2009 05:59:54 pm Kenward Vaughan wrote:
 I still am led to believe that something in LyX's script must have
 options in it which cause the failure to create this.

Kenward,

Have you tried the sample file?  It is 
/usr/share/lyx/examples/powerdot-example.lyx 
on the system I'm using this evening.  It works perfectly out of the box.

This is LyX 1.6.2 running on Kubuntu 9.04, and powerdot is provided by 
texlive-latex-recommended 2007.dfsg.1-5 in the main ubuntu repository. Debian 
is known for being rather slow in adopting releases, and while I have not used 
it myself, I have run into problems with LaTeX versions not working with 
Powerdot in other distributions.

Les
-- 
L. R. Denham
http://www.hal-pc.org/~ldenham


Beamer portrait mode

2009-09-28 Thread E. Kaplan
Still no clue as to how to force Beamer to make slides in PORTRAIT mode, 
and whether it is possible to do it for individual slides in an 
otherwise landscape presentation...


EK





Re: How to change "theorem" to what ever it is called in my own language?

2009-09-28 Thread Julio Rojas
Hi, this is how you do it (you have to add the words in your language
as this code is for spanish):

\makeatletter
\...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
\...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Corolario}}
\...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
\...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
\...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
}{thm}{Ejercicio}}
\...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
\makeatother

-
Julio Rojas
jcredbe...@gmail.com



On Mon, Sep 28, 2009 at 7:00 AM, A B  wrote:
> I started to write with document class= article and language =
> swedish. I then activated the module "Theorem" and added a theorem and
> a proof.
> In the lyx window it shows "Theorem" and "Proof" (should it not be in swedish?
> But I can live with that lost translation, but the postscript preview
> shows only "Proof" to be translated. "Theorem" is not. So how can I
> fix this? Or have I done something wrong?
>


Re: How to change "theorem" to what ever it is called in my own language?

2009-09-28 Thread A B
> Hi, this is how you do it (you have to add the words in your language
> as this code is for spanish):
>
> \makeatletter
> \...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
> \...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain 
> }{thm}{Corolario}}
> \...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
> \...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
> \...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
> }{thm}{Ejercicio}}
> \...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
> \makeatother
>
> -
> Julio Rojas

Thank you! I will try that.
One question though, how come "Theorem" is not translated while
"Proof" is in the postscript file? That sounds very inconsistent to
me?
I assume it uses a standard LaTeX translation for the document?


Re: \kappa not displayed

2009-09-28 Thread Paul A. Rubin

David Wang wrote:

Hi,

I'm using Lyx 1.6.4 on Windows XP, in which \kappa cannot be displayed.
Instead an open square is shown in place. This is true in all math modes
(inline, display and numbered). The resultant PDF, however, does show the
letter \kappa correctly. This problem does not exist in the same version of
Lyx on my office computer running Fedora Linux. Is it a bug?



Works fine here (also LyX 1.6.4 on Win XP).  Is kappa the only symbol 
that comes up missing?  Usually there are multiple symbols that do that, 
and the problem is typically that the required screen font is not 
installed.  The BaKoMa fonts ship with LyX, but you can grab them from 
the LyX wiki (http://wiki.lyx.org/Windows/WindowsSetup, see "math 
fonts") if necessary.


Check C:\Program Files\Lyx16\Resources\fonts.  There should be nine .ttf 
files.  Try using the Windoze font applet to uninstall their 
counterparts (assuming they are already installed) and then reinstall 
from that directory.


/Paul



Re: Font error

2009-09-28 Thread Guenter Milde
On 2009-09-28, Stefano Franchi wrote:
> On Sunday 27 September 2009 10:03:01 pm KR Thorne wrote:
>> After importing an OpenOffice document into LyX, I am now formatting into
>>  book form but encountered an error in part of the text when converting to
>>  PDF (pdflatex and ps2pdf):

>> ...
>> . Errors:
>> Font LGR/cmr/m/n/10=grmn1000 at 10.0pt not loadable:Metric (TFM) file not
>>  fo[und] Font LGR/cmr/m/n/10=grmn1000 at 10.0pt not loadable:Metric (TFM)
>>  file not fo[und]

>> Description:

>> ...ht{}! But for the time bein\textgreek{'}

Looks like your source file uses the unicode char 0x0384 (GREEK TONOS)
as single quote or accent. LyX translates this according to

0x0384 "\\textgreek{'}""textgreek" "force" # GREEK TONOS

and if your LaTeX system does not support Greek, you get this error.

Either install the Greek fonts and packages (e.g. texlive-language-greek in
Debian or Ubuntu) or replace all uses of the GREEK TONOS with a supported
character.

Günter



Re: Enumerate

2009-09-28 Thread Guenter Milde
On 2009-09-26, Yago wrote:

> How can I do something like this?:
> .1   Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus =
> elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur =
...
> .2   Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, =
> wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, =
> lobortis vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan =
> bibendum, erat ligula aliquet magna, vitae ornare odio metus a mi. Morbi =

> etc...

> The enumeration starts after a subsection, so I need some leftmargin to =
> begin it. Thanks for to read me.

Search for the the enumitem module at http://wiki.lyx.org and see the
enumitem documentation for the correct parameters/options to the enumerate
list.

Günter



Why Lyx seems to arbitrarily align left margins in the officicial tutorial?

2009-09-28 Thread fabio de francesco
My interest for Lyx's philosophy has been caught up by a recent article on the 
power of WYSIWYM. So I am a perfect newbie asking for something that could be 
perfectly obvious to you all.

I started by opening the tutorial and making  pdf of it. I have immediately 
noticed that Lyx seems to arbitrarily align each line of entire pages of the 
document. There are pages where the text starts almost at a quarter of a page 
from the left.

I haven't yet understood how to solve this issue. I'd like to print the 
tutorial with the proper alignment formatting. Can someone help me to 
understand how to do that?

I wish to thank in advance anyone  who will reply.

fabio de francesco
  


Re: Why Lyx seems to arbitrarily align left margins in the officicial tutorial?

2009-09-28 Thread Paul A. Rubin

fabio de francesco wrote:
My interest for Lyx's philosophy has been caught up by a recent article on the 
power of WYSIWYM. So I am a perfect newbie asking for something that could be 
perfectly obvious to you all.


I started by opening the tutorial and making  pdf of it. I have immediately 
noticed that Lyx seems to arbitrarily align each line of entire pages of the 
document. There are pages where the text starts almost at a quarter of a page 
from the left.


I haven't yet understood how to solve this issue. I'd like to print the 
tutorial with the proper alignment formatting. Can someone help me to 
understand how to do that?


I wish to thank in advance anyone  who will reply.

fabio de francesco
  



I think you will find that left margins are wide on even-numbered pages 
and right margins are wide on odd-numbered pages.  This is because LyX 
uses the book class for the tutorial, which provides extra space for 
binding.


/Paul



Re: How to change "theorem" to what ever it is called in my own language?

2009-09-28 Thread rgheck

On 09/28/2009 03:03 AM, A B wrote:

Hi, this is how you do it (you have to add the words in your language
as this code is for spanish):

\makeatletter
\...@namedef{thm}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Teorema}}
\...@namedef{cor}{\@thm{\let \...@swap \...@gobble \...@plain }{thm}{Corolario}}
\...@namedef{prop*}{\@thm {...@plain }{}{Proposici\'on}}
\...@namedef{example*}{\@thm {...@definition }{}{Ejemplo}}
\...@namedef{xca}{\@thm{\let \...@swap \...@gobble \...@definition 
}{thm}{Ejercicio}}
\...@namedef{rem*}{\@thm {...@remark }{}{Observaci\'on}}
\makeatother

-
Julio Rojas
 

Thank you! I will try that.
One question though, how come "Theorem" is not translated while
"Proof" is in the postscript file? That sounds very inconsistent to
me?
I assume it uses a standard LaTeX translation for the document?

   
I think it's probably because of how we do the proof environment in LyX, 
though I'm not sure.


You'll be pleased to hear that this entire issue has been solved for the 
next major release.


rh



Re: How to change "theorem" to what ever it is called in my own language?

2009-09-28 Thread A B
2009/9/28 rgheck :
> You'll be pleased to hear that this entire issue has been solved for the
> next major release.
>
> rh
Yes, very pleased.

Will I be equally pleased to hear about the release date?
Just kidding. Thanks for all the work with LyX ;-)


Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Manoj Rajagopalan
Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.

   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.

  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(

Thanks,
Manoj


Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Kenward Vaughan
On Sun, 2009-09-27 at 18:06 -0700, Phil wrote:
> For me, it works only if remove option.nopsheader
>  
> 
> > I've tried putting nopsheader, orient=landscape, mode=present,
> > paper=screen into the class options to no avail.  Page layout is greyed
> > out as well.

Well, part of the problem stemmed from my belief that the powerdot
documentation was to be taken literally. They make a statement about
putting the above into the options, which I obediently did.  Once I
remove them, the presentation comes up "normally."  

Unfortunately this depends on what creates the pdf file (which is my
ultimate goal, of course).

dvipdfm - looks good as screen mode, but overlays show through as grey
which I don't want. Xpdf is the same.

pdflatex - this NEVER works.  It dies in compilation with errors.

ps2pdf - the greyed overlays are gone (totally hidden--good!), but the
orientation is bad.  It's placed on letter-portrait.

If I add "orient=portrait" then I can see it all with dvipdfm but the
greyed out material persists.  Links (contents) don't work.   ps2pdf
works fine and all is seen.  

I have yet to find a combo (variations of letter=/orient=) which works
the way I thought things would go to produce a full screen version,
except plain portrait mode.  ps2pdf is the only converter which properly
creates a presentation with overlays completely out of sight.

I'm glad to get the portrait version, but it would be nice to get a
"normal" slide as well.

I don't know where the problem is except that perhaps the way things get
translated from LyX to LaTeX to the pdf files gets messed up from
whatever standard powerdot needs to create a normal result. 


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: Pre-bug query on UNDO functionality: 2.0.0svn

2009-09-28 Thread Abdelrazak Younes

Manoj Rajagopalan wrote:

Hi lyx-users,

   I am experiencing problems with the undo feature on the SVN trunk version 
of LyX and I'd like to know if anyone else is experiencing something similar.


   When I press Ctrl-Z, a whole bunch of changes gets undone as opposed to 
just the most recent one. Developers, it seems like there is some problem 
with the events that trigger undo-checkpointing in the code.


  I am unable to reproduce this on a small file for filing a bug-report. This 
bug surfaces only in a large LyX file that is about to become a paper I want 
to submit :-(


Hello Manoj,

First 2.0 is not released yet so please report problem to the devel list 
only, not the user one.


I recently touched this part of the code so this is probably my doing, 
I'll have a look.


Abdel.



Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Les Denham
On Monday 28 September 2009 11:02:11 Kenward Vaughan wrote:
> Well, part of the problem stemmed from my belief that the powerdot
> documentation was to be taken literally. They make a statement about
> putting the above into the options, which I obediently did.  Once I
> remove them, the presentation comes up "normally."  
>
> Unfortunately this depends on what creates the pdf file (which is my
> ultimate goal, of course).
>
> dvipdfm - looks good as screen mode, but overlays show through as grey
> which I don't want. Xpdf is the same.
>
> pdflatex - this NEVER works.  It dies in compilation with errors.
>
> ps2pdf - the greyed overlays are gone (totally hidden--good!), but the
> orientation is bad.  It's placed on letter-portrait.
>
> If I add "orient=portrait" then I can see it all with dvipdfm but the
> greyed out material persists.  Links (contents) don't work.   ps2pdf
> works fine and all is seen.  
>
> I have yet to find a combo (variations of letter=/orient=) which works
> the way I thought things would go to produce a full screen version,
> except plain portrait mode.  ps2pdf is the only converter which properly
> creates a presentation with overlays completely out of sight.
>
> I'm glad to get the portrait version, but it would be nice to get a
> "normal" slide as well.
>
> I don't know where the problem is except that perhaps the way things get
> translated from LyX to LaTeX to the pdf files gets messed up from
> whatever standard powerdot needs to create a normal result.

Kenward,

Firstly, check that your LaTeX installation meets the requirements specified in 
the Powerdot documentation (page 26).

The ps2pdf conversion is the only one which will work properly with Powerdot.

I have numerous presentations which work properly with the following options:

nopsheader,style=horatio,display=slides,paper=screen

These are set in Document Class (under Document Settings) as a string in 
Custom, under Class Options. The style can be any of the other Powerdot 
styles. Everything else in Document Settings I leave at whatever  is the 
default, except for the Preamble. Here I fill in the PDF options using 
\pdsetup.


-- 
..
Les Denham


Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Kenward Vaughan
On Mon, 2009-09-28 at 12:59 -0500, Les Denham wrote:
> On Monday 28 September 2009 11:02:11 Kenward Vaughan wrote:
> ...
> > I don't know where the problem is except that perhaps the way things get
> > translated from LyX to LaTeX to the pdf files gets messed up from
> > whatever standard powerdot needs to create a normal result.
> 

> Kenward,
> 
> Firstly, check that your LaTeX installation meets the requirements specified 
> in 
> the Powerdot documentation (page 26).
> 
> The ps2pdf conversion is the only one which will work properly with Powerdot.

Yes, as I have found out.


> I have numerous presentations which work properly with the following options:
> 
> nopsheader,style=horatio,display=slides,paper=screen
> 
> These are set in Document Class (under Document Settings) as a string in 
> Custom, under Class Options. The style can be any of the other Powerdot 
> styles. Everything else in Document Settings I leave at whatever  is the 
> default, except for the Preamble. Here I fill in the PDF options using 
> \pdsetup.

Your choices still make no difference (screen mode on a portrait page). 

Regarding the reqs. for powerdot... those should be in place if the
Debian packager has their stuff together.  That seems to be the case,
since I have found that a simple export to plain latex, followed by runs
through latex, dvips, and ps2pdf, work perfectly (xpdf and acroread).

I still am led to believe that something in LyX's script must have
options in it which cause the failure to create this.

I do appreciate your help!


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--Ferdinand Magellan




Re: Powerdot slides off screen--no control of orientation?

2009-09-28 Thread Les Denham
On Monday 28 September 2009 05:59:54 pm Kenward Vaughan wrote:
> I still am led to believe that something in LyX's script must have
> options in it which cause the failure to create this.

Kenward,

Have you tried the sample file?  It is 
/usr/share/lyx/examples/powerdot-example.lyx 
on the system I'm using this evening.  It works perfectly out of the box.

This is LyX 1.6.2 running on Kubuntu 9.04, and powerdot is provided by 
texlive-latex-recommended 2007.dfsg.1-5 in the main ubuntu repository. Debian 
is known for being rather slow in adopting releases, and while I have not used 
it myself, I have run into problems with LaTeX versions not working with 
Powerdot in other distributions.

Les
-- 
L. R. Denham
http://www.hal-pc.org/~ldenham


Beamer portrait mode

2009-09-28 Thread E. Kaplan
Still no clue as to how to force Beamer to make slides in PORTRAIT mode, 
and whether it is possible to do it for individual slides in an 
otherwise landscape presentation...


EK