Re: PDF graphics is blurred in LyX when scaled

2018-11-12 Thread Stephen Buonopane



> On Nov 12, 2018, at 7:52 AM, Baris Erkus  wrote:
> 
> On 12-Nov-18 3:38 PM, Kornel Benko wrote:
>> Am Montag, 12. November 2018 13:21:58 CET schrieb Daniel :
>>> On 11/11/2018 19:14, Paul A. Rubin wrote:
 On 11/10/18 9:45 PM, Baris Erkus wrote:
> Hello,
> 
> PDF graphics appears to be blurred in LyX when scaled from Graphics
> Options --> LaTeX and LyX options --> Show in LyX --> Scale on Screen.
> 
> I am not sure if this is a feature to reduce CPU rendering workload or
> smtg, but it would be really nice to have a clear view of the PDF
> while working on the document rather than looking at it using a PDF
> viewer.
> 
> See MWE and the view from LyX below.
> 
> Baris
> 
> 
 The image in your PDF file is a bitmap (PNG), so I don't hold out much
 hope for being able to zoom it without loss of fidelity.
>>> Why do you think the graphic in the PDF is a bitmap? I have zoomed in on
>>> it and never got any pixels to see. At least it must be an extremely
>>> high resolution bitmap then.
>>> 
>>> Daniel
>>> 
>> Because PNG format is bitmap?
>>  PNG image data, 652 x 668, 8-bit/color RGB, non-interlaced
>> 
>>  Kornel
>> 
> The external graphics is in PDF, which is attached to the original 
> e-mail; it was generated in Tikz, so it is a vector graphics. No 
> question about it.  When inserted into LyX, maybe LyX creates a 
> temporary bitmap or PNG file to show to the user, I am not sure.
> 
> It should not be a big thing to show a higher resolution graphics or to 
> let the user decide for possible performance issues. One day I will be 
> doing all these small modification by myself, but when that I do not 
> know... :-)
> 
> Baris


Yes LyX creates a PNG file for the on-screen preview within LyX (It also does 
this for the math preview)
If you dig into the LyX temp directory you will find all of the PNG files.

I recall that an older version of LyX (on Mac) did not use PNG for on-screen 
previews, in which case it may be possible to revert to the older behavior even 
in 2.3.X?






Re: Formatting name/date to be filled by others

2018-04-10 Thread Stephen Buonopane
On Apr 10, 2018, at 7:49 PM, Rich Shepard  wrote:
> 
> On Tue, 10 Apr 2018, Rich Shepard wrote:
> 
>> Of course, \hspace{} and \vspace{} will place these appropriately. What I
>> seek is a way to add the solid underline for a defined length and at a
>> specified place. Would \hfill{} be the appropriate macro? I've used it to
>> place spaces but not baselines.
> 
>  Forgot to mention I found nothing relevant in The LaTeX Companion (2nd Ed)
> or the LaTeX Graphics Companion.
> 
>  I suppose I could create a PSTricks .pdf and insert it on the page.
> 
> Rich

Try following command in ERT
\rule{3in}{0.5pt}



Re: Removing period following section reference

2017-09-29 Thread Stephen Buonopane

> On Sep 28, 2017, at 11:09 PM, Christos Makridis  wrote:
> 
> Hey Lyx Community,
> 
> I've spent some time searching online for a resolution to this, but haven't 
> found much.
> 
> The issue is as follows.
> 
> Suppose I write a section in the appendix (insert appendix here) like:
> 
> \section{data details}
> \label{sec:data}
> 
> But then I refer to:
> 
> Appendix Section \label{sec:data}
> 
> It will show up as Appendix Section A1.
> 
> Note that lyx places the period there automatically even if I do not put one.
> 
> Does anyone know how to remove that?
> 
> Thank you as always for your expertise!


I believe that you will need to use commands from the titlesec package in ERT 
and/or the preamble. 
I don’t think there is anyway to do it directly with LyX commands or menus.

steve




Re: graphical float placements

2015-03-25 Thread Stephen Buonopane

On Mar 25, 2015, at 3:07 PM, Wolfgang Engelmann wrote:

 
 
 Am 25.03.2015 um 19:49 schrieb fmsal...@virginmedia.com:
 Hullo,
Using distribution openSUSE 13.2 but not the rpm's for tex and lyx.  
 TexLive 2014 installed and lyx 2.1.2 compiled locally..
 
I am writing a document of about 50 pages with many pages of mathematics 
 using koma-script report.  I keep experiencing erratic behaviour with the 
 placement of graphical floats. The graphics are png files.
 
At times some greying out of options for the placement and sizing of the 
 plots occurs and at other times there are no problems at all.   Also 
 apparently an acceptable setting of alternatives are ignored!   I have not 
 been able to observe any common factors in what I have done.
 
At other times the floats are located within the text as intended.  Then 
 for no apparent reason they all appear at the end of the document.  Having 
 accepted that I should continue preparation and leave the float problem to 
 be resolved later, I continued work and left the floats alone. In adding 
 more text, some before and some after the first float location in the lyx 
 document, all the floats suddenly reappeared at their intended positions.
 
Has anyone experienced anything similar.  I feel I should add a bug 
 report but have no idea what to describe!
 
 Regards
 Frank Salter
 
 This is the result of adding more text. Latex tries to fit the floats at 
 reasonable places, and if there is not enough text, it accumulates at the end 
 of the document.
 Wolfgang

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




Re: graphical float placements

2015-03-25 Thread Stephen Buonopane

On Mar 25, 2015, at 3:07 PM, Wolfgang Engelmann wrote:

 
 
 Am 25.03.2015 um 19:49 schrieb fmsal...@virginmedia.com:
 Hullo,
Using distribution openSUSE 13.2 but not the rpm's for tex and lyx.  
 TexLive 2014 installed and lyx 2.1.2 compiled locally..
 
I am writing a document of about 50 pages with many pages of mathematics 
 using koma-script report.  I keep experiencing erratic behaviour with the 
 placement of graphical floats. The graphics are png files.
 
At times some greying out of options for the placement and sizing of the 
 plots occurs and at other times there are no problems at all.   Also 
 apparently an acceptable setting of alternatives are ignored!   I have not 
 been able to observe any common factors in what I have done.
 
At other times the floats are located within the text as intended.  Then 
 for no apparent reason they all appear at the end of the document.  Having 
 accepted that I should continue preparation and leave the float problem to 
 be resolved later, I continued work and left the floats alone. In adding 
 more text, some before and some after the first float location in the lyx 
 document, all the floats suddenly reappeared at their intended positions.
 
Has anyone experienced anything similar.  I feel I should add a bug 
 report but have no idea what to describe!
 
 Regards
 Frank Salter
 
 This is the result of adding more text. Latex tries to fit the floats at 
 reasonable places, and if there is not enough text, it accumulates at the end 
 of the document.
 Wolfgang

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




Re: graphical float placements

2015-03-25 Thread Stephen Buonopane

On Mar 25, 2015, at 3:07 PM, Wolfgang Engelmann wrote:

> 
> 
> Am 25.03.2015 um 19:49 schrieb fmsal...@virginmedia.com:
>> Hullo,
>>Using distribution openSUSE 13.2 but not the rpm's for tex and lyx.  
>> TexLive 2014 installed and lyx 2.1.2 compiled locally..
>> 
>>I am writing a document of about 50 pages with many pages of mathematics 
>> using koma-script report.  I keep experiencing erratic behaviour with the 
>> placement of graphical floats. The graphics are png files.
>> 
>>At times some greying out of options for the placement and sizing of the 
>> plots occurs and at other times there are no problems at all.   Also 
>> apparently an acceptable setting of alternatives are ignored!   I have not 
>> been able to observe any common factors in what I have done.
>> 
>>At other times the floats are located within the text as intended.  Then 
>> for no apparent reason they all appear at the end of the document.  Having 
>> accepted that I should continue preparation and leave the float problem to 
>> be resolved later, I continued work and left the floats alone. In adding 
>> more text, some before and some after the first float location in the lyx 
>> document, all the floats suddenly reappeared at their intended positions.
>> 
>>Has anyone experienced anything similar.  I feel I should add a bug 
>> report but have no idea what to describe!
>> 
>> Regards
>> Frank Salter
>> 
> This is the result of adding more text. Latex tries to fit the floats at 
> reasonable places, and if there is not enough text, it accumulates at the end 
> of the document.
> Wolfgang

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




Re: lyx on Mac - blurred fonts

2014-10-20 Thread Stephen Buonopane
I have been following this thread (and past related ones)  with great interest 
as I will be forced to upgrade to a retina Mac in the next 6 months or so.
Could someone post some screen shots that show the on-screen quality on a 
retina mac versus non-retina?
How is the image quality on a non-retina external display hooked up to a retina 
Mac?
Sounds like typing responsiveness is also an issue as well.

Steve


On Oct 20, 2014, at 12:42 PM, Christopher Menzel wrote:

 Stephan Witt wrote:
 
 Am 20.10.2014 um 17:44 schrieb Christopher Menzel chris.men...@gmail.com:
 
 On Oct 20, 2014 7:46 AM, Julio Rojas jcredbe...@gmail.com wrote: 
 Unfortunately, it is so. My wife has both versions and Lyx on Retina is 
 not a useless application, but a very difficult one to work with.
 My experience is quite different (though of course YMMV). There is no doubt 
 that the screen fonts in LyX ≤2.1.2 look much better on a non-Retina 
 display when examined close up; on a rMBP, the edges of font characters and 
 most icons are blurred and pixelated. But I find that, with the right 
 choice of screen fonts (notably, in my case, Georgia for the main text 
 font), if I am working at a comfortable distance from the screen (including 
 with the laptop in my lap), the blurred/pixelated edges of the fonts are 
 not noticeable. (For the record, my (corrected) vision is very good.)
 That said, there is little doubt that the LyX user experience on the rMBP 
 will be much better still when the version with Retina support comes out, 
 and I eagerly await it. (IIRC Stephan thinks that might be around 
 Christmas.)
 Stephan (or anyone), quick question: Is there any reason to think screen 
 fonts in LyX 2.1.2 will look appreciably better or worse on a new 5k-Retina 
 iMac than on a rMBP?
 
 Chris, frankly, I wasn't sure I understood Jerry's comment. 
 Perhaps he's talking about speed and not about crisp fonts.
 
 Ah, yes, that could be (subject of the thread notwithstanding). Typing is a 
 bit laggy on a rMBP (assuming that's the sort of thing you have in mind by 
 speed). Since I mostly use LyX for writing papers and I tend to write 
 rather haltingly, the lag is not usually noticeable. But if I were using it 
 for tasks where I wanted to type full speed, especially if I were a really 
 fast typist, I can see that lag could be pretty annoying.
 
 To answer your question: I have to check it first.
 
 Thanks!
 
 -chris



Re: lyx on Mac - blurred fonts

2014-10-20 Thread Stephen Buonopane
I have been following this thread (and past related ones)  with great interest 
as I will be forced to upgrade to a retina Mac in the next 6 months or so.
Could someone post some screen shots that show the on-screen quality on a 
retina mac versus non-retina?
How is the image quality on a non-retina external display hooked up to a retina 
Mac?
Sounds like typing responsiveness is also an issue as well.

Steve


On Oct 20, 2014, at 12:42 PM, Christopher Menzel wrote:

 Stephan Witt wrote:
 
 Am 20.10.2014 um 17:44 schrieb Christopher Menzel chris.men...@gmail.com:
 
 On Oct 20, 2014 7:46 AM, Julio Rojas jcredbe...@gmail.com wrote: 
 Unfortunately, it is so. My wife has both versions and Lyx on Retina is 
 not a useless application, but a very difficult one to work with.
 My experience is quite different (though of course YMMV). There is no doubt 
 that the screen fonts in LyX ≤2.1.2 look much better on a non-Retina 
 display when examined close up; on a rMBP, the edges of font characters and 
 most icons are blurred and pixelated. But I find that, with the right 
 choice of screen fonts (notably, in my case, Georgia for the main text 
 font), if I am working at a comfortable distance from the screen (including 
 with the laptop in my lap), the blurred/pixelated edges of the fonts are 
 not noticeable. (For the record, my (corrected) vision is very good.)
 That said, there is little doubt that the LyX user experience on the rMBP 
 will be much better still when the version with Retina support comes out, 
 and I eagerly await it. (IIRC Stephan thinks that might be around 
 Christmas.)
 Stephan (or anyone), quick question: Is there any reason to think screen 
 fonts in LyX 2.1.2 will look appreciably better or worse on a new 5k-Retina 
 iMac than on a rMBP?
 
 Chris, frankly, I wasn't sure I understood Jerry's comment. 
 Perhaps he's talking about speed and not about crisp fonts.
 
 Ah, yes, that could be (subject of the thread notwithstanding). Typing is a 
 bit laggy on a rMBP (assuming that's the sort of thing you have in mind by 
 speed). Since I mostly use LyX for writing papers and I tend to write 
 rather haltingly, the lag is not usually noticeable. But if I were using it 
 for tasks where I wanted to type full speed, especially if I were a really 
 fast typist, I can see that lag could be pretty annoying.
 
 To answer your question: I have to check it first.
 
 Thanks!
 
 -chris



