Re: Is there a way to retain hyperlinks in pasted text?

2011-02-14 Thread Manveru
2011/1/26 Joel Schwartz j...@joelschwartz.com:
 I'm not sure what a sponsored feature project is, but tell me more. Maybe
 we can get one going.

 Joel

If any of LyX developers agrees on working for very specific feature
for money, a donated feature is created and put on
http://www.lyx.org/Donate for donors. If enough money is collected on
LyX Team account the feature is started and later put into next major
LyX release.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Fwd: installing lyx on windows 7

2011-02-14 Thread Joost Verburg
On Sat, 12 Feb 2011 16:32:24 -0600, Saras Saraswathi wrote:
 I tried to install the lyx. I installed under windows 7 on two laptops.
 One works ( a borrowed laptop) . But it does not work on my own laptop. I
 used the same downloaded sw on both. As discussed on the webpage, looks like
 it cannot do the configuration on start up. With very much difficulty I got
 a screen print of the error ( tried it about a 100 times to be fast enough
 to capture the screen!).. I do  not see any ../resources directory in the
 place specified.

According to the screenshots, one of the installations (the one that works)
was installed using the standard installer and the other one was installed
using the alternative installer. Reinstalling using the standard installer
will probably solve your problem.

Joost



Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux

On 14/02/2011 1:46 PM, Danny Parker wrote:

Thanks for the response.

I understand what you are saying about it being a class problem.
  Unfortunately there is no update.  Is there a way I can make LyX's caption
conform to the single space, single line standard?  Any advice would be
appreciated.

Danny



Hi,

I personally don't know how to achieve your caption format, but I can 
point you in the right direction. What you want to achieve can be 
controlled at the latex level. There will be some latex code that you 
can put in your document's preamble to achieve it.


One option that I can think of, off the top of my head, is the caption 
latex package. You might want to search for its documentation and read 
it. I don't know for sure if this package can do what you want, but it 
is likely. In any case, now that we have established that it is a latex 
question, it can be asked on dedicated latex channels. There are latex 
experts roaming this list as well, but you would increase the likelihood 
of an answer by asking on comp.lang.tex, etc.


Cheers,
Julien


Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
Thanks again.  I'll do some reading and then maybe pose some more questions.

Danny

On Mon, Feb 14, 2011 at 1:10 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 14/02/2011 1:46 PM, Danny Parker wrote:

 Thanks for the response.

 I understand what you are saying about it being a class problem.
  Unfortunately there is no update.  Is there a way I can make LyX's
 caption
 conform to the single space, single line standard?  Any advice would be
 appreciated.

 Danny


 Hi,

 I personally don't know how to achieve your caption format, but I can point
 you in the right direction. What you want to achieve can be controlled at
 the latex level. There will be some latex code that you can put in your
 document's preamble to achieve it.

 One option that I can think of, off the top of my head, is the caption
 latex package. You might want to search for its documentation and read it. I
 don't know for sure if this package can do what you want, but it is likely.
 In any case, now that we have established that it is a latex question, it
 can be asked on dedicated latex channels. There are latex experts roaming
 this list as well, but you would increase the likelihood of an answer by
 asking on comp.lang.tex, etc.

 Cheers,
 Julien



Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux
Actually I think putting in your document preamble (From the menu 
Document  Settings) this line:


\usepackage[labelsep=period]{caption}

is quick and sufficient.


Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
That did get the figure number and caption in the same line (much thanks)
but it did not single space the caption.  Do you know of a quick way of
fixing that?  I tried just using the paragraph settings but it seems the
class has redefined /singlespace so when I try to make the pdf I get an
error.  Thanks to the help of another user I think I can edit the class to
rename the command freeing up /singlespacing.  The one thing I'm unsure of
when doing that is do I only have to reconfigure LyX or do I need to do
something with MiKTeX also?

Again thanks for the help.  It's very much appreciated.

On Mon, Feb 14, 2011 at 1:41 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 \usepackage[labelsep=period]{caption}



Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux

On 14/02/2011 2:51 PM, Danny Parker wrote:

That did get the figure number and caption in the same line (much thanks)
but it did not single space the caption.  Do you know of a quick way of
fixing that?  I tried just using the paragraph settings but it seems the
class has redefined /singlespace so when I try to make the pdf I get an
error.


How about:
\usepackage[font=singlespacing,labelsep=period]{caption}



 Thanks to the help of another user I think I can edit the class to
