changing the default image editor away from GIMP

2013-02-12 Thread Ingar Pareliussen
Hi

After the Gimp crew desided to change its userbase away from casual changing 
pictures to more powerusers in gimp 2.8, gimp has become a pain in the *** to 
use with LyX.
(for more info 
https://mail.gnome.org/archives/gimp-user-list/2012-May/msg9.html)

I think it is time to look for an alternative. For me showfoto has turned out 
fine, however i guess it should be an alternative that are can be used in 
windows and osx as well.

Ingar 

Re: changing the default image editor away from GIMP

2013-02-12 Thread Scott Kostyshak
On Tue, Feb 12, 2013 at 1:21 PM, Ingar Pareliussen
ingar.parelius...@dmmh.no wrote:
 Hi

 After the Gimp crew desided to change its userbase away from casual changing 
 pictures to more powerusers in gimp 2.8, gimp has become a pain in the *** to 
 use with LyX.
 (for more info 
 https://mail.gnome.org/archives/gimp-user-list/2012-May/msg9.html)

 I think it is time to look for an alternative. For me showfoto has turned out 
 fine, however i guess it should be an alternative that are can be used in 
 windows and osx as well.

 Ingar

Hi Ingar,

What do you use Gimp for? I don't think it's being used for any
converters. Do you mean as an editor/viewer for images that you
insert? This can be changed to anything you want by going to Tools 
Preferences  File Formats  Editor/Viewer

Best,

Scott


Re: lyx in arabic or persian

2013-02-12 Thread Guy Rutenberg
Hi Parastoo,

I've no experience using LyX with Arabic or Farsi, so I only guess. Have
you set the language correctly in Document-Settings-Language? At least
for Hebrew it's necessary.

Regards,

Guy


On 31 January 2013 00:05, Parastoo Mojabi parastoo.moj...@gmail.com wrote:



 On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
 parastoo.moj...@gmail.com wrote:

 hi,

 hope you are doing great.

 I have difficulties making lyx in Farsi, I did as the internet saying,
 but article[arabic] is un available in my document class, I paste
 article-arabic.layout. every where but still doesnt work.
 now my document is left to right which i wanted to be right to left and
 the letters of arabic showing is wrong.

 please help me

 cheers





Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
I have no knowledge of Arabic, unfortunately, but following the
instructions on the wiki seems to work for me, including right-to-left
typing:
http://wiki.lyx.org/Windows/Arabic
It requires:

1. Setting the document class to Article(Arabic)
2. Choosing Arabic from DocumentSettingsLanguage, as Guy said
3. Installing Arabic fonts for correct display in Lyx (the pdf would be
fine without them, them)

If you do not have article[Arabic] in the DocumentSettings dropdown menu,
there may be something missing in your latex installation. The
article(Arabic) option uses the arabart.cls document class, which, on my TL
2012 linux system, lives in

/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls

Try looking for a file called arabart.cls and see if you can find it in
your system.
Which platform are you on? Linux, Mac, Windows? Instructions for the
installation of missing packages vary  depending on the platform
.

Cheers,

Stefano


On Tue, Feb 12, 2013 at 1:07 PM, Guy Rutenberg guyrutenb...@gmail.comwrote:

 Hi Parastoo,

 I've no experience using LyX with Arabic or Farsi, so I only guess. Have
 you set the language correctly in Document-Settings-Language? At least
 for Hebrew it's necessary.

 Regards,

 Guy


 On 31 January 2013 00:05, Parastoo Mojabi parastoo.moj...@gmail.comwrote:



 On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
 parastoo.moj...@gmail.com wrote:

 hi,

 hope you are doing great.

 I have difficulties making lyx in Farsi, I did as the internet saying,
 but article[arabic] is un available in my document class, I paste
 article-arabic.layout. every where but still doesnt work.
 now my document is left to right which i wanted to be right to left and
 the letters of arabic showing is wrong.

 please help me

 cheers






-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


SV: changing the default image editor away from GIMP

2013-02-12 Thread Ingar Pareliussen
Hi

What do you use Gimp for? I don't think it's being used for any
converters. Do you mean as an editor/viewer for images that you
insert? This can be changed to anything you want by going to Tools 
Preferences  File Formats  Editor/Viewer

I know :), I have done this on my computers, however, I think it is time
to change the defaults as gimp no longer is suitable as the default image 
editor/viewer.

(and it is a pain when you have 3 computers and have to change for each image 
format :) )