Re: lyx on Mac - blurred fonts

2014-10-20 Thread Stephen Buonopane
I have been following this thread (and past related ones)  with great interest 
as I will be forced to upgrade to a retina Mac in the next 6 months or so.
Could someone post some screen shots that show the on-screen quality on a 
retina mac versus non-retina?
How is the image quality on a non-retina external display hooked up to a retina 
Mac?
Sounds like typing responsiveness is also an issue as well.

Steve


On Oct 20, 2014, at 12:42 PM, Christopher Menzel wrote:

> Stephan Witt wrote:
>> 
>> Am 20.10.2014 um 17:44 schrieb Christopher Menzel :
>> 
>>> On Oct 20, 2014 7:46 AM, "Julio Rojas"  wrote: 
 Unfortunately, it is so. My wife has both versions and Lyx on Retina is 
 not a useless application, but a very difficult one to work with.
>>> My experience is quite different (though of course YMMV). There is no doubt 
>>> that the screen fonts in LyX ≤2.1.2 look much better on a non-Retina 
>>> display when examined close up; on a rMBP, the edges of font characters and 
>>> most icons are blurred and pixelated. But I find that, with the right 
>>> choice of screen fonts (notably, in my case, Georgia for the main text 
>>> font), if I am working at a comfortable distance from the screen (including 
>>> with the laptop in my lap), the blurred/pixelated edges of the fonts are 
>>> not noticeable. (For the record, my (corrected) vision is very good.)
>>> That said, there is little doubt that the LyX user experience on the rMBP 
>>> will be much better still when the version with Retina support comes out, 
>>> and I eagerly await it. (IIRC Stephan thinks that might be around 
>>> Christmas.)
>>> Stephan (or anyone), quick question: Is there any reason to think screen 
>>> fonts in LyX 2.1.2 will look appreciably better or worse on a new 5k-Retina 
>>> iMac than on a rMBP?
>> 
>> Chris, frankly, I wasn't sure I understood Jerry's comment. 
>> Perhaps he's talking about speed and not about crisp fonts.
> 
> Ah, yes, that could be (subject of the thread notwithstanding). Typing is a 
> bit laggy on a rMBP (assuming that's the sort of thing you have in mind by 
> "speed"). Since I mostly use LyX for writing papers and I tend to write 
> rather haltingly, the lag is not usually noticeable. But if I were using it 
> for tasks where I wanted to type full speed, especially if I were a really 
> fast typist, I can see that lag could be pretty annoying.
> 
>> To answer your question: I have to check it first.
> 
> Thanks!
> 
> -chris



Re: Templates on Mac OS X

2014-07-16 Thread Stephen Buonopane
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.





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-16 Thread Stephen Buonopane
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.





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-16 Thread Stephen Buonopane
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.





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,  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
> 
> 



Fwd: How to enlarge a Graphic?

2014-04-17 Thread Stephen Buonopane


Begin forwarded message:

 From: Norbert Böhm sternent...@friedenswarte.de
 Subject: Re: How to enlarge a Graphic?
 Date: April 17, 2014 6:00:12 AM EDT
 To: Stephen Buonopane sbuon...@bucknell.edu
 
 Am 17.04.2014 05:08, schrieb Stephen Buonopane:
 
 On Apr 16, 2014, at 9:48 AM, Richard Heck wrote:
 
 On 04/16/2014 05:06 AM, Norbert Böhm wrote:
 Hello,
 
 can I ask here to a Lyx - Problem with Graphics?
 
 So, the Problem is, that I want to set a Graphic over the holy entire
 of a A4 - Page. I may set of the margins for this site. I think there is a 
 special TEX - command to do this, but I searched yesterday for many hours 
 and found different and unclear answers.
 
 Just FYI for anyone who wants to answer this: What Norbert wants to do is 
 have a graphic that covers the entire page, and not just the page within 
 the margins. For the horizontal aspect, one can center it. But how to do it 
 for the vertical aspect?
 
 Richard
 
 
 Try using the pdfpages package as described here
 http://www.bhalash.com/archives/13544791365
 
 In LyX you can do this with Insert - File - External Material - PDFPages
 
 
 
 
 Hello!
 
 
 Unfortunately are both ways wrong on my system. Wenn I try the way of Les, 
 there is no Graphic seen on the PDF, wenn I try the way of Stephen, the Latex 
 - Error episode runs.
 
 But still I´ve found the GOLDEN WAY, with the tip of Stephen.
 Note, that you seems to me like Latex - profis, and I´m a Latex- donkey, I´m 
 a Lyx- user! And now I´tell you the way for simple lyx users.
 
 This way has a plus and a minus:
 
 + you don´t need to touch the Latex - priamble, you don´t need Texcode!
 - you have to produce your Graphic as PDF
 
 So, Stephens way ist easyer in Lyx. First you change your graphic in a PDF - 
 Dokument (it´s easy to export it as PDF from GIMP)
 
 Than you go in your LYX - Dokument on the Side, where you want the Graphic, 
 may be make an new page and if you want to see the Graphic without topline 
 and pagenumber, set this in Texcode:
 
 \thispagestyle{empty}
 
 This is to clean your page, not the command to insert graphic!
 
 And now you insert your graphic:
 
 - click on: insert - file - extern Material (!)
  at the opening window search four your pdf- pic, and insert it
 - under that field you can choose the type of dokument - choose pdf
 - overtake this,
 
 and on the other upper button large and turning click:
 
 -  wide 100  % large
 
 (may be here you can play a little bit with this options, but this works 
 striktly. And may be, there are some little other names for this options, 
 cause I use the german surface)
 
 Now I see on Lyx and on my PDF a large Graphic over the entire of the choosen 
 page - in a realy good quality (zoom it!)
 
 I hope other people can enjoy this simple way now too
 and maybe it will be discribed in the Handbooks.
 
 
 
 Thank you Les, inadvertently I print out your picture. So I pin it on my wall 
 now to show my guests how intelligent Lyx - users are : )
 And thank you Stephen, that I can work on my great work : )
 
 
 Are we happy?
 
 We are!
 
 
 
 
 
 
 
 
 
 
 
 
 



Fwd: How to enlarge a Graphic?

2014-04-17 Thread Stephen Buonopane


Begin forwarded message:

 From: Norbert Böhm sternent...@friedenswarte.de
 Subject: Re: How to enlarge a Graphic?
 Date: April 17, 2014 6:00:12 AM EDT
 To: Stephen Buonopane sbuon...@bucknell.edu
 
 Am 17.04.2014 05:08, schrieb Stephen Buonopane:
 
 On Apr 16, 2014, at 9:48 AM, Richard Heck wrote:
 
 On 04/16/2014 05:06 AM, Norbert Böhm wrote:
 Hello,
 
 can I ask here to a Lyx - Problem with Graphics?
 
 So, the Problem is, that I want to set a Graphic over the holy entire
 of a A4 - Page. I may set of the margins for this site. I think there is a 
 special TEX - command to do this, but I searched yesterday for many hours 
 and found different and unclear answers.
 
 Just FYI for anyone who wants to answer this: What Norbert wants to do is 
 have a graphic that covers the entire page, and not just the page within 
 the margins. For the horizontal aspect, one can center it. But how to do it 
 for the vertical aspect?
 
 Richard
 
 
 Try using the pdfpages package as described here
 http://www.bhalash.com/archives/13544791365
 
 In LyX you can do this with Insert - File - External Material - PDFPages
 
 
 
 
 Hello!
 
 
 Unfortunately are both ways wrong on my system. Wenn I try the way of Les, 
 there is no Graphic seen on the PDF, wenn I try the way of Stephen, the Latex 
 - Error episode runs.
 
 But still I´ve found the GOLDEN WAY, with the tip of Stephen.
 Note, that you seems to me like Latex - profis, and I´m a Latex- donkey, I´m 
 a Lyx- user! And now I´tell you the way for simple lyx users.
 
 This way has a plus and a minus:
 
 + you don´t need to touch the Latex - priamble, you don´t need Texcode!
 - you have to produce your Graphic as PDF
 
 So, Stephens way ist easyer in Lyx. First you change your graphic in a PDF - 
 Dokument (it´s easy to export it as PDF from GIMP)
 
 Than you go in your LYX - Dokument on the Side, where you want the Graphic, 
 may be make an new page and if you want to see the Graphic without topline 
 and pagenumber, set this in Texcode:
 
 \thispagestyle{empty}
 
 This is to clean your page, not the command to insert graphic!
 
 And now you insert your graphic:
 
 - click on: insert - file - extern Material (!)
  at the opening window search four your pdf- pic, and insert it
 - under that field you can choose the type of dokument - choose pdf
 - overtake this,
 
 and on the other upper button large and turning click:
 
 -  wide 100  % large
 
 (may be here you can play a little bit with this options, but this works 
 striktly. And may be, there are some little other names for this options, 
 cause I use the german surface)
 
 Now I see on Lyx and on my PDF a large Graphic over the entire of the choosen 
 page - in a realy good quality (zoom it!)
 
 I hope other people can enjoy this simple way now too
 and maybe it will be discribed in the Handbooks.
 
 
 
 Thank you Les, inadvertently I print out your picture. So I pin it on my wall 
 now to show my guests how intelligent Lyx - users are : )
 And thank you Stephen, that I can work on my great work : )
 
 
 Are we happy?
 
 We are!
 
 
 
 
 
 
 
 
 
 
 
 
 



Fwd: How to enlarge a Graphic?

2014-04-17 Thread Stephen Buonopane


Begin forwarded message:

> From: Norbert Böhm <sternent...@friedenswarte.de>
> Subject: Re: How to enlarge a Graphic?
> Date: April 17, 2014 6:00:12 AM EDT
> To: Stephen Buonopane <sbuon...@bucknell.edu>
> 
> Am 17.04.2014 05:08, schrieb Stephen Buonopane:
>> 
>> On Apr 16, 2014, at 9:48 AM, Richard Heck wrote:
>> 
>>> On 04/16/2014 05:06 AM, Norbert Böhm wrote:
>>>> Hello,
>>>> 
>>>> can I ask here to a Lyx - Problem with Graphics?
>>>> 
>>>> So, the Problem is, that I want to set a Graphic over the holy entire
>>>> of a A4 - Page. I may set of the margins for this site. I think there is a 
>>>> special TEX - command to do this, but I searched yesterday for many hours 
>>>> and found different and unclear answers.
>>> 
>>> Just FYI for anyone who wants to answer this: What Norbert wants to do is 
>>> have a graphic that covers the entire page, and not just the page within 
>>> the margins. For the horizontal aspect, one can center it. But how to do it 
>>> for the vertical aspect?
>>> 
>>> Richard
>>> 
>> 
>> Try using the pdfpages package as described here
>> http://www.bhalash.com/archives/13544791365
>> 
>> In LyX you can do this with Insert -> File -> External Material -> PDFPages
>> 
> 
> 
> 
> Hello!
> 
> 
> Unfortunately are both ways wrong on my system. Wenn I try the way of Les, 
> there is no Graphic seen on the PDF, wenn I try the way of Stephen, the Latex 
> - Error episode runs.
> 
> But still I´ve found the "GOLDEN WAY", with the tip of Stephen.
> Note, that you seems to me like Latex - profis, and I´m a Latex- donkey, I´m 
> a Lyx- user! And now I´tell you the way for simple lyx users.
> 
> This way has a plus and a minus:
> 
> + you don´t need to touch the Latex - priamble, you don´t need Texcode!
> - you have to produce your Graphic as PDF
> 
> So, Stephens way ist easyer in Lyx. First you change your graphic in a PDF - 
> Dokument (it´s easy to export it as PDF from GIMP)
> 
> Than you go in your LYX - Dokument on the Side, where you want the Graphic, 
> may be make an new page and if you want to see the Graphic without topline 
> and pagenumber, set this in Texcode:
> 
> \thispagestyle{empty}
> 
> This is to clean your page, not the command to insert graphic!
> 
> And now you insert your graphic:
> 
> - click on: insert - file - extern Material (!)
>  at the opening window search four your pdf- pic, and insert it
> - under that field you can choose the type of dokument - choose pdf
> - overtake this,
> 
> and on the other upper button "large and turning" click:
> 
> -  wide 100  % large
> 
> (may be here you can play a little bit with this options, but this works 
> striktly. And may be, there are some little other names for this options, 
> cause I use the german surface)
> 
> Now I see on Lyx and on my PDF a large Graphic over the entire of the choosen 
> page - in a realy good quality (zoom it!)
> 
> I hope other people can enjoy this simple way now too
> and maybe it will be discribed in the Handbooks.
> 
> 
> 
> Thank you Les, inadvertently I print out your picture. So I pin it on my wall 
> now to show my guests how intelligent Lyx - users are : )
> And thank you Stephen, that I can work on my great work : )
> 
> 
> Are we happy?
> 
> We are!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 