rename the command freeing up /singlespacing.  The one thing I'm unsure of
when doing that is do I only have to reconfigure LyX or do I need to do
something with MiKTeX also?



If you modify the class file you don't need to reconfigure anything I'd 
think. If you made a renamed copy of the class file under a different 
name, and change or rename your LyX layout file accordingly, then I'd 
think you would need to reconfigure LyX.



Again thanks for the help.  It's very much appreciated.



You're very welcome. Good luck.

Julien


On Mon, Feb 14, 2011 at 1:41 PM, Julien Riouxjri...@physics.utoronto.cawrote:


\usepackage[labelsep=period]{caption}








Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
That gave me the same error that singlespacing is already defined.  I'll go
fool around with the class and see if I can't get singlespacing working
again.

You're very welcome. Good luck.


Thanks.  If I get this done I'll hoist a beverage in your (and the others
who helped me) honour.

On Mon, Feb 14, 2011 at 1:57 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 14/02/2011 2:51 PM, Danny Parker wrote:

 That did get the figure number and caption in the same line (much thanks)
 but it did not single space the caption.  Do you know of a quick way of
 fixing that?  I tried just using the paragraph settings but it seems the
 class has redefined /singlespace so when I try to make the pdf I get an
 error.


 How about:
 \usepackage[font=singlespacing,labelsep=period]{caption}



   Thanks to the help of another user I think I can edit the class to
 rename the command freeing up /singlespacing.  The one thing I'm unsure of
 when doing that is do I only have to reconfigure LyX or do I need to do
 something with MiKTeX also?


 If you modify the class file you don't need to reconfigure anything I'd
 think. If you made a renamed copy of the class file under a different name,
 and change or rename your LyX layout file accordingly, then I'd think you
 would need to reconfigure LyX.


  Again thanks for the help.  It's very much appreciated.


 You're very welcome. Good luck.

 Julien


  On Mon, Feb 14, 2011 at 1:41 PM, Julien Riouxjri...@physics.utoronto.ca
 wrote:

  \usepackage[labelsep=period]{caption}







LyX and the algorithm2e package

2011-02-14 Thread Georger Araujo
Hello everybody,
I'm a novice LyX/TeX user. Did any of you manage to get the algorithm2e
package to work in LyX? I tried to copy the module and follow the
instructions in [1], but it didn't work at first; I did a few changes to the
module, which now looks like this:

-
#\DeclareLyXModule[algorithm2e.sty]{algorithm2e float}
#DescriptionBegin
# Wrapper for the algorithm2e environment
#DescriptionEnd
#Requires
#Excludes
#Author: phbaer (many thanks to Chris)

Format 11

Requires algorithm2e

AddToPreamble
\usepackage[algo2e,portuguese]{algorithm2e}
EndPreamble

Float
Type algorithm
GuiName Algorithm2e
Placement tbp
Extension loa
NumberWithin none
Style plain
ListName List of Algorithms
LaTeXBuiltin false
End
-

But now my algorithms have the string Algorithm2e 1 prepended to the
caption, instead of Algoritmo 1 (my native language is Portuguese).
I am interested in using this package because it can generate a localized
list of algorithms and also localized captions.
Would anybody happen to have a working module? I'm running LyX 1.6.8 with
MiKTeX 2.9 on Windows.

[1] http://phbaer.net/2009/09/09/algorithm2e-module-for-lyx

Regards,

Georger


Re: Fwd: installing lyx on windows 7

2011-02-14 Thread saras
Joost Verburg joost at lyx.org writes:

 
 On Sat, 12 Feb 2011 16:32:24 -0600, Saras Saraswathi wrote:
  I tried to install the lyx. I installed under windows 7 on two laptops.
  One works ( a borrowed laptop) ...discussed on the webpage, 
 
 According to the screenshots, one of the installations (the one that works)
 was installed using the standard installer and the other one was installed
 using the alternative installer. Reinstalling using the standard installer
 will probably solve your problem.
 
 Joost
 
 

Hello Joost,
Thank you for your reply.  I will try the standard installer after my laptop
becomes operational. It will take some time to fix it since it has to be sent to
Singapore and I plan to do it only in when I go there. 
 Right now, the laptop
fan does not work and there is a risk of  burning the disk/cpu. I think I did
try the standard installer and it may not have worked. But I cannot confirm
this. I remember installing different versions though.

Saras





Re: Is there a way to retain hyperlinks in pasted text?

2011-02-14 Thread Manveru
2011/1/26 Joel Schwartz j...@joelschwartz.com:
 I'm not sure what a sponsored feature project is, but tell me more. Maybe
 we can get one going.

 Joel