regards
Ingar


Re: SV: changing the default image editor away from GIMP

2013-02-12 Thread Paul A . Rubin
Ingar Pareliussen Ingar.Pareliussen at dmmh.no writes:

 I know :), I have done this on my computers, however, I think it is time
 to change the defaults as gimp no longer is suitable as the default image
editor/viewer.

I'm not a fan of GIMP, and I do prefer to use other tools. There's one catch
with changing the default, though: I suspect that GIMP is as close as you get to
an editor you can expect to be present. It's certainly not standard on Windows,
and I'm not sure about Mac OS, but I think most Linux distros come with GIMP.
I'm not sure there is any other choice for default editor that is likely to be
installed on a significant proportion of user machines.

Paul



Re: SV: changing the default image editor away from GIMP

2013-02-12 Thread Rich Shepard

On Tue, 12 Feb 2013, Paul A. Rubin wrote:


I'm not a fan of GIMP, and I do prefer to use other tools.


Paul,

  My bit-mapped graphic needs are minimal so I've used The GIMP since 1997
and it does well by me.


There's one catch with changing the default, though: I suspect that GIMP
is as close as you get to an editor you can expect to be present. It's
certainly not standard on Windows, and I'm not sure about Mac OS, but I
think most Linux distros come with GIMP. I'm not sure there is any other
choice for default editor that is likely to be installed on a significant
proportion of user machines.


  There's actually a simple resolution to this, but while it's common for us