Re: How to enlarge a Graphic?

2014-04-16 Thread Stephen Buonopane

On Apr 16, 2014, at 9:48 AM, Richard Heck wrote:

 On 04/16/2014 05:06 AM, Norbert Böhm wrote:
 Hello,
 
 can I ask here to a Lyx - Problem with Graphics?
 
 So, the Problem is, that I want to set a Graphic over the holy entire
 of a A4 - Page. I may set of the margins for this site. I think there is a 
 special TEX - command to do this, but I searched yesterday for many hours 
 and found different and unclear answers.
 
 Just FYI for anyone who wants to answer this: What Norbert wants to do is 
 have a graphic that covers the entire page, and not just the page within the 
 margins. For the horizontal aspect, one can center it. But how to do it for 
 the vertical aspect?
 
 Richard
 

Try using the pdfpages package as described here
http://www.bhalash.com/archives/13544791365

In LyX you can do this with Insert - File - External Material - PDFPages

Re: How to enlarge a Graphic?

2014-04-16 Thread Stephen Buonopane

On Apr 16, 2014, at 9:48 AM, Richard Heck wrote:

 On 04/16/2014 05:06 AM, Norbert Böhm wrote:
 Hello,
 
 can I ask here to a Lyx - Problem with Graphics?
 
 So, the Problem is, that I want to set a Graphic over the holy entire
 of a A4 - Page. I may set of the margins for this site. I think there is a 
 special TEX - command to do this, but I searched yesterday for many hours 
 and found different and unclear answers.
 
 Just FYI for anyone who wants to answer this: What Norbert wants to do is 
 have a graphic that covers the entire page, and not just the page within the 
 margins. For the horizontal aspect, one can center it. But how to do it for 
 the vertical aspect?
 
 Richard
 

Try using the pdfpages package as described here
http://www.bhalash.com/archives/13544791365

In LyX you can do this with Insert - File - External Material - PDFPages

Re: How to enlarge a Graphic?

2014-04-16 Thread Stephen Buonopane

On Apr 16, 2014, at 9:48 AM, Richard Heck wrote:

> On 04/16/2014 05:06 AM, Norbert Böhm wrote:
>> Hello,
>> 
>> can I ask here to a Lyx - Problem with Graphics?
>> 
>> So, the Problem is, that I want to set a Graphic over the holy entire
>> of a A4 - Page. I may set of the margins for this site. I think there is a 
>> special TEX - command to do this, but I searched yesterday for many hours 
>> and found different and unclear answers.
> 
> Just FYI for anyone who wants to answer this: What Norbert wants to do is 
> have a graphic that covers the entire page, and not just the page within the 
> margins. For the horizontal aspect, one can center it. But how to do it for 
> the vertical aspect?
> 
> Richard
> 

Try using the pdfpages package as described here
http://www.bhalash.com/archives/13544791365

In LyX you can do this with Insert -> File -> External Material -> PDFPages

Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Stephen Buonopane

On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
 
 Hi Maria,
 
 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?
 
 Best,
 
 Scott
 
 Hi Scott,
 
 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.
 
 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?
 
 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.
 
 Scott


Try this perhaps
LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in the 
list)

I am on LyX 2.06, OSX 10.7.5.

Steve



Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Stephen Buonopane

On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
 
 Hi Maria,
 
 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?
 
 Best,
 
 Scott
 
 Hi Scott,
 
 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.
 
 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?
 
 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.
 
 Scott


Try this perhaps
LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in the 
list)

I am on LyX 2.06, OSX 10.7.5.

Steve



Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Stephen Buonopane

On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

> On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova  wrote:
>> On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak  wrote:
>>> On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova  wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
>>> 
>>> Hi Maria,
>>> 
>>> I've never heard of this particular issue but other Mac-related screen
>>> issues have been solved by zooming. In Tools > Preferences > Look &
>>> Feel > Screen Fonts, does increasing "Zoom" help?
>>> 
>>> Best,
>>> 
>>> Scott
>> 
>> Hi Scott,
>> 
>> No, it didn't make a difference. I increased it from 150% to 250%, no
>> hint of grid lines.
>> 
>> Am I imagining that showing/hiding table gridlines used to be a
>> setting in the GUI somewhere?
> 
> You could be right. I don't remember. You could see if there are any
> differences in your preferences between the two computers. But I'm
> guessing it's a Qt related issue.
> 
> Scott


Try this perhaps
LyX->Preferences->Look & Feel->Colors->table on/off line (last entry in the 
list)

I am on LyX 2.06, OSX 10.7.5.

Steve



Re: Can't insert PDF image into LyX

2013-12-03 Thread Stephen Buonopane
Try the solution given here…
http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
which creates a direct conversion from pdf to png.

It solved a related problem for me in the past where the conversion through eps 
subtly changed the graphics dimensions making on screen cropping near 
impossible.

 

On Dec 3, 2013, at 1:00 AM, Jerry wrote:

 I am unable to insert PDF image files into LyX 2.0.6 on OS X 10.8.5. When I 
 try to do this, in the area where the graphic would be displayed, I first see 
 the message Converting to loadable format and then Error converting to 
 loadable format. The name of the file is then displayed but not the image.
 
 I am trying this in a new LyX document. The graphic is a simple plot saved 
 from Mathematica in several file formats. Of those other formats, I am able 
 to successfully insert bmp, eps, gif, jpg, png and tiff. (svg displays 
 incorrectly in LyX as a black rectangle even though it is displayed correctly 
 in other viewers.)
 
 I thought PDF was a native format for LyX, so I don't understand why it is 
 trying to convert the PDF file into anything. Have I set a preference to 
 something stupid?
 
 Jerry
 



Re: Can't insert PDF image into LyX

2013-12-03 Thread Stephen Buonopane
Try the solution given here…
http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
which creates a direct conversion from pdf to png.

It solved a related problem for me in the past where the conversion through eps 
subtly changed the graphics dimensions making on screen cropping near 
impossible.

 

On Dec 3, 2013, at 1:00 AM, Jerry wrote:

 I am unable to insert PDF image files into LyX 2.0.6 on OS X 10.8.5. When I 
 try to do this, in the area where the graphic would be displayed, I first see 
 the message Converting to loadable format and then Error converting to 
 loadable format. The name of the file is then displayed but not the image.
 
 I am trying this in a new LyX document. The graphic is a simple plot saved 
 from Mathematica in several file formats. Of those other formats, I am able 
 to successfully insert bmp, eps, gif, jpg, png and tiff. (svg displays 
 incorrectly in LyX as a black rectangle even though it is displayed correctly 
 in other viewers.)
 
 I thought PDF was a native format for LyX, so I don't understand why it is 
 trying to convert the PDF file into anything. Have I set a preference to 
 something stupid?
 
 Jerry
 



Re: Can't insert PDF image into LyX

2013-12-03 Thread Stephen Buonopane
Try the solution given here…
http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
which creates a direct conversion from pdf to png.

It solved a related problem for me in the past where the conversion through eps 
subtly changed the graphics dimensions making on screen cropping near 
impossible.

 

On Dec 3, 2013, at 1:00 AM, Jerry wrote:

> I am unable to insert PDF image files into LyX 2.0.6 on OS X 10.8.5. When I 
> try to do this, in the area where the graphic would be displayed, I first see 
> the message "Converting to loadable format" and then "Error converting to 
> loadable format." The name of the file is then displayed but not the image.
> 
> I am trying this in a new LyX document. The graphic is a simple plot saved 
> from Mathematica in several file formats. Of those other formats, I am able 
> to successfully insert bmp, eps, gif, jpg, png and tiff. (svg displays 
> incorrectly in LyX as a black rectangle even though it is displayed correctly 
> in other viewers.)
> 
> I thought PDF was a "native" format for LyX, so I don't understand why it is 
> trying to convert the PDF file into anything. Have I set a preference to 
> something stupid?
> 
> Jerry
> 



Re: Tutorial sample files

2013-10-03 Thread Stephen Buonopane

On Oct 3, 2013, at 9:05 PM, Paul Meehl wrote:

 I am new to LyX and cannot find the sample files described in the 
 Tutorial.pdf:
 
Finally, we have written a file called example_raw.lyx to let you practice
 your LYX skills. Imagine that it was typed by someone who did not know
 about any of LYX’s great features. As you learn new LYX functions, we will
 suggest that you fix those parts of example_raw.lyx. It also contains ‘subtle’
 hints about how to fix things.2 If you want to cheat, or check what you have
 done, there is also a file called example_lyxified.lyx which contains the
 same text written and typeset by a LYX master.
The example files can be found in the examples directory of LYX’s 
 installation folder. ...
 
 
 I am using OS X 10.8.5. I first installed MacTex, then LyX, merely moving L 
 yX.app into the Applications folder, as prompted. LyX seems to work fine 
 ,just do not have these files on my machine. Thanks for any help to find 
 them. 

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.

hope that helps
Steve




Re: Tutorial sample files

2013-10-03 Thread Stephen Buonopane

On Oct 3, 2013, at 9:05 PM, Paul Meehl wrote:

 I am new to LyX and cannot find the sample files described in the 
 Tutorial.pdf:
 
Finally, we have written a file called example_raw.lyx to let you practice
 your LYX skills. Imagine that it was typed by someone who did not know
 about any of LYX’s great features. As you learn new LYX functions, we will
 suggest that you fix those parts of example_raw.lyx. It also contains ‘subtle’
 hints about how to fix things.2 If you want to cheat, or check what you have
 done, there is also a file called example_lyxified.lyx which contains the
 same text written and typeset by a LYX master.
The example files can be found in the examples directory of LYX’s 
 installation folder. ...
 
 
 I am using OS X 10.8.5. I first installed MacTex, then LyX, merely moving L 
 yX.app into the Applications folder, as prompted. LyX seems to work fine 
 ,just do not have these files on my machine. Thanks for any help to find 
 them. 

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.

hope that helps
Steve




Re: Tutorial sample files

2013-10-03 Thread Stephen Buonopane

On Oct 3, 2013, at 9:05 PM, Paul Meehl wrote:

> I am new to LyX and cannot find the sample files described in the 
> Tutorial.pdf:
> 
>Finally, we have written a file called example_raw.lyx to let you practice
> your LYX skills. Imagine that it was typed by someone who did not know
> about any of LYX’s great features. As you learn new LYX functions, we will
> suggest that you fix those parts of example_raw.lyx. It also contains ‘subtle’
> hints about how to fix things.2 If you want to cheat, or check what you have
> done, there is also a file called example_lyxified.lyx which contains the
> same text written and typeset by a LYX master.
>The example files can be found in the examples directory of LYX’s 
> installation folder. ...
> 
> 
> I am using OS X 10.8.5. I first installed MacTex, then LyX, merely moving L 
> yX.app into the Applications folder, as prompted. LyX seems to work fine 
> ,just do not have these files on my machine. Thanks for any help to find 
> them. 

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.