If any of LyX developers agrees on working for very specific feature
for money, a donated feature is created and put on
http://www.lyx.org/Donate for donors. If enough money is collected on
LyX Team account the feature is started and later put into next major
LyX release.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Fwd: installing lyx on windows 7

2011-02-14 Thread Joost Verburg
On Sat, 12 Feb 2011 16:32:24 -0600, Saras Saraswathi wrote:
 I tried to install the lyx. I installed under windows 7 on two laptops.
 One works ( a borrowed laptop) . But it does not work on my own laptop. I
 used the same downloaded sw on both. As discussed on the webpage, looks like
 it cannot do the configuration on start up. With very much difficulty I got
 a screen print of the error ( tried it about a 100 times to be fast enough
 to capture the screen!).. I do  not see any ../resources directory in the
 place specified.

According to the screenshots, one of the installations (the one that works)
was installed using the standard installer and the other one was installed
using the alternative installer. Reinstalling using the standard installer
will probably solve your problem.

Joost



Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux

On 14/02/2011 1:46 PM, Danny Parker wrote:

Thanks for the response.

I understand what you are saying about it being a class problem.
  Unfortunately there is no update.  Is there a way I can make LyX's caption
conform to the single space, single line standard?  Any advice would be
appreciated.

Danny



Hi,

I personally don't know how to achieve your caption format, but I can 
point you in the right direction. What you want to achieve can be 
controlled at the latex level. There will be some latex code that you 
can put in your document's preamble to achieve it.


One option that I can think of, off the top of my head, is the caption 
latex package. You might want to search for its documentation and read 
it. I don't know for sure if this package can do what you want, but it 
is likely. In any case, now that we have established that it is a latex 
question, it can be asked on dedicated latex channels. There are latex 
experts roaming this list as well, but you would increase the likelihood 
of an answer by asking on comp.lang.tex, etc.


Cheers,
Julien


Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
Thanks again.  I'll do some reading and then maybe pose some more questions.

Danny

On Mon, Feb 14, 2011 at 1:10 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 14/02/2011 1:46 PM, Danny Parker wrote:

 Thanks for the response.

 I understand what you are saying about it being a class problem.
  Unfortunately there is no update.  Is there a way I can make LyX's
 caption
 conform to the single space, single line standard?  Any advice would be
 appreciated.

 Danny


 Hi,

 I personally don't know how to achieve your caption format, but I can point
 you in the right direction. What you want to achieve can be controlled at
 the latex level. There will be some latex code that you can put in your
 document's preamble to achieve it.

 One option that I can think of, off the top of my head, is the caption
 latex package. You might want to search for its documentation and read it. I
 don't know for sure if this package can do what you want, but it is likely.
 In any case, now that we have established that it is a latex question, it
 can be asked on dedicated latex channels. There are latex experts roaming
 this list as well, but you would increase the likelihood of an answer by
 asking on comp.lang.tex, etc.

 Cheers,
 Julien



Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux
Actually I think putting in your document preamble (From the menu 
Document  Settings) this line:


\usepackage[labelsep=period]{caption}

is quick and sufficient.


Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
That did get the figure number and caption in the same line (much thanks)
but it did not single space the caption.  Do you know of a quick way of
fixing that?  I tried just using the paragraph settings but it seems the
class has redefined /singlespace so when I try to make the pdf I get an
error.  Thanks to the help of another user I think I can edit the class to
rename the command freeing up /singlespacing.  The one thing I'm unsure of
when doing that is do I only have to reconfigure LyX or do I need to do
something with MiKTeX also?

Again thanks for the help.  It's very much appreciated.

On Mon, Feb 14, 2011 at 1:41 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 \usepackage[labelsep=period]{caption}



Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux

On 14/02/2011 2:51 PM, Danny Parker wrote:

That did get the figure number and caption in the same line (much thanks)
but it did not single space the caption.  Do you know of a quick way of
fixing that?  I tried just using the paragraph settings but it seems the
class has redefined /singlespace so when I try to make the pdf I get an
error.


How about:
\usepackage[font=singlespacing,labelsep=period]{caption}



 Thanks to the help of another user I think I can edit the class to
rename the command freeing up /singlespacing.  The one thing I'm unsure of
when doing that is do I only have to reconfigure LyX or do I need to do
something with MiKTeX also?



