Re: Math Palettes are ineffective (MAC OS EL CAPITAN - LyX 2.1.4)

2015-11-16 Thread James Sutherland
I can confirm this problem.
My suggestion is to type out the latex form for characters rather than
using the palettes.  This is faster, but does require that you know the
latex form.
James


On Fri, Nov 13, 2015 at 11:12 AM, Pierre Bessière 
wrote:

> Hi all,
>
> I just updated Lyx to 2.1.4 on a Powerbook Pro with OS X (10.11.1).
> There is a very interesting, strange and bothersome phenomena : the math
> palettes are „transparent“ for the mouse.
> If you click on a math palette with a background that is not the Lyx
> window, it works.
> On the contrary if you click on a math palette with a background that is
> the Lyx window, then what you get is what you would get without the math
> palette popped…
> I saw some discussions on that subject in the archive in early October but
> no solution.
> Any one has anything to suggest ?
>
> Thanks :-)
> _
> Pierre Bessière
> pie...@bessiere.org 
> Skype: Pierre.Bessiere
> _
>
>
>
>
>
>


Re: Does LyX work with MBP Retina screen?

2015-10-05 Thread James Sutherland
Scott,

LyX works fine with MBP Retina displays.  However, it doesn't look very
good on those screens (it looks slightly pixelated).  It is a matter of
appearance, not functionality.

James
On Oct 4, 2015 4:43 PM, "Scott Kostyshak"  wrote:

> I have read that LyX 2.1.4 does work, but with some tweaks.
>
> Do we have confirmation that LyX 2.2.0dev works better?
>
> I often get this question.
>
> Scott
>


Re: graphical float placements

2015-03-26 Thread James Sutherland
Try using Inset - Formatting - Clear Page, which will dump all floats and
get LaTeX out of its confused state.

​James
​


On Wed, Mar 25, 2015 at 3:57 PM, fmsal...@virginmedia.com 
fmsal...@virginmedia.com wrote:

 Stephan Buonopane wrote:

 |  If you want full manual control of float placement, go to
 |  Edit - Float Settings - Here Definitely
 |  There are other options there as well.

  Thanks for your help but I have examined the manual and the
 experiences I am trying to discuss do not match the description there.

 I believe that the movement to the end and then after many editing
 actions, the return to the locations I had set previously, using the
 graphical interface provided,  demonstrates the problem experienced.  I had
 also tried to set the location in the manner you suggested but this had
 also failed to produce the intended effect.

 Regards
  Frank Salter




Re: graphical float placements

2015-03-26 Thread James Sutherland
Try using Inset - Formatting - Clear Page, which will dump all floats and
get LaTeX out of its confused state.

​James
​


On Wed, Mar 25, 2015 at 3:57 PM, fmsal...@virginmedia.com 
fmsal...@virginmedia.com wrote:

 Stephan Buonopane wrote:

 |  If you want full manual control of float placement, go to
 |  Edit - Float Settings - Here Definitely
 |  There are other options there as well.

  Thanks for your help but I have examined the manual and the
 experiences I am trying to discuss do not match the description there.

 I believe that the movement to the end and then after many editing
 actions, the return to the locations I had set previously, using the
 graphical interface provided,  demonstrates the problem experienced.  I had
 also tried to set the location in the manner you suggested but this had
 also failed to produce the intended effect.

 Regards
  Frank Salter




Re: graphical float placements

2015-03-26 Thread James Sutherland
Try using Inset -> Formatting -> Clear Page, which will dump all floats and
get LaTeX out of its confused state.

​James
​


On Wed, Mar 25, 2015 at 3:57 PM, fmsal...@virginmedia.com <
fmsal...@virginmedia.com> wrote:

> Stephan Buonopane wrote:
>
> |  If you want full manual control of float placement, go to
> |  Edit -> Float Settings -> Here Definitely
> |  There are other options there as well.
>
>  Thanks for your help but I have examined the manual and the
> experiences I am trying to discuss do not match the description there.
>
> I believe that the movement to the end and then after many editing
> actions, the return to the locations I had set previously, using the
> graphical interface provided,  demonstrates the problem experienced.  I had
> also tried to set the location in the manner you suggested but this had
> also failed to produce the intended effect.
>
> Regards
>  Frank Salter
>
>


Re: LyX on Retina display

2015-01-13 Thread James Sutherland
Philippe,

Once you use a retina display, anything else is hard on the eyes.  And the
LyX font issue on retina is a bit annoying because, by comparison,
everything else looks so clean.  However, it certainly is not unusable
and for anyone to claim otherwise is a bit of an overreaction.

I have been using LyX on a Retina-MBP since these were first released a few
years back, and use LyX frequently.  While I would love to see native
retina support in LyX, a lack of support would certainly not dissuade me
from purchasing a retina MBP and using LyX on it daily.

James


On Tue, Jan 13, 2015 at 7:11 AM, Philippe Lemoine 
philippe.h.lemo...@gmail.com wrote:

 Hi everybody,

 I was going to buy a MacBook Pro 15'' with Retina, but then I read that
 LyX doesn't support Retina. I've read some people say it's so bad as to
 make LyX unusable. If that's true, I will probably reconsider my decision
 to buy a MacBook.

 I wanted to ask if there was anyone here who is using LyX on a MacBook
 with Retina, so he can tell me whether it's really that bad. (It would be
 awesome if I could see a few screenshots to get a better idea of what
 people are talking about when they say it's all blurry, but even just
 written comments on your experience with LyX on a Retina screen would be
 great.)

 I was also wondering if there was any hope of seeing a version of LyX that
 supports Retina display anytime soon. There seems to be a patch out there,
 but I was under the impression that it was more like a hack and that there
 might be compatibility issues with future official versions of LyX.

 This is really important to me, thanks in advance!

 Best,
 Philippe




Re: LyX on Retina display

2015-01-13 Thread James Sutherland
Philippe,

Once you use a retina display, anything else is hard on the eyes.  And the
LyX font issue on retina is a bit annoying because, by comparison,
everything else looks so clean.  However, it certainly is not unusable
and for anyone to claim otherwise is a bit of an overreaction.

I have been using LyX on a Retina-MBP since these were first released a few
years back, and use LyX frequently.  While I would love to see native
retina support in LyX, a lack of support would certainly not dissuade me
from purchasing a retina MBP and using LyX on it daily.

James


On Tue, Jan 13, 2015 at 7:11 AM, Philippe Lemoine 
philippe.h.lemo...@gmail.com wrote:

 Hi everybody,

 I was going to buy a MacBook Pro 15'' with Retina, but then I read that
 LyX doesn't support Retina. I've read some people say it's so bad as to
 make LyX unusable. If that's true, I will probably reconsider my decision
 to buy a MacBook.

 I wanted to ask if there was anyone here who is using LyX on a MacBook
 with Retina, so he can tell me whether it's really that bad. (It would be
 awesome if I could see a few screenshots to get a better idea of what
 people are talking about when they say it's all blurry, but even just
 written comments on your experience with LyX on a Retina screen would be
 great.)

 I was also wondering if there was any hope of seeing a version of LyX that
 supports Retina display anytime soon. There seems to be a patch out there,
 but I was under the impression that it was more like a hack and that there
 might be compatibility issues with future official versions of LyX.

 This is really important to me, thanks in advance!

 Best,
 Philippe




Re: LyX on Retina display

2015-01-13 Thread James Sutherland
Philippe,

Once you use a retina display, anything else is hard on the eyes.  And the
LyX font issue on retina is a bit annoying because, by comparison,
everything else looks so clean.  However, it certainly is not "unusable"
and for anyone to claim otherwise is a bit of an overreaction.

I have been using LyX on a Retina-MBP since these were first released a few
years back, and use LyX frequently.  While I would love to see native
retina support in LyX, a lack of support would certainly not dissuade me
from purchasing a retina MBP and using LyX on it daily.

James


On Tue, Jan 13, 2015 at 7:11 AM, Philippe Lemoine <
philippe.h.lemo...@gmail.com> wrote:

> Hi everybody,
>
> I was going to buy a MacBook Pro 15'' with Retina, but then I read that
> LyX doesn't support Retina. I've read some people say it's so bad as to
> make LyX unusable. If that's true, I will probably reconsider my decision
> to buy a MacBook.
>
> I wanted to ask if there was anyone here who is using LyX on a MacBook
> with Retina, so he can tell me whether it's really that bad. (It would be
> awesome if I could see a few screenshots to get a better idea of what
> people are talking about when they say it's all blurry, but even just
> written comments on your experience with LyX on a Retina screen would be
> great.)
>
> I was also wondering if there was any hope of seeing a version of LyX that
> supports Retina display anytime soon. There seems to be a patch out there,
> but I was under the impression that it was more like a hack and that there
> might be compatibility issues with future official versions of LyX.
>
> This is really important to me, thanks in advance!
>
> Best,
> Philippe
>
>


Re: Center All Graphics

2014-10-02 Thread James Sutherland
Better yet, why doesn't LyX center graphics (at least in floats) by
default?  It centers captions by default, so why not graphics? This
inconsistency has long annoyed me...

​James
​


On Thu, Oct 2, 2014 at 2:19 PM, Chris Rackauckas m...@chrisrackauckas.com
wrote:

 Hello,
   I am trying to create a modification that will center all graphics
 automatically. How would I go about doing this? I tried
 adding \usepackage{floatrow} to the LaTeX preamble but this only centers
 graphics put into floats. Any ideas?
 _
 Chris Rackauckas
 University of California, Irvine
 Department of Mathematics
 www.chrisrackauckas.com



Re: Center All Graphics

2014-10-02 Thread James Sutherland
Better yet, why doesn't LyX center graphics (at least in floats) by
default?  It centers captions by default, so why not graphics? This
inconsistency has long annoyed me...

​James
​


On Thu, Oct 2, 2014 at 2:19 PM, Chris Rackauckas m...@chrisrackauckas.com
wrote:

 Hello,
   I am trying to create a modification that will center all graphics
 automatically. How would I go about doing this? I tried
 adding \usepackage{floatrow} to the LaTeX preamble but this only centers
 graphics put into floats. Any ideas?
 _
 Chris Rackauckas
 University of California, Irvine
 Department of Mathematics
 www.chrisrackauckas.com



Re: Center All Graphics

2014-10-02 Thread James Sutherland
Better yet, why doesn't LyX center graphics (at least in floats) by
default?  It centers captions by default, so why not graphics? This
inconsistency has long annoyed me...

​James
​


On Thu, Oct 2, 2014 at 2:19 PM, Chris Rackauckas 
wrote:

> Hello,
>   I am trying to create a modification that will center all graphics
> automatically. How would I go about doing this? I tried
> adding \usepackage{floatrow} to the LaTeX preamble but this only centers
> graphics put into floats. Any ideas?
> _
> Chris Rackauckas
> University of California, Irvine
> Department of Mathematics
> www.chrisrackauckas.com
>


cannot select local bst file?

2014-08-01 Thread James Sutherland
I am running LyX 2.1.1 on a Mac with OSX 10.9.4.

When I try to select a local *.bst file in a bibliography, the console
shows the following error:

 2014-08-01 09:36:45.338 lyx[52673:303] modalSession has been exited
 prematurely - check for a reentrant call to endModalSession:
 2014-08-01 09:38:13.692 lyx[52673:303] modalSession has been exited
 prematurely - check for a reentrant call to endModalSession:
 2014-08-01 09:38:47.091 lyx[52673:303] modalSession has been exited
 prematurely - check for a reentrant call to endModalSession:


Any ideas on how to fix this issue?

Thanks,

James


cannot select local bst file?

2014-08-01 Thread James Sutherland
I am running LyX 2.1.1 on a Mac with OSX 10.9.4.

When I try to select a local *.bst file in a bibliography, the console
shows the following error:

 2014-08-01 09:36:45.338 lyx[52673:303] modalSession has been exited
 prematurely - check for a reentrant call to endModalSession:
 2014-08-01 09:38:13.692 lyx[52673:303] modalSession has been exited
 prematurely - check for a reentrant call to endModalSession:
 2014-08-01 09:38:47.091 lyx[52673:303] modalSession has been exited
 prematurely - check for a reentrant call to endModalSession:


Any ideas on how to fix this issue?

Thanks,

James


cannot select local bst file?

2014-08-01 Thread James Sutherland
I am running LyX 2.1.1 on a Mac with OSX 10.9.4.

When I try to select a local *.bst file in a bibliography, the console
shows the following error:

> 2014-08-01 09:36:45.338 lyx[52673:303] modalSession has been exited
> prematurely - check for a reentrant call to endModalSession:
> 2014-08-01 09:38:13.692 lyx[52673:303] modalSession has been exited
> prematurely - check for a reentrant call to endModalSession:
> 2014-08-01 09:38:47.091 lyx[52673:303] modalSession has been exited
> prematurely - check for a reentrant call to endModalSession:


Any ideas on how to fix this issue?

Thanks,

James


Re: Installing Lyx/Mac w/out MacTeX. Is it possible?

2014-01-29 Thread James Sutherland
Note that some things won't work as nice - like the preview option
available for some ERT or equations which get typeset in place by running
latex in the background.  Other than that, it should work as a text editor
just fine.

James

 http://meetme.so/sutherland


On Wed, Jan 29, 2014 at 12:05 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Wed, Jan 29, 2014 at 6:45 PM, Richard Heck rgh...@lyx.org wrote:
  On 01/29/2014 12:19 PM, stefano franchi wrote:
 
  I am trying to convince a Mac-only colleague to use LyX on a common
 project.
  She resists installing TeX on her system, for a number of reasons.
 
  But she won't need to typeset anything---I'll be in charge of that---and
  will only use LyX to edit jointly produced file.
 
  A LyX-only installation would suit her needs perfectly. But I can't
 figure
  out from the lyx.org page if this is possible at all. The page says:
 
  LyX for Mac OS X is available here: LyX-2.0.7+qt4.dmg. Before you
 install
  LyX you need to install a TeX system such as MacTeX. 
 
  Is that requirement enforced? I don't have a Mac at my disposal to try it
  out.
 
 I don't think so. LyX works fine without LaTeX; it's just that you
 cannot compile documents with LaTeX. But you can edit LyX files.

 Liviu


 
  I'll try to figure this out here.
 
  FYI, do not use that binary. It has issues. We will be releasing 2.0.7.1
  shortly. You can use 2.0.6 for the time being, or wait a day or two.
 
  Richard
 



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: Installing Lyx/Mac w/out MacTeX. Is it possible?

2014-01-29 Thread James Sutherland
Note that some things won't work as nice - like the preview option
available for some ERT or equations which get typeset in place by running
latex in the background.  Other than that, it should work as a text editor
just fine.

James

 http://meetme.so/sutherland


On Wed, Jan 29, 2014 at 12:05 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Wed, Jan 29, 2014 at 6:45 PM, Richard Heck rgh...@lyx.org wrote:
  On 01/29/2014 12:19 PM, stefano franchi wrote:
 
  I am trying to convince a Mac-only colleague to use LyX on a common
 project.
  She resists installing TeX on her system, for a number of reasons.
 
  But she won't need to typeset anything---I'll be in charge of that---and
  will only use LyX to edit jointly produced file.
 
  A LyX-only installation would suit her needs perfectly. But I can't
 figure
  out from the lyx.org page if this is possible at all. The page says:
 
  LyX for Mac OS X is available here: LyX-2.0.7+qt4.dmg. Before you
 install
  LyX you need to install a TeX system such as MacTeX. 
 
  Is that requirement enforced? I don't have a Mac at my disposal to try it
  out.
 
 I don't think so. LyX works fine without LaTeX; it's just that you
 cannot compile documents with LaTeX. But you can edit LyX files.

 Liviu


 
  I'll try to figure this out here.
 
  FYI, do not use that binary. It has issues. We will be releasing 2.0.7.1
  shortly. You can use 2.0.6 for the time being, or wait a day or two.
 
  Richard
 



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: Installing Lyx/Mac w/out MacTeX. Is it possible?

2014-01-29 Thread James Sutherland
Note that some things won't work as nice - like the "preview" option
available for some ERT or equations which get typeset in place by running
latex in the background.  Other than that, it should work as a text editor
just fine.

James

 


On Wed, Jan 29, 2014 at 12:05 PM, Liviu Andronic wrote:

> On Wed, Jan 29, 2014 at 6:45 PM, Richard Heck  wrote:
> > On 01/29/2014 12:19 PM, stefano franchi wrote:
> >
> > I am trying to convince a Mac-only colleague to use LyX on a common
> project.
> > She resists installing TeX on her system, for a number of reasons.
> >
> > But she won't need to typeset anything---I'll be in charge of that---and
> > will only use LyX to edit jointly produced file.
> >
> > A LyX-only installation would suit her needs perfectly. But I can't
> figure
> > out from the lyx.org page if this is possible at all. The page says:
> >
> > "LyX for Mac OS X is available here: LyX-2.0.7+qt4.dmg. Before you
> install
> > LyX you need to install a TeX system such as MacTeX. "
> >
> > Is that requirement enforced? I don't have a Mac at my disposal to try it
> > out.
> >
> I don't think so. LyX works fine without LaTeX; it's just that you
> cannot compile documents with LaTeX. But you can edit LyX files.
>
> Liviu
>
>
> >
> > I'll try to figure this out here.
> >
> > FYI, do not use that binary. It has issues. We will be releasing 2.0.7.1
> > shortly. You can use 2.0.6 for the time being, or wait a day or two.
> >
> > Richard
> >
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>


Re: Anyone used Lyx on Mac OS X Mavericks

2013-10-31 Thread James Sutherland
I just started testing with Mavericks and haven't seen any trouble with LyX.
James



On Wed, Oct 30, 2013 at 12:41 PM, Murat Yildizoglu 
murat.yildizo...@u-bordeaux4.fr wrote:

 This probably depends on your keyboard configuration too. I use a
 customized French configuration where \ is inserted using the sterling key
 (that I never use anyway), and this works under Mavericks and Lyx 2.05 and
 2.1 beta1 in my case.


 2013/10/30 Robert Betz robert.b...@newcastle.edu.au


   I have recently installed Mavericks. Lyx works, but have found the the
 ‘\’ character does not print on the screen. Instead one gets a “ (inverted
 comma) character. This occurs in general text, and the ERTs and in Maths
 equations.

  Has anyone come across this, and do they know of a fix.

  Thanks.

  Regards,

  Bob


 *PROFESSOR ROBERT BETZ*
 *Head of School*
 School of Electrical Engineering and Computer Science
 Faculty of Engineering and Built Environment

 T: +61 2 4921 6091
 M: +61 (0)419 249 948
 F: +61 2 4921 6993
 E: robert.b...@newcastle.edu.au

 *The University of Newcastle (UoN)*
 University Drive
 Callaghan NSW 2308
 Australia

 CRICOS Provider 00109J

   http://www.newcastle.edu.au/  [image: Web] http://s.uon.nu/l/1 [image:
 Blog] http://s.uon.nu/l/2 [image: Facebook] http://s.uon.nu/l/3 [image:
 Twitter] http://s.uon.nu/l/4 [image: YouTube] http://s.uon.nu/l/5




 --
 Prof. Murat Yildizoglu

 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 Bureau : E-331

 mail: yildi-at-u-bordeaux4.fr

 web: yildizoglu.info



Re: Anyone used Lyx on Mac OS X Mavericks

2013-10-31 Thread James Sutherland
I just started testing with Mavericks and haven't seen any trouble with LyX.
James



On Wed, Oct 30, 2013 at 12:41 PM, Murat Yildizoglu 
murat.yildizo...@u-bordeaux4.fr wrote:

 This probably depends on your keyboard configuration too. I use a
 customized French configuration where \ is inserted using the sterling key
 (that I never use anyway), and this works under Mavericks and Lyx 2.05 and
 2.1 beta1 in my case.


 2013/10/30 Robert Betz robert.b...@newcastle.edu.au


   I have recently installed Mavericks. Lyx works, but have found the the
 ‘\’ character does not print on the screen. Instead one gets a “ (inverted
 comma) character. This occurs in general text, and the ERTs and in Maths
 equations.

  Has anyone come across this, and do they know of a fix.

  Thanks.

  Regards,

  Bob


 *PROFESSOR ROBERT BETZ*
 *Head of School*
 School of Electrical Engineering and Computer Science
 Faculty of Engineering and Built Environment

 T: +61 2 4921 6091
 M: +61 (0)419 249 948
 F: +61 2 4921 6993
 E: robert.b...@newcastle.edu.au

 *The University of Newcastle (UoN)*
 University Drive
 Callaghan NSW 2308
 Australia

 CRICOS Provider 00109J

   http://www.newcastle.edu.au/  [image: Web] http://s.uon.nu/l/1 [image:
 Blog] http://s.uon.nu/l/2 [image: Facebook] http://s.uon.nu/l/3 [image:
 Twitter] http://s.uon.nu/l/4 [image: YouTube] http://s.uon.nu/l/5




 --
 Prof. Murat Yildizoglu

 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 Bureau : E-331

 mail: yildi-at-u-bordeaux4.fr

 web: yildizoglu.info



Re: Anyone used Lyx on Mac OS X Mavericks

2013-10-31 Thread James Sutherland
I just started testing with Mavericks and haven't seen any trouble with LyX.
James



On Wed, Oct 30, 2013 at 12:41 PM, Murat Yildizoglu <
murat.yildizo...@u-bordeaux4.fr> wrote:

> This probably depends on your keyboard configuration too. I use a
> customized French configuration where \ is inserted using the sterling key
> (that I never use anyway), and this works under Mavericks and Lyx 2.05 and
> 2.1 beta1 in my case.
>
>
> 2013/10/30 Robert Betz 
>
>>
>>   I have recently installed Mavericks. Lyx works, but have found the the
>> ‘\’ character does not print on the screen. Instead one gets a “ (inverted
>> comma) character. This occurs in general text, and the ERTs and in Maths
>> equations.
>>
>>  Has anyone come across this, and do they know of a fix.
>>
>>  Thanks.
>>
>>  Regards,
>>
>>  Bob
>>
>>
>> *PROFESSOR ROBERT BETZ*
>> *Head of School*
>> School of Electrical Engineering and Computer Science
>> Faculty of Engineering and Built Environment
>>
>> T: +61 2 4921 6091
>> M: +61 (0)419 249 948
>> F: +61 2 4921 6993
>> E: robert.b...@newcastle.edu.au
>>
>> *The University of Newcastle (UoN)*
>> University Drive
>> Callaghan NSW 2308
>> Australia
>>
>> CRICOS Provider 00109J
>>
>>     [image: Web]  [image:
>> Blog]  [image: Facebook]  [image:
>> Twitter]  [image: YouTube] 
>>
>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> Bureau : E-331
>
> mail: yildi-at-u-bordeaux4.fr
>
> web: yildizoglu.info
>


Re: Lyx on Retina - works!

2013-07-01 Thread James Sutherland
Before I switch to a macports installation of LyX, can someone confirm that
the fonts show up properly (not blurred) as they do in the binary
installation?
Thanks,
James



On Wed, Jun 19, 2013 at 5:14 AM, Rainer M Krug rai...@krugs.de wrote:

 Hi

 I wasn't aware that this is working now, but I installed LyX on a
 Macbook Pro Retina via Macports, and it runs and it is normal size.

 Great.

 Cheers,

 Rainer

 --
 Rainer M. Krug

 email: RMKrugatgmaildotcom



Re: Lyx on Retina - works!

2013-07-01 Thread James Sutherland
Before I switch to a macports installation of LyX, can someone confirm that
the fonts show up properly (not blurred) as they do in the binary
installation?
Thanks,
James



On Wed, Jun 19, 2013 at 5:14 AM, Rainer M Krug rai...@krugs.de wrote:

 Hi

 I wasn't aware that this is working now, but I installed LyX on a
 Macbook Pro Retina via Macports, and it runs and it is normal size.

 Great.

 Cheers,

 Rainer

 --
 Rainer M. Krug

 email: RMKrugatgmaildotcom



Re: Lyx on Retina - works!

2013-07-01 Thread James Sutherland
Before I switch to a macports installation of LyX, can someone confirm that
the fonts show up properly (not blurred) as they do in the binary
installation?
Thanks,
James



On Wed, Jun 19, 2013 at 5:14 AM, Rainer M Krug  wrote:

> Hi
>
> I wasn't aware that this is working now, but I installed LyX on a
> Macbook Pro Retina via Macports, and it runs and it is normal size.
>
> Great.
>
> Cheers,
>
> Rainer
>
> --
> Rainer M. Krug
>
> email: RMKruggmailcom
>


Re: Caption-Figure Alignment

2013-03-08 Thread James Sutherland
On Fri, Mar 8, 2013 at 1:43 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Am Freitag, 8. März 2013, 01:39:18 schrieb Moco:
  Can anyone show me how to make caption and figure in a figure plot
  vertically aligned?
  For now, it seems that the caption is left-adjusted while the the figure
  is right-adjusted. I can partially manually fix this (either change the
  left- bottom value, or use minipage and the width setting).
   Still, I can never adjust
  the figure to the left, and the current way of fixing is quite laborous.

 -highlight the figure with the mouse
 -right click in it with mouse
 -in the drop down menue go to paragraph setting (between text style and
 language)
 -in the appearing box mark centered.

 Wolfgang