hope that helps
Steve




Re: Caption-Figure Alignment

2013-03-09 Thread Stephen Buonopane

On Mar 8, 2013, at 9:28 AM, James Sutherland wrote:

 
 On Fri, Mar 8, 2013 at 1:43 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:
 
 This has always been a source of frustration to me.  It seems like the 
 default behavior should be for the paragraph style in a float to be centered. 
  This should be for tables and figures.
 
 Is there any reason why the current behavior is favored over centering? 
 
 James 
 

This question comes up frequently and multiple solutions have been offered, 
e.g. …
http://comments.gmane.org/gmane.editors.lyx.general/76613

I believe LyX just adopts the LaTeX default. 
But a nice feature request would be for a checkbox in LyX to center align items 
in floats.

Re: Caption-Figure Alignment

2013-03-09 Thread Stephen Buonopane

On Mar 8, 2013, at 9:28 AM, James Sutherland wrote:

 
 On Fri, Mar 8, 2013 at 1:43 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:
 
 This has always been a source of frustration to me.  It seems like the 
 default behavior should be for the paragraph style in a float to be centered. 
  This should be for tables and figures.
 
 Is there any reason why the current behavior is favored over centering? 
 
 James 
 

This question comes up frequently and multiple solutions have been offered, 
e.g. …
http://comments.gmane.org/gmane.editors.lyx.general/76613

I believe LyX just adopts the LaTeX default. 
But a nice feature request would be for a checkbox in LyX to center align items 
in floats.

Re: Caption-Figure Alignment

2013-03-09 Thread Stephen Buonopane

On Mar 8, 2013, at 9:28 AM, James Sutherland wrote:

> 
> On Fri, Mar 8, 2013 at 1:43 AM, Wolfgang Engelmann 
>  wrote:
> 
> This has always been a source of frustration to me.  It seems like the 
> default behavior should be for the paragraph style in a float to be centered. 
>  This should be for tables and figures.
> 
> Is there any reason why the current behavior is favored over centering? 
> 
> James 
> 

This question comes up frequently and multiple solutions have been offered, 
e.g. …
http://comments.gmane.org/gmane.editors.lyx.general/76613

I believe LyX just adopts the LaTeX default. 
But a nice feature request would be for a checkbox in LyX to center align items 
in floats.

Re: Excess Space With Tables and Figures at Chapter's End

2013-01-03 Thread Stephen Buonopane
On Jan 3, 2013, at 8:01 PM, Rich Shepard wrote:

  I've a short paragraph that concludes a chapter and this paragraph
 includes two table floats and two figure floats. TeX spreads these out over
 4 pages with too much white space. The first page has the paragraph, a lot
 of space, then one table; the second page has two figures (including one
 from an earlier paragraph), and so on.
 
  Should I copy these out of the floats and place them manually? I've not
 seen this before so I don't know all my options.
 
 Rich


Put the floats where you want them to appear relative to the text, then right 
click on the float:Figure or float:Table box and select Settings...Here 
Definitely.
Or with the cursor in the float frame select Edit..Float Settings.

Re: Excess Space With Tables and Figures at Chapter's End

2013-01-03 Thread Stephen Buonopane
On Jan 3, 2013, at 8:01 PM, Rich Shepard wrote:

  I've a short paragraph that concludes a chapter and this paragraph
 includes two table floats and two figure floats. TeX spreads these out over
 4 pages with too much white space. The first page has the paragraph, a lot
 of space, then one table; the second page has two figures (including one
 from an earlier paragraph), and so on.
 
  Should I copy these out of the floats and place them manually? I've not
 seen this before so I don't know all my options.
 
 Rich


Put the floats where you want them to appear relative to the text, then right 
click on the float:Figure or float:Table box and select Settings...Here 
Definitely.
Or with the cursor in the float frame select Edit..Float Settings.

Re: Excess Space With Tables and Figures at Chapter's End

2013-01-03 Thread Stephen Buonopane
On Jan 3, 2013, at 8:01 PM, Rich Shepard wrote:

>  I've a short paragraph that concludes a chapter and this paragraph
> includes two table floats and two figure floats. TeX spreads these out over
> 4 pages with too much white space. The first page has the paragraph, a lot
> of space, then one table; the second page has two figures (including one
> from an earlier paragraph), and so on.
> 
>  Should I copy these out of the floats and place them manually? I've not
> seen this before so I don't know all my options.
> 
> Rich


Put the floats where you want them to appear relative to the text, then right 
click on the float:Figure or float:Table box and select Settings...Here 
Definitely.
Or with the cursor in the float frame select Edit..Float Settings.

pdf cropping

2012-09-19 Thread Stephen Buonopane
I have a pdf file that has  /MediaBox [0 0 630 376]
when I ask LyX to get the bounding box from the file it returns [0 0 611 376]
which means the right edge of the image is cut off in both the LyX preview and 
the pdf output, unless I change the 611 to 630. 

I searched the pdf file in a text editor and cannot find 611 anywhere.
Anyone know where LyX gets the bounding box values from?

Thanks
Steve

pdf cropping

2012-09-19 Thread Stephen Buonopane
I have a pdf file that has  /MediaBox [0 0 630 376]
when I ask LyX to get the bounding box from the file it returns [0 0 611 376]
which means the right edge of the image is cut off in both the LyX preview and 
the pdf output, unless I change the 611 to 630. 

I searched the pdf file in a text editor and cannot find 611 anywhere.
Anyone know where LyX gets the bounding box values from?

Thanks
Steve

pdf cropping

2012-09-19 Thread Stephen Buonopane
I have a pdf file that has  /MediaBox [0 0 630 376]
when I ask LyX to get the bounding box from the file it returns [0 0 611 376]
which means the right edge of the image is cut off in both the LyX preview and 
the pdf output, unless I change the 611 to 630. 

I searched the pdf file in a text editor and cannot find 611 anywhere.
Anyone know where LyX gets the bounding box values from?

Thanks
Steve

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane
You can add something like this to your preamble
(does not affect how they appear in LyX preview of course)…

\renewenvironment{figure}[1][]{
 \@float{figure}
 \centering
 \singlespacing}
 {\end@float}
 
 \renewenvironment{table}[1][]{
 \@float{table}
 \centering
 \singlespacing}
 {\end@float}

On Sep 12, 2012, at 7:23 AM, Liviu Andronic wrote:

 On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 There are (at least) two ways of centering a single figure / graphic 
 horizontally in a figure float:
 
 1) using paragrahh properties - alignment - center
 
 I'm no expert, but this is what I usually do. And to me this seems the
 less hacky approach.
 
 Liviu
 
 
 2) using a \hfill left and right of the figure
 
 What is the better / more robust / more LaTeX way of doing this?
 
 Thanks,
 
 Rainer
 
 - --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
 UCT), Dipl. Phys.
 (Germany)
 
 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa
 
 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax :   +33 - (0)9 58 10 27 44
 
 Fax (D):+49 - (0)3 21 21 25 22 44
 
 email:  rai...@krugs.de
 
 Skype:  RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
 
 iEYEARECAAYFAlBQau0ACgkQoYgNqgF2egp7FgCeIHyhYT/x+bJzqoANM9Muapeo
 vi4An28oDskmG/XKqdTgVLKPvJlhfRiZ
 =88Df
 -END PGP SIGNATURE-
 
 
 
 -- 
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane

On Sep 12, 2012, at 9:21 AM, Rainer M Krug wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 12/09/12 15:15, Rainer M Krug wrote:
 On 12/09/12 14:19, Stephen Buonopane wrote:
 You can add something like this to your preamble (does not affect how they 
 appear in LyX 
 preview of course)…
 
 \renewenvironment{figure}[1][]{ \@float{figure} \centering \singlespacing} 
 {\end@float} 
 \renewenvironment{table}[1][]{ \@float{table} \centering \singlespacing} 
 {\end@float}
 
 Now this is a neat idea - haven't thought about that. Saves me quite some 
 work.
 
 But I was to fast. I get an error:
 
 ! Undefined control sequence.
 \\figure ...at {figure} \centering \singlespacing
 
 l.177 \begin{figure}[H]
 
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 
 Any suggestions?
 
 Rainer
 

I have not used it recently, but I get the same error you do.
I copied it from Herbert Voss' tips and tricks page many years ago. 
It worked then, but I am not sure what has changed.

Actually…it looks like the /singlespacing command is causing the problem.
Delete that and the centering still works.

Steve

 
 Thanks,
 
 Rainer
 
 
 On Sep 12, 2012, at 7:23 AM, Liviu Andronic wrote:
 
 On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 There are (at least) two ways of centering a single figure / graphic 
 horizontally in a 
 figure float:
 
 1) using paragrahh properties - alignment - center
 
 I'm no expert, but this is what I usually do. And to me this seems the 
 less hacky
 approach.
 
 Liviu
 
 
 2) using a \hfill left and right of the figure
 
 What is the better / more robust / more LaTeX way of doing this?
 
 Thanks,
 
 Rainer
 
 - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation 
 Biology, UCT), 
 Dipl. Phys. (Germany)
 
 Centre of Excellence for Invasion Biology Stellenbosch University South 
 Africa
 
 Tel :   +33 - (0)9 53 10 27 44 Cell:   +33 - (0)6 85 62 59 98 Fax 
 :   +33 - 
 (0)9 58 10 27 44
 
 Fax (D):+49 - (0)3 21 21 25 22 44
 
 email:  rai...@krugs.de
 
 Skype:  RMkrug
 
 
 
 - -- 
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
 UCT), Dipl. Phys.
 (Germany)
 
 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa
 
 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax :   +33 - (0)9 58 10 27 44
 
 Fax (D):+49 - (0)3 21 21 25 22 44
 
 email:  rai...@krugs.de
 
 Skype:  RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
 
 iEYEARECAAYFAlBQjD8ACgkQoYgNqgF2egrUSACfapSbOg4k++TnoErSLBpLA3Hq
 Yf8AmwUh5HpGyGw+nRPkTRyqYToGwqYl
 =caSn
 -END PGP SIGNATURE-



Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane

On Sep 12, 2012, at 10:55 AM, Rainer M Krug wrote:

 I have not used it recently, but I get the same error you do. I copied it 
 from Herbert Voss'
 tips and tricks page many years ago. It worked then, but I am not sure what 
 has changed.
 
 Actually…it looks like the /singlespacing command is causing the problem. 
 Delete that and the
 centering still works.
 
 Great - thanks

\singlespacing requires the setspace package
not really sure what it was intended to do in this context.

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane
You can add something like this to your preamble
(does not affect how they appear in LyX preview of course)…

\renewenvironment{figure}[1][]{
 \@float{figure}
 \centering
 \singlespacing}
 {\end@float}
 
 \renewenvironment{table}[1][]{
 \@float{table}
 \centering
 \singlespacing}
 {\end@float}

On Sep 12, 2012, at 7:23 AM, Liviu Andronic wrote:

 On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 There are (at least) two ways of centering a single figure / graphic 
 horizontally in a figure float:
 
 1) using paragrahh properties - alignment - center
 
 I'm no expert, but this is what I usually do. And to me this seems the
 less hacky approach.
 
 Liviu
 
 
 2) using a \hfill left and right of the figure
 
 What is the better / more robust / more LaTeX way of doing this?
 
 Thanks,
 
 Rainer
 
 - --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
 UCT), Dipl. Phys.
 (Germany)
 
 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa
 
 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax :   +33 - (0)9 58 10 27 44
 
 Fax (D):+49 - (0)3 21 21 25 22 44
 
 email:  rai...@krugs.de
 
 Skype:  RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
 
 iEYEARECAAYFAlBQau0ACgkQoYgNqgF2egp7FgCeIHyhYT/x+bJzqoANM9Muapeo
 vi4An28oDskmG/XKqdTgVLKPvJlhfRiZ
 =88Df
 -END PGP SIGNATURE-
 
 
 
 -- 
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane

On Sep 12, 2012, at 9:21 AM, Rainer M Krug wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 12/09/12 15:15, Rainer M Krug wrote:
 On 12/09/12 14:19, Stephen Buonopane wrote:
 You can add something like this to your preamble (does not affect how they 
 appear in LyX 
 preview of course)…
 
 \renewenvironment{figure}[1][]{ \@float{figure} \centering \singlespacing} 
 {\end@float} 
 \renewenvironment{table}[1][]{ \@float{table} \centering \singlespacing} 
 {\end@float}
 
 Now this is a neat idea - haven't thought about that. Saves me quite some 
 work.
 
 But I was to fast. I get an error:
 
 ! Undefined control sequence.
 \\figure ...at {figure} \centering \singlespacing
 
 l.177 \begin{figure}[H]
 
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 
 Any suggestions?
 
 Rainer
 

I have not used it recently, but I get the same error you do.
I copied it from Herbert Voss' tips and tricks page many years ago. 
It worked then, but I am not sure what has changed.

Actually…it looks like the /singlespacing command is causing the problem.
Delete that and the centering still works.

Steve

 
 Thanks,
 
 Rainer
 
 
 On Sep 12, 2012, at 7:23 AM, Liviu Andronic wrote:
 
 On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 There are (at least) two ways of centering a single figure / graphic 
 horizontally in a 
 figure float:
 
 1) using paragrahh properties - alignment - center
 
 I'm no expert, but this is what I usually do. And to me this seems the 
 less hacky
 approach.
 
 Liviu
 
 
 2) using a \hfill left and right of the figure
 
 What is the better / more robust / more LaTeX way of doing this?
 
 Thanks,
 
 Rainer
 
 - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation 
 Biology, UCT), 
 Dipl. Phys. (Germany)
 
 Centre of Excellence for Invasion Biology Stellenbosch University South 
 Africa
 
 Tel :   +33 - (0)9 53 10 27 44 Cell:   +33 - (0)6 85 62 59 98 Fax 
 :   +33 - 
 (0)9 58 10 27 44
 
 Fax (D):+49 - (0)3 21 21 25 22 44
 
 email:  rai...@krugs.de
 
 Skype:  RMkrug
 
 
 
 - -- 
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
 UCT), Dipl. Phys.
 (Germany)
 
 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa
 
 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax :   +33 - (0)9 58 10 27 44
 
 Fax (D):+49 - (0)3 21 21 25 22 44
 
 email:  rai...@krugs.de
 
 Skype:  RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
 
 iEYEARECAAYFAlBQjD8ACgkQoYgNqgF2egrUSACfapSbOg4k++TnoErSLBpLA3Hq
 Yf8AmwUh5HpGyGw+nRPkTRyqYToGwqYl
 =caSn
 -END PGP SIGNATURE-



Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane

On Sep 12, 2012, at 10:55 AM, Rainer M Krug wrote:

 I have not used it recently, but I get the same error you do. I copied it 
 from Herbert Voss'
 tips and tricks page many years ago. It worked then, but I am not sure what 
 has changed.
 
 Actually…it looks like the /singlespacing command is causing the problem. 
 Delete that and the
 centering still works.
 
 Great - thanks

\singlespacing requires the setspace package
not really sure what it was intended to do in this context.

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane
You can add something like this to your preamble
(does not affect how they appear in LyX preview of course)…

\renewenvironment{figure}[1][]{
 \@float{figure}
 \centering
 \singlespacing}
 {\end@float}
 
 \renewenvironment{table}[1][]{
 \@float{table}
 \centering
 \singlespacing}
 {\end@float}

On Sep 12, 2012, at 7:23 AM, Liviu Andronic wrote:

> On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug  wrote:
>> There are (at least) two ways of centering a single figure / graphic 
>> horizontally in a figure float:
>> 
>> 1) using paragrahh properties - alignment - center
>> 
> I'm no expert, but this is what I usually do. And to me this seems the
> less hacky approach.
> 
> Liviu
> 
> 
>> 2) using a \hfill left and right of the figure
>> 
>> What is the better / more robust / more LaTeX way of doing this?
>> 
>> Thanks,
>> 
>> Rainer
>> 
>> - --
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
>> UCT), Dipl. Phys.
>> (Germany)
>> 
>> Centre of Excellence for Invasion Biology
>> Stellenbosch University
>> South Africa
>> 
>> Tel :   +33 - (0)9 53 10 27 44
>> Cell:   +33 - (0)6 85 62 59 98
>> Fax :   +33 - (0)9 58 10 27 44
>> 
>> Fax (D):+49 - (0)3 21 21 25 22 44
>> 
>> email:  rai...@krugs.de
>> 
>> Skype:  RMkrug
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>> 
>> iEYEARECAAYFAlBQau0ACgkQoYgNqgF2egp7FgCeIHyhYT/x+bJzqoANM9Muapeo
>> vi4An28oDskmG/XKqdTgVLKPvJlhfRiZ
>> =88Df
>> -END PGP SIGNATURE-
> 
> 
> 
> -- 
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane

On Sep 12, 2012, at 9:21 AM, Rainer M Krug wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 12/09/12 15:15, Rainer M Krug wrote:
>> On 12/09/12 14:19, Stephen Buonopane wrote:
>>> You can add something like this to your preamble (does not affect how they 
>>> appear in LyX 
>>> preview of course)…
>> 
>>> \renewenvironment{figure}[1][]{ \@float{figure} \centering \singlespacing} 
>>> {\end@float} 
>>> \renewenvironment{table}[1][]{ \@float{table} \centering \singlespacing} 
>>> {\end@float}
>> 
>> Now this is a neat idea - haven't thought about that. Saves me quite some 
>> work.
> 
> But I was to fast. I get an error:
> 
> ! Undefined control sequence.
> \\figure ...at {figure} \centering \singlespacing
> 
> l.177 \begin{figure}[H]
> 
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
> 
> Any suggestions?
> 
> Rainer
> 

I have not used it recently, but I get the same error you do.
I copied it from Herbert Voss' tips and tricks page many years ago. 
It worked then, but I am not sure what has changed.

Actually…it looks like the /singlespacing command is causing the problem.
Delete that and the centering still works.

Steve

>> 
>> Thanks,
>> 
>> Rainer
>> 
>> 
>>> On Sep 12, 2012, at 7:23 AM, Liviu Andronic wrote:
>> 
>>>> On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug <r.m.k...@gmail.com> wrote:
>>>>> There are (at least) two ways of centering a single figure / graphic 
>>>>> horizontally in a 
>>>>> figure float:
>>>>> 
>>>>> 1) using paragrahh properties - alignment - center
>>>>> 
>>>> I'm no expert, but this is what I usually do. And to me this seems the 
>>>> less hacky
>>>> approach.
>>>> 
>>>> Liviu
>>>> 
>>>> 
>>>>> 2) using a \hfill left and right of the figure
>>>>> 
>>>>> What is the better / more robust / more LaTeX way of doing this?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Rainer
>>>>> 
>>>>> - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation 
>>>>> Biology, UCT), 
>>>>> Dipl. Phys. (Germany)
>>>>> 
>>>>> Centre of Excellence for Invasion Biology Stellenbosch University South 
>>>>> Africa
>>>>> 
>>>>> Tel :   +33 - (0)9 53 10 27 44 Cell:   +33 - (0)6 85 62 59 98 Fax 
>>>>> :   +33 - 
>>>>> (0)9 58 10 27 44
>>>>> 
>>>>> Fax (D):+49 - (0)3 21 21 25 22 44
>>>>> 
>>>>> email:  rai...@krugs.de
>>>>> 
>>>>> Skype:  RMkrug
> 
>> 
> 
> - -- 
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
> UCT), Dipl. Phys.
> (Germany)
> 
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
> 
> Tel :   +33 - (0)9 53 10 27 44
> Cell:   +33 - (0)6 85 62 59 98
> Fax :   +33 - (0)9 58 10 27 44
> 
> Fax (D):+49 - (0)3 21 21 25 22 44
> 
> email:  rai...@krugs.de
> 
> Skype:  RMkrug
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
> 
> iEYEARECAAYFAlBQjD8ACgkQoYgNqgF2egrUSACfapSbOg4k++TnoErSLBpLA3Hq
> Yf8AmwUh5HpGyGw+nRPkTRyqYToGwqYl
> =caSn
> -END PGP SIGNATURE-



Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane

On Sep 12, 2012, at 10:55 AM, Rainer M Krug wrote:

>>> I have not used it recently, but I get the same error you do. I copied it 
>>> from Herbert Voss'
>>> tips and tricks page many years ago. It worked then, but I am not sure what 
>>> has changed.
>> 
>>> Actually…it looks like the /singlespacing command is causing the problem. 
>>> Delete that and the
>>> centering still works.
> 
> Great - thanks

\singlespacing requires the setspace package
not really sure what it was intended to do in this context.

Re: Find and Replace window bug

2012-09-03 Thread Stephen Buonopane

On Sep 3, 2012, at 10:36 AM, Anders Høg wrote:

 In mac osx, the Find and Replace (Advanced) window's upper part gets stuck 
 under the menubar when opened. It's extremely annoying as the only way I seem 
 to be able to close it, is by changing resolution. Is this is a known bug?
 
 Regards
 Anders
 
 Skærmbillede 2012-09-03 kl. 16.27.39.png

I can confirm same behavior on Mac OS X 10.7.4, LyX 2.0.4.
It is possible to dock the window in the main LyX window, so there must be a 
setting somewhere to make that the default.

Re: Find and Replace window bug

2012-09-03 Thread Stephen Buonopane

On Sep 3, 2012, at 10:36 AM, Anders Høg wrote:

 In mac osx, the Find and Replace (Advanced) window's upper part gets stuck 
 under the menubar when opened. It's extremely annoying as the only way I seem 
 to be able to close it, is by changing resolution. Is this is a known bug?
 
 Regards
 Anders
 
 Skærmbillede 2012-09-03 kl. 16.27.39.png

I can confirm same behavior on Mac OS X 10.7.4, LyX 2.0.4.
It is possible to dock the window in the main LyX window, so there must be a 
setting somewhere to make that the default.

Re: Find and Replace window bug

2012-09-03 Thread Stephen Buonopane

On Sep 3, 2012, at 10:36 AM, Anders Høg wrote:

> In mac osx, the Find and Replace (Advanced) window's upper part gets stuck 
> under the menubar when opened. It's extremely annoying as the only way I seem 
> to be able to close it, is by changing resolution. Is this is a known bug?
> 
> Regards
> Anders
> 
> 

I can confirm same behavior on Mac OS X 10.7.4, LyX 2.0.4.
It is possible to dock the window in the main LyX window, so there must be a 
setting somewhere to make that the default.

Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Stephen Buonopane

On Jul 30, 2012, at 11:07 AM, CP wrote:

 CP chipro007 at gmail.com writes:
 
 I'm using BibDesk for my literature and am trying to add more references to
 the reference list at the end of a paper without having referenced them in the
 text. Any ideas?
 Thanks!
 
 My current 'dirty' solution is to add the references that were not used in the
 text separately somewhere in the document and white them out. I'm still hoping
 for a better solution..
 

Not sure if the can be done from BiBDesk or even LyX Gui, 
but the bibtex command you need is \nocite{}.
I have done it with ERT in LyX with no problems.




Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Stephen Buonopane

On Jul 30, 2012, at 11:07 AM, CP wrote:

 CP chipro007 at gmail.com writes:
 
 I'm using BibDesk for my literature and am trying to add more references to
 the reference list at the end of a paper without having referenced them in the
 text. Any ideas?
 Thanks!
 
 My current 'dirty' solution is to add the references that were not used in the
 text separately somewhere in the document and white them out. I'm still hoping
 for a better solution..
 

Not sure if the can be done from BiBDesk or even LyX Gui, 
but the bibtex command you need is \nocite{}.
I have done it with ERT in LyX with no problems.




Re: BibDesk: how to show references that are not used in text?

2012-07-30 Thread Stephen Buonopane

On Jul 30, 2012, at 11:07 AM, CP wrote:

> CP  gmail.com> writes:
> 
>> I'm using BibDesk for my literature and am trying to add more references to
> the reference list at the end of a paper without having referenced them in the
> text. Any ideas?
>> Thanks!
> 
> My current 'dirty' solution is to add the references that were not used in the
> text separately somewhere in the document and white them out. I'm still hoping
> for a better solution..
> 

Not sure if the can be done from BiBDesk or even LyX Gui, 
but the bibtex command you need is \nocite{}.
I have done it with ERT in LyX with no problems.




Re: Adjusting LyX to do things by default

