test - ignore

2016-05-06 Thread Jerry
test - ignore


Re: microtype usage

2016-02-22 Thread Jerry
1.
Jerry

On Feb 22, 2016, at 7:23 PM, Pavel Sanda <sa...@lyx.org> wrote:

> Hi LyXers,
> 
> we will add support for microtype into LyX.
> 
> I would like to get some feedback from users who already use this package
> about their workflow. Do you
> 
> 1. just load the package in preamble via \usepackage{microtype}
> 2. usually add few more parameters via \usepackage[param1]{microtype}
> 3. use heavy loaded settings to get what you need
> ?
> 
> (I'm trying to figure out how much space for param tuning should
> be left for user in the interface.)
> 
> Pavel



Graphics shift slightly right when part of a sub-figure

2015-11-09 Thread Jerry
I have graphics that I want to present as figures in two-column format 
(IEEEtrans). I have prepared the graphics and when loaded into LyX they 
perfectly fit the column width, as I have set the width to be 100% of the 
column width. This is good.

However, for some figures, I want two graphics to be presented as parts (a) and 
(b). Following the Embedded Objects manual, I first made a figure float with 
caption and then into that I pasted two more figure floats which LyX identifies 
as sub-figures. So far so good. But when I insert the graphics into the 
sub-figure floats and render to PDF, the graphics have moved very slightly to 
the right, about half the width of a character or I supposed 1-2 mm, causing 
the figures to protrude very slightly into either the gutter or the right-hand 
margin, depending on what column they appear in. There is also a slight bit of 
movement of the left side of the graphics,by the same amount--the entire 
graphic has shifted right.

I can scale the graphics by 98% and prevent the right-hand overhang, but there 
is still a noticeable bit of white space to the left.

What is causing this slight shift of graphics to the right when they are part 
of a sub-figure?

Jerry

Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-11-03 Thread Jerry

On Nov 2, 2015, at 5:43 PM, Jerry <lancebo...@qwest.net> wrote:

> 
> On Oct 27, 2015, at 5:58 PM, Scott Kostyshak <skost...@lyx.org> wrote:
> 
>> On Tue, Oct 27, 2015 at 05:24:41PM -0700, Jerry wrote:
>>> 
>>> I hope the devs see this post wrt providing different on-screen versus 
>>> rendered appearance regarding line spacing. Maybe I'll file a feature 
>>> request.
>> 
>> Hi Jerry,
>> 
>> I think it would be a good feature request. Also note that 2.2 beta has
>> not been released yet (alpha will be released soon). But perhaps you
>> just meant 2.2dev.
>> 
>> Scott
> 
> I'll file a feature request soon. Yes, I meant 2.2dev. Not sure the hash but 
> I don't think it matters for this.
> 
> Jerry

Done. Feature request ticket is http://www.lyx.org/trac/ticket/9838
Jerry

Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-11-02 Thread Jerry

On Oct 27, 2015, at 5:58 PM, Scott Kostyshak <skost...@lyx.org> wrote:

> On Tue, Oct 27, 2015 at 05:24:41PM -0700, Jerry wrote:
>> 
>> I hope the devs see this post wrt providing different on-screen versus 
>> rendered appearance regarding line spacing. Maybe I'll file a feature 
>> request.
> 
> Hi Jerry,
> 
> I think it would be a good feature request. Also note that 2.2 beta has
> not been released yet (alpha will be released soon). But perhaps you
> just meant 2.2dev.
> 
> Scott

I'll file a feature request soon. Yes, I meant 2.2dev. Not sure the hash but I 
don't think it matters for this.

Jerry

Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-10-27 Thread Jerry

On Oct 27, 2015, at 1:15 PM, John Kane <jrkrid...@gmail.com> wrote:

> I don't know if you have missed anything or not but one way to do this seems 
> to be to use the setspace package and a bit of ERT. A quick test seems to 
> indicate that \usepackage{setspace} in the preamble and a 
> |\begin{doublespacing} and \ end{doublespacing} before and after any text in 
> the article turns out a doublespaced PDF.
> 
> See 
> http://tex.stackexchange.com/questions/122487/linespacing-latex-for-just-a-few-lines
>  
> 
> On 27 October 2015 at 01:58, Jerry <lancebo...@qwest.net> wrote:
> The journal to which I plan to submit a manuscript requires double spacing. 
> So I went to Document -> Settings... -> Text Layout -> Line Spacing and 
> selected Double. (I'm using Article (Standard Class).)
> 
> This made the rendered PDF double spaced but much to my surprise, the LyX 
> display also became double spaced! This is BAD. This is a lot WYSIWYG, not 
> WYSISYM. Now I can see only half as much stuff in LyX and I have to scroll a 
> lot etc.
> 
> How can I make the LyX display maintain a nice compact appearance while still 
> having a PDF that is double-spaced?
> 
> More to the point of LyX design: Things under Document -> Settings seem to 
> relate to how the _document_ looks, and things under LyX -> Preferences -> 
> Look and Feel (on OS X) affect how LyX looks. So there should be a setting in 
> Look and Feel for on-screen line spacing, separate from how the rendered 
> output will look.
> 
> Please tell me that I've missed something.
> 
> I'm using a 2.2 beta.
> 
> Jerry
> -- 
> John Kane
> Kingston ON Canada

Thanks, John. Good tip. I should have found it myself but I was a little cranky 
with LyX. It seems that when you select double spacing in Settings in LyX, it 
incorporates the setspace package but then applies double spacing for the 
entire document with \doublespacing. Your way lets me keep the title and author 
lines single spaced.

I hope the devs see this post wrt providing different on-screen versus rendered 
appearance regarding line spacing. Maybe I'll file a feature request.

Jerry

Setting double-spaced output also causes double-spaced on-screen LyX display

2015-10-26 Thread Jerry
The journal to which I plan to submit a manuscript requires double spacing. So 
I went to Document -> Settings... -> Text Layout -> Line Spacing and selected 
Double. (I'm using Article (Standard Class).)

This made the rendered PDF double spaced but much to my surprise, the LyX 
display also became double spaced! This is BAD. This is a lot WYSIWYG, not 
WYSISYM. Now I can see only half as much stuff in LyX and I have to scroll a 
lot etc.

How can I make the LyX display maintain a nice compact appearance while still 
having a PDF that is double-spaced?

More to the point of LyX design: Things under Document -> Settings seem to 
relate to how the _document_ looks, and things under LyX -> Preferences -> Look 
and Feel (on OS X) affect how LyX looks. So there should be a setting in Look 
and Feel for on-screen line spacing, separate from how the rendered output will 
look.

Please tell me that I've missed something.

I'm using a 2.2 beta.

Jerry

Re: could not find example

2015-07-14 Thread Jerry

On Jul 14, 2015, at 3:07 AM, Marco Gerlach gerlach.ma...@googlemail.com wrote:

 
 Hey, 
 
 could not find my stupid little problem in the archive list. i just wanted 
 to start with the the tutorial- i’m sorry- i could not find
 beispiel_roh.lyx  
 
 or any data in the example folder?
 lyx is properly installed. 
 
 
 i’m using OS X 10.10.4
 or am i’just looking in the wrong folder?- but could not find the data with 
 a normal search...
 lyx_noex.tiff
 
 
 thanks you,
 M.
 
The Examples folder is hidden from OS X users. It is inside the application 
bundle. From your app root, your file is here:
/LyX.app/Contents/Resources/examples/de/beispiel_roh.lyx
You have to first Control-click on the application icon and then select Show 
Package Contents, then follow the above path with more clicking.

At one point, either the examples or templates folders—I can't remember which— 
did not have the correct paths set to it. You can check this out in the 
preferences. Open Preferences, click on Paths, and see what is in the fields 
for Document templates and Example files. They should be
/path/to/LyX/LyX.app/Contents/Resources/templates/
/path/to/LyX//LyX.app/Contents/Resources/examples/
So you will by now have noticed that the templates are similarly placed inside 
the app bundle.

Jerry

Re: could not find example

2015-07-14 Thread Jerry

On Jul 14, 2015, at 3:07 AM, Marco Gerlach gerlach.ma...@googlemail.com wrote:

 
 Hey, 
 
 could not find my stupid little problem in the archive list. i just wanted 
 to start with the the tutorial- i’m sorry- i could not find
 beispiel_roh.lyx  
 
 or any data in the example folder?
 lyx is properly installed. 
 
 
 i’m using OS X 10.10.4
 or am i’just looking in the wrong folder?- but could not find the data with 
 a normal search...
 lyx_noex.tiff
 
 
 thanks you,
 M.
 
The Examples folder is hidden from OS X users. It is inside the application 
bundle. From your app root, your file is here:
/LyX.app/Contents/Resources/examples/de/beispiel_roh.lyx
You have to first Control-click on the application icon and then select Show 
Package Contents, then follow the above path with more clicking.

At one point, either the examples or templates folders—I can't remember which— 
did not have the correct paths set to it. You can check this out in the 
preferences. Open Preferences, click on Paths, and see what is in the fields 
for Document templates and Example files. They should be
/path/to/LyX/LyX.app/Contents/Resources/templates/
/path/to/LyX//LyX.app/Contents/Resources/examples/
So you will by now have noticed that the templates are similarly placed inside 
the app bundle.

Jerry

Re: could not find example

2015-07-14 Thread Jerry

On Jul 14, 2015, at 3:07 AM, Marco Gerlach <gerlach.ma...@googlemail.com> wrote:

> 
>>> Hey, 
>>> 
>>> could not find my stupid little problem in the archive list. i just wanted 
>>> to start with the the tutorial- i’m sorry- i could not find
>>> beispiel_roh.lyx  
>>> 
>>> or any data in the example folder?
>>> lyx is properly installed. 
>>> 
>>> 
>>> i’m using OS X 10.10.4
>>> or am i’just looking in the wrong folder?- but could not find the data with 
>>> a normal search...
>>> 
>>> 
>>> 
>>> thanks you,
> M.
> 
The Examples folder is hidden from OS X users. It is inside the application 
bundle. From your app root, your file is here:
/LyX.app/Contents/Resources/examples/de/beispiel_roh.lyx
You have to first Control-click on the application icon and then select Show 
Package Contents, then follow the above path with more clicking.

At one point, either the examples or templates folders—I can't remember which— 
did not have the correct paths set to it. You can check this out in the 
preferences. Open Preferences, click on Paths, and see what is in the fields 
for Document templates and Example files. They should be
/path/to/LyX/LyX.app/Contents/Resources/templates/
/path/to/LyX//LyX.app/Contents/Resources/examples/
So you will by now have noticed that the templates are similarly placed inside 
the app bundle.

Jerry

Re: Lyx numbering equations

2015-03-24 Thread Jerry
On Mar 20, 2015, at 7:38 AM, Benedict Holland benedict.m.holl...@gmail.com 
wrote:

 Equation labels should be human readable and make sense to you and the 
 document. That is the proper use. If you are making them all a1, a2,... aN, I 
 can't help you but typically there are not many equations in documents 
 anyway. Each one is a bit different and requires a slightly different human 
 readable note attached with a number that you don't care about. It seems 
 perfect to me. 

Responding to Benedict and others...

This assumes something that isn't necessarily true. It assumes one person's 
writing style or habits or needs. Other people have dozens and hundreds of 
equations in a document and having to invent meaningful labels for then is 
truly a nuisance because equations don't naturally have names. The same goes of 
course for figures and tables but at least in those cases one might pick a few 
choice words from their captions.

To make a meaningful name can easily take 10-20 words in many cases. One can 
make shorter labels but then the meaning is lost so one may as well do A1, A2, 
 And short labels or longer descriptions as labels doesn't matter that much 
when one is scrolling through a list of dozens or hundreds of labels trying to 
remember what Laplace distribution modified by AM after substitution of 
cross-correlaction factor from AR process means. And the outline doesn't show 
display equations that aren't labelled. The only easily meaningful thing is the 
equation itself, which is why one spends tons of time looking around for the 
actual equation to make sure it's the right one. Thus my argument for a 
graphical equation browser.

Jerry

Re: Lyx numbering equations

2015-03-24 Thread Jerry

On Mar 24, 2015, at 9:36 PM, Jerry lancebo...@qwest.net wrote:

 On Mar 20, 2015, at 7:38 AM, Benedict Holland benedict.m.holl...@gmail.com 
 wrote:
 
 Equation labels should be human readable and make sense to you and the 
 document. That is the proper use. If you are making them all a1, a2,... aN, 
 I can't help you but typically there are not many equations in documents 
 anyway. Each one is a bit different and requires a slightly different human 
 readable note attached with a number that you don't care about. It seems 
 perfect to me. 
 
 Responding to Benedict and others...
 
 This assumes something that isn't necessarily true. It assumes one person's 
 writing style or habits or needs. Other people have dozens and hundreds of 
 equations in a document and having to invent meaningful labels for then is 
 truly a nuisance because equations don't naturally have names. The same goes 
 of course for figures and tables but at least in those cases one might pick a 
 few choice words from their captions.
 
 To make a meaningful name can easily take 10-20 words in many cases. One can 
 make shorter labels but then the meaning is lost so one may as well do A1, 
 A2,  And short labels or longer descriptions as labels doesn't matter 
 that much when one is scrolling through a list of dozens or hundreds of 
 labels trying to remember what Laplace distribution modified by AM after 
 substitution of cross-correlaction factor from AR process means. And the 
 outline doesn't show display equations that aren't labelled. The only easily 
 meaningful thing is the equation itself, which is why one spends tons of time 
 looking around for the actual equation to make sure it's the right one. Thus 
 my argument for a graphical equation browser.
 
 Jerry

(Bottom-posting on myself)

I'll add that the Outline pane in any kind of normal configuration is so narrow 
that, again, only a bit of any label is visible. One could of course have it 
span the width of one's screen to see more of any longer labels, but this 
wastes enormous amounts of screen space (especially important to laptop users) 
and this exercise is further foiled by the Outline pane's annoying behavior of 
floating on top of the main document window at all times when it is detached.

Jerry

Re: Lyx numbering equations

2015-03-24 Thread Jerry
On Mar 20, 2015, at 7:38 AM, Benedict Holland benedict.m.holl...@gmail.com 
wrote:

 Equation labels should be human readable and make sense to you and the 
 document. That is the proper use. If you are making them all a1, a2,... aN, I 
 can't help you but typically there are not many equations in documents 
 anyway. Each one is a bit different and requires a slightly different human 
 readable note attached with a number that you don't care about. It seems 
 perfect to me. 

Responding to Benedict and others...

This assumes something that isn't necessarily true. It assumes one person's 
writing style or habits or needs. Other people have dozens and hundreds of 
equations in a document and having to invent meaningful labels for then is 
truly a nuisance because equations don't naturally have names. The same goes of 
course for figures and tables but at least in those cases one might pick a few 
choice words from their captions.

To make a meaningful name can easily take 10-20 words in many cases. One can 
make shorter labels but then the meaning is lost so one may as well do A1, A2, 
 And short labels or longer descriptions as labels doesn't matter that much 
when one is scrolling through a list of dozens or hundreds of labels trying to 
remember what Laplace distribution modified by AM after substitution of 
cross-correlaction factor from AR process means. And the outline doesn't show 
display equations that aren't labelled. The only easily meaningful thing is the 
equation itself, which is why one spends tons of time looking around for the 
actual equation to make sure it's the right one. Thus my argument for a 
graphical equation browser.

Jerry

Re: Lyx numbering equations

2015-03-24 Thread Jerry

On Mar 24, 2015, at 9:36 PM, Jerry lancebo...@qwest.net wrote:

 On Mar 20, 2015, at 7:38 AM, Benedict Holland benedict.m.holl...@gmail.com 
 wrote:
 
 Equation labels should be human readable and make sense to you and the 
 document. That is the proper use. If you are making them all a1, a2,... aN, 
 I can't help you but typically there are not many equations in documents 
 anyway. Each one is a bit different and requires a slightly different human 
 readable note attached with a number that you don't care about. It seems 
 perfect to me. 
 
 Responding to Benedict and others...
 
 This assumes something that isn't necessarily true. It assumes one person's 
 writing style or habits or needs. Other people have dozens and hundreds of 
 equations in a document and having to invent meaningful labels for then is 
 truly a nuisance because equations don't naturally have names. The same goes 
 of course for figures and tables but at least in those cases one might pick a 
 few choice words from their captions.
 
 To make a meaningful name can easily take 10-20 words in many cases. One can 
 make shorter labels but then the meaning is lost so one may as well do A1, 
 A2,  And short labels or longer descriptions as labels doesn't matter 
 that much when one is scrolling through a list of dozens or hundreds of 
 labels trying to remember what Laplace distribution modified by AM after 
 substitution of cross-correlaction factor from AR process means. And the 
 outline doesn't show display equations that aren't labelled. The only easily 
 meaningful thing is the equation itself, which is why one spends tons of time 
 looking around for the actual equation to make sure it's the right one. Thus 
 my argument for a graphical equation browser.
 
 Jerry

(Bottom-posting on myself)

I'll add that the Outline pane in any kind of normal configuration is so narrow 
that, again, only a bit of any label is visible. One could of course have it 
span the width of one's screen to see more of any longer labels, but this 
wastes enormous amounts of screen space (especially important to laptop users) 
and this exercise is further foiled by the Outline pane's annoying behavior of 
floating on top of the main document window at all times when it is detached.

Jerry

Re: Lyx numbering equations

2015-03-24 Thread Jerry
On Mar 20, 2015, at 7:38 AM, Benedict Holland <benedict.m.holl...@gmail.com> 
wrote:

> Equation labels should be human readable and make sense to you and the 
> document. That is the proper use. If you are making them all a1, a2,... aN, I 
> can't help you but typically there are not many equations in documents 
> anyway. Each one is a bit different and requires a slightly different human 
> readable note attached with a number that you don't care about. It seems 
> perfect to me. 

Responding to Benedict and others...

This assumes something that isn't necessarily true. It assumes one person's 
writing style or habits or needs. Other people have dozens and hundreds of 
equations in a document and having to invent meaningful labels for then is 
truly a nuisance because equations don't naturally have names. The same goes of 
course for figures and tables but at least in those cases one might pick a few 
choice words from their captions.

To make a meaningful name can easily take 10-20 words in many cases. One can 
make shorter labels but then the meaning is lost so one may as well do A1, A2, 
 And short labels or longer descriptions as labels doesn't matter that much 
when one is scrolling through a list of dozens or hundreds of labels trying to 
remember what "Laplace distribution modified by AM after substitution of 
cross-correlaction factor from AR process" means. And the outline doesn't show 
display equations that aren't labelled. The only easily meaningful thing is the 
equation itself, which is why one spends tons of time looking around for the 
actual equation to make sure it's the right one. Thus my argument for a 
graphical equation browser.

Jerry

Re: Lyx numbering equations

2015-03-24 Thread Jerry

On Mar 24, 2015, at 9:36 PM, Jerry <lancebo...@qwest.net> wrote:

> On Mar 20, 2015, at 7:38 AM, Benedict Holland <benedict.m.holl...@gmail.com> 
> wrote:
> 
>> Equation labels should be human readable and make sense to you and the 
>> document. That is the proper use. If you are making them all a1, a2,... aN, 
>> I can't help you but typically there are not many equations in documents 
>> anyway. Each one is a bit different and requires a slightly different human 
>> readable note attached with a number that you don't care about. It seems 
>> perfect to me. 
> 
> Responding to Benedict and others...
> 
> This assumes something that isn't necessarily true. It assumes one person's 
> writing style or habits or needs. Other people have dozens and hundreds of 
> equations in a document and having to invent meaningful labels for then is 
> truly a nuisance because equations don't naturally have names. The same goes 
> of course for figures and tables but at least in those cases one might pick a 
> few choice words from their captions.
> 
> To make a meaningful name can easily take 10-20 words in many cases. One can 
> make shorter labels but then the meaning is lost so one may as well do A1, 
> A2,  And short labels or longer descriptions as labels doesn't matter 
> that much when one is scrolling through a list of dozens or hundreds of 
> labels trying to remember what "Laplace distribution modified by AM after 
> substitution of cross-correlaction factor from AR process" means. And the 
> outline doesn't show display equations that aren't labelled. The only easily 
> meaningful thing is the equation itself, which is why one spends tons of time 
> looking around for the actual equation to make sure it's the right one. Thus 
> my argument for a graphical equation browser.
> 
> Jerry

(Bottom-posting on myself)

I'll add that the Outline pane in any kind of normal configuration is so narrow 
that, again, only a bit of any label is visible. One could of course have it 
span the width of one's screen to see more of any longer labels, but this 
wastes enormous amounts of screen space (especially important to laptop users) 
and this exercise is further foiled by the Outline pane's annoying behavior of 
floating on top of the main document window at all times when it is detached.

Jerry

Re: Lyx numbering equations

2015-03-20 Thread Jerry

On Mar 14, 2015, at 9:56 AM, Robert Susmilch rob...@susmilch.com wrote:

 This seems absurd given that Lyx purports to free you to write and not
 micromanage things like this. The tutorial goes on and on about using
 citations, bibliography, automatic section and chapter title numbering
 that takes care of itself. If I can number an equation and it's
 automatic that means the equation numbering can / will change as they
 are moved about, added or deleted, etc.

I agree, but would stop short of absurd and simply say awkward, clumsy, 
and then I'll stop. It does work. I believe that Microsoft Word and Mathematica 
require the same sort of tedious labeling, and those are not necessarily good 
models. I know for a fact that this problem can be handled better because I 
used the long-gone and much-loved FullWrite Professional for about 10 years, 
from 1988 to 1998, and it did not require labeling of anything. You simply 
inserted, as a reference, the current equation number and then FullWrite 
automatically kept everything up to date. It was just that simple.
And, not trivially, FullWrite had a _graphical_ equation browser, a 
window of all your (filtered) stand-alone equations, numbered or not, in a 
scrollable window. Now _that_ was neat. I think I have filed a feature request 
for LyX but I don't expect anything to happen for a long time. However, LyX has 
an option to render equations on-screen already (Instant Preview) so it seems 
that the hard part of a graphical browser has already been done.
With a graphical browser, one could assign nonsense labels (AA, AB, AC, 
... or just 1, 2, 3, ...) and use the graphical browser to find the one to 
which you want to insert a reference and just click on the image. That's what 
you do anyway, only instead of a dedicated graphical browser, you just scroll 
around in your main document window until you find the equation you want to 
reference, and that's not efficient or fun.


and then...
On Mar 15, 2015, at 5:26 PM, David A Case c...@biomaps.rutgers.edu wrote:

 On Sat, Mar 14, 2015, Robert Susmilch wrote:
 
 I have Googled a way to refer to numbered equations in text, such as
 See equation (3) in Lyx but everything I read, whether from other
 users or wikis, suggests labeling the already numbered equations and
 then using the label to cross reference.
 
 This seems absurd 
 
 This has been discussed before on this list.  The requirement to have a
 label makes good sense: how do you propose to refer to an equation that
 does not have a label?  Remember that its number will change as equations
 are added or removed, whereas the label will not change.
 
 It seems like you may wish to have a cross reference that says the
 following: refer to the *current* equation (3), and update the number in
 the cross reference if the corresponding equation number changes.  This
 might be implemented by having LyX create a unique but hidden label for
 every numbered equation, and providing some sort of user interface to
 refer to it.

Nice answer.
 
 For good reasons or bad, this is not the way LyX and latex work.

Why do you say this? You just proposed a solution to use the LyX/Latex 
underpinnings to do that very thing. And that's probably the way FullWrite did 
it.

  Note that
 numbered equations are no different in this respect than are numbered
 sections, etc.
 
 dave case
 
Finally (I'll file a ticket for this in due course), a simple improvement of 
the current system would be to display the labels with more characters than are 
currently used; currently, so few characters are displayed that one quickly 
becomes confused about which equation the label belongs to.

Jerry

Re: Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-20 Thread Jerry

On Mar 16, 2015, at 5:40 AM, Graham Smith myotis...@gmail.com wrote:

 I have just upgraded to Lyx 2.1.3 on Mac (Mavericks) and I am now getting an 
 error about PDFs
 
 Error converting to loadable  format  and the file won't compile which may 
 or may not be associated with this issue, as I am getting dozens of errors, 
 which I am slowly working through.
 
 Regardless it would be nice to get some help with this as I routinely have my 
 graphics as pdfs.
 
 Any help appreciated.
 
 Cheers,
 
 Graham
 
Graham, I don't know if this will solve your problem but you should know about 
it. It's the wiki for LyX on OS X. 

http://wiki.lyx.org/Mac/Mac

Specifically, refer to the section On screen quality of included PDF files. 

As far as I'm concerned, this should be made the default for OS X; the current 
default renders crappy PNGs that don't look good on screen and don't scale well.

Jerry

Re: Lyx numbering equations

2015-03-20 Thread Jerry

On Mar 14, 2015, at 9:56 AM, Robert Susmilch rob...@susmilch.com wrote:

 This seems absurd given that Lyx purports to free you to write and not
 micromanage things like this. The tutorial goes on and on about using
 citations, bibliography, automatic section and chapter title numbering
 that takes care of itself. If I can number an equation and it's
 automatic that means the equation numbering can / will change as they
 are moved about, added or deleted, etc.

I agree, but would stop short of absurd and simply say awkward, clumsy, 
and then I'll stop. It does work. I believe that Microsoft Word and Mathematica 
require the same sort of tedious labeling, and those are not necessarily good 
models. I know for a fact that this problem can be handled better because I 
used the long-gone and much-loved FullWrite Professional for about 10 years, 
from 1988 to 1998, and it did not require labeling of anything. You simply 
inserted, as a reference, the current equation number and then FullWrite 
automatically kept everything up to date. It was just that simple.
And, not trivially, FullWrite had a _graphical_ equation browser, a 
window of all your (filtered) stand-alone equations, numbered or not, in a 
scrollable window. Now _that_ was neat. I think I have filed a feature request 
for LyX but I don't expect anything to happen for a long time. However, LyX has 
an option to render equations on-screen already (Instant Preview) so it seems 
that the hard part of a graphical browser has already been done.
With a graphical browser, one could assign nonsense labels (AA, AB, AC, 
... or just 1, 2, 3, ...) and use the graphical browser to find the one to 
which you want to insert a reference and just click on the image. That's what 
you do anyway, only instead of a dedicated graphical browser, you just scroll 
around in your main document window until you find the equation you want to 
reference, and that's not efficient or fun.


and then...
On Mar 15, 2015, at 5:26 PM, David A Case c...@biomaps.rutgers.edu wrote:

 On Sat, Mar 14, 2015, Robert Susmilch wrote:
 
 I have Googled a way to refer to numbered equations in text, such as
 See equation (3) in Lyx but everything I read, whether from other
 users or wikis, suggests labeling the already numbered equations and
 then using the label to cross reference.
 
 This seems absurd 
 
 This has been discussed before on this list.  The requirement to have a
 label makes good sense: how do you propose to refer to an equation that
 does not have a label?  Remember that its number will change as equations
 are added or removed, whereas the label will not change.
 
 It seems like you may wish to have a cross reference that says the
 following: refer to the *current* equation (3), and update the number in
 the cross reference if the corresponding equation number changes.  This
 might be implemented by having LyX create a unique but hidden label for
 every numbered equation, and providing some sort of user interface to
 refer to it.

Nice answer.
 
 For good reasons or bad, this is not the way LyX and latex work.

Why do you say this? You just proposed a solution to use the LyX/Latex 
underpinnings to do that very thing. And that's probably the way FullWrite did 
it.

  Note that
 numbered equations are no different in this respect than are numbered
 sections, etc.
 
 dave case
 
Finally (I'll file a ticket for this in due course), a simple improvement of 
the current system would be to display the labels with more characters than are 
currently used; currently, so few characters are displayed that one quickly 
becomes confused about which equation the label belongs to.

Jerry

Re: Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-20 Thread Jerry

On Mar 16, 2015, at 5:40 AM, Graham Smith myotis...@gmail.com wrote:

 I have just upgraded to Lyx 2.1.3 on Mac (Mavericks) and I am now getting an 
 error about PDFs
 
 Error converting to loadable  format  and the file won't compile which may 
 or may not be associated with this issue, as I am getting dozens of errors, 
 which I am slowly working through.
 
 Regardless it would be nice to get some help with this as I routinely have my 
 graphics as pdfs.
 
 Any help appreciated.
 
 Cheers,
 
 Graham
 
Graham, I don't know if this will solve your problem but you should know about 
it. It's the wiki for LyX on OS X. 

http://wiki.lyx.org/Mac/Mac

Specifically, refer to the section On screen quality of included PDF files. 

As far as I'm concerned, this should be made the default for OS X; the current 
default renders crappy PNGs that don't look good on screen and don't scale well.

Jerry

Re: Lyx numbering equations

2015-03-20 Thread Jerry

On Mar 14, 2015, at 9:56 AM, Robert Susmilch <rob...@susmilch.com> wrote:

> This seems absurd given that Lyx purports to free you to write and not
> micromanage things like this. The tutorial goes on and on about using
> citations, bibliography, automatic section and chapter title numbering
> that takes care of itself. If I can number an equation and it's
> automatic that means the equation numbering can / will change as they
> are moved about, added or deleted, etc.

I agree, but would stop short of "absurd" and simply say "awkward," "clumsy," 
and then I'll stop. It does work. I believe that Microsoft Word and Mathematica 
require the same sort of tedious labeling, and those are not necessarily good 
models. I know for a fact that this problem can be handled better because I 
used the long-gone and much-loved FullWrite Professional for about 10 years, 
from 1988 to 1998, and it did not require labeling of anything. You simply 
inserted, as a reference, the current equation number and then FullWrite 
automatically kept everything up to date. It was just that simple.
And, not trivially, FullWrite had a _graphical_ equation browser, a 
window of all your (filtered) stand-alone equations, numbered or not, in a 
scrollable window. Now _that_ was neat. I think I have filed a feature request 
for LyX but I don't expect anything to happen for a long time. However, LyX has 
an option to render equations on-screen already (Instant Preview) so it seems 
that the hard part of a graphical browser has already been done.
With a graphical browser, one could assign nonsense labels (AA, AB, AC, 
... or just 1, 2, 3, ...) and use the graphical browser to find the one to 
which you want to insert a reference and just click on the image. That's what 
you do anyway, only instead of a dedicated graphical browser, you just scroll 
around in your main document window until you find the equation you want to 
reference, and that's not efficient or fun.


and then...
On Mar 15, 2015, at 5:26 PM, David A Case <c...@biomaps.rutgers.edu> wrote:

> On Sat, Mar 14, 2015, Robert Susmilch wrote:
>> 
>> I have Googled a way to refer to numbered equations in text, such as
>> "See equation (3)" in Lyx but everything I read, whether from other
>> users or wikis, suggests labeling the already numbered equations and
>> then using the label to cross reference.
>> 
>> This seems absurd 
> 
> This has been discussed before on this list.  The requirement to have a
> label makes good sense: how do you propose to refer to an equation that
> does not have a label?  Remember that its number will change as equations
> are added or removed, whereas the label will not change.
> 
> It seems like you may wish to have a cross reference that says the
> following: "refer to the *current* equation (3), and update the number in
> the cross reference if the corresponding equation number changes."  This
> might be implemented by having LyX create a unique but hidden label for
> every numbered equation, and providing some sort of user interface to
> refer to it.

Nice answer.
> 
> For good reasons or bad, this is not the way LyX and latex work.

Why do you say this? You just proposed a solution to use the LyX/Latex 
underpinnings to do that very thing. And that's probably the way FullWrite did 
it.

>  Note that
> numbered equations are no different in this respect than are numbered
> sections, etc.
> 
> dave case
> 
Finally (I'll file a ticket for this in due course), a simple improvement of 
the current system would be to display the labels with more characters than are 
currently used; currently, so few characters are displayed that one quickly 
becomes confused about which equation the label belongs to.

Jerry

Re: Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-20 Thread Jerry

On Mar 16, 2015, at 5:40 AM, Graham Smith <myotis...@gmail.com> wrote:

> I have just upgraded to Lyx 2.1.3 on Mac (Mavericks) and I am now getting an 
> error about PDFs
> 
> "Error converting to loadable  format"  and the file won't compile which may 
> or may not be associated with this issue, as I am getting dozens of errors, 
> which I am slowly working through.
> 
> Regardless it would be nice to get some help with this as I routinely have my 
> graphics as pdfs.
> 
> Any help appreciated.
> 
> Cheers,
> 
> Graham
> 
Graham, I don't know if this will solve your problem but you should know about 
it. It's the wiki for LyX on OS X. 

http://wiki.lyx.org/Mac/Mac

Specifically, refer to the section "On screen quality of included PDF files". 

As far as I'm concerned, this should be made the default for OS X; the current 
default renders crappy PNGs that don't look good on screen and don't scale well.

Jerry

Re: Can I specify the css file in output?

2015-03-09 Thread Jerry Bond
Thanks to both for the suggestions, will take a look at what works best 
in our context.


Jerry

On 03/09/2015 10:17 AM, Kornel Benko wrote:

Am Montag, 9. März 2015 um 10:08:28, schrieb Richard Heck rgh...@lyx.org

On 03/09/2015 06:44 AM, Jerry Bond wrote:

Sure, but at that point I might just as well change it manually with
an editor.

As I said in OP, I am looking for a way to do it inside LyX.

It is possible to add additional material to the HTML preamble (using
the HTMLPremable or AddToHTMLPreamble layout tags). But it's not
possible to suppress the output of:
  link rel='stylesheet' href='docstyle.css' type='text/css' /
So you'd have to do something manually anyway.

Richard

Why not create a new html format, say e.g. html7
and create a converter from LyXHTML to html7 ?

Kornel




Re: Can I specify the css file in output?

2015-03-09 Thread Jerry Bond
Sure, but at that point I might just as well change it manually with an 
editor.


As I said in OP, I am looking for a way to do it inside LyX.

Thanks.

Jerry

On 03/09/2015 12:51 AM, Steve Litt wrote:

Awk or sed shellscript, or simple Python program.




Re: Can I specify the css file in output?

2015-03-09 Thread Jerry Bond
Sure, but at that point I might just as well change it manually with an 
editor.


As I said in OP, I am looking for a way to do it inside LyX.

Thanks.

Jerry

On 03/09/2015 12:51 AM, Steve Litt wrote:

Awk or sed shellscript, or simple Python program.




Re: Can I specify the css file in output?

2015-03-09 Thread Jerry Bond
Thanks to both for the suggestions, will take a look at what works best 
in our context.


Jerry

On 03/09/2015 10:17 AM, Kornel Benko wrote:

Am Montag, 9. März 2015 um 10:08:28, schrieb Richard Heck rgh...@lyx.org

On 03/09/2015 06:44 AM, Jerry Bond wrote:

Sure, but at that point I might just as well change it manually with
an editor.

As I said in OP, I am looking for a way to do it inside LyX.

It is possible to add additional material to the HTML preamble (using
the HTMLPremable or AddToHTMLPreamble layout tags). But it's not
possible to suppress the output of:
  link rel='stylesheet' href='docstyle.css' type='text/css' /
So you'd have to do something manually anyway.

Richard

Why not create a new html format, say e.g. html7
and create a converter from LyXHTML to html7 ?

Kornel




Re: Can I specify the css file in output?

2015-03-09 Thread Jerry Bond
Sure, but at that point I might just as well change it manually with an 
editor.


As I said in OP, I am looking for a way to do it inside LyX.

Thanks.

Jerry

On 03/09/2015 12:51 AM, Steve Litt wrote:

Awk or sed shellscript, or simple Python program.




Re: Can I specify the css file in output?

2015-03-09 Thread Jerry Bond
Thanks to both for the suggestions, will take a look at what works best 
in our context.


Jerry

On 03/09/2015 10:17 AM, Kornel Benko wrote:

Am Montag, 9. März 2015 um 10:08:28, schrieb Richard Heck <rgh...@lyx.org>

On 03/09/2015 06:44 AM, Jerry Bond wrote:

Sure, but at that point I might just as well change it manually with
an editor.

As I said in OP, I am looking for a way to do it inside LyX.

It is possible to add additional material to the HTML preamble (using
the HTMLPremable or AddToHTMLPreamble layout tags). But it's not
possible to suppress the output of:
  
So you'd have to do something manually anyway.

Richard

Why not create a new html format, say e.g. html7
and create a converter from LyXHTML to html7 ?

Kornel




Re: Can I specify the css file in output?

2015-03-08 Thread Jerry Bond
Thanks for getting back to me. Let me just respond to this section of 
your email, since I may have been unclear in my original post.


On 03/07/2015 08:54 PM, Steve Litt wrote:

But in answer to your specific question, IMHO you really*don't*  want
your CSS to come directly from LyX, because ePubs should look very
different from their PDF counterparts. So I'd recommend making your own
CSS styles, and either copying them over the LyX-bestowed CSS, or
including a link to*your*  CSS below the link to the LyX-bestowed.
We do not, in fact, use the LyX or ElyXer css, but have our own whose 
reference for the header must be *style/mx-lyx.css* The question I was 
trying to ask was how to specify that proprietary css in the header of 
the output html file so that I do not have to change it manually each time.


I hope this clarifies the problem I am having.

Jerry


Re: Can I specify the css file in output?

2015-03-08 Thread Jerry Bond
Thanks for getting back to me. Let me just respond to this section of 
your email, since I may have been unclear in my original post.


On 03/07/2015 08:54 PM, Steve Litt wrote:

But in answer to your specific question, IMHO you really*don't*  want
your CSS to come directly from LyX, because ePubs should look very
different from their PDF counterparts. So I'd recommend making your own
CSS styles, and either copying them over the LyX-bestowed CSS, or
including a link to*your*  CSS below the link to the LyX-bestowed.
We do not, in fact, use the LyX or ElyXer css, but have our own whose 
reference for the header must be *style/mx-lyx.css* The question I was 
trying to ask was how to specify that proprietary css in the header of 
the output html file so that I do not have to change it manually each time.


I hope this clarifies the problem I am having.

Jerry


Re: Can I specify the css file in output?

2015-03-08 Thread Jerry Bond
Thanks for getting back to me. Let me just respond to this section of 
your email, since I may have been unclear in my original post.


On 03/07/2015 08:54 PM, Steve Litt wrote:

But in answer to your specific question, IMHO you really*don't*  want
your CSS to come directly from LyX, because ePubs should look very
different from their PDF counterparts. So I'd recommend making your own
CSS styles, and either copying them over the LyX-bestowed CSS, or
including a link to*your*  CSS below the link to the LyX-bestowed.
We do not, in fact, use the LyX or ElyXer css, but have our own whose 
reference for the header must be "*style/mx-lyx.css*" The question I was 
trying to ask was how to specify that proprietary css in the header of 
the output html file so that I do not have to change it manually each time.


I hope this clarifies the problem I am having.

Jerry


Can I specify the css file in output?

2015-03-07 Thread Jerry Bond

Hi List --

Using Lyx 2.1.3 on a Linux (Debian Stable) platform.

I have gotten my problems in the lyx  html process down to a single 
item, thanks to the answer from the List to my earlier question (2/25) 
and my continued snooping around.


The only one left: whether I use HTML or LyXHTML, the html export 
contains a generic entry in the header for the css. For HTML is a link 
to the source of the converter ElyXer file:


*link  rel=stylesheethref=http://elyxer.nongnu.org/lyx.css  
view-source:http://elyxer.nongnu.org/lyx.csstype=text/cssmedia=all/*


And for LyXHTML it is:

*
**style  type='text/css'*


Our setup requires that the export use the style sheet 
*style/mx-lyx.css* and I am hoping there is a way to specify that to 
be used by the exported html file, but after scouring LyX itself and a 
variety of other sources have yet to find anything. It is not difficult 
to do that manually each time, but I would rather avoid that if I can.


I would appreciate any help--TIA.

Jerry




Can I specify the css file in output?

2015-03-07 Thread Jerry Bond

Hi List --

Using Lyx 2.1.3 on a Linux (Debian Stable) platform.

I have gotten my problems in the lyx  html process down to a single 
item, thanks to the answer from the List to my earlier question (2/25) 
and my continued snooping around.


The only one left: whether I use HTML or LyXHTML, the html export 
contains a generic entry in the header for the css. For HTML is a link 
to the source of the converter ElyXer file:


*link  rel=stylesheethref=http://elyxer.nongnu.org/lyx.css  
view-source:http://elyxer.nongnu.org/lyx.csstype=text/cssmedia=all/*


And for LyXHTML it is:

*
**style  type='text/css'*


Our setup requires that the export use the style sheet 
*style/mx-lyx.css* and I am hoping there is a way to specify that to 
be used by the exported html file, but after scouring LyX itself and a 
variety of other sources have yet to find anything. It is not difficult 
to do that manually each time, but I would rather avoid that if I can.


I would appreciate any help--TIA.

Jerry




Can I specify the css file in output?

2015-03-07 Thread Jerry Bond

Hi List --

Using Lyx 2.1.3 on a Linux (Debian Stable) platform.

I have gotten my problems in the lyx > html process down to a single 
item, thanks to the answer from the List to my earlier question (2/25) 
and my continued snooping around.


The only one left: whether I use HTML or LyXHTML, the html export 
contains a generic entry in the header for the css. For HTML is a link 
to the source of the converter ElyXer file:


*http://elyxer.nongnu.org/lyx.css  
"type="text/css"media="all"/>*


And for LyXHTML it is:

*

how can I insert an html id tag

2015-02-25 Thread Jerry Bond

Hi List --

Using Lyx 2.1.3 on a Linux platform.

We have just gone live with a Users Manual for a Linux distribution in 
both html and pdf format. For the most part, the conversion to html goes 
well, and only minor adjustments need to be made to the css or the html 
itself. If it helps, the html Manual is here:


http://www.mepiscommunity.org/user_manual_mx15/mxum.html

One annoying problem I have not been able to solve is how to avoid 
inserting a large number of id tags manually into the converted html 
every time we do a revision of any kind. As you know, these tags are 
used to direct outside links to a specific portion of the document. For 
instance, I insert id=users to direct the Help link from an 
application about managing users to the appropriate location.


I have searched the documentation without luck so far, and a general web 
search has also not been productive. Is there a way to do this inside Lyx?


Thanks for any help.

Jerry Bond
Project Manager
MX Linux


how can I insert an html id tag

2015-02-25 Thread Jerry Bond

Hi List --

Using Lyx 2.1.3 on a Linux platform.

We have just gone live with a Users Manual for a Linux distribution in 
both html and pdf format. For the most part, the conversion to html goes 
well, and only minor adjustments need to be made to the css or the html 
itself. If it helps, the html Manual is here:


http://www.mepiscommunity.org/user_manual_mx15/mxum.html

One annoying problem I have not been able to solve is how to avoid 
inserting a large number of id tags manually into the converted html 
every time we do a revision of any kind. As you know, these tags are 
used to direct outside links to a specific portion of the document. For 
instance, I insert id=users to direct the Help link from an 
application about managing users to the appropriate location.


I have searched the documentation without luck so far, and a general web 
search has also not been productive. Is there a way to do this inside Lyx?


Thanks for any help.

Jerry Bond
Project Manager
MX Linux


how can I insert an html id tag

2015-02-25 Thread Jerry Bond

Hi List --

Using Lyx 2.1.3 on a Linux platform.

We have just gone live with a Users Manual for a Linux distribution in 
both html and pdf format. For the most part, the conversion to html goes 
well, and only minor adjustments need to be made to the css or the html 
itself. If it helps, the html Manual is here:


http://www.mepiscommunity.org/user_manual_mx15/mxum.html

One annoying problem I have not been able to solve is how to avoid 
inserting a large number of id tags manually into the converted html 
every time we do a revision of any kind. As you know, these tags are 
used to direct outside links to a specific portion of the document. For 
instance, I insert 

Re: LyX+Scilab

2015-01-28 Thread Jerry

On Jan 25, 2015, at 2:56 PM, Benedict Holland benedict.m.holl...@gmail.com 
wrote:

 On Sun, Jan 25, 2015 at 4:38 PM, Francesco Menoncin 
 francesco.menon...@unibs.it wrote:
 Hello Benedict,
 thank you for your answer.
 I give you an example about how R is difficult for dealing with matrices: if 
 in Matlab (or Scilab or Octave or simila) I write:
 
 x(2,2)=10
 
 the following matrix is automatically created:
 
 [0 0
 0 2]
 
 while in R
 
 x[2,2]=10
 
 gives an error because I first have to declare to R that x is a matrix and, 
 furthermore, give it the right dimension.
 If, afterward, I want to add an element to the matrix x, in Matlab I simply 
 write:
 
 x(3,1)=5
 
 and I obtain the matrix:
 
 [0 0
 0 10
 5 0]
 
 while in R I cannot do that, because x has already been defined as a 2 by 2 
 matrix.
 I find all this very inefficient for dealig with matrices.
 This is my point :-)
 
 Francesco
 
I'm not familiar with R but what you are saying about R in comparison with 
Matlab or Octave is that Matlab/Octave do not check array bounds. Thus, you 
might erroneously write into a matrix element that doesn't exist and 
Matlab/Octave does not report an error. Array bounds checking is the price to 
pay for having safer code. FWIW, Python and Mathematica are examples of 
languages that are only half-safe with respect to array indexing, meaning if 
you write past the beginning of an array (usually negative indexes) it assumes 
you want to index the array backwards, from the end. These are all conveniences 
but of course can also cause erroneous results or increased time spent 
debugging. I personally am happy to write in a safe language (Ada) and spend a 
little bit more time writing code (it's easy to declare a new array and copy 
the old one into it; you can write a subroutine if you want) and virtually zero 
time chasing bugs, but others prefer otherwise and that's fine.

Jerry 

Re: LyX+Scilab

2015-01-28 Thread Jerry

On Jan 25, 2015, at 2:56 PM, Benedict Holland benedict.m.holl...@gmail.com 
wrote:

 On Sun, Jan 25, 2015 at 4:38 PM, Francesco Menoncin 
 francesco.menon...@unibs.it wrote:
 Hello Benedict,
 thank you for your answer.
 I give you an example about how R is difficult for dealing with matrices: if 
 in Matlab (or Scilab or Octave or simila) I write:
 
 x(2,2)=10
 
 the following matrix is automatically created:
 
 [0 0
 0 2]
 
 while in R
 
 x[2,2]=10
 
 gives an error because I first have to declare to R that x is a matrix and, 
 furthermore, give it the right dimension.
 If, afterward, I want to add an element to the matrix x, in Matlab I simply 
 write:
 
 x(3,1)=5
 
 and I obtain the matrix:
 
 [0 0
 0 10
 5 0]
 
 while in R I cannot do that, because x has already been defined as a 2 by 2 
 matrix.
 I find all this very inefficient for dealig with matrices.
 This is my point :-)
 
 Francesco
 
I'm not familiar with R but what you are saying about R in comparison with 
Matlab or Octave is that Matlab/Octave do not check array bounds. Thus, you 
might erroneously write into a matrix element that doesn't exist and 
Matlab/Octave does not report an error. Array bounds checking is the price to 
pay for having safer code. FWIW, Python and Mathematica are examples of 
languages that are only half-safe with respect to array indexing, meaning if 
you write past the beginning of an array (usually negative indexes) it assumes 
you want to index the array backwards, from the end. These are all conveniences 
but of course can also cause erroneous results or increased time spent 
debugging. I personally am happy to write in a safe language (Ada) and spend a 
little bit more time writing code (it's easy to declare a new array and copy 
the old one into it; you can write a subroutine if you want) and virtually zero 
time chasing bugs, but others prefer otherwise and that's fine.

Jerry 

Re: LyX+Scilab

2015-01-28 Thread Jerry

On Jan 25, 2015, at 2:56 PM, Benedict Holland <benedict.m.holl...@gmail.com> 
wrote:

> On Sun, Jan 25, 2015 at 4:38 PM, Francesco Menoncin 
> <francesco.menon...@unibs.it> wrote:
> Hello Benedict,
> thank you for your answer.
> I give you an example about how R is difficult for dealing with matrices: if 
> in Matlab (or Scilab or Octave or simila) I write:
> 
> x(2,2)=10
> 
> the following matrix is automatically created:
> 
> [0 0
> 0 2]
> 
> while in R
> 
> x[2,2]=10
> 
> gives an error because I first have to declare to R that x is a matrix and, 
> furthermore, give it the right dimension.
> If, afterward, I want to add an element to the matrix x, in Matlab I simply 
> write:
> 
> x(3,1)=5
> 
> and I obtain the matrix:
> 
> [0 0
> 0 10
> 5 0]
> 
> while in R I cannot do that, because x has already been defined as a 2 by 2 
> matrix.
> I find all this very inefficient for dealig with matrices.
> This is my point :-)
> 
> Francesco
> 
I'm not familiar with R but what you are saying about R in comparison with 
Matlab or Octave is that Matlab/Octave do not check array bounds. Thus, you 
might erroneously write into a matrix element that doesn't exist and 
Matlab/Octave does not report an error. Array bounds checking is the price to 
pay for having safer code. FWIW, Python and Mathematica are examples of 
languages that are only "half-safe" with respect to array indexing, meaning if 
you write past the beginning of an array (usually negative indexes) it assumes 
you want to index the array backwards, from the end. These are all conveniences 
but of course can also cause erroneous results or increased time spent 
debugging. I personally am happy to write in a safe language (Ada) and spend a 
little bit more time writing code (it's easy to declare a new array and copy 
the old one into it; you can write a subroutine if you want) and virtually zero 
time chasing bugs, but others prefer otherwise and that's fine.

Jerry 

Re: Lyx window exceeds screen size

2014-10-30 Thread Jerry

On Oct 30, 2014, at 11:46 AM, David L. Johnson david.john...@lehigh.edu wrote:

 On 10/30/2014 01:42 PM, Atanu Ghosh wrote:
 Hi
 
 I am a user of Lyx in my netbook for the past one year. But recently I 
 noticed that many windows in Lyx launch to a size that is larger than my 
 netbook screen. As a result I cannot use the Ok button to confirm my 
 changes/ customizations. Further these windows does not allow resizing.
 You probably had opened that file on a machine with a larger screen earlier.  
 It will often open in that same size the next time it is run.  But there is a 
 trick to use on your laptop (this may vary with your GUI).  Click on the 
 window while holding down the ALT key, then move the mouse.  The window 
 should move.  Then you can find the OK button and resizing tabs.
 
 I faced it specially with the preferences  option in Tool menu   and 
 when I want to insert any citation from the Insert -Citation  option.
 Ah, these never allow resizing.  Again, ALT+Left click-hold and drag should 
 work.

FWIW, these are both resizable on OS X.

This thread reminded me of a problem with the size of the dialog box for Insert 
- Cross-reference, so I filed a ticket for it.

Ticket URL: http://www.lyx.org/trac/ticket/9316

Jerry
 
 Please suggest me some way so that I can insert citation in the documents or 
 can resize that window.
 
 
 Thanks in advance
 -Atanu
 
 
 -- 
 David L. Johnson
 Department of Mathematics
 Lehigh University
 



Re: Lyx window exceeds screen size

2014-10-30 Thread Jerry

On Oct 30, 2014, at 11:46 AM, David L. Johnson david.john...@lehigh.edu wrote:

 On 10/30/2014 01:42 PM, Atanu Ghosh wrote:
 Hi
 
 I am a user of Lyx in my netbook for the past one year. But recently I 
 noticed that many windows in Lyx launch to a size that is larger than my 
 netbook screen. As a result I cannot use the Ok button to confirm my 
 changes/ customizations. Further these windows does not allow resizing.
 You probably had opened that file on a machine with a larger screen earlier.  
 It will often open in that same size the next time it is run.  But there is a 
 trick to use on your laptop (this may vary with your GUI).  Click on the 
 window while holding down the ALT key, then move the mouse.  The window 
 should move.  Then you can find the OK button and resizing tabs.
 
 I faced it specially with the preferences  option in Tool menu   and 
 when I want to insert any citation from the Insert -Citation  option.
 Ah, these never allow resizing.  Again, ALT+Left click-hold and drag should 
 work.

FWIW, these are both resizable on OS X.

This thread reminded me of a problem with the size of the dialog box for Insert 
- Cross-reference, so I filed a ticket for it.

Ticket URL: http://www.lyx.org/trac/ticket/9316

Jerry
 
 Please suggest me some way so that I can insert citation in the documents or 
 can resize that window.
 
 
 Thanks in advance
 -Atanu
 
 
 -- 
 David L. Johnson
 Department of Mathematics
 Lehigh University
 



Re: Lyx window exceeds screen size

2014-10-30 Thread Jerry

On Oct 30, 2014, at 11:46 AM, David L. Johnson <david.john...@lehigh.edu> wrote:

> On 10/30/2014 01:42 PM, Atanu Ghosh wrote:
>> Hi
>> 
>> I am a user of Lyx in my netbook for the past one year. But recently I 
>> noticed that many windows in Lyx launch to a size that is larger than my 
>> netbook screen. As a result I cannot use the "Ok" button to confirm my 
>> changes/ customizations. Further these windows does not allow resizing.
> You probably had opened that file on a machine with a larger screen earlier.  
> It will often open in that same size the next time it is run.  But there is a 
> trick to use on your laptop (this may vary with your GUI).  Click on the 
> window while holding down the ALT key, then move the mouse.  The window 
> should move.  Then you can find the OK button and resizing tabs.
>> 
>> I faced it specially with the "preferences " option in "Tool" menu   and 
>> when I want to insert any citation from the "Insert -Citation " option.
> Ah, these never allow resizing.  Again, ALT+Left click-hold and drag should 
> work.

FWIW, these are both resizable on OS X.

This thread reminded me of a problem with the size of the dialog box for Insert 
-> Cross-reference, so I filed a ticket for it.

Ticket URL: <http://www.lyx.org/trac/ticket/9316>

Jerry
>> 
>> Please suggest me some way so that I can insert citation in the documents or 
>> can resize that window.
>> 
>> 
>> Thanks in advance
>> -Atanu
> 
> 
> -- 
> David L. Johnson
> Department of Mathematics
> Lehigh University
> 



Re: lyx on Mac - blurred fonts

2014-10-15 Thread Jerry

On Oct 5, 2014, at 10:28 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 05.10.2014 um 21:47 schrieb Tino Langer tino.lan...@gmx.net:
 
 Hi all,
 
 I just installed lyx 2.1.2 on OSX 10.9.5, using MacTeX in background. 
 
 I’m a little bit confused because the font in the editor area and also the 
 icons at the toolbar are very blurred. Are there any options I have to 
 change to get antialiased fonts and clear icons?
 
 Thanks a lot! - Tino
 
 
 Hi Tino,
 
 you're using a display with very high resolution, the so called 
 Retina-display.
 LyX isn't ready to display the contents of the work area and the icons on
 a Mac with Retina display.  So, no, there is no option to enable the display
 with full screen resolution on your Mac.  You have to wait for a new version
 of LyX.
 
 Stephan

Surely LyX on a Retina display is no worse than on a normal-resolution display, 
right?
Jerry



Re: lyx on Mac - blurred fonts

2014-10-15 Thread Jerry

On Oct 5, 2014, at 10:28 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 05.10.2014 um 21:47 schrieb Tino Langer tino.lan...@gmx.net:
 
 Hi all,
 
 I just installed lyx 2.1.2 on OSX 10.9.5, using MacTeX in background. 
 
 I’m a little bit confused because the font in the editor area and also the 
 icons at the toolbar are very blurred. Are there any options I have to 
 change to get antialiased fonts and clear icons?
 
 Thanks a lot! - Tino
 
 
 Hi Tino,
 
 you're using a display with very high resolution, the so called 
 Retina-display.
 LyX isn't ready to display the contents of the work area and the icons on
 a Mac with Retina display.  So, no, there is no option to enable the display
 with full screen resolution on your Mac.  You have to wait for a new version
 of LyX.
 
 Stephan

Surely LyX on a Retina display is no worse than on a normal-resolution display, 
right?
Jerry



Re: lyx on Mac - blurred fonts

2014-10-15 Thread Jerry

On Oct 5, 2014, at 10:28 PM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 05.10.2014 um 21:47 schrieb Tino Langer <tino.lan...@gmx.net>:
> 
>> Hi all,
>> 
>> I just installed lyx 2.1.2 on OSX 10.9.5, using MacTeX in background. 
>> 
>> I’m a little bit confused because the font in the editor area and also the 
>> icons at the toolbar are very blurred. Are there any options I have to 
>> change to get antialiased fonts and clear icons?
>> 
>> Thanks a lot! - Tino
> 
> 
> Hi Tino,
> 
> you're using a display with very high resolution, the so called 
> Retina-display.
> LyX isn't ready to display the contents of the work area and the icons on
> a Mac with Retina display.  So, no, there is no option to enable the display
> with full screen resolution on your Mac.  You have to wait for a new version
> of LyX.
> 
> Stephan

Surely LyX on a Retina display is no worse than on a normal-resolution display, 
right?
Jerry



Re: Hyphenating a hyphenated word at a line break

2014-09-03 Thread Jerry
On Aug 28, 2014, at 4:03 AM, Jerry lancebo...@qwest.net wrote:

 I have a fancy hyphenated word, crosstalk-cancelled, where I spell it with (I 
 believe) the proper - which is an n-dash. When this is rendered in the 
 vicinity of a line wrap, the entire thing gets pushed to the next line, 
 leaving a lot of ugly white space in the first line. So I inserted a 
 hyphenation point after the -. This shows on the LyX screen as sort of -- 
 which is my original n-dash and a shorter blue dash, probably supposed to 
 represent a hyphen. This is all great, but when this version is rendered, the 
 line break now appears after crosstalk--, that is, both the n-dash _and_ the 
 hyphenation point are rendered which looks very wrong. What is the 
 typographer's say on this, and is LyX doing the right thing. Also, is this a 
 LyX problem or a TeX problem? My guess the typographer would say, let the 
 n-dash stand alone if it occurs at a line break.
 
 Jerry

Thanks for all your kind responses.

I need to clear up this thread for a few reasons.

I started it with a muddle-headed premise--that the n-dash is appropriately 
used in places such as crosstalk-cancelled; it is not. A hyphen should be used 
there. I've known this since grammar school and for some reason a bit in my 
brain flipped (bit rot's a bitch) a couple months ago and I started doing it 
wrong. So the best thing would be to ignore this whole thread. However...

LyX, apparently like LaTeX and I suppose TeX, denotes the hyphen as an actual 
hyphen -, the n-dash as two hyphens --, and the m-dash as three hyphens ---. 
When entered this way in LyX, line breaking, if necessary, happens as expected, 
after the hyphen or dash. However...

Something curious happens on my computer which is a Macintosh. I don't know if 
it happens on other computers but it would be interesting to know. (Hint.) 
Specifically, on Macs the n-dash is entered with Option-hyphen and the m-dash 
with Shift-Option-hyphen; this has been the case since 1984 and my fingers know 
it well. The LyX documentation says that the - -- --- method should be used. 
(It does not say _not_ to do the Mac-like thing.) Being contrary (and a newish 
LyX user) I tried the traditional Mac way, and it works--the desired character 
is displayed on the LyX window and also is rendered correctly in printed 
output. So that is the habit I continued for working in LyX. Therein lies my 
problem. Even though the traditional Mac entry method displays correctly 
on-screen and in-print, the n- and m-dash so entered DO NOT ALLOW LINE BREAKS. 
And that's why I wrote.

Is this worth a request ticket--to make these alternate entry methods 
compatible with LyX?

Jerry

Some remedial reading for me:
http://www.dashhyphen.com/
http://en.wikipedia.org/wiki/Dash

Re: Hyphenating a hyphenated word at a line break

2014-09-03 Thread Jerry
On Aug 28, 2014, at 4:03 AM, Jerry lancebo...@qwest.net wrote:

 I have a fancy hyphenated word, crosstalk-cancelled, where I spell it with (I 
 believe) the proper - which is an n-dash. When this is rendered in the 
 vicinity of a line wrap, the entire thing gets pushed to the next line, 
 leaving a lot of ugly white space in the first line. So I inserted a 
 hyphenation point after the -. This shows on the LyX screen as sort of -- 
 which is my original n-dash and a shorter blue dash, probably supposed to 
 represent a hyphen. This is all great, but when this version is rendered, the 
 line break now appears after crosstalk--, that is, both the n-dash _and_ the 
 hyphenation point are rendered which looks very wrong. What is the 
 typographer's say on this, and is LyX doing the right thing. Also, is this a 
 LyX problem or a TeX problem? My guess the typographer would say, let the 
 n-dash stand alone if it occurs at a line break.
 
 Jerry

Thanks for all your kind responses.

I need to clear up this thread for a few reasons.

I started it with a muddle-headed premise--that the n-dash is appropriately 
used in places such as crosstalk-cancelled; it is not. A hyphen should be used 
there. I've known this since grammar school and for some reason a bit in my 
brain flipped (bit rot's a bitch) a couple months ago and I started doing it 
wrong. So the best thing would be to ignore this whole thread. However...

LyX, apparently like LaTeX and I suppose TeX, denotes the hyphen as an actual 
hyphen -, the n-dash as two hyphens --, and the m-dash as three hyphens ---. 
When entered this way in LyX, line breaking, if necessary, happens as expected, 
after the hyphen or dash. However...

Something curious happens on my computer which is a Macintosh. I don't know if 
it happens on other computers but it would be interesting to know. (Hint.) 
Specifically, on Macs the n-dash is entered with Option-hyphen and the m-dash 
with Shift-Option-hyphen; this has been the case since 1984 and my fingers know 
it well. The LyX documentation says that the - -- --- method should be used. 
(It does not say _not_ to do the Mac-like thing.) Being contrary (and a newish 
LyX user) I tried the traditional Mac way, and it works--the desired character 
is displayed on the LyX window and also is rendered correctly in printed 
output. So that is the habit I continued for working in LyX. Therein lies my 
problem. Even though the traditional Mac entry method displays correctly 
on-screen and in-print, the n- and m-dash so entered DO NOT ALLOW LINE BREAKS. 
And that's why I wrote.

Is this worth a request ticket--to make these alternate entry methods 
compatible with LyX?

Jerry

Some remedial reading for me:
http://www.dashhyphen.com/
http://en.wikipedia.org/wiki/Dash

Re: Hyphenating a hyphenated word at a line break

2014-09-03 Thread Jerry
On Aug 28, 2014, at 4:03 AM, Jerry <lancebo...@qwest.net> wrote:

> I have a fancy hyphenated word, crosstalk-cancelled, where I spell it with (I 
> believe) the proper - which is an n-dash. When this is rendered in the 
> vicinity of a line wrap, the entire thing gets pushed to the next line, 
> leaving a lot of ugly white space in the first line. So I inserted a 
> hyphenation point after the -. This shows on the LyX screen as sort of -- 
> which is my original n-dash and a shorter blue dash, probably supposed to 
> represent a hyphen. This is all great, but when this version is rendered, the 
> line break now appears after crosstalk--, that is, both the n-dash _and_ the 
> hyphenation point are rendered which looks very wrong. What is the 
> typographer's say on this, and is LyX doing the right thing. Also, is this a 
> LyX problem or a TeX problem? My guess the typographer would say, let the 
> n-dash stand alone if it occurs at a line break.
> 
> Jerry

Thanks for all your kind responses.

I need to clear up this thread for a few reasons.

I started it with a muddle-headed premise--that the n-dash is appropriately 
used in places such as crosstalk-cancelled; it is not. A hyphen should be used 
there. I've known this since grammar school and for some reason a bit in my 
brain flipped (bit rot's a bitch) a couple months ago and I started doing it 
wrong. So the best thing would be to ignore this whole thread. However...

LyX, apparently like LaTeX and I suppose TeX, denotes the hyphen as an actual 
hyphen -, the n-dash as two hyphens --, and the m-dash as three hyphens ---. 
When entered this way in LyX, line breaking, if necessary, happens as expected, 
after the hyphen or dash. However...

Something curious happens on my computer which is a Macintosh. I don't know if 
it happens on other computers but it would be interesting to know. (Hint.) 
Specifically, on Macs the n-dash is entered with Option-hyphen and the m-dash 
with Shift-Option-hyphen; this has been the case since 1984 and my fingers know 
it well. The LyX documentation says that the - -- --- method should be used. 
(It does not say _not_ to do the Mac-like thing.) Being contrary (and a newish 
LyX user) I tried the traditional Mac way, and it works--the desired character 
is displayed on the LyX window and also is rendered correctly in printed 
output. So that is the habit I continued for working in LyX. Therein lies my 
problem. Even though the traditional Mac entry method displays correctly 
on-screen and in-print, the n- and m-dash so entered DO NOT ALLOW LINE BREAKS. 
And that's why I wrote.

Is this worth a request ticket--to make these alternate entry methods 
compatible with LyX?

Jerry

Some remedial reading for me:
http://www.dashhyphen.com/
http://en.wikipedia.org/wiki/Dash

Hyphenating a hyphenated word at a line break

2014-08-28 Thread Jerry
I have a fancy hyphenated word, crosstalk-cancelled, where I spell it with (I 
believe) the proper - which is an n-dash. When this is rendered in the vicinity 
of a line wrap, the entire thing gets pushed to the next line, leaving a lot of 
ugly white space in the first line. So I inserted a hyphenation point after the 
-. This shows on the LyX screen as sort of -- which is my original n-dash and a 
shorter blue dash, probably supposed to represent a hyphen. This is all great, 
but when this version is rendered, the line break now appears after 
crosstalk--, that is, both the n-dash _and_ the hyphenation point are rendered 
which looks very wrong. What is the typographer's say on this, and is LyX doing 
the right thing. Also, is this a LyX problem or a TeX problem? My guess the 
typographer would say, let the n-dash stand alone if it occurs at a line break.

Jerry

\usepackage{flushend} on two-column documents causes misplaced footnotes

2014-08-28 Thread Jerry
When I insert 

\usepackage{flushend}

into the preamble and make the setting for two-column output, so that the 
columns on the last page have the same length (flush end), _some_ footnotes 
appear in embarrassingly inappropriate places, meaning, in the middle of a 
column, surrounded above and below by normal text.

Is this a TeX problem? Is there a known cure? Should I go to a LaTeX group and 
ask this?

Jerry

Hyphenating a hyphenated word at a line break

2014-08-28 Thread Jerry
I have a fancy hyphenated word, crosstalk-cancelled, where I spell it with (I 
believe) the proper - which is an n-dash. When this is rendered in the vicinity 
of a line wrap, the entire thing gets pushed to the next line, leaving a lot of 
ugly white space in the first line. So I inserted a hyphenation point after the 
-. This shows on the LyX screen as sort of -- which is my original n-dash and a 
shorter blue dash, probably supposed to represent a hyphen. This is all great, 
but when this version is rendered, the line break now appears after 
crosstalk--, that is, both the n-dash _and_ the hyphenation point are rendered 
which looks very wrong. What is the typographer's say on this, and is LyX doing 
the right thing. Also, is this a LyX problem or a TeX problem? My guess the 
typographer would say, let the n-dash stand alone if it occurs at a line break.

Jerry

\usepackage{flushend} on two-column documents causes misplaced footnotes

2014-08-28 Thread Jerry
When I insert 

\usepackage{flushend}

into the preamble and make the setting for two-column output, so that the 
columns on the last page have the same length (flush end), _some_ footnotes 
appear in embarrassingly inappropriate places, meaning, in the middle of a 
column, surrounded above and below by normal text.

Is this a TeX problem? Is there a known cure? Should I go to a LaTeX group and 
ask this?

Jerry

Hyphenating a hyphenated word at a line break

2014-08-28 Thread Jerry
I have a fancy hyphenated word, crosstalk-cancelled, where I spell it with (I 
believe) the proper - which is an n-dash. When this is rendered in the vicinity 
of a line wrap, the entire thing gets pushed to the next line, leaving a lot of 
ugly white space in the first line. So I inserted a hyphenation point after the 
-. This shows on the LyX screen as sort of -- which is my original n-dash and a 
shorter blue dash, probably supposed to represent a hyphen. This is all great, 
but when this version is rendered, the line break now appears after 
crosstalk--, that is, both the n-dash _and_ the hyphenation point are rendered 
which looks very wrong. What is the typographer's say on this, and is LyX doing 
the right thing. Also, is this a LyX problem or a TeX problem? My guess the 
typographer would say, let the n-dash stand alone if it occurs at a line break.

Jerry

\usepackage{flushend} on two-column documents causes misplaced footnotes

2014-08-28 Thread Jerry
When I insert 

\usepackage{flushend}

into the preamble and make the setting for two-column output, so that the 
columns on the last page have the same length ("flush end"), _some_ footnotes 
appear in embarrassingly inappropriate places, meaning, in the middle of a 
column, surrounded above and below by normal text.

Is this a TeX problem? Is there a known cure? Should I go to a LaTeX group and 
ask this?

Jerry

Re: Templates on Mac OS X

2014-07-22 Thread Jerry

On Jul 16, 2014, at 10:25 AM, Stephen Buonopane sbuon...@bucknell.edu wrote:

 On the Mac installation, they get buried inside of the app package.
 
 Find LyX.app in your applications folder
 Right click on it and select show package contents
 Then go to Contents - Resources - templates
 
 On my installation of LyX, 
 File - New from Template goes to  /Library/ApplicationSupport/LyX/templates 
 so that may be a more convenient place for the templates to be placed.
 

Sorry for the late response here.

This issue has been discussed before.

Storing user files in the application bundle like this, and expecting the user 
to discover them by control-clicking or right-clicking on the app icon, IS 
WRONG. Apple DOES NOT EXPECT users to even know that this is possible. It is a 
power user concept.

These things should be stored in /Library/Application Support/LyX/templates or 
/Library/Application Support/LyX-2.1/templates (as appropriate) and the path in 
the application should point there.

A possible fallback is to store them in the app bundle, but make them 
accessible from menus within the app so that reverting to control-clicking on 
the app bundle is not necessary.

I thought this had been fixed.

Jerry
 
 
 
 
 On Jul 16, 2014, at 1:08 PM, Julio Rojas wrote:
 
 Thanks, but that is not the problem. The files for the templates are not 
 copied to the hard drive at installation time, thus they are nowhere to be 
 found when one tries to create a new document.
 
 -
 Julio Rojas
 jcredbe...@gmail.com
 
 
 On Wed, Jul 16, 2014 at 12:49 PM, co...@vt.edu wrote:
 Reconfiguration is under Tools menu.
 
 
 Dear all,
 
 Is anybody aware that templates are not installed when installing Lyx on OS 
 X? Is there something I am missing? I remember that on previous versions 
 one should run some configuration tool after installation, but this tool is 
 nowhere to be found in Lyx 2.1.1.
 
 Regards,
 -
 Julio Rojas
 jcredbe...@gmail.com
 
 
 



Re: Templates on Mac OS X

2014-07-22 Thread Jerry

On Jul 16, 2014, at 10:25 AM, Stephen Buonopane sbuon...@bucknell.edu wrote:

 On the Mac installation, they get buried inside of the app package.
 
 Find LyX.app in your applications folder
 Right click on it and select show package contents
 Then go to Contents - Resources - templates
 
 On my installation of LyX, 
 File - New from Template goes to  /Library/ApplicationSupport/LyX/templates 
 so that may be a more convenient place for the templates to be placed.
 

Sorry for the late response here.

This issue has been discussed before.

Storing user files in the application bundle like this, and expecting the user 
to discover them by control-clicking or right-clicking on the app icon, IS 
WRONG. Apple DOES NOT EXPECT users to even know that this is possible. It is a 
power user concept.

These things should be stored in /Library/Application Support/LyX/templates or 
/Library/Application Support/LyX-2.1/templates (as appropriate) and the path in 
the application should point there.

A possible fallback is to store them in the app bundle, but make them 
accessible from menus within the app so that reverting to control-clicking on 
the app bundle is not necessary.

I thought this had been fixed.

Jerry
 
 
 
 
 On Jul 16, 2014, at 1:08 PM, Julio Rojas wrote:
 
 Thanks, but that is not the problem. The files for the templates are not 
 copied to the hard drive at installation time, thus they are nowhere to be 
 found when one tries to create a new document.
 
 -
 Julio Rojas
 jcredbe...@gmail.com
 
 
 On Wed, Jul 16, 2014 at 12:49 PM, co...@vt.edu wrote:
 Reconfiguration is under Tools menu.
 
 
 Dear all,
 
 Is anybody aware that templates are not installed when installing Lyx on OS 
 X? Is there something I am missing? I remember that on previous versions 
 one should run some configuration tool after installation, but this tool is 
 nowhere to be found in Lyx 2.1.1.
 
 Regards,
 -
 Julio Rojas
 jcredbe...@gmail.com
 
 
 



Re: Templates on Mac OS X

2014-07-22 Thread Jerry

On Jul 16, 2014, at 10:25 AM, Stephen Buonopane <sbuon...@bucknell.edu> wrote:

> On the Mac installation, they get buried inside of the app package.
> 
> Find LyX.app in your applications folder
> Right click on it and select "show package contents"
> Then go to Contents -> Resources -> templates
> 
> On my installation of LyX, 
> File -> New from Template goes to  /Library/ApplicationSupport/LyX/templates 
> so that may be a more convenient place for the templates to be placed.
> 

Sorry for the late response here.

This issue has been discussed before.

Storing user files in the application bundle like this, and expecting the user 
to discover them by control-clicking or right-clicking on the app icon, IS 
WRONG. Apple DOES NOT EXPECT users to even know that this is possible. It is a 
"power user" concept.

These things should be stored in /Library/Application Support/LyX/templates or 
/Library/Application Support/LyX-2.1/templates (as appropriate) and the path in 
the application should point there.

A possible fallback is to store them in the app bundle, but make them 
accessible from menus within the app so that reverting to control-clicking on 
the app bundle is not necessary.

I thought this had been fixed.

Jerry
> 
> 
> 
> 
> On Jul 16, 2014, at 1:08 PM, Julio Rojas wrote:
> 
>> Thanks, but that is not the problem. The files for the templates are not 
>> copied to the hard drive at installation time, thus they are nowhere to be 
>> found when one tries to create a new document.
>> 
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>> 
>> 
>> On Wed, Jul 16, 2014 at 12:49 PM, <co...@vt.edu> wrote:
>> "Reconfiguration" is under "Tools" menu.
>> 
>> 
>>> Dear all,
>>> 
>>> Is anybody aware that templates are not installed when installing Lyx on OS 
>>> X? Is there something I am missing? I remember that on previous versions 
>>> one should run some configuration tool after installation, but this tool is 
>>> nowhere to be found in Lyx 2.1.1.
>>> 
>>> Regards,
>>> -
>>> Julio Rojas
>>> jcredbe...@gmail.com
>> 
>> 
> 



Re: Image Format Conversion on OS X with Transmute

2014-05-29 Thread Jerry

On May 28, 2014, at 11:12 AM, James Dean Palmer ja...@tiger3k.com wrote:

 I recently wrote a little command line utility called transmute that converts 
 between various image formats using only the Quartz, CoreGraphics, and Cocoa 
 APIs.  Apple's sips utility can do the same sort of thing but, oddly, sips 
 doesn't support EPS or PS.
 
 transmute also has some other neat tricks like clipboard support, input and 
 output from stdin/stdout and setting the page number for conversion (PDF 
 only). It's available here:
 
 https://bitbucket.org/jdpalmer/transmute
 
 Once installed, you just need to add this to your preferences file:
 
 \converter ps png transmute $$i $$o 
 \converter eps png transmute $$i $$o 
 \converter pdf png transmute $$i $$o 
 
 And then there's no more dependency on ghostscript or XQuartz for EPS, PS, 
 and PDF image previews.
 
 Best,
 James
 
James, I haven't tried this but it looks awesomely awesome. Would you mind 
making a note on the LyX wiki about it? And maybe an indication, if not already 
present, how to install without brew, e.g., put in /some/path for those who 
don't know this.

And maybe you can help my confusion. PDF is listed as source-file only but the 
note about -n pageno sort of indicates that pageno can be applied to rendered 
PDFs. I'm probably misreading something.

Jerry



Re: Image Format Conversion on OS X with Transmute

2014-05-29 Thread Jerry

On May 28, 2014, at 11:12 AM, James Dean Palmer ja...@tiger3k.com wrote:

 I recently wrote a little command line utility called transmute that converts 
 between various image formats using only the Quartz, CoreGraphics, and Cocoa 
 APIs.  Apple's sips utility can do the same sort of thing but, oddly, sips 
 doesn't support EPS or PS.
 
 transmute also has some other neat tricks like clipboard support, input and 
 output from stdin/stdout and setting the page number for conversion (PDF 
 only). It's available here:
 
 https://bitbucket.org/jdpalmer/transmute
 
 Once installed, you just need to add this to your preferences file:
 
 \converter ps png transmute $$i $$o 
 \converter eps png transmute $$i $$o 
 \converter pdf png transmute $$i $$o 
 
 And then there's no more dependency on ghostscript or XQuartz for EPS, PS, 
 and PDF image previews.
 
 Best,
 James
 
James, I haven't tried this but it looks awesomely awesome. Would you mind 
making a note on the LyX wiki about it? And maybe an indication, if not already 
present, how to install without brew, e.g., put in /some/path for those who 
don't know this.

And maybe you can help my confusion. PDF is listed as source-file only but the 
note about -n pageno sort of indicates that pageno can be applied to rendered 
PDFs. I'm probably misreading something.

Jerry



Re: Image Format Conversion on OS X with Transmute

2014-05-29 Thread Jerry

On May 28, 2014, at 11:12 AM, James Dean Palmer <ja...@tiger3k.com> wrote:

> I recently wrote a little command line utility called transmute that converts 
> between various image formats using only the Quartz, CoreGraphics, and Cocoa 
> APIs.  Apple's sips utility can do the same sort of thing but, oddly, sips 
> doesn't support EPS or PS.
> 
> transmute also has some other neat tricks like clipboard support, input and 
> output from stdin/stdout and setting the page number for conversion (PDF 
> only). It's available here:
> 
> https://bitbucket.org/jdpalmer/transmute
> 
> Once installed, you just need to add this to your preferences file:
> 
> \converter "ps" "png" "transmute $$i $$o" ""
> \converter "eps" "png" "transmute $$i $$o" ""
> \converter "pdf" "png" "transmute $$i $$o" ""
> 
> And then there's no more dependency on ghostscript or XQuartz for EPS, PS, 
> and PDF image previews.
> 
> Best,
> James
> 
James, I haven't tried this but it looks awesomely awesome. Would you mind 
making a note on the LyX wiki about it? And maybe an indication, if not already 
present, how to install without brew, e.g., put in /some/path for those who 
don't know this.

And maybe you can help my confusion. PDF is listed as source-file only but the 
note about -n pageno sort of indicates that pageno can be applied to rendered 
PDFs. I'm probably misreading something.

Jerry



Linkback on OS X doesn't work for me

2014-04-04 Thread Jerry
I have never been able to get Linkback to work with LyX. (It's an OS X thing.) 
The usual method is once an object is pasted into the target application (LyX 
in this case), double-clicking opens the object in its originating program for 
editing; Saving there after editing then automatically updates the object back 
in the target program.

Of course, double-clicking the object in LyX opens up the LyX: Graphic dialog 
box instead. So one would think that control-clicking to get the contextual 
menu and then selecting Edit Externally... would work, but nothing happens, not 
even a report of an unavailable editor.


What works:

The Edit Special - Paste as Linkback PDF menu is available when there is a 
Linkback object on the clipboard.

Doing such a paste causes an image to appear in the LyX window.

The image is associated with a LyX-related file with a .linkback extension.

Examining the contents of this .linkback file shows that it is a PDF with some 
extra information after the %%EOF line that seems to relate to the originating 
program.

There is an LyX LFUN, paste, which has a param, linkback.


What doesn't work:

There is no way to re-open the originating program to edit the object.

There is no information in the documentation or the wiki other than Linkback 
has been implemented.

Jerry

Re: How to get cropped PDF graphic on the clipboard

2014-04-04 Thread Jerry

On Apr 3, 2014, at 10:10 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 04.04.2014 um 00:13 schrieb Jerry lancebo...@qwest.net:
 
 
 On Apr 3, 2014, at 1:53 PM, Scott Kostyshak skost...@lyx.org wrote:
 
 On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com 
 wrote:
 
 One idea would be to use a commandline utility that allows copying
 image files to the clipboard, and create a new converter from
 PDF(cropped) towards this utility. But so far I couldn't find anything
 for Linux, let alone cross-platform. Otherwise, I'm wondering if we
 have an LFUN that would provide this functionality. But I'm not sure
 how exactly that could work.
 
 Good idea Liviu. I recommend CopyQ if you want to implement this. It
 works great on Linux, supposedly works on Windows, and support is
 experimental on OS X 10.9+. The author of CopyQ is extremely
 responsive to features and bug reports (he implemented a feature that
 I'm pretty sure only I use, just for me). This is one of the best
 clipboard managers out there (although note the focus is on features
 over lightweight) but it is not well known.
 
 To put an image on the clipboard, you can do e.g.
 copyq write image/svg -  image.svg
 
 For more info, see
 https://github.com/hluk/CopyQ
 
 To install, I believe it's a simple
 cmake .
 make
 sudo make install
 
 First you must have dependencies. See the INSTALL file for explicit
 instructions for which packages you need for Ubuntu. Let me know if
 you want help with anything.
 
 Best,
 
 Scott
 
 Interesting solution, looks a bit bloaty as noted by Scott. Also, support 
 for OS X is a little concerning, at 10.9+. I wonder if there is a concrete 
 reason for this limitation or perhaps it's due to the developer's lack of 
 access to other versions. Also, the web site states, To compile and run the 
 application you'll need the latest stable version of Qt library (there is 
 also experimental support for Qt 5). To compile on OS X, you will need at 
 least Qt 5.2.
 
 Where did you find this? It's not totally correct. It should read: To 
 compile with Qt 5 on Mac Qt5.2 is the first feature complete version.

It's on the guy's web site https://github.com/hluk/CopyQ, under Dependencies.
Jerry

 
 
 Dumb question: if Qt 5.2 is required to compile on OS X, is it required to 
 run?
 
 The official package on Mac OS X contains the private Qt frameworks used to 
 build it.
 So, you don't have to install any Qt package to run LyX. The version doesn't 
 matter.
 
 Stephan



Re: How to get cropped PDF graphic on the clipboard

2014-04-04 Thread Jerry

On Apr 3, 2014, at 10:49 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 04.04.2014 um 07:10 schrieb Stephan Witt st.w...@gmx.net:
 
 Am 04.04.2014 um 00:13 schrieb Jerry lancebo...@qwest.net:
 
 
 On Apr 3, 2014, at 1:53 PM, Scott Kostyshak skost...@lyx.org wrote:
 
 On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com 
 wrote:
 
 One idea would be to use a commandline utility that allows copying
 image files to the clipboard, and create a new converter from
 PDF(cropped) towards this utility. But so far I couldn't find anything
 for Linux, let alone cross-platform. Otherwise, I'm wondering if we
 have an LFUN that would provide this functionality. But I'm not sure
 how exactly that could work.
 
 Good idea Liviu. I recommend CopyQ if you want to implement this. It
 works great on Linux, supposedly works on Windows, and support is
 experimental on OS X 10.9+. The author of CopyQ is extremely
 responsive to features and bug reports (he implemented a feature that
 I'm pretty sure only I use, just for me). This is one of the best
 clipboard managers out there (although note the focus is on features
 over lightweight) but it is not well known.
 
 To put an image on the clipboard, you can do e.g.
 copyq write image/svg -  image.svg
 
 For more info, see
 https://github.com/hluk/CopyQ
 
 To install, I believe it's a simple
 cmake .
 make
 sudo make install
 
 First you must have dependencies. See the INSTALL file for explicit
 instructions for which packages you need for Ubuntu. Let me know if
 you want help with anything.
 
 Best,
 
 Scott
 
 Interesting solution, looks a bit bloaty as noted by Scott. Also, support 
 for OS X is a little concerning, at 10.9+. I wonder if there is a concrete 
 reason for this limitation or perhaps it's due to the developer's lack of 
 access to other versions. Also, the web site states, To compile and run 
 the application you'll need the latest stable version of Qt library (there 
 is also experimental support for Qt 5). To compile on OS X, you will need 
 at least Qt 5.2.
 
 Where did you find this? It's not totally correct. It should read: To 
 compile with Qt 5 on Mac Qt5.2 is the first feature complete version.
 
 
 Dumb question: if Qt 5.2 is required to compile on OS X, is it required to 
 run?
 
 The official package on Mac OS X contains the private Qt frameworks used to 
 build it.
 So, you don't have to install any Qt package to run LyX. The version doesn't 
 matter.
 
 Ah, I got it. You're talking about CopyQ, not LyX. Sorry for the confusion.
 
 Stephan

Oops--shot off a reply to your other note before reading this one.
Jerry



Linkback on OS X doesn't work for me

2014-04-04 Thread Jerry
I have never been able to get Linkback to work with LyX. (It's an OS X thing.) 
The usual method is once an object is pasted into the target application (LyX 
in this case), double-clicking opens the object in its originating program for 
editing; Saving there after editing then automatically updates the object back 
in the target program.

Of course, double-clicking the object in LyX opens up the LyX: Graphic dialog 
box instead. So one would think that control-clicking to get the contextual 
menu and then selecting Edit Externally... would work, but nothing happens, not 
even a report of an unavailable editor.


What works:

The Edit Special - Paste as Linkback PDF menu is available when there is a 
Linkback object on the clipboard.

Doing such a paste causes an image to appear in the LyX window.

The image is associated with a LyX-related file with a .linkback extension.

Examining the contents of this .linkback file shows that it is a PDF with some 
extra information after the %%EOF line that seems to relate to the originating 
program.

There is an LyX LFUN, paste, which has a param, linkback.


What doesn't work:

There is no way to re-open the originating program to edit the object.

There is no information in the documentation or the wiki other than Linkback 
has been implemented.

Jerry

Re: How to get cropped PDF graphic on the clipboard

2014-04-04 Thread Jerry

On Apr 3, 2014, at 10:10 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 04.04.2014 um 00:13 schrieb Jerry lancebo...@qwest.net:
 
 
 On Apr 3, 2014, at 1:53 PM, Scott Kostyshak skost...@lyx.org wrote:
 
 On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com 
 wrote:
 
 One idea would be to use a commandline utility that allows copying
 image files to the clipboard, and create a new converter from
 PDF(cropped) towards this utility. But so far I couldn't find anything
 for Linux, let alone cross-platform. Otherwise, I'm wondering if we
 have an LFUN that would provide this functionality. But I'm not sure
 how exactly that could work.
 
 Good idea Liviu. I recommend CopyQ if you want to implement this. It
 works great on Linux, supposedly works on Windows, and support is
 experimental on OS X 10.9+. The author of CopyQ is extremely
 responsive to features and bug reports (he implemented a feature that
 I'm pretty sure only I use, just for me). This is one of the best
 clipboard managers out there (although note the focus is on features
 over lightweight) but it is not well known.
 
 To put an image on the clipboard, you can do e.g.
 copyq write image/svg -  image.svg
 
 For more info, see
 https://github.com/hluk/CopyQ
 
 To install, I believe it's a simple
 cmake .
 make
 sudo make install
 
 First you must have dependencies. See the INSTALL file for explicit
 instructions for which packages you need for Ubuntu. Let me know if
 you want help with anything.
 
 Best,
 
 Scott
 
 Interesting solution, looks a bit bloaty as noted by Scott. Also, support 
 for OS X is a little concerning, at 10.9+. I wonder if there is a concrete 
 reason for this limitation or perhaps it's due to the developer's lack of 
 access to other versions. Also, the web site states, To compile and run the 
 application you'll need the latest stable version of Qt library (there is 
 also experimental support for Qt 5). To compile on OS X, you will need at 
 least Qt 5.2.
 
 Where did you find this? It's not totally correct. It should read: To 
 compile with Qt 5 on Mac Qt5.2 is the first feature complete version.

It's on the guy's web site https://github.com/hluk/CopyQ, under Dependencies.
Jerry

 
 
 Dumb question: if Qt 5.2 is required to compile on OS X, is it required to 
 run?
 
 The official package on Mac OS X contains the private Qt frameworks used to 
 build it.
 So, you don't have to install any Qt package to run LyX. The version doesn't 
 matter.
 
 Stephan



Re: How to get cropped PDF graphic on the clipboard

2014-04-04 Thread Jerry

On Apr 3, 2014, at 10:49 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 04.04.2014 um 07:10 schrieb Stephan Witt st.w...@gmx.net:
 
 Am 04.04.2014 um 00:13 schrieb Jerry lancebo...@qwest.net:
 
 
 On Apr 3, 2014, at 1:53 PM, Scott Kostyshak skost...@lyx.org wrote:
 
 On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com 
 wrote:
 
 One idea would be to use a commandline utility that allows copying
 image files to the clipboard, and create a new converter from
 PDF(cropped) towards this utility. But so far I couldn't find anything
 for Linux, let alone cross-platform. Otherwise, I'm wondering if we
 have an LFUN that would provide this functionality. But I'm not sure
 how exactly that could work.
 
 Good idea Liviu. I recommend CopyQ if you want to implement this. It
 works great on Linux, supposedly works on Windows, and support is
 experimental on OS X 10.9+. The author of CopyQ is extremely
 responsive to features and bug reports (he implemented a feature that
 I'm pretty sure only I use, just for me). This is one of the best
 clipboard managers out there (although note the focus is on features
 over lightweight) but it is not well known.
 
 To put an image on the clipboard, you can do e.g.
 copyq write image/svg -  image.svg
 
 For more info, see
 https://github.com/hluk/CopyQ
 
 To install, I believe it's a simple
 cmake .
 make
 sudo make install
 
 First you must have dependencies. See the INSTALL file for explicit
 instructions for which packages you need for Ubuntu. Let me know if
 you want help with anything.
 
 Best,
 
 Scott
 
 Interesting solution, looks a bit bloaty as noted by Scott. Also, support 
 for OS X is a little concerning, at 10.9+. I wonder if there is a concrete 
 reason for this limitation or perhaps it's due to the developer's lack of 
 access to other versions. Also, the web site states, To compile and run 
 the application you'll need the latest stable version of Qt library (there 
 is also experimental support for Qt 5). To compile on OS X, you will need 
 at least Qt 5.2.
 
 Where did you find this? It's not totally correct. It should read: To 
 compile with Qt 5 on Mac Qt5.2 is the first feature complete version.
 
 
 Dumb question: if Qt 5.2 is required to compile on OS X, is it required to 
 run?
 
 The official package on Mac OS X contains the private Qt frameworks used to 
 build it.
 So, you don't have to install any Qt package to run LyX. The version doesn't 
 matter.
 
 Ah, I got it. You're talking about CopyQ, not LyX. Sorry for the confusion.
 
 Stephan

Oops--shot off a reply to your other note before reading this one.
Jerry



Linkback on OS X doesn't work for me

2014-04-04 Thread Jerry
I have never been able to get Linkback to work with LyX. (It's an OS X thing.) 
The usual method is once an object is pasted into the target application (LyX 
in this case), double-clicking opens the object in its originating program for 
editing; Saving there after editing then automatically updates the object back 
in the target program.

Of course, double-clicking the object in LyX opens up the LyX: Graphic dialog 
box instead. So one would think that control-clicking to get the contextual 
menu and then selecting Edit Externally... would work, but nothing happens, not 
even a report of an unavailable editor.


What works:

The Edit Special -> Paste as Linkback PDF menu is available when there is a 
Linkback object on the clipboard.

Doing such a paste causes an image to appear in the LyX window.

The image is associated with a LyX-related file with a .linkback extension.

Examining the contents of this .linkback file shows that it is a PDF with some 
extra information after the %%EOF line that seems to relate to the originating 
program.

There is an LyX LFUN, paste, which has a param, linkback.


What doesn't work:

There is no way to re-open the originating program to edit the object.

There is no information in the documentation or the wiki other than "Linkback 
has been implemented."

Jerry

Re: How to get cropped PDF graphic on the clipboard

2014-04-04 Thread Jerry

On Apr 3, 2014, at 10:10 PM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 04.04.2014 um 00:13 schrieb Jerry <lancebo...@qwest.net>:
> 
>> 
>> On Apr 3, 2014, at 1:53 PM, Scott Kostyshak <skost...@lyx.org> wrote:
>> 
>>> On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic <landronim...@gmail.com> 
>>> wrote:
>>> 
>>>> One idea would be to use a commandline utility that allows copying
>>>> image files to the clipboard, and create a new converter from
>>>> PDF(cropped) towards this utility. But so far I couldn't find anything
>>>> for Linux, let alone cross-platform. Otherwise, I'm wondering if we
>>>> have an LFUN that would provide this functionality. But I'm not sure
>>>> how exactly that could work.
>>> 
>>> Good idea Liviu. I recommend CopyQ if you want to implement this. It
>>> works great on Linux, supposedly works on Windows, and support is
>>> experimental on OS X 10.9+. The author of CopyQ is extremely
>>> responsive to features and bug reports (he implemented a feature that
>>> I'm pretty sure only I use, just for me). This is one of the best
>>> clipboard managers out there (although note the focus is on features
>>> over lightweight) but it is not well known.
>>> 
>>> To put an image on the clipboard, you can do e.g.
>>> copyq write image/svg - < image.svg
>>> 
>>> For more info, see
>>> https://github.com/hluk/CopyQ
>>> 
>>> To install, I believe it's a simple
>>> cmake .
>>> make
>>> sudo make install
>>> 
>>> First you must have dependencies. See the INSTALL file for explicit
>>> instructions for which packages you need for Ubuntu. Let me know if
>>> you want help with anything.
>>> 
>>> Best,
>>> 
>>> Scott
>> 
>> Interesting solution, looks a bit bloaty as noted by Scott. Also, support 
>> for OS X is a little concerning, at 10.9+. I wonder if there is a concrete 
>> reason for this limitation or perhaps it's due to the developer's lack of 
>> access to other versions. Also, the web site states, "To compile and run the 
>> application you'll need the latest stable version of Qt library (there is 
>> also experimental support for Qt 5). To compile on OS X, you will need at 
>> least Qt 5.2."
> 
> Where did you find this? It's not totally correct. It should read: "To 
> compile with Qt 5 on Mac Qt5.2 is the first feature complete version."

It's on the guy's web site https://github.com/hluk/CopyQ, under Dependencies.
Jerry

> 
>> 
>> Dumb question: if Qt 5.2 is required to compile on OS X, is it required to 
>> run?
> 
> The official package on Mac OS X contains the private Qt frameworks used to 
> build it.
> So, you don't have to install any Qt package to run LyX. The version doesn't 
> matter.
> 
> Stephan



Re: How to get cropped PDF graphic on the clipboard

2014-04-04 Thread Jerry

On Apr 3, 2014, at 10:49 PM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 04.04.2014 um 07:10 schrieb Stephan Witt <st.w...@gmx.net>:
> 
>> Am 04.04.2014 um 00:13 schrieb Jerry <lancebo...@qwest.net>:
>> 
>>> 
>>> On Apr 3, 2014, at 1:53 PM, Scott Kostyshak <skost...@lyx.org> wrote:
>>> 
>>>> On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic <landronim...@gmail.com> 
>>>> wrote:
>>>> 
>>>>> One idea would be to use a commandline utility that allows copying
>>>>> image files to the clipboard, and create a new converter from
>>>>> PDF(cropped) towards this utility. But so far I couldn't find anything
>>>>> for Linux, let alone cross-platform. Otherwise, I'm wondering if we
>>>>> have an LFUN that would provide this functionality. But I'm not sure
>>>>> how exactly that could work.
>>>> 
>>>> Good idea Liviu. I recommend CopyQ if you want to implement this. It
>>>> works great on Linux, supposedly works on Windows, and support is
>>>> experimental on OS X 10.9+. The author of CopyQ is extremely
>>>> responsive to features and bug reports (he implemented a feature that
>>>> I'm pretty sure only I use, just for me). This is one of the best
>>>> clipboard managers out there (although note the focus is on features
>>>> over lightweight) but it is not well known.
>>>> 
>>>> To put an image on the clipboard, you can do e.g.
>>>> copyq write image/svg - < image.svg
>>>> 
>>>> For more info, see
>>>> https://github.com/hluk/CopyQ
>>>> 
>>>> To install, I believe it's a simple
>>>> cmake .
>>>> make
>>>> sudo make install
>>>> 
>>>> First you must have dependencies. See the INSTALL file for explicit
>>>> instructions for which packages you need for Ubuntu. Let me know if
>>>> you want help with anything.
>>>> 
>>>> Best,
>>>> 
>>>> Scott
>>> 
>>> Interesting solution, looks a bit bloaty as noted by Scott. Also, support 
>>> for OS X is a little concerning, at 10.9+. I wonder if there is a concrete 
>>> reason for this limitation or perhaps it's due to the developer's lack of 
>>> access to other versions. Also, the web site states, "To compile and run 
>>> the application you'll need the latest stable version of Qt library (there 
>>> is also experimental support for Qt 5). To compile on OS X, you will need 
>>> at least Qt 5.2."
>> 
>> Where did you find this? It's not totally correct. It should read: "To 
>> compile with Qt 5 on Mac Qt5.2 is the first feature complete version."
>> 
>>> 
>>> Dumb question: if Qt 5.2 is required to compile on OS X, is it required to 
>>> run?
>> 
>> The official package on Mac OS X contains the private Qt frameworks used to 
>> build it.
>> So, you don't have to install any Qt package to run LyX. The version doesn't 
>> matter.
> 
> Ah, I got it. You're talking about CopyQ, not LyX. Sorry for the confusion.
> 
> Stephan

Oops--shot off a reply to your other note before reading this one.
Jerry



Re: How to get cropped PDF graphic on the clipboard

2014-04-03 Thread Jerry

On Apr 3, 2014, at 1:53 PM, Scott Kostyshak skost...@lyx.org wrote:

 On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com wrote:
 
 One idea would be to use a commandline utility that allows copying
 image files to the clipboard, and create a new converter from
 PDF(cropped) towards this utility. But so far I couldn't find anything
 for Linux, let alone cross-platform. Otherwise, I'm wondering if we
 have an LFUN that would provide this functionality. But I'm not sure
 how exactly that could work.
 
 Good idea Liviu. I recommend CopyQ if you want to implement this. It
 works great on Linux, supposedly works on Windows, and support is
 experimental on OS X 10.9+. The author of CopyQ is extremely
 responsive to features and bug reports (he implemented a feature that
 I'm pretty sure only I use, just for me). This is one of the best
 clipboard managers out there (although note the focus is on features
 over lightweight) but it is not well known.
 
 To put an image on the clipboard, you can do e.g.
 copyq write image/svg -  image.svg
 
 For more info, see
 https://github.com/hluk/CopyQ
 
 To install, I believe it's a simple
 cmake .
 make
 sudo make install
 
 First you must have dependencies. See the INSTALL file for explicit
 instructions for which packages you need for Ubuntu. Let me know if
 you want help with anything.
 
 Best,
 
 Scott

Interesting solution, looks a bit bloaty as noted by Scott. Also, support for 
OS X is a little concerning, at 10.9+. I wonder if there is a concrete reason 
for this limitation or perhaps it's due to the developer's lack of access to 
other versions. Also, the web site states, To compile and run the application 
you'll need the latest stable version of Qt library (there is also experimental 
support for Qt 5). To compile on OS X, you will need at least Qt 5.2.

Dumb question: if Qt 5.2 is required to compile on OS X, is it required to run?

Jerry

Re: How to get cropped PDF graphic on the clipboard

2014-04-03 Thread Jerry

On Apr 3, 2014, at 1:17 PM, Liviu Andronic landronim...@gmail.com wrote:

 On Tue, Apr 1, 2014 at 8:27 AM, Jerry lancebo...@qwest.net wrote:
 Nice to see the ability to export a LyX file as a cropped PDF in version 
 2.1.0.x. However, the document is actually exported as a file, whereas it 
 would more useful if it were instead or also placed on the clipboard for 
 pasting into another document--that would fully allow LyX to be used as a 
 standalone equation editor for other applications.
 
 Good idea. I'm not sure how easy this would be, but do consider
 opening a feature request on the bug tracker.

Done.
Jerry



Re: How to get cropped PDF graphic on the clipboard

2014-04-03 Thread Jerry

On Apr 3, 2014, at 1:53 PM, Scott Kostyshak skost...@lyx.org wrote:

 On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com wrote:
 
 One idea would be to use a commandline utility that allows copying
 image files to the clipboard, and create a new converter from
 PDF(cropped) towards this utility. But so far I couldn't find anything
 for Linux, let alone cross-platform. Otherwise, I'm wondering if we
 have an LFUN that would provide this functionality. But I'm not sure
 how exactly that could work.
 
 Good idea Liviu. I recommend CopyQ if you want to implement this. It
 works great on Linux, supposedly works on Windows, and support is
 experimental on OS X 10.9+. The author of CopyQ is extremely
 responsive to features and bug reports (he implemented a feature that
 I'm pretty sure only I use, just for me). This is one of the best
 clipboard managers out there (although note the focus is on features
 over lightweight) but it is not well known.
 
 To put an image on the clipboard, you can do e.g.
 copyq write image/svg -  image.svg
 
 For more info, see
 https://github.com/hluk/CopyQ
 
 To install, I believe it's a simple
 cmake .
 make
 sudo make install
 
 First you must have dependencies. See the INSTALL file for explicit
 instructions for which packages you need for Ubuntu. Let me know if
 you want help with anything.
 
 Best,
 
 Scott

Interesting solution, looks a bit bloaty as noted by Scott. Also, support for 
OS X is a little concerning, at 10.9+. I wonder if there is a concrete reason 
for this limitation or perhaps it's due to the developer's lack of access to 
other versions. Also, the web site states, To compile and run the application 
you'll need the latest stable version of Qt library (there is also experimental 
support for Qt 5). To compile on OS X, you will need at least Qt 5.2.

Dumb question: if Qt 5.2 is required to compile on OS X, is it required to run?

Jerry

Re: How to get cropped PDF graphic on the clipboard

2014-04-03 Thread Jerry

On Apr 3, 2014, at 1:17 PM, Liviu Andronic landronim...@gmail.com wrote:

 On Tue, Apr 1, 2014 at 8:27 AM, Jerry lancebo...@qwest.net wrote:
 Nice to see the ability to export a LyX file as a cropped PDF in version 
 2.1.0.x. However, the document is actually exported as a file, whereas it 
 would more useful if it were instead or also placed on the clipboard for 
 pasting into another document--that would fully allow LyX to be used as a 
 standalone equation editor for other applications.
 
 Good idea. I'm not sure how easy this would be, but do consider
 opening a feature request on the bug tracker.

Done.
Jerry



Re: How to get cropped PDF graphic on the clipboard

2014-04-03 Thread Jerry

On Apr 3, 2014, at 1:53 PM, Scott Kostyshak <skost...@lyx.org> wrote:

> On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic <landronim...@gmail.com> wrote:
> 
>> One idea would be to use a commandline utility that allows copying
>> image files to the clipboard, and create a new converter from
>> PDF(cropped) towards this utility. But so far I couldn't find anything
>> for Linux, let alone cross-platform. Otherwise, I'm wondering if we
>> have an LFUN that would provide this functionality. But I'm not sure
>> how exactly that could work.
> 
> Good idea Liviu. I recommend CopyQ if you want to implement this. It
> works great on Linux, supposedly works on Windows, and support is
> experimental on OS X 10.9+. The author of CopyQ is extremely
> responsive to features and bug reports (he implemented a feature that
> I'm pretty sure only I use, just for me). This is one of the best
> clipboard managers out there (although note the focus is on features
> over lightweight) but it is not well known.
> 
> To put an image on the clipboard, you can do e.g.
> copyq write image/svg - < image.svg
> 
> For more info, see
> https://github.com/hluk/CopyQ
> 
> To install, I believe it's a simple
> cmake .
> make
> sudo make install
> 
> First you must have dependencies. See the INSTALL file for explicit
> instructions for which packages you need for Ubuntu. Let me know if
> you want help with anything.
> 
> Best,
> 
> Scott

Interesting solution, looks a bit bloaty as noted by Scott. Also, support for 
OS X is a little concerning, at 10.9+. I wonder if there is a concrete reason 
for this limitation or perhaps it's due to the developer's lack of access to 
other versions. Also, the web site states, "To compile and run the application 
you'll need the latest stable version of Qt library (there is also experimental 
support for Qt 5). To compile on OS X, you will need at least Qt 5.2."

Dumb question: if Qt 5.2 is required to compile on OS X, is it required to run?

Jerry

Re: How to get cropped PDF graphic on the clipboard

2014-04-03 Thread Jerry

On Apr 3, 2014, at 1:17 PM, Liviu Andronic <landronim...@gmail.com> wrote:

> On Tue, Apr 1, 2014 at 8:27 AM, Jerry <lancebo...@qwest.net> wrote:
>> Nice to see the ability to export a LyX file as a cropped PDF in version 
>> 2.1.0.x. However, the document is actually exported as a file, whereas it 
>> would more useful if it were instead or also placed on the clipboard for 
>> pasting into another document--that would fully allow LyX to be used as a 
>> standalone equation editor for other applications.
>> 
> Good idea. I'm not sure how easy this would be, but do consider
> opening a feature request on the bug tracker.

Done.
Jerry



How to get cropped PDF graphic on the clipboard

2014-04-01 Thread Jerry
Nice to see the ability to export a LyX file as a cropped PDF in version 
2.1.0.x. However, the document is actually exported as a file, whereas it would 
more useful if it were instead or also placed on the clipboard for pasting into 
another document--that would fully allow LyX to be used as a standalone 
equation editor for other applications.

I use OS X and I notice that LyX is now AppleScriptable. Maybe there's a 
solution using AppleScript.

Jerry

How to get cropped PDF graphic on the clipboard

2014-04-01 Thread Jerry
Nice to see the ability to export a LyX file as a cropped PDF in version 
2.1.0.x. However, the document is actually exported as a file, whereas it would 
more useful if it were instead or also placed on the clipboard for pasting into 
another document--that would fully allow LyX to be used as a standalone 
equation editor for other applications.

I use OS X and I notice that LyX is now AppleScriptable. Maybe there's a 
solution using AppleScript.

Jerry

How to get cropped PDF graphic on the clipboard

2014-04-01 Thread Jerry
Nice to see the ability to export a LyX file as a cropped PDF in version 
2.1.0.x. However, the document is actually exported as a file, whereas it would 
more useful if it were instead or also placed on the clipboard for pasting into 
another document--that would fully allow LyX to be used as a standalone 
equation editor for other applications.

I use OS X and I notice that LyX is now AppleScriptable. Maybe there's a 
solution using AppleScript.

Jerry

Re: Facilitate testing on OSX - WAS: menu bar lost in OS X

2014-02-04 Thread Jerry

On Feb 4, 2014, at 1:27 AM, Rainer M Krug rai...@krugs.de wrote:

 And then there came homebrew, which works very nicely, and does, in
 contrast to Macports, not require root privileges.

I too once tried to build LyX from source and gave up.

MacPorts already has LyX, currently at 2.0.6
http://www.macports.org/ports.php?by=namesubstr=lyx

I have not used MacPorts for LyX. I'm currently using 2.1beta2 which is not 
available there. I wonder if the maintainer could be cajoled into keeping a 
beta version as well.

Jerry

Re: Facilitate testing on OSX - WAS: menu bar lost in OS X

2014-02-04 Thread Jerry

On Feb 4, 2014, at 1:27 AM, Rainer M Krug rai...@krugs.de wrote:

 And then there came homebrew, which works very nicely, and does, in
 contrast to Macports, not require root privileges.

I too once tried to build LyX from source and gave up.

MacPorts already has LyX, currently at 2.0.6
http://www.macports.org/ports.php?by=namesubstr=lyx

I have not used MacPorts for LyX. I'm currently using 2.1beta2 which is not 
available there. I wonder if the maintainer could be cajoled into keeping a 
beta version as well.

Jerry

Re: Facilitate testing on OSX - WAS: menu bar lost in OS X

2014-02-04 Thread Jerry

On Feb 4, 2014, at 1:27 AM, Rainer M Krug <rai...@krugs.de> wrote:

> And then there came homebrew, which works very nicely, and does, in
> contrast to Macports, not require root privileges.

I too once tried to build LyX from source and gave up.

MacPorts already has LyX, currently at 2.0.6
http://www.macports.org/ports.php?by=name=lyx

I have not used MacPorts for LyX. I'm currently using 2.1beta2 which is not 
available there. I wonder if the maintainer could be cajoled into keeping a 
beta version as well.

Jerry

Re: Request for Feature on Mac

2014-01-31 Thread Jerry

On Jan 31, 2014, at 3:00 AM, Dr Eberhard Lisse nos...@lisse.na wrote:

 Where would I request the following feature:
 
 Many Mac programs offer you the choice to Save, Don't Save/Discard,
 Cancel in the way that is shown in the enclosed alpha.jpg, ie if you
 use the Return/Enter key it'll save, if you use the Space key it'll
 Not Save (Quit) and you have to use the mouse to click Cancel.
 
 In Lyx I must use the mouse if I want to discard, because it doesn't
 recognize the Space and it defaults to Save.
 
 Since I work with the keyboard mostly it is a nuisance, hence this
 request.
 
 el
 alpha.jpglyx.jpg

If someone is going to change this, please also change Discard to Don't 
Save which is standard on OS X.

Jerry



Re: Request for Feature on Mac

2014-01-31 Thread Jerry

On Jan 31, 2014, at 3:00 AM, Dr Eberhard Lisse nos...@lisse.na wrote:

 Where would I request the following feature:
 
 Many Mac programs offer you the choice to Save, Don't Save/Discard,
 Cancel in the way that is shown in the enclosed alpha.jpg, ie if you
 use the Return/Enter key it'll save, if you use the Space key it'll
 Not Save (Quit) and you have to use the mouse to click Cancel.
 
 In Lyx I must use the mouse if I want to discard, because it doesn't
 recognize the Space and it defaults to Save.
 
 Since I work with the keyboard mostly it is a nuisance, hence this
 request.
 
 el
 alpha.jpglyx.jpg

If someone is going to change this, please also change Discard to Don't 
Save which is standard on OS X.

Jerry



Re: Request for Feature on Mac

2014-01-31 Thread Jerry

On Jan 31, 2014, at 3:00 AM, Dr Eberhard Lisse <nos...@lisse.na> wrote:

> Where would I request the following feature:
> 
> Many Mac programs offer you the choice to Save, Don't Save/Discard,
> Cancel in the way that is shown in the enclosed alpha.jpg, ie if you
> use the Return/Enter key it'll save, if you use the Space key it'll
> Not Save (Quit) and you have to use the mouse to click Cancel.
> 
> In Lyx I must use the mouse if I want to discard, because it doesn't
> recognize the Space and it defaults to Save.
> 
> Since I work with the keyboard mostly it is a nuisance, hence this
> request.
> 
> el
> 

If someone is going to change this, please also change "Discard" to "Don't 
Save" which is standard on OS X.

Jerry



Re: LyX very slow on Mac

2014-01-08 Thread Jerry
On Jan 8, 2014, at 12:24 PM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for letting us know, Anders. Glad 2.1 is working well for you. Scott
 
 On Wed, Jan 8, 2014 at 2:03 PM, Anders Host-Madsen
 ahostmad...@yahoo.com wrote:
 Yes, it seems LyX 2.1 solves the problem. It is definitely
 faster than LyX 2.0.6. Very good. LyX had become so
 slow that I almost couldn't use it.
 

Whoa, hold on here. I can't let this thread end here. The long-standing 
classic scrolling problem on OS X remains with 2.1.0beta2.

Anders seems to have had some sort of other problem where LyX 2.0.6 was getting 
progressively slower over time and was specific to his machine.

The scrolling problem is NOT fixed in 2.1.0beta2 and remains as it has in other 
versions. As has been discussed in detail in the past on this list in various 
threads, setting
  \force_paint_single_char 0
in the LyX preferences more than doubles the scrolling speed over setting it to 
1. With it set to 0, scrolling behavior is marginally acceptable, where by 
scrolling I mean clicking in the elevator bar and advancing the display one 
page at at time as fast as possible, or by using the two-finger swipe to either 
scroll a little bit at a time or with the ballistic swipe to 
two-finger-scroll over a larger area. (OS X no longer uses arrows at the ends 
of its elevator bar). I say marginally because at 0, scrolling does not make 
me want to kill myself but still lacks the massless feel that a native Mac 
program displays while scrolling. And of course, with the setting at 0, text 
spacing is incorrect and for example it is not possible to discern if there is 
a space between some words without placing the cursor there and using the arrow 
keys to see if it moves when an arrow key is pressed.

Here are some scrolling times in seconds for the LyX User Guide versus LyX 
version and the value of force_paint_single_char in the corresponding 
preference file. I am using OS X 10.8.5. I did not check if the User Guides are 
significantly longer for 2.1 versus 2.0.6. However, the length of the document 
does not affect scrolling speed in general. It is important to note that 
scrolling speeds up briefly when little text is displayed such as for graphics 
or sparsely populated tables. And most important, these times do not adequately 
convey the much different user experiences between 0 and 1 settings--it is like 
the difference between running on a track and running in deep mud, plus latency.

LyX 2.1.0beta2 \force_paint_single_char 0  10
LyX 2.1.0beta2 \force_paint_single_char 1  23

LyX 2.0.6  \force_paint_single_char 0  11
LyX 2.0.6  \force_paint_single_char 1  22

Within measurement error, these times are essentially identical.

My understanding from a not-too-distant post on the list is that there is a 
patch but is incomplete and has not been applied to 2.1.0beta2.

Jerry

Re: LyX very slow on Mac

2014-01-08 Thread Jerry
On Jan 8, 2014, at 12:24 PM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for letting us know, Anders. Glad 2.1 is working well for you. Scott
 
 On Wed, Jan 8, 2014 at 2:03 PM, Anders Host-Madsen
 ahostmad...@yahoo.com wrote:
 Yes, it seems LyX 2.1 solves the problem. It is definitely
 faster than LyX 2.0.6. Very good. LyX had become so
 slow that I almost couldn't use it.
 

Whoa, hold on here. I can't let this thread end here. The long-standing 
classic scrolling problem on OS X remains with 2.1.0beta2.

Anders seems to have had some sort of other problem where LyX 2.0.6 was getting 
progressively slower over time and was specific to his machine.

The scrolling problem is NOT fixed in 2.1.0beta2 and remains as it has in other 
versions. As has been discussed in detail in the past on this list in various 
threads, setting
  \force_paint_single_char 0
in the LyX preferences more than doubles the scrolling speed over setting it to 
1. With it set to 0, scrolling behavior is marginally acceptable, where by 
scrolling I mean clicking in the elevator bar and advancing the display one 
page at at time as fast as possible, or by using the two-finger swipe to either 
scroll a little bit at a time or with the ballistic swipe to 
two-finger-scroll over a larger area. (OS X no longer uses arrows at the ends 
of its elevator bar). I say marginally because at 0, scrolling does not make 
me want to kill myself but still lacks the massless feel that a native Mac 
program displays while scrolling. And of course, with the setting at 0, text 
spacing is incorrect and for example it is not possible to discern if there is 
a space between some words without placing the cursor there and using the arrow 
keys to see if it moves when an arrow key is pressed.

Here are some scrolling times in seconds for the LyX User Guide versus LyX 
version and the value of force_paint_single_char in the corresponding 
preference file. I am using OS X 10.8.5. I did not check if the User Guides are 
significantly longer for 2.1 versus 2.0.6. However, the length of the document 
does not affect scrolling speed in general. It is important to note that 
scrolling speeds up briefly when little text is displayed such as for graphics 
or sparsely populated tables. And most important, these times do not adequately 
convey the much different user experiences between 0 and 1 settings--it is like 
the difference between running on a track and running in deep mud, plus latency.

LyX 2.1.0beta2 \force_paint_single_char 0  10
LyX 2.1.0beta2 \force_paint_single_char 1  23

LyX 2.0.6  \force_paint_single_char 0  11
LyX 2.0.6  \force_paint_single_char 1  22

Within measurement error, these times are essentially identical.

My understanding from a not-too-distant post on the list is that there is a 
patch but is incomplete and has not been applied to 2.1.0beta2.

Jerry

Re: LyX very slow on Mac

2014-01-08 Thread Jerry
On Jan 8, 2014, at 12:24 PM, Scott Kostyshak <skost...@lyx.org> wrote:

> Thanks for letting us know, Anders. Glad 2.1 is working well for you. Scott
> 
> On Wed, Jan 8, 2014 at 2:03 PM, Anders Host-Madsen
> <ahostmad...@yahoo.com> wrote:
>> Yes, it seems LyX 2.1 solves the problem. It is definitely
>> faster than LyX 2.0.6. Very good. LyX had become so
>> slow that I almost couldn't use it.
>> 

Whoa, hold on here. I can't let this thread end here. The long-standing 
"classic" scrolling problem on OS X remains with 2.1.0beta2.

Anders seems to have had some sort of other problem where LyX 2.0.6 was getting 
progressively slower over time and was specific to his machine.

The scrolling problem is NOT fixed in 2.1.0beta2 and remains as it has in other 
versions. As has been discussed in detail in the past on this list in various 
threads, setting
  \force_paint_single_char "0"
in the LyX preferences more than doubles the scrolling speed over setting it to 
1. With it set to 0, scrolling behavior is marginally acceptable, where by 
"scrolling" I mean clicking in the elevator bar and advancing the display one 
page at at time as fast as possible, or by using the two-finger swipe to either 
scroll a little bit at a time or with the "ballistic" swipe to 
two-finger-scroll over a larger area. (OS X no longer uses arrows at the ends 
of its elevator bar). I say "marginally" because at 0, scrolling does not make 
me want to kill myself but still lacks the "massless" feel that a native Mac 
program displays while scrolling. And of course, with the setting at 0, text 
spacing is incorrect and for example it is not possible to discern if there is 
a space between some words without placing the cursor there and using the arrow 
keys to see if it moves when an arrow key is pressed.

Here are some scrolling times in seconds for the LyX User Guide versus LyX 
version and the value of force_paint_single_char in the corresponding 
preference file. I am using OS X 10.8.5. I did not check if the User Guides are 
significantly longer for 2.1 versus 2.0.6. However, the length of the document 
does not affect scrolling speed in general. It is important to note that 
scrolling speeds up briefly when little text is displayed such as for graphics 
or sparsely populated tables. And most important, these times do not adequately 
convey the much different user experiences between 0 and 1 settings--it is like 
the difference between running on a track and running in deep mud, plus latency.

LyX 2.1.0beta2 \force_paint_single_char "0"  10
LyX 2.1.0beta2 \force_paint_single_char "1"  23

LyX 2.0.6  \force_paint_single_char "0"  11
LyX 2.0.6  \force_paint_single_char "1"  22

Within measurement error, these times are essentially identical.

My understanding from a not-too-distant post on the list is that there is a 
patch but is incomplete and has not been applied to 2.1.0beta2.

Jerry

Re: Tutorial sample files

2013-12-29 Thread Jerry

On Dec 29, 2013, at 3:13 AM, Richard Talley rich.tal...@gmail.com wrote:

 That's true for most OS X users, but not all.
 
 If you want to use multi-platform programs, you have to put up with a certain 
 amount of non-Mac behavior. (As do Windows and Linux users, when using 
 programs primarily written to run on a different system.)
 
 I'm just glad that LyX is available on OS X, even though it doesn't quite fit 
 into the system the way only for OS X programs do.
 
 -- Rich

The package builder can and should put auxiliary files next to the app bundle, 
not inside it. This does not complicate user-level installation since all 
files/folders that exist on the .dmg can be dragged and dropped as easily as a 
single file. Of course, this would in some cases require minor code changes but 
if the code is looking inside an app bundle (which does not exist on other 
platforms, or if so, not in the OS X form), then it has already been 
specialized for OS X and might as well be specialized differently.

The vast majority of OS X users do not know that there is anything in the app 
bundle. LyX is intended for use by writers, not by hackers.

Yes, I'm glad LyX is available to OS X too—really glad. I hope these comments 
(and others by me) are taken in the spirit in which they are intended, that is, 
helpful suggestions. And most of my suggestions are and will be on the user 
interface which might or might not be OS X-specific.

Jerry
 
 
 On Fri, Dec 27, 2013 at 3:33 PM, Jerry lancebo...@qwest.net wrote:
 
 
 The OS X user should __never__ be required to look inside an app bundle from 
 the Finder (by right-clicking or Control-clicking). This is anathema to the 
 OS X user.
 
 Jerry
 



Re: Tutorial sample files

2013-12-29 Thread Jerry

On Dec 29, 2013, at 3:13 AM, Richard Talley rich.tal...@gmail.com wrote:

 That's true for most OS X users, but not all.
 
 If you want to use multi-platform programs, you have to put up with a certain 
 amount of non-Mac behavior. (As do Windows and Linux users, when using 
 programs primarily written to run on a different system.)
 
 I'm just glad that LyX is available on OS X, even though it doesn't quite fit 
 into the system the way only for OS X programs do.
 
 -- Rich

The package builder can and should put auxiliary files next to the app bundle, 
not inside it. This does not complicate user-level installation since all 
files/folders that exist on the .dmg can be dragged and dropped as easily as a 
single file. Of course, this would in some cases require minor code changes but 
if the code is looking inside an app bundle (which does not exist on other 
platforms, or if so, not in the OS X form), then it has already been 
specialized for OS X and might as well be specialized differently.

The vast majority of OS X users do not know that there is anything in the app 
bundle. LyX is intended for use by writers, not by hackers.

Yes, I'm glad LyX is available to OS X too—really glad. I hope these comments 
(and others by me) are taken in the spirit in which they are intended, that is, 
helpful suggestions. And most of my suggestions are and will be on the user 
interface which might or might not be OS X-specific.

Jerry
 
 
 On Fri, Dec 27, 2013 at 3:33 PM, Jerry lancebo...@qwest.net wrote:
 
 
 The OS X user should __never__ be required to look inside an app bundle from 
 the Finder (by right-clicking or Control-clicking). This is anathema to the 
 OS X user.
 
 Jerry
 



Re: Tutorial sample files

2013-12-29 Thread Jerry

On Dec 29, 2013, at 3:13 AM, Richard Talley <rich.tal...@gmail.com> wrote:

> That's true for most OS X users, but not all.
> 
> If you want to use multi-platform programs, you have to put up with a certain 
> amount of non-Mac behavior. (As do Windows and Linux users, when using 
> programs primarily written to run on a different system.)
> 
> I'm just glad that LyX is available on OS X, even though it doesn't quite fit 
> into the system the way only for OS X programs do.
> 
> -- Rich

The package builder can and should put auxiliary files next to the app bundle, 
not inside it. This does not complicate user-level installation since all 
files/folders that exist on the .dmg can be dragged and dropped as easily as a 
single file. Of course, this would in some cases require minor code changes but 
if the code is looking inside an app bundle (which does not exist on other 
platforms, or if so, not in the OS X form), then it has already been 
specialized for OS X and might as well be specialized differently.

The vast majority of OS X users do not know that there is anything in the app 
bundle. LyX is intended for use by writers, not by hackers.

Yes, I'm glad LyX is available to OS X too—really glad. I hope these comments 
(and others by me) are taken in the spirit in which they are intended, that is, 
helpful suggestions. And most of my suggestions are and will be on the user 
interface which might or might not be OS X-specific.

Jerry
> 
> 
> On Fri, Dec 27, 2013 at 3:33 PM, Jerry <lancebo...@qwest.net> wrote:
> 
> 
> The OS X user should __never__ be required to look inside an app bundle from 
> the Finder (by right-clicking or Control-clicking). This is anathema to the 
> OS X user.
> 
> Jerry
> 



Re: Tutorial sample files

2013-12-27 Thread Jerry

On Dec 26, 2013, at 4:29 PM, justin justina...@yahoo.com wrote:

 
 On the Mac installation, they get buried inside of the app package.
 
 Find LyX.app in your applications folder
 Right click on it and select show package contentsThe go to Contents -
 Resources - examples
 It might be a good idea to copy the folder to somewhere more convenient
 outside of the app if you are going to use them often.

[Sorry, I don't seem to have the entire thread for this.]

The OS X user should __never__ be required to look inside an app bundle from 
the Finder (by right-clicking or Control-clicking). This is anathema to the OS 
X user.

Jerry

 
 hope that helps
 Steve
 
 
 
 
 I am using Mac OS 10.9 and this trick does not work. Doing show package
 contents shows an empty folder! Help would be much appreciated.
 
 Thanks
 
 
 



Re: Tutorial sample files

2013-12-27 Thread Jerry

On Dec 26, 2013, at 4:29 PM, justin justina...@yahoo.com wrote:

 
 On the Mac installation, they get buried inside of the app package.
 
 Find LyX.app in your applications folder
 Right click on it and select show package contentsThe go to Contents -
 Resources - examples
 It might be a good idea to copy the folder to somewhere more convenient
 outside of the app if you are going to use them often.

[Sorry, I don't seem to have the entire thread for this.]

The OS X user should __never__ be required to look inside an app bundle from 
the Finder (by right-clicking or Control-clicking). This is anathema to the OS 
X user.

Jerry

 
 hope that helps
 Steve
 
 
 
 
 I am using Mac OS 10.9 and this trick does not work. Doing show package
 contents shows an empty folder! Help would be much appreciated.
 
 Thanks
 
 
 



Re: Tutorial sample files

2013-12-27 Thread Jerry

On Dec 26, 2013, at 4:29 PM, justin <justina...@yahoo.com> wrote:

> 
>> On the Mac installation, they get buried inside of the app package.
>> 
>> Find LyX.app in your applications folder
>> Right click on it and select "show package contents"The go to Contents ->
> Resources -> examples
>> It might be a good idea to copy the folder to somewhere more convenient
> outside of the app if you are going to use them often.

[Sorry, I don't seem to have the entire thread for this.]

The OS X user should __never__ be required to look inside an app bundle from 
the Finder (by right-clicking or Control-clicking). This is anathema to the OS 
X user.

Jerry

>> 
>> hope that helps
>> Steve
>> 
>> 
>> 
> 
> I am using Mac OS 10.9 and this trick does not work. Doing "show package
> contents" shows an empty folder! Help would be much appreciated.
> 
> Thanks
> 
> 
> 



Re: IEEE conferences class missing in LyX 2.1?

2013-12-20 Thread Jerry

On Dec 20, 2013, at 12:18 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 20.12.2013 um 05:02 schrieb Jerry lancebo...@qwest.net:
 
 
 On Dec 19, 2013, at 12:53 AM, Stephan Witt st.w...@gmx.net wrote:
 
 Am 19.12.2013 um 01:25 schrieb Jerry lancebo...@qwest.net:
 
 
 
 I'm using Ubuntu and don't know anything about the modern Macs so I don't 
 understand the problem with locating the templates.  I just went to File  
  Open from templates  and found the appropriate template.
 
 On OS X, the equivalent is apparently File - New from Template... . When 
 this is done, one is taken by file browser to 
 /Users/someuser/Library/Application Support/LyX-2.1/templates/ where the 
 only file is defaults.lyx.
 
 On OS X, an application package (aka bundle) is a special directory with a 
 specified structure of subdirectories. See
 https://developer.apple.com/library/mac/documentation/porting/conceptual/portingunix/distributing/distibuting.html
 For example, from the directory's root, the executable is always in the 
 same (relative) location. To the user, the special directory looks like an 
 application (icon) and when s/he double clicks on it, instead of opening 
 the folder to reveal its contents, the OS instead launches the application 
 inside it. This approach allows for easy distribution of most software; 
 LyX is installed by dragging a single icon from the distribution image 
 anywhere onto a disk.
 
 Any other code or resources may be stored in this directory structure, and 
 LyX stores examples and templates in this structure. So doing File - New 
 From Template ... should open the file browser to the appropriate 
 directory in this application package, not to the Application Support 
 folder for LyX.
 
 This is an old and not so easy to solve problem. There are tickets for it 
 in the trac system, e.g. here: 
 http://www.lyx.org/trac/ticket/7896
 
 We have two places to look for templates: user templates and system 
 templates.
 IMHO, the Linux Open file dialog has an additional button to navigate to 
 the 
 system templates location. This button is not provided with the native OSX
 open file dialog and the home-brewed LyX open file dialog is not usable on 
 OSX.
 
 The location of the system templates isn't well known either. You may have 
 more 
 than one LyX on your system. It has to be passed to the open file dialog at 
 runtime.
 These LyX packages may have different versions and therefor different 
 templates.
 
 The best solution would be a dynamically created entry in the left side bar 
 of the
 native open file dialog. But I didn't find any API for it documented nor 
 any working
 example. It looks like the Finder only is able to create such entries.
 
 The next idea is to add an button to the standard open file dialog, but I 
 don't have
 the skills to do this until now.
 
 Stephan
 
 That shouldn't be necessary.
 
 First, the more-or-less random location of the LyX application bundle icon 
 (the special directory that I double-click on to launch LyX) is
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/
 
 Now, in Preferences - Paths, the following appears. I did not edit these.
 Document Templates:
 /Users/jb/Library/Application Support/LyX-2.1/templates
 Example Files:
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
 2/LyX.app/Contents/Resources/examples/
 
 I did not edit either of these. Yet, the Example Files path correctly points 
 inside the LyX bundle whose root is LyX.app. And the Document Templates path 
 incorrectly points to another location where the only template file is 
 default.lyx (which was apparently installed there by the LyX program itself).
 
 Now, I'll quit LyX, move the LyX icon into a dummy folder that I'll call 
 Dummy_Folder which is just one level deeper from where it was, so that the 
 path to the LyX icon is now 
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/Dummy_Folder/
 and restart LyX, then look again at the paths.
 
 Document Templates:
 /Users/jb/Library/Application Support/LyX-2.1/templates
 Example Files:
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
 2/Dummy_Folder/LyX.app/Contents/Resources/examples/
 
 So somehow the program is discovering where it is on my disk and 
 automatically inserting the correct path for the examples, but the templates 
 path is hardwired (to the wrong place), and not getting updated.
 
 So all that is necessary to fix this problem is to find the code that 
 updates the examples path and apply it to the templates path.
 
 IMHO, you missed the point that LyX has two locations for templates but only 
 one for examples.

Well, I kind of did miss that point. But it remains that the current situation 
gives the user nothing when doing Files - New from Template... .

So how about having two File menu items, New from System Template (the path for 
which would go into the app bundle, thus handling the possibility that each LyX 
version will have its own templates) and New from User Template, and then 
adding also

Re: IEEE conferences class missing in LyX 2.1?

2013-12-20 Thread Jerry

On Dec 20, 2013, at 12:18 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 20.12.2013 um 05:02 schrieb Jerry lancebo...@qwest.net:
 
 
 On Dec 19, 2013, at 12:53 AM, Stephan Witt st.w...@gmx.net wrote:
 
 Am 19.12.2013 um 01:25 schrieb Jerry lancebo...@qwest.net:
 
 
 
 I'm using Ubuntu and don't know anything about the modern Macs so I don't 
 understand the problem with locating the templates.  I just went to File  
  Open from templates  and found the appropriate template.
 
 On OS X, the equivalent is apparently File - New from Template... . When 
 this is done, one is taken by file browser to 
 /Users/someuser/Library/Application Support/LyX-2.1/templates/ where the 
 only file is defaults.lyx.
 
 On OS X, an application package (aka bundle) is a special directory with a 
 specified structure of subdirectories. See
 https://developer.apple.com/library/mac/documentation/porting/conceptual/portingunix/distributing/distibuting.html
 For example, from the directory's root, the executable is always in the 
 same (relative) location. To the user, the special directory looks like an 
 application (icon) and when s/he double clicks on it, instead of opening 
 the folder to reveal its contents, the OS instead launches the application 
 inside it. This approach allows for easy distribution of most software; 
 LyX is installed by dragging a single icon from the distribution image 
 anywhere onto a disk.
 
 Any other code or resources may be stored in this directory structure, and 
 LyX stores examples and templates in this structure. So doing File - New 
 From Template ... should open the file browser to the appropriate 
 directory in this application package, not to the Application Support 
 folder for LyX.
 
 This is an old and not so easy to solve problem. There are tickets for it 
 in the trac system, e.g. here: 
 http://www.lyx.org/trac/ticket/7896
 
 We have two places to look for templates: user templates and system 
 templates.
 IMHO, the Linux Open file dialog has an additional button to navigate to 
 the 
 system templates location. This button is not provided with the native OSX
 open file dialog and the home-brewed LyX open file dialog is not usable on 
 OSX.
 
 The location of the system templates isn't well known either. You may have 
 more 
 than one LyX on your system. It has to be passed to the open file dialog at 
 runtime.
 These LyX packages may have different versions and therefor different 
 templates.
 
 The best solution would be a dynamically created entry in the left side bar 
 of the
 native open file dialog. But I didn't find any API for it documented nor 
 any working
 example. It looks like the Finder only is able to create such entries.
 
 The next idea is to add an button to the standard open file dialog, but I 
 don't have
 the skills to do this until now.
 
 Stephan
 
 That shouldn't be necessary.
 
 First, the more-or-less random location of the LyX application bundle icon 
 (the special directory that I double-click on to launch LyX) is
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/
 
 Now, in Preferences - Paths, the following appears. I did not edit these.
 Document Templates:
 /Users/jb/Library/Application Support/LyX-2.1/templates
 Example Files:
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
 2/LyX.app/Contents/Resources/examples/
 
 I did not edit either of these. Yet, the Example Files path correctly points 
 inside the LyX bundle whose root is LyX.app. And the Document Templates path 
 incorrectly points to another location where the only template file is 
 default.lyx (which was apparently installed there by the LyX program itself).
 
 Now, I'll quit LyX, move the LyX icon into a dummy folder that I'll call 
 Dummy_Folder which is just one level deeper from where it was, so that the 
 path to the LyX icon is now 
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/Dummy_Folder/
 and restart LyX, then look again at the paths.
 
 Document Templates:
 /Users/jb/Library/Application Support/LyX-2.1/templates
 Example Files:
 /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
 2/Dummy_Folder/LyX.app/Contents/Resources/examples/
 
 So somehow the program is discovering where it is on my disk and 
 automatically inserting the correct path for the examples, but the templates 
 path is hardwired (to the wrong place), and not getting updated.
 
 So all that is necessary to fix this problem is to find the code that 
 updates the examples path and apply it to the templates path.
 
 IMHO, you missed the point that LyX has two locations for templates but only 
 one for examples.

Well, I kind of did miss that point. But it remains that the current situation 
gives the user nothing when doing Files - New from Template... .

So how about having two File menu items, New from System Template (the path for 
which would go into the app bundle, thus handling the possibility that each LyX 
version will have its own templates) and New from User Template, and then 
adding also

Re: IEEE conferences class missing in LyX 2.1?

2013-12-20 Thread Jerry

On Dec 20, 2013, at 12:18 AM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 20.12.2013 um 05:02 schrieb Jerry <lancebo...@qwest.net>:
> 
>> 
>> On Dec 19, 2013, at 12:53 AM, Stephan Witt <st.w...@gmx.net> wrote:
>> 
>>> Am 19.12.2013 um 01:25 schrieb Jerry <lancebo...@qwest.net>:
>>> 
>>>> 
>>>>> 
>>>>> I'm using Ubuntu and don't know anything about the modern Macs so I don't 
>>>>> understand the problem with locating the templates.  I just went to File  
>>>>> > Open from templates > and found the appropriate template.
>>>> 
>>>> On OS X, the equivalent is apparently File -> New from Template... . When 
>>>> this is done, one is taken by file browser to 
>>>> /Users/someuser/Library/Application Support/LyX-2.1/templates/ where the 
>>>> only file is defaults.lyx.
>>>> 
>>>> On OS X, an application package (aka bundle) is a special directory with a 
>>>> specified structure of subdirectories. See
>>>> https://developer.apple.com/library/mac/documentation/porting/conceptual/portingunix/distributing/distibuting.html
>>>> For example, from the directory's root, the executable is always in the 
>>>> same (relative) location. To the user, the special directory looks like an 
>>>> application (icon) and when s/he double clicks on it, instead of opening 
>>>> the folder to reveal its contents, the OS instead launches the application 
>>>> inside it. This approach allows for easy distribution of most software; 
>>>> LyX is installed by dragging a single icon from the distribution image 
>>>> anywhere onto a disk.
>>>> 
>>>> Any other code or resources may be stored in this directory structure, and 
>>>> LyX stores examples and templates in this structure. So doing File -> New 
>>>> From Template ... should open the file browser to the appropriate 
>>>> directory in this application package, not to the Application Support 
>>>> folder for LyX.
>>> 
>>> This is an old and not so easy to solve problem. There are tickets for it 
>>> in the trac system, e.g. here: 
>>> http://www.lyx.org/trac/ticket/7896
>>> 
>>> We have two places to look for templates: user templates and system 
>>> templates.
>>> IMHO, the Linux "Open file dialog" has an additional button to navigate to 
>>> the 
>>> system templates location. This button is not provided with the native OSX
>>> open file dialog and the home-brewed LyX open file dialog is not usable on 
>>> OSX.
>>> 
>>> The location of the system templates isn't well known either. You may have 
>>> more 
>>> than one LyX on your system. It has to be passed to the open file dialog at 
>>> runtime.
>>> These LyX packages may have different versions and therefor different 
>>> templates.
>>> 
>>> The best solution would be a dynamically created entry in the left side bar 
>>> of the
>>> native open file dialog. But I didn't find any API for it documented nor 
>>> any working
>>> example. It looks like the Finder only is able to create such entries.
>>> 
>>> The next idea is to add an button to the standard open file dialog, but I 
>>> don't have
>>> the skills to do this until now.
>>> 
>>> Stephan
>> 
>> That shouldn't be necessary.
>> 
>> First, the more-or-less random location of the LyX application bundle icon 
>> (the special directory that I double-click on to launch LyX) is
>> /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/
>> 
>> Now, in Preferences -> Paths, the following appears. I did not edit these.
>> Document Templates:
>> /Users/jb/Library/Application Support/LyX-2.1/templates
>> Example Files:
>> /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
>> 2/LyX.app/Contents/Resources/examples/
>> 
>> I did not edit either of these. Yet, the Example Files path correctly points 
>> inside the LyX bundle whose root is LyX.app. And the Document Templates path 
>> incorrectly points to another location where the only template file is 
>> default.lyx (which was apparently installed there by the LyX program itself).
>> 
>> Now, I'll quit LyX, move the LyX icon into a dummy folder that I'll call 
>> Dummy_Folder which is just one level deeper from where it was, so that the 
>> path to the LyX icon is now 
>> /Applications/Words/LyXOuterFolder/LyX 

Re: IEEE conferences class missing in LyX 2.1?

2013-12-19 Thread Jerry

On Dec 19, 2013, at 12:53 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 19.12.2013 um 01:25 schrieb Jerry lancebo...@qwest.net:
 
 
 
 I'm using Ubuntu and don't know anything about the modern Macs so I don't 
 understand the problem with locating the templates.  I just went to File   
 Open from templates  and found the appropriate template.
 
 On OS X, the equivalent is apparently File - New from Template... . When 
 this is done, one is taken by file browser to 
 /Users/someuser/Library/Application Support/LyX-2.1/templates/ where the 
 only file is defaults.lyx.
 
 On OS X, an application package (aka bundle) is a special directory with a 
 specified structure of subdirectories. See
 https://developer.apple.com/library/mac/documentation/porting/conceptual/portingunix/distributing/distibuting.html
 For example, from the directory's root, the executable is always in the same 
 (relative) location. To the user, the special directory looks like an 
 application (icon) and when s/he double clicks on it, instead of opening the 
 folder to reveal its contents, the OS instead launches the application 
 inside it. This approach allows for easy distribution of most software; LyX 
 is installed by dragging a single icon from the distribution image anywhere 
 onto a disk.
 
 Any other code or resources may be stored in this directory structure, and 
 LyX stores examples and templates in this structure. So doing File - New 
 From Template ... should open the file browser to the appropriate directory 
 in this application package, not to the Application Support folder for LyX.
 
 This is an old and not so easy to solve problem. There are tickets for it in 
 the trac system, e.g. here: 
 http://www.lyx.org/trac/ticket/7896
 
 We have two places to look for templates: user templates and system templates.
 IMHO, the Linux Open file dialog has an additional button to navigate to 
 the 
 system templates location. This button is not provided with the native OSX
 open file dialog and the home-brewed LyX open file dialog is not usable on 
 OSX.
 
 The location of the system templates isn't well known either. You may have 
 more 
 than one LyX on your system. It has to be passed to the open file dialog at 
 runtime.
 These LyX packages may have different versions and therefor different 
 templates.
 
 The best solution would be a dynamically created entry in the left side bar 
 of the
 native open file dialog. But I didn't find any API for it documented nor any 
 working
 example. It looks like the Finder only is able to create such entries.
 
 The next idea is to add an button to the standard open file dialog, but I 
 don't have
 the skills to do this until now.
 
 Stephan

That shouldn't be necessary.

First, the more-or-less random location of the LyX application bundle icon (the 
special directory that I double-click on to launch LyX) is
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/

Now, in Preferences - Paths, the following appears. I did not edit these.
Document Templates:
  /Users/jb/Library/Application Support/LyX-2.1/templates
Example Files:
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/LyX.app/Contents/Resources/examples/

I did not edit either of these. Yet, the Example Files path correctly points 
inside the LyX bundle whose root is LyX.app. And the Document Templates path 
incorrectly points to another location where the only template file is 
default.lyx (which was apparently installed there by the LyX program itself).

Now, I'll quit LyX, move the LyX icon into a dummy folder that I'll call 
Dummy_Folder which is just one level deeper from where it was, so that the path 
to the LyX icon is now 
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/Dummy_Folder/
and restart LyX, then look again at the paths.

Document Templates:
  /Users/jb/Library/Application Support/LyX-2.1/templates
Example Files:
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/Dummy_Folder/LyX.app/Contents/Resources/examples/

So somehow the program is discovering where it is on my disk and automatically 
inserting the correct path for the examples, but the templates path is 
hardwired (to the wrong place), and not getting updated.

So all that is necessary to fix this problem is to find the code that updates 
the examples path and apply it to the templates path.

Or alternately, have the templates installed in (assuming a user named jb)
  /Users/jb/Library/Application Support/LyX-2.1/templates
and, for consistency, the examples installed in
  /Users/jb/Library/Application Support/LyX-2.1/examples
and hardwire both paths to each of these locations, respectively.

I don't care which it is but both should be easy to do.

The current work-around is to manually hardwire the Document Templates path to
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/LyX.app/Contents/Resources/templates/
and then remember to change it if the application moves.

Jerry

Re: IEEE conferences class missing in LyX 2.1?

2013-12-19 Thread Jerry

On Dec 19, 2013, at 12:53 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 19.12.2013 um 01:25 schrieb Jerry lancebo...@qwest.net:
 
 
 
 I'm using Ubuntu and don't know anything about the modern Macs so I don't 
 understand the problem with locating the templates.  I just went to File   
 Open from templates  and found the appropriate template.
 
 On OS X, the equivalent is apparently File - New from Template... . When 
 this is done, one is taken by file browser to 
 /Users/someuser/Library/Application Support/LyX-2.1/templates/ where the 
 only file is defaults.lyx.
 
 On OS X, an application package (aka bundle) is a special directory with a 
 specified structure of subdirectories. See
 https://developer.apple.com/library/mac/documentation/porting/conceptual/portingunix/distributing/distibuting.html
 For example, from the directory's root, the executable is always in the same 
 (relative) location. To the user, the special directory looks like an 
 application (icon) and when s/he double clicks on it, instead of opening the 
 folder to reveal its contents, the OS instead launches the application 
 inside it. This approach allows for easy distribution of most software; LyX 
 is installed by dragging a single icon from the distribution image anywhere 
 onto a disk.
 
 Any other code or resources may be stored in this directory structure, and 
 LyX stores examples and templates in this structure. So doing File - New 
 From Template ... should open the file browser to the appropriate directory 
 in this application package, not to the Application Support folder for LyX.
 
 This is an old and not so easy to solve problem. There are tickets for it in 
 the trac system, e.g. here: 
 http://www.lyx.org/trac/ticket/7896
 
 We have two places to look for templates: user templates and system templates.
 IMHO, the Linux Open file dialog has an additional button to navigate to 
 the 
 system templates location. This button is not provided with the native OSX
 open file dialog and the home-brewed LyX open file dialog is not usable on 
 OSX.
 
 The location of the system templates isn't well known either. You may have 
 more 
 than one LyX on your system. It has to be passed to the open file dialog at 
 runtime.
 These LyX packages may have different versions and therefor different 
 templates.
 
 The best solution would be a dynamically created entry in the left side bar 
 of the
 native open file dialog. But I didn't find any API for it documented nor any 
 working
 example. It looks like the Finder only is able to create such entries.
 
 The next idea is to add an button to the standard open file dialog, but I 
 don't have
 the skills to do this until now.
 
 Stephan

That shouldn't be necessary.

First, the more-or-less random location of the LyX application bundle icon (the 
special directory that I double-click on to launch LyX) is
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/

Now, in Preferences - Paths, the following appears. I did not edit these.
Document Templates:
  /Users/jb/Library/Application Support/LyX-2.1/templates
Example Files:
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/LyX.app/Contents/Resources/examples/

I did not edit either of these. Yet, the Example Files path correctly points 
inside the LyX bundle whose root is LyX.app. And the Document Templates path 
incorrectly points to another location where the only template file is 
default.lyx (which was apparently installed there by the LyX program itself).

Now, I'll quit LyX, move the LyX icon into a dummy folder that I'll call 
Dummy_Folder which is just one level deeper from where it was, so that the path 
to the LyX icon is now 
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/Dummy_Folder/
and restart LyX, then look again at the paths.

Document Templates:
  /Users/jb/Library/Application Support/LyX-2.1/templates
Example Files:
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/Dummy_Folder/LyX.app/Contents/Resources/examples/

So somehow the program is discovering where it is on my disk and automatically 
inserting the correct path for the examples, but the templates path is 
hardwired (to the wrong place), and not getting updated.

So all that is necessary to fix this problem is to find the code that updates 
the examples path and apply it to the templates path.

Or alternately, have the templates installed in (assuming a user named jb)
  /Users/jb/Library/Application Support/LyX-2.1/templates
and, for consistency, the examples installed in
  /Users/jb/Library/Application Support/LyX-2.1/examples
and hardwire both paths to each of these locations, respectively.

I don't care which it is but both should be easy to do.

The current work-around is to manually hardwire the Document Templates path to
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/LyX.app/Contents/Resources/templates/
and then remember to change it if the application moves.

Jerry

Re: IEEE conferences class missing in LyX 2.1?

2013-12-19 Thread Jerry

On Dec 19, 2013, at 12:53 AM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 19.12.2013 um 01:25 schrieb Jerry <lancebo...@qwest.net>:
> 
>> 
>>> 
>>> I'm using Ubuntu and don't know anything about the modern Macs so I don't 
>>> understand the problem with locating the templates.  I just went to File  > 
>>> Open from templates > and found the appropriate template.
>> 
>> On OS X, the equivalent is apparently File -> New from Template... . When 
>> this is done, one is taken by file browser to 
>> /Users/someuser/Library/Application Support/LyX-2.1/templates/ where the 
>> only file is defaults.lyx.
>> 
>> On OS X, an application package (aka bundle) is a special directory with a 
>> specified structure of subdirectories. See
>> https://developer.apple.com/library/mac/documentation/porting/conceptual/portingunix/distributing/distibuting.html
>> For example, from the directory's root, the executable is always in the same 
>> (relative) location. To the user, the special directory looks like an 
>> application (icon) and when s/he double clicks on it, instead of opening the 
>> folder to reveal its contents, the OS instead launches the application 
>> inside it. This approach allows for easy distribution of most software; LyX 
>> is installed by dragging a single icon from the distribution image anywhere 
>> onto a disk.
>> 
>> Any other code or resources may be stored in this directory structure, and 
>> LyX stores examples and templates in this structure. So doing File -> New 
>> From Template ... should open the file browser to the appropriate directory 
>> in this application package, not to the Application Support folder for LyX.
> 
> This is an old and not so easy to solve problem. There are tickets for it in 
> the trac system, e.g. here: 
> http://www.lyx.org/trac/ticket/7896
> 
> We have two places to look for templates: user templates and system templates.
> IMHO, the Linux "Open file dialog" has an additional button to navigate to 
> the 
> system templates location. This button is not provided with the native OSX
> open file dialog and the home-brewed LyX open file dialog is not usable on 
> OSX.
> 
> The location of the system templates isn't well known either. You may have 
> more 
> than one LyX on your system. It has to be passed to the open file dialog at 
> runtime.
> These LyX packages may have different versions and therefor different 
> templates.
> 
> The best solution would be a dynamically created entry in the left side bar 
> of the
> native open file dialog. But I didn't find any API for it documented nor any 
> working
> example. It looks like the Finder only is able to create such entries.
> 
> The next idea is to add an button to the standard open file dialog, but I 
> don't have
> the skills to do this until now.
> 
> Stephan

That shouldn't be necessary.

First, the more-or-less random location of the LyX application bundle icon (the 
special directory that I double-click on to launch LyX) is
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/

Now, in Preferences -> Paths, the following appears. I did not edit these.
Document Templates:
  /Users/jb/Library/Application Support/LyX-2.1/templates
Example Files:
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/LyX.app/Contents/Resources/examples/

I did not edit either of these. Yet, the Example Files path correctly points 
inside the LyX bundle whose root is LyX.app. And the Document Templates path 
incorrectly points to another location where the only template file is 
default.lyx (which was apparently installed there by the LyX program itself).

Now, I'll quit LyX, move the LyX icon into a dummy folder that I'll call 
Dummy_Folder which is just one level deeper from where it was, so that the path 
to the LyX icon is now 
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 2/Dummy_Folder/
and restart LyX, then look again at the paths.

Document Templates:
  /Users/jb/Library/Application Support/LyX-2.1/templates
Example Files:
  /Applications/Words/LyXOuterFolder/LyX 2.1.0 beta 
2/Dummy_Folder/LyX.app/Contents/Resources/examples/

So somehow the program is discovering where it is on my disk and automatically 
inserting the correct path for the examples, but the templates path is 
hardwired (to the wrong place), and not getting updated.

So all that is necessary to fix this problem is to find the code that updates 
the examples path and apply it to the templates path.

Or alternately, have the templates installed in (assuming a user named jb)
  /Users/jb/Library/Application Support/LyX-2.1/templates
and, for consistency, the examples installed in
  /Users/jb/Library/Application Support/LyX-2.1/examples
and hardwire both path

  1   2   3   4   >