If you modify the class file you don't need to reconfigure anything I'd 
think. If you made a renamed copy of the class file under a different 
name, and change or rename your LyX layout file accordingly, then I'd 
think you would need to reconfigure LyX.



Again thanks for the help.  It's very much appreciated.



You're very welcome. Good luck.

Julien


On Mon, Feb 14, 2011 at 1:41 PM, Julien Riouxjri...@physics.utoronto.cawrote:


\usepackage[labelsep=period]{caption}








Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
That gave me the same error that singlespacing is already defined.  I'll go
fool around with the class and see if I can't get singlespacing working
again.

You're very welcome. Good luck.


Thanks.  If I get this done I'll hoist a beverage in your (and the others
who helped me) honour.

On Mon, Feb 14, 2011 at 1:57 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 14/02/2011 2:51 PM, Danny Parker wrote:

 That did get the figure number and caption in the same line (much thanks)
 but it did not single space the caption.  Do you know of a quick way of
 fixing that?  I tried just using the paragraph settings but it seems the
 class has redefined /singlespace so when I try to make the pdf I get an
 error.


 How about:
 \usepackage[font=singlespacing,labelsep=period]{caption}



   Thanks to the help of another user I think I can edit the class to
 rename the command freeing up /singlespacing.  The one thing I'm unsure of
 when doing that is do I only have to reconfigure LyX or do I need to do
 something with MiKTeX also?


 If you modify the class file you don't need to reconfigure anything I'd
 think. If you made a renamed copy of the class file under a different name,
 and change or rename your LyX layout file accordingly, then I'd think you
 would need to reconfigure LyX.


  Again thanks for the help.  It's very much appreciated.


 You're very welcome. Good luck.

 Julien


  On Mon, Feb 14, 2011 at 1:41 PM, Julien Riouxjri...@physics.utoronto.ca
 wrote:

  \usepackage[labelsep=period]{caption}







LyX and the algorithm2e package

2011-02-14 Thread Georger Araujo
Hello everybody,
I'm a novice LyX/TeX user. Did any of you manage to get the algorithm2e
package to work in LyX? I tried to copy the module and follow the
instructions in [1], but it didn't work at first; I did a few changes to the
module, which now looks like this:

-
#\DeclareLyXModule[algorithm2e.sty]{algorithm2e float}
#DescriptionBegin
# Wrapper for the algorithm2e environment
#DescriptionEnd
#Requires
#Excludes
#Author: phbaer (many thanks to Chris)

Format 11

Requires algorithm2e

AddToPreamble
\usepackage[algo2e,portuguese]{algorithm2e}
EndPreamble

Float
Type algorithm
GuiName Algorithm2e
Placement tbp
Extension loa
NumberWithin none
Style plain
ListName List of Algorithms
LaTeXBuiltin false
End
-

But now my algorithms have the string Algorithm2e 1 prepended to the
caption, instead of Algoritmo 1 (my native language is Portuguese).
I am interested in using this package because it can generate a localized
list of algorithms and also localized captions.
Would anybody happen to have a working module? I'm running LyX 1.6.8 with
MiKTeX 2.9 on Windows.

[1] http://phbaer.net/2009/09/09/algorithm2e-module-for-lyx

Regards,

Georger


Re: Fwd: installing lyx on windows 7

2011-02-14 Thread saras
Joost Verburg joost at lyx.org writes:

 
 On Sat, 12 Feb 2011 16:32:24 -0600, Saras Saraswathi wrote:
  I tried to install the lyx. I installed under windows 7 on two laptops.
  One works ( a borrowed laptop) ...discussed on the webpage, 
 
 According to the screenshots, one of the installations (the one that works)
 was installed using the standard installer and the other one was installed
 using the alternative installer. Reinstalling using the standard installer
 will probably solve your problem.
 
 Joost
 
 

Hello Joost,
Thank you for your reply.  I will try the standard installer after my laptop
becomes operational. It will take some time to fix it since it has to be sent to
Singapore and I plan to do it only in when I go there. 
 Right now, the laptop
fan does not work and there is a risk of  burning the disk/cpu. I think I did
try the standard installer and it may not have worked. But I cannot confirm
this. I remember installing different versions though.

Saras





Re: Is there a way to retain hyperlinks in pasted text?

2011-02-14 Thread Manveru
2011/1/26 Joel Schwartz :
> I'm not sure what a "sponsored feature" project is, but tell me more. Maybe
> we can get one going.
>
> Joel