2011-11-17 Thread Stephen Buonopane


On Nov 16, 2011, at 11:01 PM, Kenedy Torcatt wrote:


1- How to center sections, subsections and table of content tittles by
default? nothing more the rest I need it on left side (no prob with
that)

2- How to establish size normalsize for subsections and table of
contents tittles by default instead of that bigger size that Lyx uses?



Try the titlesec package.
I used it on my thesis to do similar things.
You won't see the formatting on the LyX screen but the pdf output will  
be as desired.










Re: Adjusting LyX to do things by default

2011-11-17 Thread Stephen Buonopane


On Nov 17, 2011, at 6:08 PM, Kenedy Torcatt wrote:


Thankyou for your response, but I'm newbie at this, could let me know
how please? how to customize that code?



Here is what I have in my preamble (Document   Settings  Latex  
Preamble)

to set all the section font sizes to 12pt

\usepackage{titlesec}
\titleformat{\section}[hang]{\normalfont\normalsize\bfseries} 
{\thesection}{12pt}{}
\titleformat{\subsection}[hang]{\normalfont\normalsize\bfseries} 
{\thesubsection}{12pt}{}
 \titleformat{\subsubsection}[hang]{\normalfont\normalsize\bfseries} 
{\thesubsubsection}{12pt}{}


titlesec has many other features, see the online docs at
http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/




Re: Adjusting LyX to do things by default

2011-11-17 Thread Stephen Buonopane


On Nov 16, 2011, at 11:01 PM, Kenedy Torcatt wrote:


1- How to center sections, subsections and table of content tittles by
default? nothing more the rest I need it on left side (no prob with
that)

2- How to establish size normalsize for subsections and table of
contents tittles by default instead of that bigger size that Lyx uses?



Try the titlesec package.
I used it on my thesis to do similar things.
You won't see the formatting on the LyX screen but the pdf output will  
be as desired.










Re: Adjusting LyX to do things by default

2011-11-17 Thread Stephen Buonopane


On Nov 17, 2011, at 6:08 PM, Kenedy Torcatt wrote:


Thankyou for your response, but I'm newbie at this, could let me know
how please? how to customize that code?



Here is what I have in my preamble (Document   Settings  Latex  
Preamble)

to set all the section font sizes to 12pt

\usepackage{titlesec}
\titleformat{\section}[hang]{\normalfont\normalsize\bfseries} 
{\thesection}{12pt}{}
\titleformat{\subsection}[hang]{\normalfont\normalsize\bfseries} 
{\thesubsection}{12pt}{}
 \titleformat{\subsubsection}[hang]{\normalfont\normalsize\bfseries} 
{\thesubsubsection}{12pt}{}


titlesec has many other features, see the online docs at
http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/




Re: Adjusting LyX to do things by default

2011-11-17 Thread Stephen Buonopane


On Nov 16, 2011, at 11:01 PM, Kenedy Torcatt wrote:


1- How to center sections, subsections and table of content tittles by
default? nothing more the rest I need it on left side (no prob with
that)

2- How to establish size "normalsize" for subsections and table of
contents tittles by default instead of that bigger size that Lyx uses?



Try the titlesec package.
I used it on my thesis to do similar things.
You won't see the formatting on the LyX screen but the pdf output will  
be as desired.










Re: Adjusting LyX to do things by default

2011-11-17 Thread Stephen Buonopane


On Nov 17, 2011, at 6:08 PM, Kenedy Torcatt wrote:


Thankyou for your response, but I'm newbie at this, could let me know
how please? how to customize that code?



Here is what I have in my preamble (Document  > Settings > Latex  
Preamble)

to set all the section font sizes to 12pt

\usepackage{titlesec}
\titleformat{\section}[hang]{\normalfont\normalsize\bfseries} 
{\thesection}{12pt}{}
\titleformat{\subsection}[hang]{\normalfont\normalsize\bfseries} 
{\thesubsection}{12pt}{}
 \titleformat{\subsubsection}[hang]{\normalfont\normalsize\bfseries} 
{\thesubsubsection}{12pt}{}


titlesec has many other features, see the online docs at
http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/




Re: Lyx 2.0.1 not working on Lion

2011-10-01 Thread Stephen Buonopane


On Oct 1, 2011, at 1:22 PM, Steve Litt wrote:


On Saturday, October 01, 2011 06:33:14 AM Mark wrote:

Stephen,

the error message is:
   You can't open the application lyx because PowerPC
applications are no longer supported.

And I checked through some other applications and I do have
Universal applications that run successfully so that's not it.

Mark


I know nothing about Mac, so an obvious question emerges in my mind:
What IN THE WORLD makes the computer think LyX is a PowerPC app? I
know nothing about Mac but I bet if you find the answer to that
question you'll be a lot closer to a solution.


I don't know if this option still exists in Lion, but try

select LyX.app icon in Finder
File - Get Info
make sure Open using Rosetta is unchecked


Re: Lyx 2.0.1 not working on Lion

2011-10-01 Thread Stephen Buonopane


On Oct 1, 2011, at 1:22 PM, Steve Litt wrote:


On Saturday, October 01, 2011 06:33:14 AM Mark wrote:

Stephen,

the error message is:
   You can't open the application lyx because PowerPC
applications are no longer supported.

And I checked through some other applications and I do have
Universal applications that run successfully so that's not it.

Mark


I know nothing about Mac, so an obvious question emerges in my mind:
What IN THE WORLD makes the computer think LyX is a PowerPC app? I
know nothing about Mac but I bet if you find the answer to that
question you'll be a lot closer to a solution.


I don't know if this option still exists in Lion, but try

select LyX.app icon in Finder
File - Get Info
make sure Open using Rosetta is unchecked


Re: Lyx 2.0.1 not working on Lion

2011-10-01 Thread Stephen Buonopane


On Oct 1, 2011, at 1:22 PM, Steve Litt wrote:


On Saturday, October 01, 2011 06:33:14 AM Mark wrote:

Stephen,

the error message is:
   "You can't open the application lyx because PowerPC
applications are no longer supported."

And I checked through some other applications and I do have
Universal applications that run successfully so that's not it.

Mark


I know nothing about Mac, so an obvious question emerges in my mind:
What IN THE WORLD makes the computer think LyX is a PowerPC app? I
know nothing about Mac but I bet if you find the answer to that
question you'll be a lot closer to a solution.


I don't know if this option still exists in Lion, but try

select LyX.app icon in Finder
File -> Get Info
make sure "Open using Rosetta" is unchecked


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane

On Sep 27, 2011, at 4:47 PM, Patrick De Visschere wrote:


Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere


Are you using \includegraphics in a TeX Code box?
Or through the insert graphics LyX interface?

The former will cause problems because of the way LyX does the Tex  
compile in a temporary directory, which is not where your relative  
path is pointing.
If you use the LyX interface,  it resolves all of the paths before  
passing it off to the latex command.


I have the same issue with the \includepdf command and have just  
learned to use full path strings.

(Yes I know there is now a LyX dialog for this command)
Or I think you can define a default pathname in the preamble, but it  
is kind of messy.


I am a bit puzzled why the behavior switched between 2.0.0 and 2.0.1?
But maybe someone on the dev team can help.

HTH
Steve


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane


On Sep 27, 2011, at 5:11 PM, Richard Heck wrote:


On 09/27/2011 04:47 PM, Patrick De Visschere wrote:

Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)


There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the  
source of

the problem. If you can't resolve it, post a note to the devel list.



Yes indeed, a welcome improvement!
See info here
http://www.lyx.org/announce/2_0_1.txt

I guess it is time for me to upgrade to 2.0.1
(and ignore my previous reply to this thread!)


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane

On Sep 27, 2011, at 4:47 PM, Patrick De Visschere wrote:


Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere


Are you using \includegraphics in a TeX Code box?
Or through the insert graphics LyX interface?

The former will cause problems because of the way LyX does the Tex  
compile in a temporary directory, which is not where your relative  
path is pointing.
If you use the LyX interface,  it resolves all of the paths before  
passing it off to the latex command.


I have the same issue with the \includepdf command and have just  
learned to use full path strings.

(Yes I know there is now a LyX dialog for this command)
Or I think you can define a default pathname in the preamble, but it  
is kind of messy.


I am a bit puzzled why the behavior switched between 2.0.0 and 2.0.1?
But maybe someone on the dev team can help.

HTH
Steve


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane


On Sep 27, 2011, at 5:11 PM, Richard Heck wrote:


On 09/27/2011 04:47 PM, Patrick De Visschere wrote:

Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a file not found error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)


There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the  
source of

the problem. If you can't resolve it, post a note to the devel list.



Yes indeed, a welcome improvement!
See info here
http://www.lyx.org/announce/2_0_1.txt

I guess it is time for me to upgrade to 2.0.1
(and ignore my previous reply to this thread!)


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane

On Sep 27, 2011, at 4:47 PM, Patrick De Visschere wrote:


Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a "file not found" error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)

Regards,

P. De Visschere


Are you using \includegraphics in a TeX Code box?
Or through the insert graphics LyX interface?

The former will cause problems because of the way LyX does the Tex  
compile in a temporary directory, which is not where your relative  
path is pointing.
If you use the LyX interface,  it resolves all of the paths before  
passing it off to the latex command.


I have the same issue with the \includepdf command and have just  
learned to use full path strings.

(Yes I know there is now a LyX dialog for this command)
Or I think you can define a default pathname in the preamble, but it  
is kind of messy.


I am a bit puzzled why the behavior switched between 2.0.0 and 2.0.1?
But maybe someone on the dev team can help.

HTH
Steve


Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-27 Thread Stephen Buonopane


On Sep 27, 2011, at 5:11 PM, Richard Heck wrote:


On 09/27/2011 04:47 PM, Patrick De Visschere wrote:

Hello,

Including a .pdf file with \includegraphics and with a relative  
pathname like


\includegraphics{../path/to/file/starting/from/parent/directory/ 
some_file.pdf}


results in a "file not found" error from the pdftex.def package.

When exporting as .tex and processing with e.g. TeXShop there is no  
problem.


This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)


There have been some changes to how LyX handles external paths. These
are noted in the RELEASE NOTES file. I would guess that is the  
source of

the problem. If you can't resolve it, post a note to the devel list.



Yes indeed, a welcome improvement!
See info here
http://www.lyx.org/announce/2_0_1.txt

I guess it is time for me to upgrade to 2.0.1
(and ignore my previous reply to this thread!)


Re: insert filename

2011-09-23 Thread Stephen Buonopane


On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

i use info-insert buffer name to insert the current filename in  
the document.

Is there a possibility to do that without the fileextension (*.lyx)?



in TexCode (ERT)
\jobname




Re: insert filename

2011-09-23 Thread Stephen Buonopane


On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

i use info-insert buffer name to insert the current filename in  
the document.

Is there a possibility to do that without the fileextension (*.lyx)?



in TexCode (ERT)
\jobname




Re: insert filename

2011-09-23 Thread Stephen Buonopane


On Sep 23, 2011, at 7:31 AM, Horst Jurkat wrote:

i use "info-insert buffer name" to insert the current filename in  
the document.

Is there a possibility to do that without the fileextension (*.lyx)?



in TexCode (ERT)
\jobname




Re: place figure at the end

2011-07-27 Thread Stephen Buonopane



In my lyx document I wish to put the figure approximatively where
they should be in the final document. However, I wish, in a draft
version, to have all the figures coming at the end of the document.
Is there an option to do so ?


Try the endfloat package. In the preamble put
\usepackage{endfloat}

Or if you do not have a lot of figures you could manually select the  
float setting and change to Here definitely





Re: place figure at the end

2011-07-27 Thread Stephen Buonopane



In my lyx document I wish to put the figure approximatively where
they should be in the final document. However, I wish, in a draft
version, to have all the figures coming at the end of the document.
Is there an option to do so ?


Try the endfloat package. In the preamble put
\usepackage{endfloat}

Or if you do not have a lot of figures you could manually select the  
float setting and change to Here definitely





Re: place figure at the end

2011-07-27 Thread Stephen Buonopane



In my lyx document I wish to put the figure approximatively where
they should be in the final document. However, I wish, in a draft
version, to have all the figures coming at the end of the document.
Is there an option to do so ?


Try the endfloat package. In the preamble put
\usepackage{endfloat}