This has always been a source of frustration to me.  It seems like the
default behavior should be for the paragraph style in a float to be
centered.  This should be for tables and figures.

Is there any reason why the current behavior is favored over centering?

James


Re: Caption-Figure Alignment

2013-03-08 Thread James Sutherland
On Fri, Mar 8, 2013 at 1:43 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Am Freitag, 8. März 2013, 01:39:18 schrieb Moco:
  Can anyone show me how to make caption and figure in a figure plot
  vertically aligned?
  For now, it seems that the caption is left-adjusted while the the figure
  is right-adjusted. I can partially manually fix this (either change the
  left- bottom value, or use minipage and the width setting).
   Still, I can never adjust
  the figure to the left, and the current way of fixing is quite laborous.

 -highlight the figure with the mouse
 -right click in it with mouse
 -in the drop down menue go to paragraph setting (between text style and
 language)
 -in the appearing box mark centered.

 Wolfgang


This has always been a source of frustration to me.  It seems like the
default behavior should be for the paragraph style in a float to be
centered.  This should be for tables and figures.

Is there any reason why the current behavior is favored over centering?

James


Re: Caption-Figure Alignment

2013-03-08 Thread James Sutherland
On Fri, Mar 8, 2013 at 1:43 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> Am Freitag, 8. März 2013, 01:39:18 schrieb Moco:
> > Can anyone show me how to make caption and figure in a figure plot
> > vertically aligned?
> > For now, it seems that the caption is left-adjusted while the the figure
> > is right-adjusted. I can partially manually fix this (either change the
> > left- bottom value, or use minipage and the width setting).
> >  Still, I can never adjust
> > the figure to the left, and the current way of fixing is quite laborous.
>
> -highlight the figure with the mouse
> -right click in it with mouse
> -in the drop down menue go to paragraph setting (between text style and
> language)
> -in the appearing box mark centered.
>
> Wolfgang
>

This has always been a source of frustration to me.  It seems like the
default behavior should be for the paragraph style in a float to be
centered.  This should be for tables and figures.

Is there any reason why the current behavior is favored over centering?

James


Re: Lyx on MacBook Pro retina

2012-10-01 Thread James Sutherland
On Sun, Sep 30, 2012 at 1:48 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 30.09.2012 um 01:22 schrieb James Sutherland james.sutherl...@utah.edu
 :

  Here is a way to get it working (for the displayed text at least - icons
 are another matter):
 
  1. Edit /Applications/LyX.app/Contents/Info.plist
  2. At the bottom of that file, inside the dict scope, add the
 following two lines:
  keyNSHighResolutionCapable/key
  true/
 
  Restart LyX and you should be good to go!

 Yes, that's the theory. In practice helps for the displayed text of
 decorations and dialogs.
 It doesn't help with the main work area, unfortunately. Not here, at least.
 In any case it's a good move to add this to the applications Info property
 file.

 Stephan


You are right.
James


Re: Lyx on MacBook Pro retina

2012-10-01 Thread James Sutherland
On Sun, Sep 30, 2012 at 1:48 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 30.09.2012 um 01:22 schrieb James Sutherland james.sutherl...@utah.edu
 :

  Here is a way to get it working (for the displayed text at least - icons
 are another matter):
 
  1. Edit /Applications/LyX.app/Contents/Info.plist
  2. At the bottom of that file, inside the dict scope, add the
 following two lines:
  keyNSHighResolutionCapable/key
  true/
 
  Restart LyX and you should be good to go!

 Yes, that's the theory. In practice helps for the displayed text of
 decorations and dialogs.
 It doesn't help with the main work area, unfortunately. Not here, at least.
 In any case it's a good move to add this to the applications Info property
 file.

 Stephan


You are right.
James


Re: Lyx on MacBook Pro retina

2012-10-01 Thread James Sutherland
On Sun, Sep 30, 2012 at 1:48 AM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 30.09.2012 um 01:22 schrieb James Sutherland <james.sutherl...@utah.edu
> >:
>
> > Here is a way to get it working (for the displayed text at least - icons
> are another matter):
> >
> > 1. Edit /Applications/LyX.app/Contents/Info.plist
> > 2. At the bottom of that file, inside the  scope, add the
> following two lines:
> > NSHighResolutionCapable
> > 
> >
> > Restart LyX and you should be good to go!
>
> Yes, that's the theory. In practice helps for the displayed text of
> decorations and dialogs.
> It doesn't help with the main work area, unfortunately. Not here, at least.
> In any case it's a good move to add this to the applications Info property
> file.
>
> Stephan
>

You are right.
James


Re: Lyx on MacBook Pro retina

2012-09-29 Thread James Sutherland
Here is a way to get it working (for the displayed text at least - icons
are another matter):

1. Edit /Applications/LyX.app/Contents/Info.plist
2. At the bottom of that file, inside the dict scope, add the following
two lines:
keyNSHighResolutionCapable/key
true/

Restart LyX and you should be good to go!

James



On Fri, Sep 28, 2012 at 7:14 AM, Jacques Le Bourlot 
jacques.lebour...@obspm.fr wrote:


 Bonjour,

 I just got a new MacBook Pro 15 with retina screen (which nobody care, I
 guess). However, LyX is one of the very few applications which does NOT
 scale to the new resolution. The result is both blurry and extremely ugly.

 Is there a (VERY simple) way to fix that, or must I wait for an update?

 Thank you.

 Jacques



Re: Lyx on MacBook Pro retina

2012-09-29 Thread James Sutherland
Here is a way to get it working (for the displayed text at least - icons
are another matter):

1. Edit /Applications/LyX.app/Contents/Info.plist
2. At the bottom of that file, inside the dict scope, add the following
two lines:
keyNSHighResolutionCapable/key
true/

Restart LyX and you should be good to go!

James



On Fri, Sep 28, 2012 at 7:14 AM, Jacques Le Bourlot 
jacques.lebour...@obspm.fr wrote:


 Bonjour,

 I just got a new MacBook Pro 15 with retina screen (which nobody care, I
 guess). However, LyX is one of the very few applications which does NOT
 scale to the new resolution. The result is both blurry and extremely ugly.

 Is there a (VERY simple) way to fix that, or must I wait for an update?

 Thank you.

 Jacques



Re: Lyx on MacBook Pro retina

2012-09-29 Thread James Sutherland
Here is a way to get it working (for the displayed text at least - icons
are another matter):

1. Edit /Applications/LyX.app/Contents/Info.plist
2. At the bottom of that file, inside the  scope, add the following
two lines:
NSHighResolutionCapable


Restart LyX and you should be good to go!

James



On Fri, Sep 28, 2012 at 7:14 AM, Jacques Le Bourlot <
jacques.lebour...@obspm.fr> wrote:

>
> Bonjour,
>
> I just got a new MacBook Pro 15" with retina screen (which nobody care, I
> guess). However, LyX is one of the very few applications which does NOT
> scale to the new resolution. The result is both blurry and extremely ugly.
>
> Is there a (VERY simple) way to fix that, or must I wait for an update?
>
> Thank you.
>
> Jacques
>


Layout for changing font within a paragraph?

2012-05-04 Thread James Sutherland
LyX users,

I am trying to create a local layout that allows me to change the font.
 This is what I have so far:

 Format 35

 Style Revision

 CopyStyle Standard

 LatexName textcolor{red}

 LatexType Command

 Font

 Color Red

 EndFont

 End

The problem is that this applies to an entire paragraph.  How do I apply
this to only a few words/sentences within a paragraph?

Thanks,

James


Re: Layout for changing font within a paragraph?

2012-05-04 Thread James Sutherland
On Fri, May 4, 2012 at 11:06 AM, James Sutherland james.sutherl...@utah.edu
 wrote:

 LyX users,

 I am trying to create a local layout that allows me to change the font.
  This is what I have so far:

 Format 35

 Style Revision

 CopyStyle Standard

 LatexName textcolor{red}

 LatexType Command

 Font

 Color Red

 EndFont

 End

 The problem is that this applies to an entire paragraph.  How do I apply
 this to only a few words/sentences within a paragraph?

 Thanks,

 James



FYI, I found a solution using InsetLayout

 InsetLayout Flex:Revision

   LyXType charstyle

   MultiPar true

   LatexName textcolor

   LatexParam {red}

   LatexType Command

   Font

 Color Red

   EndFont

 End

This forces you to use Text Style to modify the text, but works fine.


Layout for changing font within a paragraph?

2012-05-04 Thread James Sutherland
LyX users,

I am trying to create a local layout that allows me to change the font.
 This is what I have so far:

 Format 35

 Style Revision

 CopyStyle Standard

 LatexName textcolor{red}

 LatexType Command

 Font

 Color Red

 EndFont

 End

The problem is that this applies to an entire paragraph.  How do I apply
this to only a few words/sentences within a paragraph?

Thanks,

James


Re: Layout for changing font within a paragraph?

2012-05-04 Thread James Sutherland
On Fri, May 4, 2012 at 11:06 AM, James Sutherland james.sutherl...@utah.edu
 wrote:

 LyX users,

 I am trying to create a local layout that allows me to change the font.
  This is what I have so far:

 Format 35

 Style Revision

 CopyStyle Standard

 LatexName textcolor{red}

 LatexType Command

 Font

 Color Red

 EndFont

 End

 The problem is that this applies to an entire paragraph.  How do I apply
 this to only a few words/sentences within a paragraph?

 Thanks,

 James



FYI, I found a solution using InsetLayout

 InsetLayout Flex:Revision

   LyXType charstyle

   MultiPar true

   LatexName textcolor

   LatexParam {red}

   LatexType Command

   Font

 Color Red

   EndFont

 End

This forces you to use Text Style to modify the text, but works fine.


Layout for changing font within a paragraph?

2012-05-04 Thread James Sutherland
LyX users,

I am trying to create a "local layout" that allows me to change the font.
 This is what I have so far:

> Format 35
>
> Style Revision
>
> CopyStyle Standard
>
> LatexName textcolor{red}
>
> LatexType Command
>
> Font
>
> Color Red
>
> EndFont
>
> End
>
The problem is that this applies to an entire paragraph.  How do I apply
this to only a few words/sentences within a paragraph?

Thanks,

James


Re: Layout for changing font within a paragraph?

2012-05-04 Thread James Sutherland
On Fri, May 4, 2012 at 11:06 AM, James Sutherland <james.sutherl...@utah.edu
> wrote:

> LyX users,
>
> I am trying to create a "local layout" that allows me to change the font.
>  This is what I have so far:
>
>> Format 35
>>
>> Style Revision
>>
>> CopyStyle Standard
>>
>> LatexName textcolor{red}
>>
>> LatexType Command
>>
>> Font
>>
>> Color Red
>>
>> EndFont
>>
>> End
>>
> The problem is that this applies to an entire paragraph.  How do I apply
> this to only a few words/sentences within a paragraph?
>
> Thanks,
>
> James
>


FYI, I found a solution using "InsetLayout"

> InsetLayout "Flex:Revision"
>
>   LyXType charstyle
>
>   MultiPar true
>
>   LatexName textcolor
>
>   LatexParam {red}
>
>   LatexType Command
>
>   Font
>
> Color Red
>
>   EndFont
>
> End
>
This forces you to use "Text Style" to modify the text, but works fine.


Re: word2lyx (Word to LyX Translator): Status Update

2012-03-02 Thread James Sutherland
Rob,
This sounds very nice!
Any ideas about whether you will be able to support cross references and
translate that into LyX/LaTeX labels/references?
James


On Fri, Mar 2, 2012 at 10:33 AM, Rob Oakes rob.oa...@oak-tree.us wrote:

  Dear Users and Developers,

 I wanted to give everyone a quick status update on what I've been doing
 with the Word to LyX importer.

 Over the past couple of weeks, I've been working on it full steam and it's
 now pretty functional. It supports:

1. Translating Word paragraph and character styles to LyX paragraph
and character styles. In the case of character styles that aren't defined,
it will write entries for them into the local layout (including basic LaTeX
commands).
2. Importing Word tables, including those with merged rows or columns.
It will also do its best with the table borders.
3. Enumerated and itemized lists.
4. Importing images from the Word document. (It skips over embedded
objects, such as charts from Excel.)
 5. The use of custom templates, which allows you to fine tune