If any of LyX developers agrees on working for very specific feature
for money, a donated feature is created and put on
http://www.lyx.org/Donate for donors. If enough money is collected on
LyX Team account the feature is started and later put into next major
LyX release.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Fwd: installing lyx on windows 7

2011-02-14 Thread Joost Verburg
On Sat, 12 Feb 2011 16:32:24 -0600, Saras Saraswathi wrote:
>>> I tried to install the lyx. I installed under windows 7 on two laptops.
>>> One works ( a borrowed laptop) . But it does not work on my own laptop. I
>>> used the same downloaded sw on both. As discussed on the webpage, looks like
>>> it cannot do the configuration on start up. With very much difficulty I got
>>> a screen print of the error ( tried it about a 100 times to be fast enough
>>> to capture the screen!).. I do  not see any ../resources directory in the
>>> place specified.

According to the screenshots, one of the installations (the one that works)
was installed using the standard installer and the other one was installed
using the alternative installer. Reinstalling using the standard installer
will probably solve your problem.

Joost



Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux

On 14/02/2011 1:46 PM, Danny Parker wrote:

Thanks for the response.

I understand what you are saying about it being a class problem.
  Unfortunately there is no update.  Is there a way I can make LyX's caption
conform to the single space, single line standard?  Any advice would be
appreciated.

Danny



Hi,

I personally don't know how to achieve your caption format, but I can 
point you in the right direction. What you want to achieve can be 
controlled at the latex level. There will be some latex code that you 
can put in your document's preamble to achieve it.


One option that I can think of, off the top of my head, is the "caption" 
latex package. You might want to search for its documentation and read 
it. I don't know for sure if this package can do what you want, but it 
is likely. In any case, now that we have established that it is a latex 
question, it can be asked on dedicated latex channels. There are latex 
experts roaming this list as well, but you would increase the likelihood 
of an answer by asking on comp.lang.tex, etc.


Cheers,
Julien


Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
Thanks again.  I'll do some reading and then maybe pose some more questions.

Danny

On Mon, Feb 14, 2011 at 1:10 PM, Julien Rioux wrote:

> On 14/02/2011 1:46 PM, Danny Parker wrote:
>
>> Thanks for the response.
>>
>> I understand what you are saying about it being a class problem.
>>  Unfortunately there is no update.  Is there a way I can make LyX's
>> caption
>> conform to the single space, single line standard?  Any advice would be
>> appreciated.
>>
>> Danny
>>
>>
> Hi,
>
> I personally don't know how to achieve your caption format, but I can point
> you in the right direction. What you want to achieve can be controlled at
> the latex level. There will be some latex code that you can put in your
> document's preamble to achieve it.
>
> One option that I can think of, off the top of my head, is the "caption"
> latex package. You might want to search for its documentation and read it. I
> don't know for sure if this package can do what you want, but it is likely.
> In any case, now that we have established that it is a latex question, it
> can be asked on dedicated latex channels. There are latex experts roaming
> this list as well, but you would increase the likelihood of an answer by
> asking on comp.lang.tex, etc.
>
> Cheers,
> Julien
>


Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux
Actually I think putting in your document preamble (From the menu 
Document > Settings) this line:


\usepackage[labelsep=period]{caption}

is quick and sufficient.


Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
That did get the figure number and caption in the same line (much thanks)
but it did not single space the caption.  Do you know of a quick way of
fixing that?  I tried just using the paragraph settings but it seems the
class has redefined /singlespace so when I try to make the pdf I get an
error.  Thanks to the help of another user I think I can edit the class to
rename the command freeing up /singlespacing.  The one thing I'm unsure of
when doing that is do I only have to reconfigure LyX or do I need to do
something with MiKTeX also?

Again thanks for the help.  It's very much appreciated.

On Mon, Feb 14, 2011 at 1:41 PM, Julien Rioux wrote:

> \usepackage[labelsep=period]{caption}
>


Re: Custom Class Figure Problem

2011-02-14 Thread Julien Rioux

On 14/02/2011 2:51 PM, Danny Parker wrote:

That did get the figure number and caption in the same line (much thanks)
but it did not single space the caption.  Do you know of a quick way of
fixing that?  I tried just using the paragraph settings but it seems the
class has redefined /singlespace so when I try to make the pdf I get an
error.


How about:
\usepackage[font=singlespacing,labelsep=period]{caption}



 Thanks to the help of another user I think I can edit the class to
rename the command freeing up /singlespacing.  The one thing I'm unsure of
when doing that is do I only have to reconfigure LyX or do I need to do
something with MiKTeX also?