linux/*BSD users it's probably not common for users of other OSes. Use
whatever tool you want separate from LyX. You can use Imagemagick, for
example, then save the file in a bit-mapped format (.png, .jpg) and insert
into the LyX document.

  Most of my figures and plots are vector-based and generated with R and
PSTricks. I never work on a figure within LyX.

Rich



Re: lost of all docs

2013-02-12 Thread Richard Heck

On 02/12/2013 06:07 PM, Sara wrote:

installing LyX
my friend suddenly lost all the documents on her desktop.
Is that possible?



Well, yes, but it would either be a total coincidence or some random 
occurrence. The LyX installer doesn't do anything that could lead to this.


I assume this is Windows?

Richard



Re: Exercise Numbering

2013-02-12 Thread Richard Heck

On 02/12/2013 07:15 PM, Jane Shevtsov wrote:
I'm working on a textbook in which regular numbered sections are 
interspersed with unnumbered lab sections. I'm using the Theorems 
(Numbered by Type within Sections) package to number exercises but 
the numbering of exercises in a lab section is just a continuation of 
that in the previous numbered section. How do I get it to restart in 
each section, regardless of whether it's numbered?




Sorry, I'm confused. Maybe it would be easiest if you would post a very 
simple example file that is  trying to do what you want doesn't work.


If what you want is for all the counters to reset even when you start an 
unnumbered section, then this will take a little bit of LaTeX magic, but 
is perfectly do-able.


Richard



Re: Exercise Numbering

2013-02-12 Thread Jane Shevtsov
On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck rgh...@lyx.org wrote:


 If what you want is for all the counters to reset even when you start an
 unnumbered section, then this will take a little bit of LaTeX magic, but is
 perfectly do-able.


Yep, that's what I want. What LaTeX code do I need?

Jane


-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
On Tue, Feb 12, 2013 at 9:04 PM, Parastoo Mojabi
parastoo.moj...@gmail.comwrote:

Dear stefano

Thank you for the answer.  I have linux mint 14 nadia 64 bit ,I dont have
any arabic article in my document drop down list.
nether there is no folder called texlive in my computer.

I installed version 2.0.3 of lyx which is working fine for english.

May be I should change the version?


Dear Parastoo,

the problem is your tex installation, not lyx. You said lyx works fine for
English. I take it you mean you can BOTH write in lyx and produce pdf
output, right? If so, you must have a version of (La)TeX installed and
working and you are probably just missing the arabart class. Try this:

First, find out if you have arabart.cls on your system. Open a terminal
window and type:

kpsewhich arabart.cls

You should get back a pathname indicating where arabart is installed. If
you get nothing back, then you don't have it installed and need to update
your tex installation (see below). If you do get a path back (I get
/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls but I use
Archlinux, not Mint), then you just need to reconfigure Lyx with
ToolsReconfigure , close it and restart it.

If you do not have arabart.cls installed:

You need to upgrade/extend your tex installation and how to do so depends
on how you installed it in the first place. Linux Mint is a
Ubuntu-derivative. Did  you use Mint's package installer? If so, go to the
package installer again, and check that you have installed a package called
texlive-lang-arab . That is what you need. If it is not installed, install
it, then reconfigure lyx as described above and you should be ready to go.

If, instead, you did not use Mint's package installer and installed texlive
from their DVD or online from ctan.org, you should use your texlive package
manager. Open a terminal window, type:

tlmgr  --gui

you have an installer for tex packages only. Search for arabtex and install
it, then reconficure lyx and restart it.

Please report back---and address the message to the list, so other people
can benefit as well.

Cheers,


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Exercise Numbering

2013-02-12 Thread Scott Kostyshak
On Tue, Feb 12, 2013 at 9:28 PM, Jane Shevtsov jane@gmail.com wrote:

 On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck rgh...@lyx.org wrote:


 If what you want is for all the counters to reset even when you start an
 unnumbered section, then this will take a little bit of LaTeX magic, but is
 perfectly do-able.


 Yep, that's what I want. What LaTeX code do I need?

Hi Jane, could you please send post a Minimum Working Example? See
http://wiki.lyx.org/FAQ/MWE

Best,

Scott


Re: Exercise Numbering

2013-02-12 Thread Jane Shevtsov
On Tue, Feb 12, 2013 at 9:46 PM, Scott Kostyshak skost...@princeton.eduwrote:

 On Tue, Feb 12, 2013 at 9:28 PM, Jane Shevtsov jane@gmail.com wrote:
 
  On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck rgh...@lyx.org wrote:
 
 
  If what you want is for all the counters to reset even when you start an
  unnumbered section, then this will take a little bit of LaTeX magic,
 but is
  perfectly do-able.
 
 
  Yep, that's what I want. What LaTeX code do I need?

 Hi Jane, could you please send post a Minimum Working Example? See
 http://wiki.lyx.org/FAQ/MWE


Here's an example of what's happening now.

Best,
Jane

-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


problem numbering MWE.lyx
Description: Binary data


changing the default image editor away from GIMP

2013-02-12 Thread Ingar Pareliussen
Hi

After the Gimp crew desided to change its userbase away from casual changing 
pictures to more powerusers in gimp 2.8, gimp has become a pain in the *** to 
use with LyX.
(for more info 
https://mail.gnome.org/archives/gimp-user-list/2012-May/msg9.html)

I think it is time to look for an alternative. For me showfoto has turned out 
fine, however i guess it should be an alternative that are can be used in 
windows and osx as well.

Ingar 

Re: changing the default image editor away from GIMP

2013-02-12 Thread Scott Kostyshak
On Tue, Feb 12, 2013 at 1:21 PM, Ingar Pareliussen
ingar.parelius...@dmmh.no wrote:
 Hi

 After the Gimp crew desided to change its userbase away from casual changing 
 pictures to more powerusers in gimp 2.8, gimp has become a pain in the *** to 
 use with LyX.
 (for more info 
 https://mail.gnome.org/archives/gimp-user-list/2012-May/msg9.html)

 I think it is time to look for an alternative. For me showfoto has turned out 
 fine, however i guess it should be an alternative that are can be used in 
 windows and osx as well.

 Ingar

Hi Ingar,

What do you use Gimp for? I don't think it's being used for any
converters. Do you mean as an editor/viewer for images that you
insert? This can be changed to anything you want by going to Tools 
Preferences  File Formats  Editor/Viewer

Best,

Scott


Re: lyx in arabic or persian

2013-02-12 Thread Guy Rutenberg
Hi Parastoo,

I've no experience using LyX with Arabic or Farsi, so I only guess. Have
you set the language correctly in Document-Settings-Language? At least
for Hebrew it's necessary.

Regards,

Guy


On 31 January 2013 00:05, Parastoo Mojabi parastoo.moj...@gmail.com wrote:



 On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
 parastoo.moj...@gmail.com wrote:

 hi,

 hope you are doing great.

 I have difficulties making lyx in Farsi, I did as the internet saying,
 but article[arabic] is un available in my document class, I paste
 article-arabic.layout. every where but still doesnt work.
 now my document is left to right which i wanted to be right to left and
 the letters of arabic showing is wrong.

 please help me

 cheers





Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
I have no knowledge of Arabic, unfortunately, but following the
instructions on the wiki seems to work for me, including right-to-left
typing:
http://wiki.lyx.org/Windows/Arabic
It requires:

1. Setting the document class to Article(Arabic)
2. Choosing Arabic from DocumentSettingsLanguage, as Guy said
3. Installing Arabic fonts for correct display in Lyx (the pdf would be
fine without them, them)

If you do not have article[Arabic] in the DocumentSettings dropdown menu,
there may be something missing in your latex installation. The
article(Arabic) option uses the arabart.cls document class, which, on my TL
2012 linux system, lives in

/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls

Try looking for a file called arabart.cls and see if you can find it in
your system.
Which platform are you on? Linux, Mac, Windows? Instructions for the
installation of missing packages vary  depending on the platform
.

Cheers,

Stefano


On Tue, Feb 12, 2013 at 1:07 PM, Guy Rutenberg guyrutenb...@gmail.comwrote:

 Hi Parastoo,

 I've no experience using LyX with Arabic or Farsi, so I only guess. Have
 you set the language correctly in Document-Settings-Language? At least
 for Hebrew it's necessary.

 Regards,

 Guy


 On 31 January 2013 00:05, Parastoo Mojabi parastoo.moj...@gmail.comwrote:



 On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
 parastoo.moj...@gmail.com wrote:

 hi,

 hope you are doing great.

 I have difficulties making lyx in Farsi, I did as the internet saying,
 but article[arabic] is un available in my document class, I paste
 article-arabic.layout. every where but still doesnt work.
 now my document is left to right which i wanted to be right to left and
 the letters of arabic showing is wrong.

 please help me

 cheers






-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


SV: changing the default image editor away from GIMP

2013-02-12 Thread Ingar Pareliussen
Hi

What do you use Gimp for? I don't think it's being used for any
converters. Do you mean as an editor/viewer for images that you
insert? This can be changed to anything you want by going to Tools 
Preferences  File Formats  Editor/Viewer

I know :), I have done this on my computers, however, I think it is time
to change the defaults as gimp no longer is suitable as the default image 
editor/viewer.

(and it is a pain when you have 3 computers and have to change for each image 
format :) )

regards
Ingar


Re: SV: changing the default image editor away from GIMP

2013-02-12 Thread Paul A . Rubin
Ingar Pareliussen Ingar.Pareliussen at dmmh.no writes:

 I know :), I have done this on my computers, however, I think it is time
 to change the defaults as gimp no longer is suitable as the default image
editor/viewer.

I'm not a fan of GIMP, and I do prefer to use other tools. There's one catch
with changing the default, though: I suspect that GIMP is as close as you get to
an editor you can expect to be present. It's certainly not standard on Windows,
and I'm not sure about Mac OS, but I think most Linux distros come with GIMP.
I'm not sure there is any other choice for default editor that is likely to be
installed on a significant proportion of user machines.

Paul



Re: SV: changing the default image editor away from GIMP

2013-02-12 Thread Rich Shepard

On Tue, 12 Feb 2013, Paul A. Rubin wrote:


I'm not a fan of GIMP, and I do prefer to use other tools.


Paul,

  My bit-mapped graphic needs are minimal so I've used The GIMP since 1997
and it does well by me.


There's one catch with changing the default, though: I suspect that GIMP
is as close as you get to an editor you can expect to be present. It's
certainly not standard on Windows, and I'm not sure about Mac OS, but I
think most Linux distros come with GIMP. I'm not sure there is any other
choice for default editor that is likely to be installed on a significant
proportion of user machines.


  There's actually a simple resolution to this, but while it's common for us
linux/*BSD users it's probably not common for users of other OSes. Use
whatever tool you want separate from LyX. You can use Imagemagick, for
example, then save the file in a bit-mapped format (.png, .jpg) and insert
into the LyX document.

  Most of my figures and plots are vector-based and generated with R and
PSTricks. I never work on a figure within LyX.

Rich



Re: lost of all docs

2013-02-12 Thread Richard Heck

On 02/12/2013 06:07 PM, Sara wrote:

installing LyX
my friend suddenly lost all the documents on her desktop.
Is that possible?



Well, yes, but it would either be a total coincidence or some random 
occurrence. The LyX installer doesn't do anything that could lead to this.


I assume this is Windows?

Richard



Re: Exercise Numbering

2013-02-12 Thread Richard Heck

On 02/12/2013 07:15 PM, Jane Shevtsov wrote:
I'm working on a textbook in which regular numbered sections are 
interspersed with unnumbered lab sections. I'm using the Theorems 
(Numbered by Type within Sections) package to number exercises but 
the numbering of exercises in a lab section is just a continuation of 
that in the previous numbered section. How do I get it to restart in 
each section, regardless of whether it's numbered?




Sorry, I'm confused. Maybe it would be easiest if you would post a very 
simple example file that is  trying to do what you want doesn't work.


If what you want is for all the counters to reset even when you start an 
unnumbered section, then this will take a little bit of LaTeX magic, but 
is perfectly do-able.


Richard



Re: Exercise Numbering

2013-02-12 Thread Jane Shevtsov
On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck rgh...@lyx.org wrote:


 If what you want is for all the counters to reset even when you start an
 unnumbered section, then this will take a little bit of LaTeX magic, but is
 perfectly do-able.


Yep, that's what I want. What LaTeX code do I need?

Jane


-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
On Tue, Feb 12, 2013 at 9:04 PM, Parastoo Mojabi
parastoo.moj...@gmail.comwrote:

Dear stefano

Thank you for the answer.  I have linux mint 14 nadia 64 bit ,I dont have
any arabic article in my document drop down list.
nether there is no folder called texlive in my computer.

I installed version 2.0.3 of lyx which is working fine for english.

May be I should change the version?


Dear Parastoo,

the problem is your tex installation, not lyx. You said lyx works fine for
English. I take it you mean you can BOTH write in lyx and produce pdf
output, right? If so, you must have a version of (La)TeX installed and
working and you are probably just missing the arabart class. Try this:

First, find out if you have arabart.cls on your system. Open a terminal
window and type:

kpsewhich arabart.cls

You should get back a pathname indicating where arabart is installed. If
you get nothing back, then you don't have it installed and need to update
your tex installation (see below). If you do get a path back (I get
/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls but I use
Archlinux, not Mint), then you just need to reconfigure Lyx with
ToolsReconfigure , close it and restart it.

If you do not have arabart.cls installed:

You need to upgrade/extend your tex installation and how to do so depends
on how you installed it in the first place. Linux Mint is a
Ubuntu-derivative. Did  you use Mint's package installer? If so, go to the
package installer again, and check that you have installed a package called
texlive-lang-arab . That is what you need. If it is not installed, install
it, then reconfigure lyx as described above and you should be ready to go.

If, instead, you did not use Mint's package installer and installed texlive
from their DVD or online from ctan.org, you should use your texlive package
manager. Open a terminal window, type:

tlmgr  --gui

you have an installer for tex packages only. Search for arabtex and install
it, then reconficure lyx and restart it.

Please report back---and address the message to the list, so other people
can benefit as well.

Cheers,


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Exercise Numbering

2013-02-12 Thread Scott Kostyshak
On Tue, Feb 12, 2013 at 9:28 PM, Jane Shevtsov jane@gmail.com wrote:

 On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck rgh...@lyx.org wrote:


 If what you want is for all the counters to reset even when you start an
 unnumbered section, then this will take a little bit of LaTeX magic, but is
 perfectly do-able.


 Yep, that's what I want. What LaTeX code do I need?

Hi Jane, could you please send post a Minimum Working Example? See
http://wiki.lyx.org/FAQ/MWE

Best,

Scott


Re: Exercise Numbering

2013-02-12 Thread Jane Shevtsov
On Tue, Feb 12, 2013 at 9:46 PM, Scott Kostyshak skost...@princeton.eduwrote:

 On Tue, Feb 12, 2013 at 9:28 PM, Jane Shevtsov jane@gmail.com wrote:
 
  On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck rgh...@lyx.org wrote:
 
 
  If what you want is for all the counters to reset even when you start an
  unnumbered section, then this will take a little bit of LaTeX magic,
 but is
  perfectly do-able.
 
 
  Yep, that's what I want. What LaTeX code do I need?

 Hi Jane, could you please send post a Minimum Working Example? See
 http://wiki.lyx.org/FAQ/MWE


Here's an example of what's happening now.

Best,
Jane

-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


problem numbering MWE.lyx
Description: Binary data


changing the default image editor away from GIMP

2013-02-12 Thread Ingar Pareliussen
Hi

After the Gimp crew desided to change its userbase away from casual changing 
pictures to more powerusers in gimp 2.8, gimp has become a pain in the *** to 
use with LyX.
(for more info 
https://mail.gnome.org/archives/gimp-user-list/2012-May/msg9.html)

I think it is time to look for an alternative. For me showfoto has turned out 
fine, however i guess it should be an alternative that are can be used in 
windows and osx as well.

Ingar 

Re: changing the default image editor away from GIMP

2013-02-12 Thread Scott Kostyshak
On Tue, Feb 12, 2013 at 1:21 PM, Ingar Pareliussen
 wrote:
> Hi
>
> After the Gimp crew desided to change its userbase away from casual changing 
> pictures to more powerusers in gimp 2.8, gimp has become a pain in the *** to 
> use with LyX.
> (for more info 
> https://mail.gnome.org/archives/gimp-user-list/2012-May/msg9.html)
>
> I think it is time to look for an alternative. For me showfoto has turned out 
> fine, however i guess it should be an alternative that are can be used in 
> windows and osx as well.
>
> Ingar

Hi Ingar,

What do you use Gimp for? I don't think it's being used for any
converters. Do you mean as an editor/viewer for images that you
insert? This can be changed to anything you want by going to Tools >
Preferences > File Formats > Editor/Viewer

Best,

Scott


Re: lyx in arabic or persian

2013-02-12 Thread Guy Rutenberg
Hi Parastoo,

I've no experience using LyX with Arabic or Farsi, so I only guess. Have
you set the language correctly in Document->Settings->Language? At least
for Hebrew it's necessary.

Regards,

Guy


On 31 January 2013 00:05, Parastoo Mojabi  wrote:

>
>
> On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi <
> parastoo.moj...@gmail.com> wrote:
>
>> hi,
>>
>> hope you are doing great.
>>
>> I have difficulties making lyx in Farsi, I did as the internet saying,
>> but article[arabic] is un available in my document class, I paste
>> article-arabic.layout. every where but still doesnt work.
>> now my document is left to right which i wanted to be right to left and
>> the letters of arabic showing is wrong.
>>
>> please help me
>>
>> cheers
>>
>>
>


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
I have no knowledge of Arabic, unfortunately, but following the
instructions on the wiki seems to work for me, including right-to-left
typing:
http://wiki.lyx.org/Windows/Arabic
It requires:

1. Setting the document class to Article(Arabic)
2. Choosing "Arabic" from Document>>Settings>>Language, as Guy said
3. Installing Arabic fonts for correct display in Lyx (the pdf would be
fine without them, them)

If you do not have article[Arabic] in the Document>>Settings dropdown menu,
there may be something missing in your latex installation. The
article(Arabic) option uses the arabart.cls document class, which, on my TL
2012 linux system, lives in

/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls

Try looking for a file called arabart.cls and see if you can find it in
your system.
Which platform are you on? Linux, Mac, Windows? Instructions for the
installation of missing packages vary  depending on the platform
.

Cheers,

Stefano


On Tue, Feb 12, 2013 at 1:07 PM, Guy Rutenberg wrote:

> Hi Parastoo,
>
> I've no experience using LyX with Arabic or Farsi, so I only guess. Have
> you set the language correctly in Document->Settings->Language? At least
> for Hebrew it's necessary.
>
> Regards,
>
> Guy
>
>
> On 31 January 2013 00:05, Parastoo Mojabi wrote:
>
>>
>>
>> On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi <
>> parastoo.moj...@gmail.com> wrote:
>>
>>> hi,
>>>
>>> hope you are doing great.
>>>
>>> I have difficulties making lyx in Farsi, I did as the internet saying,
>>> but article[arabic] is un available in my document class, I paste
>>> article-arabic.layout. every where but still doesnt work.
>>> now my document is left to right which i wanted to be right to left and
>>> the letters of arabic showing is wrong.
>>>
>>> please help me
>>>
>>> cheers
>>>
>>>
>>
>


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


SV: changing the default image editor away from GIMP

2013-02-12 Thread Ingar Pareliussen
Hi

>What do you use Gimp for? I don't think it's being used for any
>converters. Do you mean as an editor/viewer for images that you
>insert? This can be changed to anything you want by going to Tools >
>Preferences > File Formats > Editor/Viewer

I know :), I have done this on my computers, however, I think it is time
to change the defaults as gimp no longer is suitable as the default image 
editor/viewer.

(and it is a pain when you have 3 computers and have to change for each image 
format :) )

regards
Ingar


Re: SV: changing the default image editor away from GIMP

2013-02-12 Thread Paul A . Rubin
Ingar Pareliussen  dmmh.no> writes:

> I know :), I have done this on my computers, however, I think it is time
> to change the defaults as gimp no longer is suitable as the default image
editor/viewer.

I'm not a fan of GIMP, and I do prefer to use other tools. There's one catch
with changing the default, though: I suspect that GIMP is as close as you get to
an editor you can expect to be present. It's certainly not standard on Windows,
and I'm not sure about Mac OS, but I think most Linux distros come with GIMP.
I'm not sure there is any other choice for default editor that is likely to be
installed on a significant proportion of user machines.

Paul



Re: SV: changing the default image editor away from GIMP

2013-02-12 Thread Rich Shepard

On Tue, 12 Feb 2013, Paul A. Rubin wrote:


I'm not a fan of GIMP, and I do prefer to use other tools.


Paul,

  My bit-mapped graphic needs are minimal so I've used The GIMP since 1997
and it does well by me.


There's one catch with changing the default, though: I suspect that GIMP
is as close as you get to an editor you can expect to be present. It's
certainly not standard on Windows, and I'm not sure about Mac OS, but I
think most Linux distros come with GIMP. I'm not sure there is any other
choice for default editor that is likely to be installed on a significant
proportion of user machines.


  There's actually a simple resolution to this, but while it's common for us
linux/*BSD users it's probably not common for users of other OSes. Use
whatever tool you want separate from LyX. You can use Imagemagick, for
example, then save the file in a bit-mapped format (.png, .jpg) and insert
into the LyX document.

  Most of my figures and plots are vector-based and generated with R and
PSTricks. I never work on a figure within LyX.

Rich



Re: lost of all docs

2013-02-12 Thread Richard Heck

On 02/12/2013 06:07 PM, Sara wrote:

installing LyX
my friend suddenly lost all the documents on her desktop.
Is that possible?



Well, yes, but it would either be a total coincidence or some random 
occurrence. The LyX installer doesn't do anything that could lead to this.


I assume this is Windows?

Richard



Re: Exercise Numbering

2013-02-12 Thread Richard Heck

On 02/12/2013 07:15 PM, Jane Shevtsov wrote:
I'm working on a textbook in which regular numbered sections are 
interspersed with unnumbered lab sections. I'm using the "Theorems 
(Numbered by Type within Sections)" package to number exercises but 
the numbering of exercises in a lab section is just a continuation of 
that in the previous numbered section. How do I get it to restart in 
each section, regardless of whether it's numbered?




Sorry, I'm confused. Maybe it would be easiest if you would post a very 
simple example file that is  trying to do what you want doesn't work.


If what you want is for all the counters to reset even when you start an 
unnumbered section, then this will take a little bit of LaTeX magic, but 
is perfectly do-able.


Richard



Re: Exercise Numbering

2013-02-12 Thread Jane Shevtsov
On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck  wrote:

>
> If what you want is for all the counters to reset even when you start an
> unnumbered section, then this will take a little bit of LaTeX magic, but is
> perfectly do-able.


Yep, that's what I want. What LaTeX code do I need?

Jane


-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


Re: lyx in arabic or persian

2013-02-12 Thread stefano franchi
On Tue, Feb 12, 2013 at 9:04 PM, Parastoo Mojabi
wrote:

Dear stefano

Thank you for the answer.  I have linux mint 14 nadia 64 bit ,I dont have
any arabic article in my document drop down list.
nether there is no folder called texlive in my computer.

I installed version 2.0.3 of lyx which is working fine for english.

May be I should change the version?


Dear Parastoo,

the problem is your tex installation, not lyx. You said lyx works fine for
English. I take it you mean you can BOTH write in lyx and produce pdf
output, right? If so, you must have a version of (La)TeX installed and
working and you are probably just missing the arabart class. Try this:

First, find out if you have arabart.cls on your system. Open a terminal
window and type:

kpsewhich arabart.cls

You should get back a pathname indicating where arabart is installed. If
you get nothing back, then you don't have it installed and need to update
your tex installation (see below). If you do get a path back (I get
/usr/local/texlive/2012/texmf-dist/tex/latex/arabtex/arabart.cls but I use
Archlinux, not Mint), then you just need to reconfigure Lyx with
Tools>>Reconfigure , close it and restart it.

If you do not have arabart.cls installed:

You need to upgrade/extend your tex installation and how to do so depends
on how you installed it in the first place. Linux Mint is a
Ubuntu-derivative. Did  you use Mint's package installer? If so, go to the
package installer again, and check that you have installed a package called
texlive-lang-arab . That is what you need. If it is not installed, install
it, then reconfigure lyx as described above and you should be ready to go.

If, instead, you did not use Mint's package installer and installed texlive
from their DVD or online from ctan.org, you should use your texlive package
manager. Open a terminal window, type:

tlmgr  --gui

you have an installer for tex packages only. Search for arabtex and install
it, then reconficure lyx and restart it.

Please report back---and address the message to the list, so other people
can benefit as well.

Cheers,


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Exercise Numbering

2013-02-12 Thread Scott Kostyshak
On Tue, Feb 12, 2013 at 9:28 PM, Jane Shevtsov  wrote:
>
> On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck  wrote:
>>
>>
>> If what you want is for all the counters to reset even when you start an
>> unnumbered section, then this will take a little bit of LaTeX magic, but is
>> perfectly do-able.
>
>
> Yep, that's what I want. What LaTeX code do I need?

Hi Jane, could you please send post a Minimum Working Example? See
http://wiki.lyx.org/FAQ/MWE

Best,

Scott


Re: Exercise Numbering

2013-02-12 Thread Jane Shevtsov
On Tue, Feb 12, 2013 at 9:46 PM, Scott Kostyshak wrote:

> On Tue, Feb 12, 2013 at 9:28 PM, Jane Shevtsov  wrote:
> >
> > On Tue, Feb 12, 2013 at 6:09 PM, Richard Heck  wrote:
> >>
> >>
> >> If what you want is for all the counters to reset even when you start an
> >> unnumbered section, then this will take a little bit of LaTeX magic,
> but is
> >> perfectly do-able.
> >
> >
> > Yep, that's what I want. What LaTeX code do I need?
>
> Hi Jane, could you please send post a Minimum Working Example? See
> http://wiki.lyx.org/FAQ/MWE
>
>
Here's an example of what's happening now.

Best,
Jane

-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


problem numbering MWE.lyx
Description: Binary data