importing your documents. I've created templates for article.cls and
book.cls. I'll also probably create one for memoir.cls as well.

 Before release, I still need to implement support for footnotes and
 endnotes (which is pretty easy).

 Which brings me to the main reason I'm writing. Before releasing the code,
 I'd really like to test it on a couple of in the wild documents. It does
 pretty well on the test documents I've thrown at it from my own library.
 But ... that's just me. I use Word in a very particular way.

 If there's anyone who wouldn't mind, I'd really like to throw other test
 documents at it. If you would be willing to donate one, please let me know.
 This would allow me to check a wide variety of work and nail down a couple
 more issues before a public test. I will keep all documents confidential
 and delete after I've finished testing.

 If everything goes well, I'll release the 0.1 version (which will still
 need quite some cleaning up) early next week.

 Cheers,

 Rob



Re: word2lyx (Word to LyX Translator): Status Update

2012-03-02 Thread James Sutherland
Rob,
This sounds very nice!
Any ideas about whether you will be able to support cross references and
translate that into LyX/LaTeX labels/references?
James


On Fri, Mar 2, 2012 at 10:33 AM, Rob Oakes rob.oa...@oak-tree.us wrote:

  Dear Users and Developers,

 I wanted to give everyone a quick status update on what I've been doing
 with the Word to LyX importer.

 Over the past couple of weeks, I've been working on it full steam and it's
 now pretty functional. It supports:

1. Translating Word paragraph and character styles to LyX paragraph
and character styles. In the case of character styles that aren't defined,
it will write entries for them into the local layout (including basic LaTeX
commands).
2. Importing Word tables, including those with merged rows or columns.
It will also do its best with the table borders.
3. Enumerated and itemized lists.
4. Importing images from the Word document. (It skips over embedded
objects, such as charts from Excel.)
 5. The use of custom templates, which allows you to fine tune
importing your documents. I've created templates for article.cls and
book.cls. I'll also probably create one for memoir.cls as well.

 Before release, I still need to implement support for footnotes and
 endnotes (which is pretty easy).

 Which brings me to the main reason I'm writing. Before releasing the code,
 I'd really like to test it on a couple of in the wild documents. It does
 pretty well on the test documents I've thrown at it from my own library.
 But ... that's just me. I use Word in a very particular way.

 If there's anyone who wouldn't mind, I'd really like to throw other test
 documents at it. If you would be willing to donate one, please let me know.
 This would allow me to check a wide variety of work and nail down a couple
 more issues before a public test. I will keep all documents confidential
 and delete after I've finished testing.

 If everything goes well, I'll release the 0.1 version (which will still
 need quite some cleaning up) early next week.

 Cheers,

 Rob



Re: word2lyx (Word to LyX Translator): Status Update

2012-03-02 Thread James Sutherland
Rob,
This sounds very nice!
Any ideas about whether you will be able to support cross references and
translate that into LyX/LaTeX labels/references?
James


On Fri, Mar 2, 2012 at 10:33 AM, Rob Oakes  wrote:

>  Dear Users and Developers,
>
> I wanted to give everyone a quick status update on what I've been doing
> with the Word to LyX importer.
>
> Over the past couple of weeks, I've been working on it full steam and it's
> now pretty functional. It supports:
>
>1. Translating Word paragraph and character styles to LyX paragraph
>and character styles. In the case of character styles that aren't defined,
>it will write entries for them into the local layout (including basic LaTeX
>commands).
>2. Importing Word tables, including those with merged rows or columns.
>It will also do its best with the table borders.
>3. Enumerated and itemized lists.
>4. Importing images from the Word document. (It skips over embedded
>objects, such as charts from Excel.)
> 5. The use of custom templates, which allows you to fine tune
>importing your documents. I've created templates for article.cls and
>book.cls. I'll also probably create one for memoir.cls as well.
>
> Before release, I still need to implement support for footnotes and
> endnotes (which is pretty easy).
>
> Which brings me to the main reason I'm writing. Before releasing the code,
> I'd really like to test it on a couple of "in the wild" documents. It does
> pretty well on the test documents I've thrown at it from my own library.
> But ... that's just me. I use Word in a very particular way.
>
> If there's anyone who wouldn't mind, I'd really like to throw other test
> documents at it. If you would be willing to donate one, please let me know.
> This would allow me to check a wide variety of work and nail down a couple
> more issues before a public test. I will keep all documents confidential
> and delete after I've finished testing.
>
> If everything goes well, I'll release the 0.1 version (which will still
> need quite some cleaning up) early next week.
>
> Cheers,
>
> Rob
>


Re: Slow scrolling

2012-01-04 Thread James Sutherland
On Tue, Jan 3, 2012 at 5:08 PM, Jerry lancebo...@qwest.net wrote:


 On Jan 3, 2012, at 4:51 PM, Steve Litt wrote:

  On Monday, January 02, 2012 10:12:47 PM Jerry wrote:
  I'm evaluating LyX for a major project and am mightily impressed.
 
  However, there is one problem that stands out: Scrolling the main
  LyX window is excruciatingly slow. I'm using LyX 2.0.2 and OS X
  10.6.8. It doesn't seem to matter how I scroll--two-finger swipe
  on MacBook Pro trackpad or using the thumb bar or clicking on the
  normal scrolling arrows. When scrolling rather fast or using the
  two-finger ballistic scrolling, there are large jumps between
  screen updates; sometimes the jump is more than an entire
  screenful so there is little hope of reliably spotting things as
  they go by. While scrolling, processor usage goes to 100%
 

 Hmmm. I suspect that the problem is worse on my machine because even
 scrolling small amounts (a few lines or a couple of pages) is so
 laggy/jumpy that it is easily noticeable/annoying--hard to track features
 as they go by.

 Scrolling large distances in a short time pretty much takes place as fast
 as scrolling a native application; it's just that to get the job done in
 roughly the same amount of time, there are huge jumps.

 In an earlier post in this thread I noted that 2.0.1 was much better in
 this regard (I just tried 2.0.1 a couple hours ago), so at least in part,
 this is looks like a recent development.

 Jerry



FWIW, I have been noticing this issue on my Mac as well with LyX 2.0.2
(binary installation) and Mac OSX 10.7.2. It has occurred for me with small
documents as well as large ones.  Mouse-scrolling lags substantially.

I just tried it on another Mac system running OSX 10.6.8 and LyX 2.0.0.  No
problems there.  I then updated to LyX 2.0.2 on 10.6.8 and there were no
problems with that either.

So it appears that this issue is unique to LyX on OSX 10.7.x?

James


Re: Slow scrolling

2012-01-04 Thread James Sutherland
On Wed, Jan 4, 2012 at 9:57 AM, Murat Yildizoglu myi...@gmail.com wrote:

 Strange indeed,
 On my MBP(*), there is no visible lag. Using my touchpad's scroll down
 (two finger gesture), I can go from start of the Guide de l'utilisateur to
 its end in 14 seconds. Lyx 2.0.2, standard binary downloaded from Lyx.org
 (LyX-2.0.2+qt4-cocoa.dmg).

 Maybe I have not correctly understood your test?

 (*) 15 screen, 8GB RAM, 2.4GHz Core i7, OSX 10.7.2.


1. Open a document (e.g. the User Manual).
2. Either scroll with trackpad or scroll with the scroll bar on the right
side of the window.

There is a significant lag when scrolling. If you scroll back and forth,
the screen does not follow well at all.  Again, I only observe this on OSX
10.7.2 - not on 10.6.8.

2.3 GHz i7 with 8 GB RAM.


Re: Slow scrolling

2012-01-04 Thread James Sutherland
On Tue, Jan 3, 2012 at 5:08 PM, Jerry lancebo...@qwest.net wrote:


 On Jan 3, 2012, at 4:51 PM, Steve Litt wrote:

  On Monday, January 02, 2012 10:12:47 PM Jerry wrote:
  I'm evaluating LyX for a major project and am mightily impressed.
 
  However, there is one problem that stands out: Scrolling the main
  LyX window is excruciatingly slow. I'm using LyX 2.0.2 and OS X
  10.6.8. It doesn't seem to matter how I scroll--two-finger swipe
  on MacBook Pro trackpad or using the thumb bar or clicking on the
  normal scrolling arrows. When scrolling rather fast or using the
  two-finger ballistic scrolling, there are large jumps between
  screen updates; sometimes the jump is more than an entire
  screenful so there is little hope of reliably spotting things as
  they go by. While scrolling, processor usage goes to 100%
 

 Hmmm. I suspect that the problem is worse on my machine because even
 scrolling small amounts (a few lines or a couple of pages) is so
 laggy/jumpy that it is easily noticeable/annoying--hard to track features
 as they go by.

 Scrolling large distances in a short time pretty much takes place as fast
 as scrolling a native application; it's just that to get the job done in
 roughly the same amount of time, there are huge jumps.

 In an earlier post in this thread I noted that 2.0.1 was much better in
 this regard (I just tried 2.0.1 a couple hours ago), so at least in part,
 this is looks like a recent development.

 Jerry



FWIW, I have been noticing this issue on my Mac as well with LyX 2.0.2
(binary installation) and Mac OSX 10.7.2. It has occurred for me with small
documents as well as large ones.  Mouse-scrolling lags substantially.

I just tried it on another Mac system running OSX 10.6.8 and LyX 2.0.0.  No
problems there.  I then updated to LyX 2.0.2 on 10.6.8 and there were no
problems with that either.

So it appears that this issue is unique to LyX on OSX 10.7.x?

James


Re: Slow scrolling

2012-01-04 Thread James Sutherland
On Wed, Jan 4, 2012 at 9:57 AM, Murat Yildizoglu myi...@gmail.com wrote:

 Strange indeed,
 On my MBP(*), there is no visible lag. Using my touchpad's scroll down
 (two finger gesture), I can go from start of the Guide de l'utilisateur to
 its end in 14 seconds. Lyx 2.0.2, standard binary downloaded from Lyx.org
 (LyX-2.0.2+qt4-cocoa.dmg).

 Maybe I have not correctly understood your test?

 (*) 15 screen, 8GB RAM, 2.4GHz Core i7, OSX 10.7.2.


1. Open a document (e.g. the User Manual).
2. Either scroll with trackpad or scroll with the scroll bar on the right
side of the window.

There is a significant lag when scrolling. If you scroll back and forth,
the screen does not follow well at all.  Again, I only observe this on OSX
10.7.2 - not on 10.6.8.

2.3 GHz i7 with 8 GB RAM.


Re: Slow scrolling

2012-01-04 Thread James Sutherland
On Tue, Jan 3, 2012 at 5:08 PM, Jerry  wrote:

>
> On Jan 3, 2012, at 4:51 PM, Steve Litt wrote:
>
> > On Monday, January 02, 2012 10:12:47 PM Jerry wrote:
> >> I'm evaluating LyX for a major project and am mightily impressed.
> >>
> >> However, there is one problem that stands out: Scrolling the main
> >> LyX window is excruciatingly slow. I'm using LyX 2.0.2 and OS X
> >> 10.6.8. It doesn't seem to matter how I scroll--two-finger swipe
> >> on MacBook Pro trackpad or using the thumb bar or clicking on the
> >> normal scrolling arrows. When scrolling rather fast or using the
> >> two-finger "ballistic scrolling", there are large jumps between
> >> screen updates; sometimes the jump is more than an entire
> >> screenful so there is little hope of reliably spotting things as
> >> they go by. While scrolling, processor usage goes to 100%
> >>
>
> Hmmm. I suspect that the problem is worse on my machine because even
> scrolling small amounts (a few lines or a couple of pages) is so
> laggy/jumpy that it is easily noticeable/annoying--hard to track features
> as they go by.
>
> Scrolling large distances in a short time pretty much takes place as fast
> as scrolling a native application; it's just that to get the job done in
> roughly the same amount of time, there are huge jumps.
>
> In an earlier post in this thread I noted that 2.0.1 was much better in
> this regard (I just tried 2.0.1 a couple hours ago), so at least in part,
> this is looks like a recent development.
>
> Jerry



FWIW, I have been noticing this issue on my Mac as well with LyX 2.0.2
(binary installation) and Mac OSX 10.7.2. It has occurred for me with small
documents as well as large ones.  Mouse-scrolling lags substantially.

I just tried it on another Mac system running OSX 10.6.8 and LyX 2.0.0.  No
problems there.  I then updated to LyX 2.0.2 on 10.6.8 and there were no
problems with that either.

So it appears that this issue is unique to LyX on OSX 10.7.x?

James


Re: Slow scrolling

2012-01-04 Thread James Sutherland
On Wed, Jan 4, 2012 at 9:57 AM, Murat Yildizoglu  wrote:

> Strange indeed,
> On my MBP(*), there is no visible lag. Using my touchpad's scroll down
> (two finger gesture), I can go from start of the Guide de l'utilisateur to
> its end in 14 seconds. Lyx 2.0.2, standard binary downloaded from Lyx.org
> (LyX-2.0.2+qt4-cocoa.dmg).
>
> Maybe I have not correctly understood your test?
>
> (*) 15" screen, 8GB RAM, 2.4GHz Core i7, OSX 10.7.2.
>
>
1. Open a document (e.g. the User Manual).
2. Either scroll with trackpad or scroll with the scroll bar on the right
side of the window.

There is a significant lag when scrolling. If you scroll back and forth,
the screen does not follow well at all.  Again, I only observe this on OSX
10.7.2 - not on 10.6.8.

2.3 GHz i7 with 8 GB RAM.


Re: Lyx 2.0.1 not working on Lion

2011-10-01 Thread James Sutherland
FWIW, I have been running LyX 2.0.1 on Lion for a month or more now without
problems.

Perhaps it is something else in your software stack causing the problem
(e.g. your LaTeX installation)?

I am using MacPorts for my LaTeX distribution, so I cannot comment on MacTex
compatibility, but this indicates that it should work:
  http://roaringapps.com/app:1049

Is it crashing on LyX launch or when you compile a document?

James


On Sat, Oct 1, 2011 at 1:21 AM, Mark mark@bigpond.net.au wrote:

 Hi,

 After upgrading to Lion I checked that my Lyx installation worked -
 no problem. Now when I try to run it,
  it fails with the PowerPC applications not supported error from
 Lion. I'm not sure what changed - don't
  remember checking Lyx 2.0.1 was ok when I downloaded it or
 maybe it was a Mac OS upgrade.

 I did searching on the web and here to see if anyone else had this
 problem and found:

 It sounds to me like they are not using the unpack-and-run
 version. This problem has been around for a
 couple of years for OS X users who have not installed the Rosetta
 emulator that runs PPC code. Now that
 PPC emulation is no longer included in Lion, users who have
 upgraded will only be able to use unpack-
 and-run version, unless the development team upgrades the
 software they have been using to bundle up
 the application for installation on a Mac.

 in a forum regarding Elan on Mac OS Lion:
  (http://www.lat-mpi.eu/tools/elan/elanforum/
 post201107264935516415)

 perhaps this is relevant.

 Can anyone help me get Lyx working again?

 Mark





Re: Lyx 2.0.1 not working on Lion

2011-10-01 Thread James Sutherland
FWIW, I have been running LyX 2.0.1 on Lion for a month or more now without
problems.

Perhaps it is something else in your software stack causing the problem
(e.g. your LaTeX installation)?

I am using MacPorts for my LaTeX distribution, so I cannot comment on MacTex
compatibility, but this indicates that it should work:
  http://roaringapps.com/app:1049

Is it crashing on LyX launch or when you compile a document?

James


On Sat, Oct 1, 2011 at 1:21 AM, Mark mark@bigpond.net.au wrote:

 Hi,

 After upgrading to Lion I checked that my Lyx installation worked -
 no problem. Now when I try to run it,
  it fails with the PowerPC applications not supported error from
 Lion. I'm not sure what changed - don't
  remember checking Lyx 2.0.1 was ok when I downloaded it or
 maybe it was a Mac OS upgrade.

 I did searching on the web and here to see if anyone else had this
 problem and found:

 It sounds to me like they are not using the unpack-and-run
 version. This problem has been around for a
 couple of years for OS X users who have not installed the Rosetta
 emulator that runs PPC code. Now that
 PPC emulation is no longer included in Lion, users who have
 upgraded will only be able to use unpack-
 and-run version, unless the development team upgrades the
 software they have been using to bundle up
 the application for installation on a Mac.

 in a forum regarding Elan on Mac OS Lion:
  (http://www.lat-mpi.eu/tools/elan/elanforum/
 post201107264935516415)

 perhaps this is relevant.

 Can anyone help me get Lyx working again?

 Mark





Re: Lyx 2.0.1 not working on Lion

2011-10-01 Thread James Sutherland
FWIW, I have been running LyX 2.0.1 on Lion for a month or more now without
problems.

Perhaps it is something else in your software stack causing the problem
(e.g. your LaTeX installation)?

I am using MacPorts for my LaTeX distribution, so I cannot comment on MacTex
compatibility, but this indicates that it should work:
  http://roaringapps.com/app:1049

Is it crashing on LyX launch or when you compile a document?

James


On Sat, Oct 1, 2011 at 1:21 AM, Mark  wrote:

> Hi,
>
> After upgrading to Lion I checked that my Lyx installation worked -
> no problem. Now when I try to run it,
>  it fails with the "PowerPC applications not supported" error from
> Lion. I'm not sure what changed - don't
>  remember checking Lyx 2.0.1 was ok when I downloaded it or
> maybe it was a Mac OS upgrade.
>
> I did searching on the web and here to see if anyone else had this
> problem and found:
>
> "It sounds to me like they are not using the unpack-and-run
> version. This problem has been around for a
> couple of years for OS X users who have not installed the Rosetta
> emulator that runs PPC code. Now that
> PPC emulation is no longer included in Lion, users who have
> upgraded will only be able to use unpack-
> and-run version, unless the development team upgrades the
> software they have been using to bundle up
> the application for installation on a Mac."
>
> in a forum regarding Elan on Mac OS Lion:
>  (http://www.lat-mpi.eu/tools/elan/elanforum/
> post201107264935516415)
>
> perhaps this is relevant.
>
> Can anyone help me get Lyx working again?
>
> Mark
>
>
>


Re: 1.1999

2011-08-31 Thread James Sutherland
On Wed, Aug 31, 2011 at 6:22 PM, Charles Reichert creicher...@gmail.comwrote:

 If I have a number: 1.19... How can I get the bar (I forget the name)
 over the 9 so it just reads 1.199


In math mode:
   1.1\bar{99}


Re: 1.1999

2011-08-31 Thread James Sutherland
On Wed, Aug 31, 2011 at 6:22 PM, Charles Reichert creicher...@gmail.comwrote:

 If I have a number: 1.19... How can I get the bar (I forget the name)
 over the 9 so it just reads 1.199


In math mode:
   1.1\bar{99}


Re: 1.1999

2011-08-31 Thread James Sutherland
On Wed, Aug 31, 2011 at 6:22 PM, Charles Reichert wrote:

> If I have a number: 1.19... How can I get the bar (I forget the name)
> over the 9 so it just reads 1.199
>
>
In math mode:
   1.1\bar{99}


small feature request - center graphics

2011-08-04 Thread James Sutherland
I would like to request that floating graphics and table environments be
centered by default.  They are currently left-justified.  This is
particularly awkward since the caption is centered.

Is this a setting that can be changed locally?  If not, can we have a vote
on changing the default behavior in LyX?

Thanks!

James


small feature request - center graphics

2011-08-04 Thread James Sutherland
I would like to request that floating graphics and table environments be
centered by default.  They are currently left-justified.  This is
particularly awkward since the caption is centered.

Is this a setting that can be changed locally?  If not, can we have a vote
on changing the default behavior in LyX?

Thanks!

James


small feature request - center graphics

2011-08-04 Thread James Sutherland
I would like to request that floating graphics and table environments be
centered by default.  They are currently left-justified.  This is
particularly awkward since the caption is centered.

Is this a setting that can be changed locally?  If not, can we have a "vote"
on changing the default behavior in LyX?

Thanks!

James


bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #  
sign in it, i.e.  www.example.com/#1


Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a  
footnote.


I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in  
1.6.0rc3 - I haven't tried recompiling that particular file since  
then...


Can anyone verify that this is a bug?



newfile1.lyx
Description: Binary data




Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:


On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #
sign in it, i.e.  www.example.com/#1

Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a
footnote.

I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in
1.6.0rc3 - I haven't tried recompiling that particular file since
then...

Can anyone verify that this is a bug?


Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007  
on Kubuntu

Intrepid.


Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive  
2008.

Can anyone else on a Mac duplicate this?


Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's
the error message (repeated 3 times):

Illegal parameter number in definition of \...@tempa.

}

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things are all
screwed up? I'm going to assume that you meant ##.



Actually, the URL that I want to reference has a single #, not two ##.
It is quite strange that the individual hyperlink works, but it does  
not work when embedded in the footnote...


bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #  
sign in it, i.e.  www.example.com/#1


Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a  
footnote.


I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in  
1.6.0rc3 - I haven't tried recompiling that particular file since  
then...


Can anyone verify that this is a bug?



newfile1.lyx
Description: Binary data




Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:


On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #
sign in it, i.e.  www.example.com/#1

Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a
footnote.

I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in
1.6.0rc3 - I haven't tried recompiling that particular file since
then...

Can anyone verify that this is a bug?


Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007  
on Kubuntu

Intrepid.


Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive  
2008.

Can anyone else on a Mac duplicate this?


Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's
the error message (repeated 3 times):

Illegal parameter number in definition of \...@tempa.

}

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things are all
screwed up? I'm going to assume that you meant ##.



Actually, the URL that I want to reference has a single #, not two ##.
It is quite strange that the individual hyperlink works, but it does  
not work when embedded in the footnote...


bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the "target" field of the hyperlink, insert a URL with a "#"  
sign in it, i.e.  www.example.com/#1


Latex fails to compile this document.

A hyperlink with a "#" in the target works as long as it is NOT in a  
footnote.


I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in  
1.6.0rc3 - I haven't tried recompiling that particular file since  
then...


Can anyone verify that this is a bug?



newfile1.lyx
Description: Binary data




Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:


On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the "target" field of the hyperlink, insert a URL with a "#"
sign in it, i.e.  www.example.com/#1

Latex fails to compile this document.

A hyperlink with a "#" in the target works as long as it is NOT in a
footnote.

I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in
1.6.0rc3 - I haven't tried recompiling that particular file since
then...

Can anyone verify that this is a bug?


Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007  
on Kubuntu

Intrepid.


Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive  
2008.

Can anyone else on a Mac duplicate this?


Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's
the error message (repeated 3 times):

Illegal parameter number in definition of \...@tempa.

}

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things are all
screwed up? I'm going to assume that you meant ##.



Actually, the URL that I want to reference has a single #, not two ##.
It is quite strange that the individual hyperlink works, but it does  
not work when embedded in the footnote...


Re: Double click LyX on Mac doesn't open LyX

2008-12-19 Thread James Sutherland

So, where do I start?

Mac OS: 10.3.9
LyX Ver: 1.6.1


Not the answer you want, but you might start by updating the OS.  I  
haven't had any trouble with OS 10.5.x.  10.3.x is pretty old...


Re: Double click LyX on Mac doesn't open LyX

2008-12-19 Thread James Sutherland

So, where do I start?

Mac OS: 10.3.9
LyX Ver: 1.6.1


Not the answer you want, but you might start by updating the OS.  I  
haven't had any trouble with OS 10.5.x.  10.3.x is pretty old...


Re: Double click LyX on Mac doesn't open LyX

2008-12-19 Thread James Sutherland

So, where do I start?

Mac OS: 10.3.9
LyX Ver: 1.6.1


Not the answer you want, but you might start by updating the OS.  I  
haven't had any trouble with OS 10.5.x.  10.3.x is pretty old...


Re: cross-references in multiple documents

2008-12-18 Thread James Sutherland
While I am not a developer, and so cannot provide authoritative  
insight into this, my experience is that in 1.6 all references are  
available from all child documents IF you have the master or  
parent document loaded.


Note, however, that there are some issues with macros.  A macro  
defined in a parent document will compile fine in a child document,  
but the instant preview feature is broken.  No word as to if/when that  
will be fixed.


James

On Dec 18, 2008, at 10:32 AM, John Perry wrote:



In older versions of Lyx, cross-references with multiple documents  
showed up

conveniently, using a drop-down list in the cross-reference dialog.

I'm now using Lyx 1.6 and cannot find any such drop-down list in the  
dialog.
The help file on cross-references offers the following: This  
section is
somewhat out of date. Need to describe default master documents and  
how

children are opened when the master is. [[FIXME]]

Can someone help me out?
--
View this message in context: 
http://n2.nabble.com/cross-references-in-multiple-documents-tp1673957p1673957.html
Sent from the LyX - Users mailing list archive at Nabble.com.





Re: cross-references in multiple documents

2008-12-18 Thread James Sutherland
While I am not a developer, and so cannot provide authoritative  
insight into this, my experience is that in 1.6 all references are  
available from all child documents IF you have the master or  
parent document loaded.