If you modify the class file you don't need to reconfigure anything I'd 
think. If you made a renamed copy of the class file under a different 
name, and change or rename your LyX layout file accordingly, then I'd 
think you would need to reconfigure LyX.



Again thanks for the help.  It's very much appreciated.



You're very welcome. Good luck.

Julien


On Mon, Feb 14, 2011 at 1:41 PM, Julien Riouxwrote:


\usepackage[labelsep=period]{caption}








Re: Custom Class Figure Problem

2011-02-14 Thread Danny Parker
That gave me the same error that singlespacing is already defined.  I'll go
fool around with the class and see if I can't get singlespacing working
again.

You're very welcome. Good luck.


Thanks.  If I get this done I'll hoist a beverage in your (and the others
who helped me) honour.

On Mon, Feb 14, 2011 at 1:57 PM, Julien Rioux wrote:

> On 14/02/2011 2:51 PM, Danny Parker wrote:
>
>> That did get the figure number and caption in the same line (much thanks)
>> but it did not single space the caption.  Do you know of a quick way of
>> fixing that?  I tried just using the paragraph settings but it seems the
>> class has redefined /singlespace so when I try to make the pdf I get an
>> error.
>>
>
> How about:
> \usepackage[font=singlespacing,labelsep=period]{caption}
>
>
>
>   Thanks to the help of another user I think I can edit the class to
>> rename the command freeing up /singlespacing.  The one thing I'm unsure of
>> when doing that is do I only have to reconfigure LyX or do I need to do
>> something with MiKTeX also?
>>
>>
> If you modify the class file you don't need to reconfigure anything I'd
> think. If you made a renamed copy of the class file under a different name,
> and change or rename your LyX layout file accordingly, then I'd think you
> would need to reconfigure LyX.
>
>
>  Again thanks for the help.  It's very much appreciated.
>>
>>
> You're very welcome. Good luck.
>
> Julien
>
>
>  On Mon, Feb 14, 2011 at 1:41 PM, Julien Rioux> >wrote:
>>
>>  \usepackage[labelsep=period]{caption}
>>>
>>>
>>
>
>


LyX and the algorithm2e package

2011-02-14 Thread Georger Araujo
Hello everybody,
I'm a novice LyX/TeX user. Did any of you manage to get the algorithm2e
package to work in LyX? I tried to copy the module and follow the
instructions in [1], but it didn't work at first; I did a few changes to the
module, which now looks like this:

-
#\DeclareLyXModule[algorithm2e.sty]{algorithm2e float}
#DescriptionBegin
# Wrapper for the algorithm2e environment
#DescriptionEnd
#Requires
#Excludes
#Author: phbaer (many thanks to Chris)

Format 11

Requires algorithm2e

AddToPreamble
\usepackage[algo2e,portuguese]{algorithm2e}
EndPreamble

Float
Type algorithm
GuiName Algorithm2e
Placement tbp
Extension loa
NumberWithin none
Style plain
ListName "List of Algorithms"
LaTeXBuiltin false
End
-

But now my algorithms have the string "Algorithm2e 1" prepended to the
caption, instead of "Algoritmo 1" (my native language is Portuguese).
I am interested in using this package because it can generate a localized
list of algorithms and also localized captions.
Would anybody happen to have a working module? I'm running LyX 1.6.8 with
MiKTeX 2.9 on Windows.

[1] http://phbaer.net/2009/09/09/algorithm2e-module-for-lyx

Regards,

Georger


Re: Fwd: installing lyx on windows 7

2011-02-14 Thread saras
Joost Verburg  lyx.org> writes:

> 
> On Sat, 12 Feb 2011 16:32:24 -0600, Saras Saraswathi wrote:
> >>> I tried to install the lyx. I installed under windows 7 on two laptops.
> >>> One works ( a borrowed laptop) ...discussed on the webpage, 
> 
> According to the screenshots, one of the installations (the one that works)
> was installed using the standard installer and the other one was installed
> using the alternative installer. Reinstalling using the standard installer
> will probably solve your problem.
> 
> Joost
> 
> 

Hello Joost,
Thank you for your reply.  I will try the standard installer after my laptop
becomes operational. It will take some time to fix it since it has to be sent to
Singapore and I plan to do it only in when I go there. 
 Right now, the laptop
fan does not work and there is a risk of  burning the disk/cpu. I think I did
try the standard installer and it may not have worked. But I cannot confirm
this. I remember installing different versions though.

Saras