Or if you do not have a lot of figures you could manually select the  
float setting and change to "Here definitely"





Re: People can't read my pdf's

2011-04-12 Thread Stephen Buonopane


On Apr 12, 2011, at 7:06 PM, Maria Gouskova wrote:


On Tue, Apr 12, 2011 at 2:43 PM, David L. Johnson
david.john...@lehigh.edu wrote:

On 04/12/2011 01:52 PM, Maria Gouskova wrote:


Dear LyX users,

For the past week or so, people have been having trouble opening and
printing PDF files I generate with LyX. I am trying to figure out  
what

changed. My details:

LyX 1.6.9
Mac OS 10.6.7
PDF viewer: Preview.app 5.0.3

With this setup, I can view my PDFs just fine, and they print fine  
as

well. People using Acrobat Reader (9 or 10, both Mac and Windows)
report that everything but the title of the file comes out looking
like dots, and I verified this on another Mac that has Acrobat
installed. Preview.app worked fine. The Acrobat error message reads,

Cannot extract the embedded font 'TXVCLW+SFRM1095'. Some characters
may not display or print correctly.


There are several different ways to export as pdf, and the pdf files
generated by various methods are not the same.  This one probably  
depended
upon specific fonts that your people did not have installed. This  
is common
for us linux users.  pstopdf gives, usually, readable output, but  
text may

not be selectable.

--

David L. Johnson


Oh, I should have mentioned that I've tried:

pdflatex
ps2pdf
DVI
dvipdfm

So it's something that is either a problem introduced by an update of
Mac OS, or it's an Acrobat problem.






Widespread font problem with Mac OS X10.6.7
See here...
http://discussions.apple.com/thread.jspa?threadID=2792142start=0tstart=0

No known resolution yet other than downgrading to 10.6.6.




Re: People can't read my pdf's

2011-04-12 Thread Stephen Buonopane


On Apr 12, 2011, at 7:06 PM, Maria Gouskova wrote:


On Tue, Apr 12, 2011 at 2:43 PM, David L. Johnson
david.john...@lehigh.edu wrote:

On 04/12/2011 01:52 PM, Maria Gouskova wrote:


Dear LyX users,

For the past week or so, people have been having trouble opening and
printing PDF files I generate with LyX. I am trying to figure out  
what

changed. My details:

LyX 1.6.9
Mac OS 10.6.7
PDF viewer: Preview.app 5.0.3

With this setup, I can view my PDFs just fine, and they print fine  
as

well. People using Acrobat Reader (9 or 10, both Mac and Windows)
report that everything but the title of the file comes out looking
like dots, and I verified this on another Mac that has Acrobat
installed. Preview.app worked fine. The Acrobat error message reads,

Cannot extract the embedded font 'TXVCLW+SFRM1095'. Some characters
may not display or print correctly.


There are several different ways to export as pdf, and the pdf files
generated by various methods are not the same.  This one probably  
depended
upon specific fonts that your people did not have installed. This  
is common
for us linux users.  pstopdf gives, usually, readable output, but  
text may

not be selectable.

--

David L. Johnson


Oh, I should have mentioned that I've tried:

pdflatex
ps2pdf
DVI
dvipdfm

So it's something that is either a problem introduced by an update of
Mac OS, or it's an Acrobat problem.






Widespread font problem with Mac OS X10.6.7
See here...
http://discussions.apple.com/thread.jspa?threadID=2792142start=0tstart=0

No known resolution yet other than downgrading to 10.6.6.




Re: People can't read my pdf's

2011-04-12 Thread Stephen Buonopane


On Apr 12, 2011, at 7:06 PM, Maria Gouskova wrote:


On Tue, Apr 12, 2011 at 2:43 PM, David L. Johnson
 wrote:

On 04/12/2011 01:52 PM, Maria Gouskova wrote:


Dear LyX users,

For the past week or so, people have been having trouble opening and
printing PDF files I generate with LyX. I am trying to figure out  
what

changed. My details:

LyX 1.6.9
Mac OS 10.6.7
PDF viewer: Preview.app 5.0.3

With this setup, I can view my PDFs just fine, and they print fine  
as

well. People using Acrobat Reader (9 or 10, both Mac and Windows)
report that everything but the title of the file comes out looking
like dots, and I verified this on another Mac that has Acrobat
installed. Preview.app worked fine. The Acrobat error message reads,

"Cannot extract the embedded font 'TXVCLW+SFRM1095'. Some characters
may not display or print correctly."


There are several different ways to export as pdf, and the pdf files
generated by various methods are not the same.  This one probably  
depended
upon specific fonts that your people did not have installed. This  
is common
for us linux users.  pstopdf gives, usually, readable output, but  
text may

not be selectable.

--

David L. Johnson


Oh, I should have mentioned that I've tried:

pdflatex
ps2pdf
DVI
dvipdfm

So it's something that is either a problem introduced by an update of
Mac OS, or it's an Acrobat problem.






Widespread font problem with Mac OS X10.6.7
See here...
http://discussions.apple.com/thread.jspa?threadID=2792142=0=0

No known resolution yet other than downgrading to 10.6.6.




Re: pdfpages: remove blank page between two included pdfs?

2010-11-04 Thread Stephen Buonopane


On Nov 1, 2010, at 5:08 PM, Liviu Andronic wrote:


Dear all
I am using pdfpages to include pdf pages into my LyX document.
However, when I have two pdf files included this way, one immediately
after the other, the resulting pdf will include a blank page between
the two included pdfs. Is there a way to remove the blank page?



Have you tried reducing the page size with the scale command
for example
\includepdf[pages={-},scale=0.85]{myfile.pdf}



Re: pdfpages: remove blank page between two included pdfs?

2010-11-04 Thread Stephen Buonopane


On Nov 1, 2010, at 5:08 PM, Liviu Andronic wrote:


Dear all
I am using pdfpages to include pdf pages into my LyX document.
However, when I have two pdf files included this way, one immediately
after the other, the resulting pdf will include a blank page between
the two included pdfs. Is there a way to remove the blank page?



Have you tried reducing the page size with the scale command
for example
\includepdf[pages={-},scale=0.85]{myfile.pdf}



Re: pdfpages: remove blank page between two included pdfs?

2010-11-04 Thread Stephen Buonopane


On Nov 1, 2010, at 5:08 PM, Liviu Andronic wrote:


Dear all
I am using pdfpages to include pdf pages into my LyX document.
However, when I have two pdf files included this way, one immediately
after the other, the resulting pdf will include a blank page between
the two included pdfs. Is there a way to remove the blank page?



Have you tried reducing the page size with the scale command
for example
\includepdf[pages={-},scale=0.85]{myfile.pdf}



Re: EPS Files Without Preview

2010-07-21 Thread Stephen Buonopane

On Jul 21, 2010, at 3:16 PM, Bruce Pourciau wrote:

In the past, inserting graphics in eps format has worked beautifully  
in LyX, as long as the files were saved with no preview attached to  
them. Eps files with a preview cause an error (An error occurred  
whilst running epstopdf), and the pdf compiles with an empty space  
where the figure should be. Someone has scanned in some figures for  
me, cleaned them up (using In Design, I think), and then saved them  
as eps files. They say they have saved them without any preview  
attached, but when I insert them and try to view the document, I get  
the same error I always have gotten when there's a preview.


Any thoughts? Could there be some kind of preview still attached?

Bruce



A few things to try...
1. If you are using pdflatex in LyX, then save the files from Adobe as  
pdf instead of eps. I think this will avoid the preview issue  
altogether.

2. In Adobe use Print to PDF or Print to Postscript instead of Save As.
3. From the terminal, try eps2eps or ps2ps on your file. This may  
strip the preview.


Steve


Re: EPS Files Without Preview

2010-07-21 Thread Stephen Buonopane

On Jul 21, 2010, at 3:16 PM, Bruce Pourciau wrote:

In the past, inserting graphics in eps format has worked beautifully  
in LyX, as long as the files were saved with no preview attached to  
them. Eps files with a preview cause an error (An error occurred  
whilst running epstopdf), and the pdf compiles with an empty space  
where the figure should be. Someone has scanned in some figures for  
me, cleaned them up (using In Design, I think), and then saved them  
as eps files. They say they have saved them without any preview  
attached, but when I insert them and try to view the document, I get  
the same error I always have gotten when there's a preview.


Any thoughts? Could there be some kind of preview still attached?

Bruce



A few things to try...
1. If you are using pdflatex in LyX, then save the files from Adobe as  
pdf instead of eps. I think this will avoid the preview issue  
altogether.

2. In Adobe use Print to PDF or Print to Postscript instead of Save As.
3. From the terminal, try eps2eps or ps2ps on your file. This may  
strip the preview.


Steve


Re: EPS Files Without Preview

2010-07-21 Thread Stephen Buonopane

On Jul 21, 2010, at 3:16 PM, Bruce Pourciau wrote:

In the past, inserting graphics in eps format has worked beautifully  
in LyX, as long as the files were saved with no preview attached to  
them. Eps files with a preview cause an error ("An error occurred  
whilst running epstopdf"), and the pdf compiles with an empty space  
where the figure should be. Someone has scanned in some figures for  
me, cleaned them up (using In Design, I think), and then saved them  
as eps files. They say they have saved them without any preview  
attached, but when I insert them and try to view the document, I get  
the same error I always have gotten when there's a preview.


Any thoughts? Could there be some kind of preview still attached?

Bruce



A few things to try...
1. If you are using pdflatex in LyX, then save the files from Adobe as  
pdf instead of eps. I think this will avoid the preview issue  
altogether.

2. In Adobe use Print to PDF or Print to Postscript instead of Save As.
3. From the terminal, try eps2eps or ps2ps on your file. This may  
strip the preview.


Steve


Re: Dumb Captioning Question

2010-06-03 Thread Stephen Buonopane


I want to have some tables in a document, and I want the tables to  
have captions.


But I want the positions of the tables to be pinned down -- i.e. I  
don't want to use normal floats.


So -- is there a way to have a non-floating float to contain my  
table and caption, or is there a way to pin a caption onto a table  
without a float?  Or is there a Third Way that I'm not imagining?




Insert your float and table
Edit  Float Settings  Here Definitely




Re: Dumb Captioning Question

2010-06-03 Thread Stephen Buonopane


I want to have some tables in a document, and I want the tables to  
have captions.


But I want the positions of the tables to be pinned down -- i.e. I  
don't want to use normal floats.


So -- is there a way to have a non-floating float to contain my  
table and caption, or is there a way to pin a caption onto a table  
without a float?  Or is there a Third Way that I'm not imagining?




Insert your float and table
Edit  Float Settings  Here Definitely




Re: Dumb Captioning Question

2010-06-03 Thread Stephen Buonopane


I want to have some tables in a document, and I want the tables to  
have captions.


But I want the positions of the tables to be pinned down -- i.e. I  
don't want to use normal floats.


So -- is there a way to have a "non-floating float" to contain my  
table and caption, or is there a way to pin a caption onto a table  
without a float?  Or is there a Third Way that I'm not imagining?




Insert your float and table
Edit > Float Settings > Here Definitely




Re: path to .lyx on MAC

2010-05-26 Thread Stephen Buonopane
I am using Lyx 1.6.6 on Mac, I noticed I do not have  $HOME/.lyx/ 
layouts/, so I am wondering where I put a custom made module?


/Users/username/Library/Application\ Support/LyX-1.6





Re: path to .lyx on MAC

2010-05-26 Thread Stephen Buonopane
I am using Lyx 1.6.6 on Mac, I noticed I do not have  $HOME/.lyx/ 
layouts/, so I am wondering where I put a custom made module?


/Users/username/Library/Application\ Support/LyX-1.6





Re: path to .lyx on MAC

2010-05-26 Thread Stephen Buonopane
I am using Lyx 1.6.6 on Mac, I noticed I do not have  $HOME/.lyx/ 
layouts/, so I am wondering where I put a custom made module?


/Users/username/Library/Application\ Support/LyX-1.6





Re: PDF error converting to loadable format

2010-03-22 Thread Stephen Buonopane


On Mar 22, 2010, at 11:52 AM, Richard Brown wrote:


I do  Insert External Files  PDF and select my pdf. I add the pages
options for all of the pages (there are 2). Lyx burbles a little,  
and then

spits the error message at me:
error converting to loadable format. The file was prepared by a  
friend on

Windows from a  Sibelius music notation file.

If I examine the pdf file properties  I see the following:
Format PDF-1.4
Producer GPL Ghostscript 8.70
Creator PDFCreator Version 0.9.9


Export to PDF should work fine, it is just the preview.
If you have ghostscript version 8.70, then the issue is a bug in gs.
Here is a workaround from a previous post

This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm):
opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts 