Note, however, that there are some issues with macros.  A macro  
defined in a parent document will compile fine in a child document,  
but the instant preview feature is broken.  No word as to if/when that  
will be fixed.


James

On Dec 18, 2008, at 10:32 AM, John Perry wrote:



In older versions of Lyx, cross-references with multiple documents  
showed up

conveniently, using a drop-down list in the cross-reference dialog.

I'm now using Lyx 1.6 and cannot find any such drop-down list in the  
dialog.
The help file on cross-references offers the following: This  
section is
somewhat out of date. Need to describe default master documents and  
how

children are opened when the master is. [[FIXME]]

Can someone help me out?
--
View this message in context: 
http://n2.nabble.com/cross-references-in-multiple-documents-tp1673957p1673957.html
Sent from the LyX - Users mailing list archive at Nabble.com.





Re: cross-references in multiple documents

2008-12-18 Thread James Sutherland
While I am not a developer, and so cannot provide authoritative  
insight into this, my experience is that in 1.6 all references are  
available from all child documents IF you have the "master" or  
"parent" document loaded.


Note, however, that there are some issues with macros.  A macro  
defined in a parent document will compile fine in a child document,  
but the instant preview feature is broken.  No word as to if/when that  
will be fixed.


James

On Dec 18, 2008, at 10:32 AM, John Perry wrote:



In older versions of Lyx, cross-references with multiple documents  
showed up

conveniently, using a drop-down list in the cross-reference dialog.

I'm now using Lyx 1.6 and cannot find any such drop-down list in the  
dialog.
The help file on cross-references offers the following: "This  
section is
somewhat out of date. Need to describe default master documents and  
how

children are opened when the master is. [[FIXME]]"

Can someone help me out?
--
View this message in context: 
http://n2.nabble.com/cross-references-in-multiple-documents-tp1673957p1673957.html
Sent from the LyX - Users mailing list archive at Nabble.com.





Re: Spellchecking / Aspell problems

2008-12-17 Thread James Sutherland

On the mac, I used Fink to install ispell.
http://www.finkproject.org/index.php
That worked just fine.  Then you don't even need the developer tools -  
unless you want to compile from source...


James

On Dec 17, 2008, at 1:01 PM, jezZiFeR wrote:


Hello,

I installed the mac developer tools and Aspell, but I couldn´t get  
spellchecking to work. Do I have to install dictionaries first? How?  
Spellchecking doesn´t even work in english… Here is the message I  
get from Lyx (1.6):


Das Rechtschreibprogramm konnte nicht gestartet werden
Error: The file /usr/local/lib/aspell-0.60/english can not be  
opened for reading.

(German: Spellchecking could not be opened)

What could I do that it works?

Thank you
Jess*






Re: Spellchecking / Aspell problems

2008-12-17 Thread James Sutherland

On the mac, I used Fink to install ispell.
http://www.finkproject.org/index.php
That worked just fine.  Then you don't even need the developer tools -  
unless you want to compile from source...


James

On Dec 17, 2008, at 1:01 PM, jezZiFeR wrote:


Hello,

I installed the mac developer tools and Aspell, but I couldn´t get  
spellchecking to work. Do I have to install dictionaries first? How?  
Spellchecking doesn´t even work in english… Here is the message I  
get from Lyx (1.6):


Das Rechtschreibprogramm konnte nicht gestartet werden
Error: The file /usr/local/lib/aspell-0.60/english can not be  
opened for reading.

(German: Spellchecking could not be opened)

What could I do that it works?

Thank you
Jess*






Re: Spellchecking / Aspell problems

2008-12-17 Thread James Sutherland

On the mac, I used Fink to install ispell.
http://www.finkproject.org/index.php
That worked just fine.  Then you don't even need the developer tools -  
unless you want to compile from source...


James

On Dec 17, 2008, at 1:01 PM, jezZiFeR wrote:


Hello,

I installed the mac developer tools and Aspell, but I couldn´t get  
spellchecking to work. Do I have to install dictionaries first? How?  
Spellchecking doesn´t even work in english… Here is the message I  
get from Lyx (1.6):


Das Rechtschreibprogramm konnte nicht gestartet werden
Error: The file "/usr/local/lib/aspell-0.60/english" can not be  
opened for reading.

(German: Spellchecking could not be opened)

What could I do that it works?

Thank you
Jess*






Re: Reducing vertical space near section header

2008-12-15 Thread James Sutherland
I would like to reduce some vertical space near the section title  
(above and

below the section title). Could you share some hints?


I put the following in the LaTeX preamble section of the Document  
Settings.  This allows for a one-spot change that makes changes to the  
whole document.  This is really more of a LaTeX solution than a LyX  
solution, but works well.  You can modify the text styles and spacing  
as needed.  Note that I use this with the article class.


\renewcommand{\section}{ %
\...@startsection{section}{1}{0pt} %
{1.1ex plus 2.0ex minus 1.0ex}%
{1.2ex plus 2.0ex minus 1.0ex} %
{\bfseries \large} %
}
\renewcommand{\subsection}{ %
\...@startsection{subsection}{2}{0pt} %
{1.1ex plus 2.0ex minus 1ex}%
{1.2ex plus 2.0ex minus 1ex} %
{\bfseries} %
}
\renewcommand{\subsubsection}{ %
\...@startsection{subsubsection}{3}{0pt} %
{1.1ex plus 2.0ex minus 0.5ex}%
{1.2ex plus 2.0ex minus 0.5ex} %
{\slshape} %
}
\renewcommand{\paragraph}{ %
\...@startsection{paragraph}{4}{0pt} %
{1.25ex plus 1.0ex minus 0.5ex}%
{-0.5em} %
{\bfseries} %
}



Re: Reducing vertical space near section header

2008-12-15 Thread James Sutherland
I would like to reduce some vertical space near the section title  
(above and

below the section title). Could you share some hints?


I put the following in the LaTeX preamble section of the Document  
Settings.  This allows for a one-spot change that makes changes to the  
whole document.  This is really more of a LaTeX solution than a LyX  
solution, but works well.  You can modify the text styles and spacing  
as needed.  Note that I use this with the article class.


\renewcommand{\section}{ %
\...@startsection{section}{1}{0pt} %
{1.1ex plus 2.0ex minus 1.0ex}%
{1.2ex plus 2.0ex minus 1.0ex} %
{\bfseries \large} %
}
\renewcommand{\subsection}{ %
\...@startsection{subsection}{2}{0pt} %
{1.1ex plus 2.0ex minus 1ex}%
{1.2ex plus 2.0ex minus 1ex} %
{\bfseries} %
}
\renewcommand{\subsubsection}{ %
\...@startsection{subsubsection}{3}{0pt} %
{1.1ex plus 2.0ex minus 0.5ex}%
{1.2ex plus 2.0ex minus 0.5ex} %
{\slshape} %
}
\renewcommand{\paragraph}{ %
\...@startsection{paragraph}{4}{0pt} %
{1.25ex plus 1.0ex minus 0.5ex}%
{-0.5em} %
{\bfseries} %
}



Re: Reducing vertical space near section header

2008-12-15 Thread James Sutherland
I would like to reduce some vertical space near the section title  
(above and

below the section title). Could you share some hints?


I put the following in the LaTeX preamble section of the Document  
Settings.  This allows for a one-spot change that makes changes to the  
whole document.  This is really more of a LaTeX solution than a LyX  
solution, but works well.  You can modify the text styles and spacing  
as needed.  Note that I use this with the article class.


\renewcommand{\section}{ %
\...@startsection{section}{1}{0pt} %
{1.1ex plus 2.0ex minus 1.0ex}%
{1.2ex plus 2.0ex minus 1.0ex} %
{\bfseries \large} %
}
\renewcommand{\subsection}{ %
\...@startsection{subsection}{2}{0pt} %
{1.1ex plus 2.0ex minus 1ex}%
{1.2ex plus 2.0ex minus 1ex} %
{\bfseries} %
}
\renewcommand{\subsubsection}{ %
\...@startsection{subsubsection}{3}{0pt} %
{1.1ex plus 2.0ex minus 0.5ex}%
{1.2ex plus 2.0ex minus 0.5ex} %
{\slshape} %
}
\renewcommand{\paragraph}{ %
\...@startsection{paragraph}{4}{0pt} %
{1.25ex plus 1.0ex minus 0.5ex}%
{-0.5em} %
{\bfseries} %
}



Re: Lyx math problems

2008-12-12 Thread James Sutherland