Re: PDF error converting to loadable format

2010-03-22 Thread Stephen Buonopane


On Mar 22, 2010, at 11:52 AM, Richard Brown wrote:


I do  Insert External Files  PDF and select my pdf. I add the pages
options for all of the pages (there are 2). Lyx burbles a little,  
and then

spits the error message at me:
error converting to loadable format. The file was prepared by a  
friend on

Windows from a  Sibelius music notation file.

If I examine the pdf file properties  I see the following:
Format PDF-1.4
Producer GPL Ghostscript 8.70
Creator PDFCreator Version 0.9.9


Export to PDF should work fine, it is just the preview.
If you have ghostscript version 8.70, then the issue is a bug in gs.
Here is a workaround from a previous post

This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm):
opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts 


Re: PDF error converting to loadable format

2010-03-22 Thread Stephen Buonopane


On Mar 22, 2010, at 11:52 AM, Richard Brown wrote:


I do > Insert External Files > PDF and select my pdf. I add the pages
options for all of the pages (there are 2). Lyx burbles a little,  
and then

spits the error message at me:
error converting to loadable format. The file was prepared by a  
friend on

Windows from a  Sibelius music notation file.

If I examine the pdf file properties  I see the following:
Format PDF-1.4
Producer GPL Ghostscript 8.70
Creator PDFCreator Version 0.9.9


Export to PDF should work fine, it is just the preview.
If you have ghostscript version 8.70, then the issue is a bug in gs.
Here is a workaround from a previous post

This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version >= 0x060206 or gm):
opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts 


Re: PDF error converting to loadable format

2010-03-04 Thread Stephen Buonopane
- Original Message - 
I have a horrible feeling I have asked this before, but on Ubuntu 9.10 
Lyx won't show PDF images in the document (they compile OK). 

They show up on Windows OK, so I assume its some set up on Linux that I 
need to tweak. 
-- 

If you have ghostscript version 8.70, then the issue is a bug in gs. 
Here is a workaround from a previous post 


This seems to be a result of the bug reported here 
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637 

Copy the script convertDefault.py from 
/Applications/LyX.app/Contents/Resources/scripts 

Comment out the lines 
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm): 
opts = '-define pdf:use-cropbox=true ' + opts 

On a Mac, the script goes in 
/Users/username/Library/Application\ Support/LyX-1.6/scripts 




Re: PDF error converting to loadable format

2010-03-04 Thread Stephen Buonopane
- Original Message - 
I have a horrible feeling I have asked this before, but on Ubuntu 9.10 
Lyx won't show PDF images in the document (they compile OK). 

They show up on Windows OK, so I assume its some set up on Linux that I 
need to tweak. 
-- 

If you have ghostscript version 8.70, then the issue is a bug in gs. 
Here is a workaround from a previous post 


This seems to be a result of the bug reported here 
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637 

Copy the script convertDefault.py from 
/Applications/LyX.app/Contents/Resources/scripts 

Comment out the lines 
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm): 
opts = '-define pdf:use-cropbox=true ' + opts 

On a Mac, the script goes in 
/Users/username/Library/Application\ Support/LyX-1.6/scripts 




Re: PDF error converting to loadable format

2010-03-04 Thread Stephen Buonopane
- Original Message - 
>I have a horrible feeling I have asked this before, but on Ubuntu 9.10 
>Lyx won't show PDF images in the document (they compile OK). 

>They show up on Windows OK, so I assume its some set up on Linux that I 
>need to tweak. 
-- 

If you have ghostscript version 8.70, then the issue is a bug in gs. 
Here is a workaround from a previous post 


This seems to be a result of the bug reported here 
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637 

Copy the script convertDefault.py from 
/Applications/LyX.app/Contents/Resources/scripts 

Comment out the lines 
if sys.argv[1][:4] == 'pdf:' and (version >= 0x060206 or gm): 
opts = '-define pdf:use-cropbox=true ' + opts 

On a Mac, the script goes in 
/Users/username/Library/Application\ Support/LyX-1.6/scripts 




Re: Graphics Insert

2010-03-01 Thread Stephen Buonopane

This is a behavior I've not seen with previous versions of LyX but which 
appears more often than not with 1.6.5. 

When I insert a graphics figure (either pdf or jpg) and change the edges 
in the clipping tab of the settings dialog box, both the original and 
changed figure are displayed side-by-side. I need to delete the original one 
manually. After a couple of times like this, LyX gives up and just makes the 
changes in place. 

Now and then it surprises me and doesn't display both versions. 

It's a minor annoyance, but probably an unintended consequence of code 
changes; that is, a bug. 


-- 
Rich, 


I noted this change in behavior several years back. I posted a message to the 
devel list but I think it was misunderstood. 


If you insert a graphic with the apply button and then change the cropping 
and hit apply again you will get a second graphic inserted with the crop. You 
need to hit OK and then click the image to get the graphics dialog box back 
(and associated with that image). Alternatively you can insert the original 
graphic, press Apply and then click on the image and then make your cropping 
changes. 


I, too, wish the previous behavior would be restored such that any changes you 
made in the graphics dialog would apply to the current image _until_ you 
clicked outside the graphics dialog. But apparently when you press Apply, Lyx 
loses the connection between the image and the dialog box. 


The response to my previous post on the devel list (I can't seem to find it in 
the archives) seemed to suggest that the previous behavior was impossible, so 
I'm guessing the problem was misunderstood. Since it is minor annoyance 
(although I do a lot of cropping!) I just let the issue drop. 


I'm glad someone else finally noticed it. 


Steve 



Re: Graphics Insert

2010-03-01 Thread Stephen Buonopane

This is a behavior I've not seen with previous versions of LyX but which 
appears more often than not with 1.6.5. 

When I insert a graphics figure (either pdf or jpg) and change the edges 
in the clipping tab of the settings dialog box, both the original and 
changed figure are displayed side-by-side. I need to delete the original one 
manually. After a couple of times like this, LyX gives up and just makes the 
changes in place. 

Now and then it surprises me and doesn't display both versions. 

It's a minor annoyance, but probably an unintended consequence of code 
changes; that is, a bug. 


-- 
Rich, 


I noted this change in behavior several years back. I posted a message to the 
devel list but I think it was misunderstood. 


If you insert a graphic with the apply button and then change the cropping 
and hit apply again you will get a second graphic inserted with the crop. You 
need to hit OK and then click the image to get the graphics dialog box back 
(and associated with that image). Alternatively you can insert the original 
graphic, press Apply and then click on the image and then make your cropping 
changes. 


I, too, wish the previous behavior would be restored such that any changes you 
made in the graphics dialog would apply to the current image _until_ you 
clicked outside the graphics dialog. But apparently when you press Apply, Lyx 
loses the connection between the image and the dialog box. 


The response to my previous post on the devel list (I can't seem to find it in 
the archives) seemed to suggest that the previous behavior was impossible, so 
I'm guessing the problem was misunderstood. Since it is minor annoyance 
(although I do a lot of cropping!) I just let the issue drop. 


I'm glad someone else finally noticed it. 


Steve 



Re: Graphics Insert

2010-03-01 Thread Stephen Buonopane

This is a behavior I've not seen with previous versions of LyX but which 
appears more often than not with 1.6.5. 

When I insert a graphics figure (either pdf or jpg) and change the edges 
in the clipping tab of the settings dialog box, both the original and 
changed figure are displayed side-by-side. I need to delete the original one 
manually. After a couple of times like this, LyX gives up and just makes the 
changes in place. 

Now and then it surprises me and doesn't display both versions. 

It's a minor annoyance, but probably an unintended consequence of code 
changes; that is, a bug. 


-- 
Rich, 


I noted this change in behavior several years back. I posted a message to the 
devel list but I think it was misunderstood. 


If you insert a graphic with the "apply" button and then change the cropping 
and hit "apply" again you will get a second graphic inserted with the crop. You 
need to hit OK and then click the image to get the graphics dialog box back 
(and associated with that image). Alternatively you can insert the original 
graphic, press "Apply" and then click on the image and then make your cropping 
changes. 


I, too, wish the previous behavior would be restored such that any changes you 
made in the graphics dialog would apply to the current image _until_ you 
clicked outside the graphics dialog. But apparently when you press Apply, Lyx 
loses the connection between the image and the dialog box. 


The response to my previous post on the devel list (I can't seem to find it in 
the archives) seemed to suggest that the previous behavior was impossible, so 
I'm guessing the problem was misunderstood. Since it is minor annoyance 
(although I do a lot of cropping!) I just let the issue drop. 


I'm glad someone else finally noticed it. 


Steve 



Re: lyx 1.6.5 can't load pdf images on Mac OS X 10.6.2

2010-02-16 Thread Stephen Buonopane

On Feb 16, 2010, at 8:36 AM, Francesco Turci wrote:


Hallo,
	i’m using Lyx on Mac OS X 10.6.2. Everything seems to work  
properly, but the  image converters don’t seem to work: i’ve  
included some pdf images in my document (i tried with sme ps too)  
but Lyx doesn’t load them (it says “Error converting to loadable  
format”). Nevertheless, if i export to a pdf the Lyx document, i  
obtain the correct file with the original figures. What’s going on?





If none of the graphics formats work then you have a problem with the  
ImageMagick package and convert command

Does the convert command work from the terminal window?
Try posting some of the error messages that show up in the terminal  
window.


If only pdf files won't preview, and you have TexLive 2009 and gs  
8.70, the here is the problem and work-around from a previous thread...


This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from  /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm):
   opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts



Re: lyx 1.6.5 can't load pdf images on Mac OS X 10.6.2

2010-02-16 Thread Stephen Buonopane

On Feb 16, 2010, at 8:36 AM, Francesco Turci wrote:


Hallo,
	i’m using Lyx on Mac OS X 10.6.2. Everything seems to work  
properly, but the  image converters don’t seem to work: i’ve  
included some pdf images in my document (i tried with sme ps too)  
but Lyx doesn’t load them (it says “Error converting to loadable  
format”). Nevertheless, if i export to a pdf the Lyx document, i  
obtain the correct file with the original figures. What’s going on?





If none of the graphics formats work then you have a problem with the  
ImageMagick package and convert command

Does the convert command work from the terminal window?
Try posting some of the error messages that show up in the terminal  
window.


If only pdf files won't preview, and you have TexLive 2009 and gs  
8.70, the here is the problem and work-around from a previous thread...


This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from  /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm):
   opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts



Re: lyx 1.6.5 can't load pdf images on Mac OS X 10.6.2

2010-02-16 Thread Stephen Buonopane

On Feb 16, 2010, at 8:36 AM, Francesco Turci wrote:


Hallo,
	i’m using Lyx on Mac OS X 10.6.2. Everything seems to work  
properly, but the  image converters don’t seem to work: i’ve  
included some pdf images in my document (i tried with sme ps too)  
but Lyx doesn’t load them (it says “Error converting to loadable  
format”). Nevertheless, if i export to a pdf the Lyx document, i  
obtain the correct file with the original figures. What’s going on?





If none of the graphics formats work then you have a problem with the  
ImageMagick package and convert command

Does the convert command work from the terminal window?
Try posting some of the error messages that show up in the terminal  
window.


If only pdf files won't preview, and you have TexLive 2009 and gs  
8.70, the here is the problem and work-around from a previous thread...


This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from  /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version >= 0x060206 or gm):
   opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts



graphics preview on Mac

2010-01-18 Thread Stephen Buonopane

I recently upgraded to TeXLive 2009 and LyX 1.6.5 on Mac.
On screen LyX preview of pdf graphics no longer works (other formats  
seem to work).

convert *.pdf *.ppm works fine from the command line
below is the error output
Any ideas?

Thanks
Steve


Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/gconvert1.K14418.pdf': No such  
file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `ppm:/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/CacheItem.M14418.ppm' @  
convert.c/ConvertImageCommand/2838.

/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of convert failed.


  1   2   3   4   >