On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1.  
When I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does  
most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term, you  
must be sure that you are not within the box containing the existing  
term (#1 in your example).


2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!



I haven't seen this.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see the  
compiled equation at all if you do that...


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is  
there a way of setting this?


You can certainly do this through the GUI (Insert-Math-Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl-m and then Alt-m- 
n.  Alternatively, you could bind your own shortcut key to do this in  
one shot.




Thanks
William Mullin
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| William J. Mullin   Professor Emeritus of  
Physics  |
| Department of Physics   Hasbrouck  
Lab |

| University of Massachusetts Amherst, MA 01003-3720  |
| Internet address:
mul...@physics.umass.edu |
| Voice:
413-545-0822|
| Fax:  
413-545-1691  |

| Home page: http://www-unix.oit.umass.edu/~wmullin/ |
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+







Re: Lyx math problems

2008-12-12 Thread James Sutherland
1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point  
appears as a subscript on #1. This problem does not happen every  
time but does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a  
term (#2 in your example) to the left of an existing subscripted  
term, you must be sure that you are not within the box containing  
the existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing  
the insertion point between two symbols them. That placement does  
not distinguish which symbol it is closest to. The result is it  
seems to consider the two symbols (#1 and #2) to be a single symbol  
and puts the subscript behind #2 --most of the time.


What version of LyX?  I am running 1.6 on an Intel Mac.  There are not  
boxes in this version, but little brackets under the term that  
indicate the equivalent of {}.  Again, if you have something like

a^2
then be sure that when you add
b^4 a^2
that the b term is not within the little box or brackets  
associated with a^2.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and  
select when desired? The default is that it seems to compile when  
the equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you  
if you don't want to see this.  However, it may not allow you to  
see the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.


LyX - Preferences - Look and Feel - Graphics


Re: Lyx math problems

2008-12-12 Thread James Sutherland


On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1.  
When I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does  
most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term, you  
must be sure that you are not within the box containing the existing  
term (#1 in your example).


2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!



I haven't seen this.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see the  
compiled equation at all if you do that...


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is  
there a way of setting this?


You can certainly do this through the GUI (Insert-Math-Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl-m and then Alt-m- 
n.  Alternatively, you could bind your own shortcut key to do this in  
one shot.




Thanks
William Mullin
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| William J. Mullin   Professor Emeritus of  
Physics  |
| Department of Physics   Hasbrouck  
Lab |

| University of Massachusetts Amherst, MA 01003-3720  |
| Internet address:
mul...@physics.umass.edu |
| Voice:
413-545-0822|
| Fax:  
413-545-1691  |

| Home page: http://www-unix.oit.umass.edu/~wmullin/ |
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+







Re: Lyx math problems

2008-12-12 Thread James Sutherland
1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point  
appears as a subscript on #1. This problem does not happen every  
time but does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a  
term (#2 in your example) to the left of an existing subscripted  
term, you must be sure that you are not within the box containing  
the existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing  
the insertion point between two symbols them. That placement does  
not distinguish which symbol it is closest to. The result is it  
seems to consider the two symbols (#1 and #2) to be a single symbol  
and puts the subscript behind #2 --most of the time.


What version of LyX?  I am running 1.6 on an Intel Mac.  There are not  
boxes in this version, but little brackets under the term that  
indicate the equivalent of {}.  Again, if you have something like

a^2
then be sure that when you add
b^4 a^2
that the b term is not within the little box or brackets  
associated with a^2.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and  
select when desired? The default is that it seems to compile when  
the equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you  
if you don't want to see this.  However, it may not allow you to  
see the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.


LyX - Preferences - Look and Feel - Graphics


Re: Lyx math problems

2008-12-12 Thread James Sutherland


On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1.  
When I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does  
most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term, you  
must be sure that you are not within the box containing the existing  
term (#1 in your example).


2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!



I haven't seen this.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off "instant preview" in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see the  
compiled equation at all if you do that...


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is  
there a way of setting this?


You can certainly do this through the GUI (Insert->Math->Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl->m and then Alt-m- 
n.  Alternatively, you could bind your own shortcut key to do this in  
one shot.




Thanks
William Mullin
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| William J. Mullin   Professor Emeritus of  
Physics  |
| Department of Physics   Hasbrouck  
Lab |

| University of Massachusetts Amherst, MA 01003-3720  |
| Internet address:
mul...@physics.umass.edu |
| Voice:
413-545-0822|
| Fax:  
413-545-1691  |

| Home page: http://www-unix.oit.umass.edu/~wmullin/ |
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+







Re: Lyx math problems

2008-12-12 Thread James Sutherland
1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point  
appears as a subscript on #1. This problem does not happen every  
time but does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a  
term (#2 in your example) to the left of an existing subscripted  
term, you must be sure that you are not within the box containing  
the existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing  
the insertion point between two symbols them. That placement does  
not distinguish which symbol it is closest to. The result is it  
seems to consider the two symbols (#1 and #2) to be a single symbol  
and puts the subscript behind #2 --most of the time.


What version of LyX?  I am running 1.6 on an Intel Mac.  There are not  
boxes in this version, but little brackets under the term that  
indicate the equivalent of {}.  Again, if you have something like

a^2
then be sure that when you add
b^4 a^2
that the "b" term is not within the little "box" or brackets  
associated with a^2.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and  
select when desired? The default is that it seems to compile when  
the equation typing is finished.


I think that you can turn off "instant preview" in the document  
settings.  I haven't done this, but it might do the trick for you  
if you don't want to see this.  However, it may not allow you to  
see the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.


LyX -> Preferences -> Look and Feel -> Graphics


Re: Evaluation of the 1.6 development cycle

2008-12-09 Thread James Sutherland

LIKED:
- Developers were very responsive to issues raised by users (primarily  
in the user group), and most issues were fixed in the next release  
candidate.
- Releases were made close to the scheduled date.  This encourages  
users to be involved in the process by knowing when to check back with  
the next release.


DISLIKED:
- Large numbers of release candidates rather than alpha and beta  
releases.  I would prefer to see most of the big kinks ironed out in  
alpha releases, minor issues and newly discovered issues in beta, and  
release candidates should be fairly robust.  This was not the case  
with the 1.6.0 series.  IMHO the release was pushed out of beta too  
soon.  I think that the philosophy I outlined is consistent with that  
on the LyX wiki, but the 1.6 series was not.


Overall, I think 1.6.0 is a marked improvement over the 1.5.x series,  
and the development team deserves a pat on the back for it!


James

On Dec 9, 2008, at 1:12 PM, José Matos wrote:


Hi all,
	in order to improve the development process of LyX I would to call  
for

feedback regarding the development of 1.6.0

	I have decide to wait a bit before asking for a public evaluation  
avoid the
transient state that occurs after the release. We are now in a  
better way to
evaluate the procedure with enough distance as to guarantee a more  
objective

view while at the same time the details are still fresh in memory.

	What did you like in the development of 1.6.0 and what do you think  
that

could be improved?

Regards,
--
José Abílio




Re: Evaluation of the 1.6 development cycle

2008-12-09 Thread James Sutherland

LIKED:
- Developers were very responsive to issues raised by users (primarily  
in the user group), and most issues were fixed in the next release  
candidate.
- Releases were made close to the scheduled date.  This encourages  
users to be involved in the process by knowing when to check back with  
the next release.


DISLIKED:
- Large numbers of release candidates rather than alpha and beta  
releases.  I would prefer to see most of the big kinks ironed out in  
alpha releases, minor issues and newly discovered issues in beta, and  
release candidates should be fairly robust.  This was not the case  
with the 1.6.0 series.  IMHO the release was pushed out of beta too  
soon.  I think that the philosophy I outlined is consistent with that  
on the LyX wiki, but the 1.6 series was not.


Overall, I think 1.6.0 is a marked improvement over the 1.5.x series,  
and the development team deserves a pat on the back for it!


James

On Dec 9, 2008, at 1:12 PM, José Matos wrote:


Hi all,
	in order to improve the development process of LyX I would to call  
for

feedback regarding the development of 1.6.0

	I have decide to wait a bit before asking for a public evaluation  
avoid the
transient state that occurs after the release. We are now in a  
better way to
evaluate the procedure with enough distance as to guarantee a more  
objective

view while at the same time the details are still fresh in memory.

	What did you like in the development of 1.6.0 and what do you think  
that

could be improved?

Regards,
--
José Abílio




Re: Evaluation of the 1.6 development cycle

2008-12-09 Thread James Sutherland

LIKED:
- Developers were very responsive to issues raised by users (primarily  
in the user group), and most issues were fixed in the next release  
candidate.
- Releases were made close to the scheduled date.  This encourages  
users to be involved in the process by knowing when to check back with  
the next release.


DISLIKED:
- Large numbers of "release candidates" rather than alpha and beta  
releases.  I would prefer to see most of the big kinks ironed out in  
alpha releases, minor issues and newly discovered issues in beta, and  
release candidates should be fairly robust.  This was not the case  
with the 1.6.0 series.  IMHO the release was pushed out of beta too  
soon.  I think that the philosophy I outlined is consistent with that  
on the LyX wiki, but the 1.6 series was not.


Overall, I think 1.6.0 is a marked improvement over the 1.5.x series,  
and the development team deserves a pat on the back for it!


James

On Dec 9, 2008, at 1:12 PM, José Matos wrote:


Hi all,
	in order to improve the development process of LyX I would to call  
for

feedback regarding the development of 1.6.0

	I have decide to wait a bit before asking for a public evaluation  
avoid the
transient state that occurs after the release. We are now in a  
better way to
evaluate the procedure with enough distance as to guarantee a more  
objective

view while at the same time the details are still fresh in memory.

	What did you like in the development of 1.6.0 and what do you think  
that

could be improved?

Regards,
--
José Abílio




Re: Find and Replace math

2008-12-06 Thread James Sutherland
I must admit that I haven't followed this thread much, so take this  
for what it's worth.


When doing a find/replace on math entries, I simply open the original  
LyX document in a text editor and then do a search/replace as  
appropriate.  Then re-open in LyX.  This works much better than export  
to LaTeX and re-import to LyX since that often produces many ERT  
boxes...  However, using this approach, one should back up your  
original LyX document in case you accidentally break it when editing  
externally.


James


On Dec 6, 2008, at 7:23 AM, Erez Yerushalmi wrote:


Hi Tommaso,

Thanks for your mail, and for the time you spent writing it!

LyX is really a good tool for me, especially because I have
horrible/unorganized writing.
So, I actually work-out all the math directly with LyX.

What I liked about your video was that I could find and replace  
math.
Sometimes/many times, I change my mind and decide to call a  
parameter with a

different name.
But LyX 1.6 doesn't seem to be able (yet) to do it.
I have no problems with actual text, just the math.

Is it true, like others on the forum had said, that this feature  
will be

incorporated into LyX 2 ver?  I hope so.

This is the main reason why I need to export, then find and replace.

So, thanks for your mail,

Regards,  Erez


On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso  
[EMAIL PROTECTED]wrote:



On Wed, 3 Dec 2008 21:57:33 +
Erez Yerushalmi [EMAIL PROTECTED] wrote:


Hi JMarc,

Thanks for your answer!
Is it you in youtube??? :-)



Actually, it's me, hope you could get at least a few words out of  
what I

say :-)

The easiest option at the moment to find and replace would be to  
export as

latex into an editor, and find and replace y_{1t}  into x_{1t}. Then
import
it again.



If you really want it, you can write a script that
exports to latex, invokes your favorite text editor,
then imports back to lyx. But LyX is not designed
for such purpose, as pointed out by core developers,
therefore the process is likely to fail because lyx cannot manage  
to parse
all of the latex stuff that you can ever write, the tex2lyx process  
is lossy
and non-perfectly-reversable, and you can make a mistake (most  
common is

unmatched parenthesis or $ in maths) and then all blows up.

This is the same rationale for which I like LyX how it is now, it
(theoretically / ideally) does not allow you to make LaTeX  
mistakes, because
everything you enter into LyX is syntactically correct, except if  
you use

(at your own risk) ERT blocks.

If LyX is an editor for Latex, why don't we have a special button  
that
enables us to switch from regular LyX view to a programing  
editor

view?



Use View-Source, I use it for didactic purposes, while writing  
pure
LaTeX with Emacs, when I can't remember how you can do certain  
constructs.


Then, I would find and replace like I will do now in a programming  
editor.




... and you would end up into the usual compilation errors that you  
are so
accustomed to (see above) ... I don't think that editing a text  
file should
imply being an expert of any syntax but it's just a view of the  
world ...


Another side benefit would be that it actually helps us to  
understand what
underlying latex commands were actually used in LyX, which would  
bring me

back to the basics, closer to the LyX/Latex idea.



View-Source again, here

What do you say??




As of the current code status, it would not be too difficult to  
incorporate
a replace option, where you could be able to enter the text to  
replace in
yet another LyX-enabled WorkArea: the matching text is already  
selected, so
it is just a matter of cutting it from the document (I'm sure there  
is some
LFUN for that), plus pasting the replacement text like if we were  
pasting
from the clipboard (I'm sure there should be some LFUN for doing  
almost this
as well). As a quick hack, one could temporarily copy the  
replacement text

into the clipboard, just to get fast to a proof of concept.

Actually, some people would love to redesign the entire feature  
(including
myself), but nobody has time, so maybe I'll work to the quick hack  
for the

replace, one of these days, maybe while flying ...
... replacing with regexp-enabled for back-references may be more  
complex

to realise ...

My 2 cents,

T.





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




Re: Find and Replace math

2008-12-06 Thread James Sutherland
I must admit that I haven't followed this thread much, so take this  
for what it's worth.


When doing a find/replace on math entries, I simply open the original  
LyX document in a text editor and then do a search/replace as  
appropriate.  Then re-open in LyX.  This works much better than export  
to LaTeX and re-import to LyX since that often produces many ERT  
boxes...  However, using this approach, one should back up your  
original LyX document in case you accidentally break it when editing  
externally.


James


On Dec 6, 2008, at 7:23 AM, Erez Yerushalmi wrote:


Hi Tommaso,

Thanks for your mail, and for the time you spent writing it!

LyX is really a good tool for me, especially because I have
horrible/unorganized writing.
So, I actually work-out all the math directly with LyX.

What I liked about your video was that I could find and replace  
math.
Sometimes/many times, I change my mind and decide to call a  
parameter with a

different name.
But LyX 1.6 doesn't seem to be able (yet) to do it.
I have no problems with actual text, just the math.

Is it true, like others on the forum had said, that this feature  
will be

incorporated into LyX 2 ver?  I hope so.

This is the main reason why I need to export, then find and replace.

So, thanks for your mail,

Regards,  Erez


On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso  
[EMAIL PROTECTED]wrote:



On Wed, 3 Dec 2008 21:57:33 +
Erez Yerushalmi [EMAIL PROTECTED] wrote:


Hi JMarc,

Thanks for your answer!
Is it you in youtube??? :-)



Actually, it's me, hope you could get at least a few words out of  
what I

say :-)

The easiest option at the moment to find and replace would be to  
export as

latex into an editor, and find and replace y_{1t}  into x_{1t}. Then
import
it again.



If you really want it, you can write a script that
exports to latex, invokes your favorite text editor,
then imports back to lyx. But LyX is not designed
for such purpose, as pointed out by core developers,
therefore the process is likely to fail because lyx cannot manage  
to parse
all of the latex stuff that you can ever write, the tex2lyx process  
is lossy
and non-perfectly-reversable, and you can make a mistake (most  
common is

unmatched parenthesis or $ in maths) and then all blows up.

This is the same rationale for which I like LyX how it is now, it
(theoretically / ideally) does not allow you to make LaTeX  
mistakes, because
everything you enter into LyX is syntactically correct, except if  
you use

(at your own risk) ERT blocks.

If LyX is an editor for Latex, why don't we have a special button  
that
enables us to switch from regular LyX view to a programing  
editor

view?



Use View-Source, I use it for didactic purposes, while writing  
pure
LaTeX with Emacs, when I can't remember how you can do certain  
constructs.


Then, I would find and replace like I will do now in a programming  
editor.




... and you would end up into the usual compilation errors that you  
are so
accustomed to (see above) ... I don't think that editing a text  
file should
imply being an expert of any syntax but it's just a view of the  
world ...


Another side benefit would be that it actually helps us to  
understand what
underlying latex commands were actually used in LyX, which would  
bring me

back to the basics, closer to the LyX/Latex idea.



View-Source again, here

What do you say??




As of the current code status, it would not be too difficult to  
incorporate
a replace option, where you could be able to enter the text to  
replace in
yet another LyX-enabled WorkArea: the matching text is already  
selected, so
it is just a matter of cutting it from the document (I'm sure there  
is some
LFUN for that), plus pasting the replacement text like if we were  
pasting
from the clipboard (I'm sure there should be some LFUN for doing  
almost this
as well). As a quick hack, one could temporarily copy the  
replacement text

into the clipboard, just to get fast to a proof of concept.

Actually, some people would love to redesign the entire feature  
(including
myself), but nobody has time, so maybe I'll work to the quick hack  
for the

replace, one of these days, maybe while flying ...
... replacing with regexp-enabled for back-references may be more  
complex

to realise ...

My 2 cents,

T.





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




Re: Find and Replace math

2008-12-06 Thread James Sutherland
I must admit that I haven't followed this thread much, so take this  
for what it's worth.


When doing a find/replace on math entries, I simply open the original  
LyX document in a text editor and then do a search/replace as  
appropriate.  Then re-open in LyX.  This works much better than export  
to LaTeX and re-import to LyX since that often produces many ERT  
boxes...  However, using this approach, one should back up your  
original LyX document in case you accidentally break it when editing  
externally.


James


On Dec 6, 2008, at 7:23 AM, Erez Yerushalmi wrote:


Hi Tommaso,

Thanks for your mail, and for the time you spent writing it!

LyX is really a good tool for me, especially because I have
horrible/unorganized writing.
So, I actually work-out all the math directly with LyX.

What I liked about your video was that I could "find and replace"  
math.
Sometimes/many times, I change my mind and decide to call a  
parameter with a

different name.
But LyX 1.6 doesn't seem to be able (yet) to do it.
I have no problems with actual text, just the math.

Is it true, like others on the forum had said, that this feature  
will be

incorporated into LyX 2 ver?  I hope so.

This is the main reason why I need to export, then find and replace.

So, thanks for your mail,

Regards,  Erez


On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso  
<[EMAIL PROTECTED]>wrote:



On Wed, 3 Dec 2008 21:57:33 +
"Erez Yerushalmi" <[EMAIL PROTECTED]> wrote:


Hi JMarc,

Thanks for your answer!
Is it you in youtube??? :-)



Actually, it's me, hope you could get at least a few words out of  
what I

say :-)

The easiest option at the moment to find and replace would be to  
export as

latex into an editor, and find and replace y_{1t}  into x_{1t}. Then
import
it again.



If you really want it, you can write a script that
exports to latex, invokes your favorite text editor,
then imports back to lyx. But LyX is not designed
for such purpose, as pointed out by core developers,
therefore the process is likely to fail because lyx cannot manage  
to parse
all of the latex stuff that you can ever write, the tex2lyx process  
is lossy
and non-perfectly-reversable, and you can make a mistake (most  
common is

unmatched parenthesis or $ in maths) and then all blows up.

This is the same rationale for which I like LyX how it is now, it
(theoretically / ideally) does not allow you to make LaTeX  
mistakes, because
everything you enter into LyX is "syntactically correct", except if  
you use

(at your own risk) ERT blocks.

If LyX is an editor for Latex, why don't we have a special button  
that
enables us to switch from "regular" LyX view to a "programing"  
editor

view?



Use View->Source, I use it for "didactic" purposes, while writing  
pure
LaTeX with Emacs, when I can't remember how you can do certain  
constructs.


Then, I would find and replace like I will do now in a programming  
editor.




... and you would end up into the usual compilation errors that you  
are so
accustomed to (see above) ... I don't think that editing a text  
file should
imply being an expert of any syntax but it's just a view of the  
world ...


Another side benefit would be that it actually helps us to  
understand what
underlying latex commands were actually used in LyX, which would  
bring me

back to the basics, closer to the LyX/Latex idea.



View->Source again, here

What do you say??




As of the current code status, it would not be too difficult to  
incorporate
a "replace" option, where you could be able to enter the text to  
replace in
yet another LyX-enabled WorkArea: the matching text is already  
selected, so
it is just a matter of cutting it from the document (I'm sure there  
is some
LFUN for that), plus pasting the replacement text like if we were  
pasting
from the clipboard (I'm sure there should be some LFUN for doing  
almost this
as well). As a quick hack, one could temporarily copy the  
replacement text

into the clipboard, just to get fast to a "proof of concept".

Actually, some people would love to redesign the entire feature  
(including
myself), but nobody has time, so maybe I'll work to the quick hack  
for the

replace, one of these days, maybe while flying ...
... replacing with regexp-enabled for back-references may be more  
complex

to realise ...

My 2 cents,

T.





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




Re: Showing LyX Notes in output

2008-12-05 Thread James Sutherland
Right-click and then choose Greyed Out. This will show up in the  
output.



On Dec 5, 2008, at 12:06 PM, baseliner wrote:

Hi - is there a way to show LyX Notes in the output? I want to  
highlight
certain things (and make some annotations) that show up in the  
output to a
collaborator who does not use LyX (older generation Word person) and  
am looking
for a good way to do this.. the Note option seems to be what I want  
but it
doesn't show up in the output dvi/pdf. Greyed Out does but it's a  
bit too

passive... any ideas? Thanks!





Re: Feature request: parent-child document clash resolution

2008-12-05 Thread James Sutherland
Interesting.  I have not had a problem with settings in parent/child  
documents.  When I compile the parent document, its settings trump any  
changes in the children.  When compiling the child document alone, its  
settings are respected...  I am currently running 1.6.


James


On Dec 5, 2008, at 2:04 PM, Manoj Rajagopalan wrote:


Hi all,

 In my work I frequently encounter Latex complaints that are due to  
different settings for parent and child documents (which I may have  
made  when working on the child just to experiment). Fixing them can  
require a lot of going back and forth between the two documents to  
ensure both have identical Document settings esp. if the child  
document is a new one which is initialized to default settings.


 Would it be possible for future versions of LyX to override child- 
document settings with that of the parent when building the DVI/PDF  
etc.? The child document settings would be useful when that document  
is built-standalone but in the context of the parent they should be  
overridden.


 In the meantime, if a better overall solution to hierarchical  
document management exists, I'd love to be educated.


Thanks in advance,
Manoj




Re: Showing LyX Notes in output

2008-12-05 Thread James Sutherland
Right-click and then choose Greyed Out. This will show up in the  
output.



On Dec 5, 2008, at 12:06 PM, baseliner wrote:

Hi - is there a way to show LyX Notes in the output? I want to  
highlight
certain things (and make some annotations) that show up in the  
output to a
collaborator who does not use LyX (older generation Word person) and  
am looking
for a good way to do this.. the Note option seems to be what I want  
but it
doesn't show up in the output dvi/pdf. Greyed Out does but it's a  
bit too

passive... any ideas? Thanks!





Re: Feature request: parent-child document clash resolution

2008-12-05 Thread James Sutherland
Interesting.  I have not had a problem with settings in parent/child  
documents.  When I compile the parent document, its settings trump any  
changes in the children.  When compiling the child document alone, its  
settings are respected...  I am currently running 1.6.


James


On Dec 5, 2008, at 2:04 PM, Manoj Rajagopalan wrote:


Hi all,

 In my work I frequently encounter Latex complaints that are due to  
different settings for parent and child documents (which I may have  
made  when working on the child just to experiment). Fixing them can  
require a lot of going back and forth between the two documents to  
ensure both have identical Document settings esp. if the child  
document is a new one which is initialized to default settings.


 Would it be possible for future versions of LyX to override child- 
document settings with that of the parent when building the DVI/PDF  
etc.? The child document settings would be useful when that document  
is built-standalone but in the context of the parent they should be  
overridden.


 In the meantime, if a better overall solution to hierarchical  
document management exists, I'd love to be educated.


Thanks in advance,
Manoj




Re: Showing LyX Notes in output

2008-12-05 Thread James Sutherland
Right-click and then choose "Greyed Out". This will show up in the  
output.



On Dec 5, 2008, at 12:06 PM, baseliner wrote:

Hi - is there a way to show LyX Notes in the output? I want to  
highlight
certain things (and make some annotations) that show up in the  
output to a
collaborator who does not use LyX (older generation Word person) and  
am looking
for a good way to do this.. the Note option seems to be what I want  
but it
doesn't show up in the output dvi/pdf. Greyed Out does but it's a  
bit too

passive... any ideas? Thanks!





Re: Feature request: parent-child document clash resolution

2008-12-05 Thread James Sutherland
Interesting.  I have not had a problem with settings in parent/child  
documents.  When I compile the parent document, its settings trump any  
changes in the children.  When compiling the child document alone, its  
settings are respected...  I am currently running 1.6.


James


On Dec 5, 2008, at 2:04 PM, Manoj Rajagopalan wrote:


Hi all,

 In my work I frequently encounter Latex complaints that are due to  
different settings for parent and child documents (which I may have  
made  when working on the child just to experiment). Fixing them can  
require a lot of going back and forth between the two documents to  
ensure both have identical Document settings esp. if the child  
document is a new one which is initialized to default settings.


 Would it be possible for future versions of LyX to override child- 
document settings with that of the parent when building the DVI/PDF  
etc.? The child document settings would be useful when that document  
is built-standalone but in the context of the parent they should be  
overridden.


 In the meantime, if a better overall solution to hierarchical  
document management exists, I'd love to be educated.


Thanks in advance,
Manoj




Re: Macros and Parent/Child Documents in 1.6

2008-12-02 Thread James Sutherland


On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote:



Am 01.12.2008 um 18:59 schrieb James Sutherland:

I have a parent document where I have defined macros.  In the child  
document, I have used the macro.


The compiled output (either from the child, or the parent), is  
fine.  However, the LyX preview for the equations using macros is  
not correct.  The macros are not expanded when the preview is  
generated.


I thought that this was supported in LyX 1.6 (macros defined in  
parent, used in child).  Am I mistaken?


No, the preview does not support that (yet). I remember that I  
looked into this problem. At that time there was a technical reason  
that this very hard to implement, although I do not remember anymore  
why.


Stefan


I tried the test cases on the wiki page (http://wiki.lyx.org/Devel/Macros#toc10 
) and these macros expand appropriately.  The only difference between  
the test case on the wiki page and the problem I am seeing is the use  
of parameters in the macros.  The test macros from the wiki page do  
not involve parameters while the ones I am using do involve parameters.


Is this going to be fixed in 1.6.1?  This seems like an unfortunate  
limitation - previews not working for macros involving parameters...


James


Ð in math mode

2008-12-02 Thread James Sutherland
This is probably a very simple question: does anyone know how to get a  
Ð to show up in math mode?  I can copy and past it, but I don't know  
how to get it from a key stroke...  I saw some things on the web that  
suggested \DJ should produce this, but it doesn't seem to work...


Re: Ð in math mode

2008-12-02 Thread James Sutherland

On Dec 2, 2008, at 4:46 PM, James Sutherland wrote:

This is probably a very simple question: does anyone know how to get  
a Ð to show up in math mode?  I can copy and past it, but I don't  
know how to get it from a key stroke...  I saw some things on the  
web that suggested \DJ should produce this, but it doesn't seem to  
work...


Okay, a \DH or \DJ in an ERT does the job in text mode, but not in  
math mode.  In math mode I can use \textrm{\DH} - is this the best  
option???


Also, is there a way to get the  Ð directly in text mode without doing  
\DH in an ERT?

Re: Macros and Parent/Child Documents in 1.6

2008-12-02 Thread James Sutherland


On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote:



Am 01.12.2008 um 18:59 schrieb James Sutherland:

I have a parent document where I have defined macros.  In the child  
document, I have used the macro.


The compiled output (either from the child, or the parent), is  
fine.  However, the LyX preview for the equations using macros is  
not correct.  The macros are not expanded when the preview is  
generated.


I thought that this was supported in LyX 1.6 (macros defined in  
parent, used in child).  Am I mistaken?


No, the preview does not support that (yet). I remember that I  
looked into this problem. At that time there was a technical reason  
that this very hard to implement, although I do not remember anymore  
why.


Stefan


I tried the test cases on the wiki page (http://wiki.lyx.org/Devel/Macros#toc10 
) and these macros expand appropriately.  The only difference between  
the test case on the wiki page and the problem I am seeing is the use  
of parameters in the macros.  The test macros from the wiki page do  
not involve parameters while the ones I am using do involve parameters.


Is this going to be fixed in 1.6.1?  This seems like an unfortunate  
limitation - previews not working for macros involving parameters...


James


Ð in math mode

2008-12-02 Thread James Sutherland
This is probably a very simple question: does anyone know how to get a  
Ð to show up in math mode?  I can copy and past it, but I don't know  
how to get it from a key stroke...  I saw some things on the web that  
suggested \DJ should produce this, but it doesn't seem to work...


  1   2   3   4   >