Re: Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-17 Thread Graham Smith
Oh bother, I haven't got used to the google email client, and still seem to
send email to the sender when  I mean to send to all.

The Knitr example works fine, and my minimal examples work fine as well,
its just this file (42 pages) and indeed some others that have broken.
Unfortunately this is a regular happening between versions where I try to
use a file that hasn't been opened for a year.

I will just do what I have down in the past and copy paragraph by paragraph
into a new file, compiling as I go, and try and sort it out.

I do have a new error concerning the PDFS

no information for converting pdf6 format to eps, Define convertor in the
preferences

And then Lyx crashes.

Cheers,

Graham

On 17 March 2015 at 21:29, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Mar 17, 2015 at 5:15 PM, Graham Smith myotis...@gmail.com wrote:
  Hello Scott,
 
  If I open pdfs in a new file, I still get the error converting to
 loadable
  format, but the file compiles OK.
 
  Looking back on my original post, I realise that I didn't say that I was
  using Sweave as I had convinced myself that it was related to the PDF
 issue.
 
 
 
  The log is printed below, it would be good to get this sorted out but
  meanwhile I have the PDF version that I produced before it stopped
  compiling.
 
 
  Thanks for your help,
 
 
  Graham

 Hi Graham,

 Please always respond to the list. Do you have a minimal example file
 you can send? Can you compile the knitr example file that comes with
 LyX?

 Scott



Re: Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-17 Thread Graham Smith
Oh bother, I haven't got used to the google email client, and still seem to
send email to the sender when  I mean to send to all.

The Knitr example works fine, and my minimal examples work fine as well,
its just this file (42 pages) and indeed some others that have broken.
Unfortunately this is a regular happening between versions where I try to
use a file that hasn't been opened for a year.

I will just do what I have down in the past and copy paragraph by paragraph
into a new file, compiling as I go, and try and sort it out.

I do have a new error concerning the PDFS

no information for converting pdf6 format to eps, Define convertor in the
preferences

And then Lyx crashes.

Cheers,

Graham

On 17 March 2015 at 21:29, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Mar 17, 2015 at 5:15 PM, Graham Smith myotis...@gmail.com wrote:
  Hello Scott,
 
  If I open pdfs in a new file, I still get the error converting to
 loadable
  format, but the file compiles OK.
 
  Looking back on my original post, I realise that I didn't say that I was
  using Sweave as I had convinced myself that it was related to the PDF
 issue.
 
 
 
  The log is printed below, it would be good to get this sorted out but
  meanwhile I have the PDF version that I produced before it stopped
  compiling.
 
 
  Thanks for your help,
 
 
  Graham

 Hi Graham,

 Please always respond to the list. Do you have a minimal example file
 you can send? Can you compile the knitr example file that comes with
 LyX?

 Scott



Re: Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-17 Thread Graham Smith
Oh bother, I haven't got used to the google email client, and still seem to
send email to the sender when  I mean to send to all.

The Knitr example works fine, and my minimal examples work fine as well,
its just this file (42 pages) and indeed some others that have broken.
Unfortunately this is a regular happening between versions where I try to
use a file that hasn't been opened for a year.

I will just do what I have down in the past and copy paragraph by paragraph
into a new file, compiling as I go, and try and sort it out.

I do have a new error concerning the PDFS

"no information for converting pdf6 format to eps, Define convertor in the
preferences"

And then Lyx crashes.

Cheers,

Graham

On 17 March 2015 at 21:29, Scott Kostyshak <skost...@lyx.org> wrote:

> On Tue, Mar 17, 2015 at 5:15 PM, Graham Smith <myotis...@gmail.com> wrote:
> > Hello Scott,
> >
> > If I open pdfs in a new file, I still get the error converting to
> loadable
> > format, but the file compiles OK.
> >
> > Looking back on my original post, I realise that I didn't say that I was
> > using Sweave as I had convinced myself that it was related to the PDF
> issue.
> >
> >
> >
> > The log is printed below, it would be good to get this sorted out but
> > meanwhile I have the PDF version that I produced before it stopped
> > compiling.
> >
> >
> > Thanks for your help,
> >
> >
> > Graham
>
> Hi Graham,
>
> Please always respond to the list. Do you have a minimal example file
> you can send? Can you compile the knitr example file that comes with
> LyX?
>
> Scott
>


Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-16 Thread Graham Smith
I have just upgraded to Lyx 2.1.3 on Mac (Mavericks) and I am now getting
an error about PDFs

Error converting to loadable  format  and the file won't compile which
may or may not be associated with this issue, as I am getting dozens of
errors, which I am slowly working through.

Regardless it would be nice to get some help with this as I routinely have
my graphics as pdfs.

Any help appreciated.

Cheers,

Graham


Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-16 Thread Graham Smith
I have just upgraded to Lyx 2.1.3 on Mac (Mavericks) and I am now getting
an error about PDFs

Error converting to loadable  format  and the file won't compile which
may or may not be associated with this issue, as I am getting dozens of
errors, which I am slowly working through.

Regardless it would be nice to get some help with this as I routinely have
my graphics as pdfs.

Any help appreciated.

Cheers,

Graham


Lyx 2.1.3 on Mavericks not converting pdfs

2015-03-16 Thread Graham Smith
I have just upgraded to Lyx 2.1.3 on Mac (Mavericks) and I am now getting
an error about PDFs

"Error converting to loadable  format"  and the file won't compile which
may or may not be associated with this issue, as I am getting dozens of
errors, which I am slowly working through.

Regardless it would be nice to get some help with this as I routinely have
my graphics as pdfs.

Any help appreciated.

Cheers,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Liviu


 That's odd. The first question that pops to mind: Do you use the
 Document  Compressed option? Maybe this corrupts things.


What is also odd is that  I can open the file with no problem using a text
editor on the Mac, indeed the file preview in the Mac file Manager
(Pathfinder) reads it without any problems. BUT I have just tried on Ubuntu
(open with text editor) , and it won't open.

I certainly haven't selected the compressed option, but this particular
file is 7 months old, and I can't remember whether it originated on the Mac
or Ubuntu or even the version of Lyx. I will check the compressed option in
future.

However, it seems there is no obvious answer, so I will just be more
cautious in future.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Thanks Liviu

If you ever manually edit your .lyx files in a text editor, try to
 make sure that the result is accessible on both your platforms.


So far, I have never had occasion to edit lyx files directly, I was just
using  a text editor here, because I wanted to have a look at the file when
it wouldn't open in Lyx.

Cheers,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Richard,

 so I will just be more cautious in future.

  This file is definitley corrupt. Here's the result of hexdump -c | head
 -n 25:


 If you've had this problem more than once, you may want to think about
 whether you have a hardware problem that is corrupting your files.


It has happened occasionally before, maybe 3 or 4 times over the same
number of years. It's difficult to track, as its always the same  situation
lecture notes or a tutorial than has sat there for 8 to 12 months
untouched, and then I can't open it to revise for the current term.

Thinking about it the computer that probably produced this file is no
longer in use, but it wasn't corrupt when last used as I printed out the
PDF from it, so it has become corrupt sitting on my hard drive.

I am unaware of any other problems, so I suspect I will just need to wait
and see.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
David,

   My students would testify that many of my notes are far, far more than
 8-12 months old when I open and revise them for the current term, and
 this has never happened to me [except on very, very old files whose format
 is no longer supported directly by lyx].


  Thinking about it the computer that probably produced this file is no
 longer in use, but it wasn't corrupt when last used as I printed out the
 PDF from it, so it has become corrupt sitting on my hard drive.

 Well, your hard drive has probably begun to fail, corrupting random areas
 on the disk.  Although disk drives do seem more reliable than they used to
 be, it does still happen.


I think I am going to put it down to just being one of those things, for
now and see if it happens again. I'm not having any problems with other
files, and so far this year, only this file has been a problem. I keep a
note of the revisions I want to make from one year to the next, so I can
just ask students to annotate the hard copy. I don't have time to redo the
document.

Hard drives have all recently had some form of hardware check run on them
in the last few weeks, and this may in fact be the first file to go wrong
with my current computer set up, so maybe its a legacy of a past hard drive.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Liviu,

I have 100+Gb on Dropbox that I use, and it gives me version control for 30
days, which is good for falling back on a previous version, but the Dropbox
version will have long been replaced by the corrupt version. This then
syncs to a few computers in different locations

But, I do need a better long term backup, and a more flexible version
control.

I also have a Spider Oak account, as it so happens.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Thanks to everyone for the further comments, good to hear that it seems I
am unusual in having corrupt files.

Time Machine is, as Liviu says, a Mac solution and I share with Ubuntu and
occasionally Windows. Dropbox will retain files indefinitely, for an extra
fee, but I didn't know that SiderOak did it for their standard fee.

Certainly it looks as if I need to improve my backup procedures in some
way, but these few files with Lyx are the only times I have had this
problem.

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Liviu


 That's odd. The first question that pops to mind: Do you use the
 Document  Compressed option? Maybe this corrupts things.


What is also odd is that  I can open the file with no problem using a text
editor on the Mac, indeed the file preview in the Mac file Manager
(Pathfinder) reads it without any problems. BUT I have just tried on Ubuntu
(open with text editor) , and it won't open.

I certainly haven't selected the compressed option, but this particular
file is 7 months old, and I can't remember whether it originated on the Mac
or Ubuntu or even the version of Lyx. I will check the compressed option in
future.

However, it seems there is no obvious answer, so I will just be more
cautious in future.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Thanks Liviu

If you ever manually edit your .lyx files in a text editor, try to
 make sure that the result is accessible on both your platforms.


So far, I have never had occasion to edit lyx files directly, I was just
using  a text editor here, because I wanted to have a look at the file when
it wouldn't open in Lyx.

Cheers,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Richard,

 so I will just be more cautious in future.

  This file is definitley corrupt. Here's the result of hexdump -c | head
 -n 25:


 If you've had this problem more than once, you may want to think about
 whether you have a hardware problem that is corrupting your files.


It has happened occasionally before, maybe 3 or 4 times over the same
number of years. It's difficult to track, as its always the same  situation
lecture notes or a tutorial than has sat there for 8 to 12 months
untouched, and then I can't open it to revise for the current term.

Thinking about it the computer that probably produced this file is no
longer in use, but it wasn't corrupt when last used as I printed out the
PDF from it, so it has become corrupt sitting on my hard drive.

I am unaware of any other problems, so I suspect I will just need to wait
and see.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
David,

   My students would testify that many of my notes are far, far more than
 8-12 months old when I open and revise them for the current term, and
 this has never happened to me [except on very, very old files whose format
 is no longer supported directly by lyx].


  Thinking about it the computer that probably produced this file is no
 longer in use, but it wasn't corrupt when last used as I printed out the
 PDF from it, so it has become corrupt sitting on my hard drive.

 Well, your hard drive has probably begun to fail, corrupting random areas
 on the disk.  Although disk drives do seem more reliable than they used to
 be, it does still happen.


I think I am going to put it down to just being one of those things, for
now and see if it happens again. I'm not having any problems with other
files, and so far this year, only this file has been a problem. I keep a
note of the revisions I want to make from one year to the next, so I can
just ask students to annotate the hard copy. I don't have time to redo the
document.

Hard drives have all recently had some form of hardware check run on them
in the last few weeks, and this may in fact be the first file to go wrong
with my current computer set up, so maybe its a legacy of a past hard drive.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Liviu,

I have 100+Gb on Dropbox that I use, and it gives me version control for 30
days, which is good for falling back on a previous version, but the Dropbox
version will have long been replaced by the corrupt version. This then
syncs to a few computers in different locations

But, I do need a better long term backup, and a more flexible version
control.

I also have a Spider Oak account, as it so happens.

Thanks,

Graham


Re: Not a readable lyx document

2012-11-25 Thread Graham Smith
Thanks to everyone for the further comments, good to hear that it seems I
am unusual in having corrupt files.

Time Machine is, as Liviu says, a Mac solution and I share with Ubuntu and
occasionally Windows. Dropbox will retain files indefinitely, for an extra
fee, but I didn't know that SiderOak did it for their standard fee.

Certainly it looks as if I need to improve my backup procedures in some
way, but these few files with Lyx are the only times I have had this
problem.

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Liviu


> That's odd. The first question that pops to mind: Do you use the
> Document > Compressed option? Maybe this corrupts things.
>

What is also odd is that  I can open the file with no problem using a text
editor on the Mac, indeed the file preview in the Mac file Manager
(Pathfinder) reads it without any problems. BUT I have just tried on Ubuntu
(open with text editor) , and it won't open.

I certainly haven't selected the compressed option, but this particular
file is 7 months old, and I can't remember whether it originated on the Mac
or Ubuntu or even the version of Lyx. I will check the compressed option in
future.

However, it seems there is no obvious answer, so I will just be more
cautious in future.

Thanks,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Thanks Liviu

If you ever manually edit your .lyx files in a text editor, try to
> make sure that the result is accessible on both your platforms.


So far, I have never had occasion to edit lyx files directly, I was just
using  a text editor here, because I wanted to have a look at the file when
it wouldn't open in Lyx.

Cheers,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Richard,

 so I will just be more cautious in future.
>>
>>  This file is definitley corrupt. Here's the result of "hexdump -c | head
> -n 25":
>
>
> If you've had this problem more than once, you may want to think about
> whether you have a hardware problem that is corrupting your files.


It has happened occasionally before, maybe 3 or 4 times over the same
number of years. It's difficult to track, as its always the same  situation
lecture notes or a tutorial than has sat there for 8 to 12 months
untouched, and then I can't open it to revise for the current term.

Thinking about it the computer that probably produced this file is no
longer in use, but it wasn't corrupt when last used as I printed out the
PDF from it, so it has become corrupt sitting on my hard drive.

I am unaware of any other problems, so I suspect I will just need to wait
and see.

Thanks,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
David,

>   My students would testify that many of my notes are far, far more than
> 8-12 months old when I open and "revise" them for the current term, and
> this has never happened to me [except on very, very old files whose format
> is no longer supported directly by lyx].
>
>
>  Thinking about it the computer that probably produced this file is no
> longer in use, but it wasn't corrupt when last used as I printed out the
> PDF from it, so it has become corrupt sitting on my hard drive.
>
> Well, your hard drive has probably begun to fail, corrupting random areas
> on the disk.  Although disk drives do seem more reliable than they used to
> be, it does still happen.
>

I think I am going to put it down to just being one of those things, for
now and see if it happens again. I'm not having any problems with other
files, and so far this year, only this file has been a problem. I keep a
note of the revisions I want to make from one year to the next, so I can
just ask students to annotate the hard copy. I don't have time to redo the
document.

Hard drives have all recently had some form of hardware check run on them
in the last few weeks, and this may in fact be the first file to go wrong
with my current computer set up, so maybe its a legacy of a past hard drive.

Thanks,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Liviu,

I have 100+Gb on Dropbox that I use, and it gives me version control for 30
days, which is good for falling back on a previous version, but the Dropbox
version will have long been replaced by the corrupt version. This then
syncs to a few computers in different locations

But, I do need a better long term backup, and a more flexible version
control.

I also have a Spider Oak account, as it so happens.

Thanks,

Graham


Re: "Not a readable lyx document"

2012-11-25 Thread Graham Smith
Thanks to everyone for the further comments, good to hear that it seems I
am unusual in having corrupt files.

Time Machine is, as Liviu says, a Mac solution and I share with Ubuntu and
occasionally Windows. Dropbox will retain files indefinitely, for an extra
fee, but I didn't know that SiderOak did it for their standard fee.

Certainly it looks as if I need to improve my backup procedures in some
way, but these few files with Lyx are the only times I have had this
problem.

Graham


ModernCV style - address block and name header missing

2012-08-06 Thread Graham Smith
I am trying to create a CV using the ModernCV style on Mac OS Lion, Lyx
2.04 and MacTex 2012.

Although I can add and entry and it will compile OK, there is no address
block or name header.

There are some instructions on the Wiki (
http://wiki.lyx.org/Examples/ModernCVClassIssues) about centering the name
and title and leaving more room for the address, by editing the .sty file
which may be relevant, but the instructions don't match the current
moderncvcasual.sty file, and I am not sure what I need to do, if indeed it
is relevant.

In desperation, I actually created the CV that I needed in latex, and
copied the personal info into the Lyx preamble, so I am assuming that the
required information is available to Lyx.

Is there anything obvious I should be looking at.

Thanks,

Graham

BTW, don't be misled by me moving to Latex to create my CV, I don't
actually know much about Latex, its just that when things don't work in Lyx
its sometimes quicker to find an example in Latex, and edit it directly.
than try and work out what is happening with Lyx - but this is a temporary
solution as I primarily want to work in Lyx.


ModernCV style - address block and name header missing

2012-08-06 Thread Graham Smith
I am trying to create a CV using the ModernCV style on Mac OS Lion, Lyx
2.04 and MacTex 2012.

Although I can add and entry and it will compile OK, there is no address
block or name header.

There are some instructions on the Wiki (
http://wiki.lyx.org/Examples/ModernCVClassIssues) about centering the name
and title and leaving more room for the address, by editing the .sty file
which may be relevant, but the instructions don't match the current
moderncvcasual.sty file, and I am not sure what I need to do, if indeed it
is relevant.

In desperation, I actually created the CV that I needed in latex, and
copied the personal info into the Lyx preamble, so I am assuming that the
required information is available to Lyx.

Is there anything obvious I should be looking at.

Thanks,

Graham

BTW, don't be misled by me moving to Latex to create my CV, I don't
actually know much about Latex, its just that when things don't work in Lyx
its sometimes quicker to find an example in Latex, and edit it directly.
than try and work out what is happening with Lyx - but this is a temporary
solution as I primarily want to work in Lyx.


ModernCV style - address block and name header missing

2012-08-06 Thread Graham Smith
I am trying to create a CV using the ModernCV style on Mac OS Lion, Lyx
2.04 and MacTex 2012.

Although I can add and entry and it will compile OK, there is no address
block or name header.

There are some instructions on the Wiki (
http://wiki.lyx.org/Examples/ModernCVClassIssues) about centering the name
and title and leaving more room for the address, by editing the .sty file
which may be relevant, but the instructions don't match the current
moderncvcasual.sty file, and I am not sure what I need to do, if indeed it
is relevant.

In desperation, I actually created the CV that I needed in latex, and
copied the personal info into the Lyx preamble, so I am assuming that the
required information is available to Lyx.

Is there anything obvious I should be looking at.

Thanks,

Graham

BTW, don't be misled by me moving to Latex to create my CV, I don't
actually know much about Latex, its just that when things don't work in Lyx
its sometimes quicker to find an example in Latex, and edit it directly.
than try and work out what is happening with Lyx - but this is a temporary
solution as I primarily want to work in Lyx.


403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Hello all,

Anyone any suggestions what this problem might be.

Trying to access lyx.org I get this message

Forbidden

You don't have permission to access / on this server.
--
Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

Is this a temporary problem,. There doesn't seem to be any mention of it on
the forums.
Thanks,
Graham


Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Thanks, but..

Unfortunately, it is also timing out for me now as well, but I assume that
is a step better than a 403 forbidden access.

Graham

On 31 July 2012 15:26, Richard Heck rgh...@lyx.org wrote:

  On 07/31/2012 06:32 AM, Graham Smith wrote:

 Hello all,

  Anyone any suggestions what this problem might be.

  Trying to access lyx.org I get this message

   Forbidden

 You don't have permission to access / on this server.
 --
 Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

  Is this a temporary problem,. There doesn't seem to be any mention of it
 on the forums.

 I seem to have fixed it.

 Richard




Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Richard,

Thanks, its now working :-)

Graham

On 31 July 2012 20:35, Richard Heck rgh...@lyx.org wrote:

  On 07/31/2012 03:19 PM, Graham Smith wrote:

 Thanks, but..

  Unfortunately, it is also timing out for me now as well, but I assume
 that is a step better than a 403 forbidden access.

  Yeah, that timeout problem is different, and one we've had on several
 other occasions. The guess is that it has something to do with trac.
 Sometimes it resolves itself; sometimes I have to restart httpd.

 Richard


  Graham

 On 31 July 2012 15:26, Richard Heck rgh...@lyx.org wrote:

   On 07/31/2012 06:32 AM, Graham Smith wrote:

 Hello all,

  Anyone any suggestions what this problem might be.

  Trying to access lyx.org I get this message

   Forbidden

 You don't have permission to access / on this server.
 --
 Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

  Is this a temporary problem,. There doesn't seem to be any mention of
 it on the forums.

  I seem to have fixed it.

 Richard







403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Hello all,

Anyone any suggestions what this problem might be.

Trying to access lyx.org I get this message

Forbidden

You don't have permission to access / on this server.
--
Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

Is this a temporary problem,. There doesn't seem to be any mention of it on
the forums.
Thanks,
Graham


Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Thanks, but..

Unfortunately, it is also timing out for me now as well, but I assume that
is a step better than a 403 forbidden access.

Graham

On 31 July 2012 15:26, Richard Heck rgh...@lyx.org wrote:

  On 07/31/2012 06:32 AM, Graham Smith wrote:

 Hello all,

  Anyone any suggestions what this problem might be.

  Trying to access lyx.org I get this message

   Forbidden

 You don't have permission to access / on this server.
 --
 Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

  Is this a temporary problem,. There doesn't seem to be any mention of it
 on the forums.

 I seem to have fixed it.

 Richard




Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Richard,

Thanks, its now working :-)

Graham

On 31 July 2012 20:35, Richard Heck rgh...@lyx.org wrote:

  On 07/31/2012 03:19 PM, Graham Smith wrote:

 Thanks, but..

  Unfortunately, it is also timing out for me now as well, but I assume
 that is a step better than a 403 forbidden access.

  Yeah, that timeout problem is different, and one we've had on several
 other occasions. The guess is that it has something to do with trac.
 Sometimes it resolves itself; sometimes I have to restart httpd.

 Richard


  Graham

 On 31 July 2012 15:26, Richard Heck rgh...@lyx.org wrote:

   On 07/31/2012 06:32 AM, Graham Smith wrote:

 Hello all,

  Anyone any suggestions what this problem might be.

  Trying to access lyx.org I get this message

   Forbidden

 You don't have permission to access / on this server.
 --
 Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

  Is this a temporary problem,. There doesn't seem to be any mention of
 it on the forums.

  I seem to have fixed it.

 Richard







403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Hello all,

Anyone any suggestions what this problem might be.

Trying to access lyx.org I get this message

Forbidden

You don't have permission to access / on this server.
--
Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80

Is this a temporary problem,. There doesn't seem to be any mention of it on
the forums.
Thanks,
Graham


Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Thanks, but..

Unfortunately, it is also timing out for me now as well, but I assume that
is a step better than a 403 forbidden access.

Graham

On 31 July 2012 15:26, Richard Heck <rgh...@lyx.org> wrote:

>  On 07/31/2012 06:32 AM, Graham Smith wrote:
>
> Hello all,
>
>  Anyone any suggestions what this problem might be.
>
>  Trying to access lyx.org I get this message
>
>   Forbidden
>
> You don't have permission to access / on this server.
> --
> Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80
>
>  Is this a temporary problem,. There doesn't seem to be any mention of it
> on the forums.
>
> I seem to have fixed it.
>
> Richard
>
>


Re: 403 forbidden access to lyx.org

2012-07-31 Thread Graham Smith
Richard,

Thanks, its now working :-)

Graham

On 31 July 2012 20:35, Richard Heck <rgh...@lyx.org> wrote:

>  On 07/31/2012 03:19 PM, Graham Smith wrote:
>
> Thanks, but..
>
>  Unfortunately, it is also timing out for me now as well, but I assume
> that is a step better than a 403 forbidden access.
>
>  Yeah, that timeout problem is different, and one we've had on several
> other occasions. The guess is that it has something to do with trac.
> Sometimes it resolves itself; sometimes I have to restart httpd.
>
> Richard
>
>
>  Graham
>
> On 31 July 2012 15:26, Richard Heck <rgh...@lyx.org> wrote:
>
>>   On 07/31/2012 06:32 AM, Graham Smith wrote:
>>
>> Hello all,
>>
>>  Anyone any suggestions what this problem might be.
>>
>>  Trying to access lyx.org I get this message
>>
>>   Forbidden
>>
>> You don't have permission to access / on this server.
>> --
>> Apache/2.2.15 (CentOS) Server at www.lyx.org Port 80
>>
>>  Is this a temporary problem,. There doesn't seem to be any mention of
>> it on the forums.
>>
>>  I seem to have fixed it.
>>
>> Richard
>>
>>
>
>
>


Re: Sweave Snow Leopard and lyx 2.0

2012-03-04 Thread Graham Smith
Yihui

On Monday, 5 March 2012, Yihui Xie x...@yihui.name wrote:
 I think LyX 2.0.3 looks good now. The Sweave manual is accessible via
 Help=Specific Manuals. The LyX wiki has been updated as well.

I have only briefly looked at this, but I also see that Kintr is now a
module.

Graham


Re: Sweave Snow Leopard and lyx 2.0

2012-03-04 Thread Graham Smith
Yihui

On Monday, 5 March 2012, Yihui Xie x...@yihui.name wrote:
 I think LyX 2.0.3 looks good now. The Sweave manual is accessible via
 Help=Specific Manuals. The LyX wiki has been updated as well.

I have only briefly looked at this, but I also see that Kintr is now a
module.

Graham


Re: Sweave Snow Leopard and lyx 2.0

2012-03-04 Thread Graham Smith
Yihui

On Monday, 5 March 2012, Yihui Xie  wrote:
> I think LyX 2.0.3 looks good now. The Sweave manual is accessible via
> Help=>Specific Manuals. The LyX wiki has been updated as well.

I have only briefly looked at this, but I also see that Kintr is now a
module.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Richard


On 03/02/2012 12:04 PM, Graham Smith wrote:

 I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
 and I am getting the following warning:

 (lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
 pixmap,

 Is this something to be worried about, and if so can anyone help me fix
 it.

  Probably not a LyX issue as such, since LyX does not use Gtk itself.


Thanks, I will just ignore it for now then.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Vincent,



 https://bugs.launchpad.net/**ubuntu/+source/light-themes/+**bug/762167https://bugs.launchpad.net/ubuntu/+source/light-themes/+bug/762167

 You can fix this by installing gtk2-engines-pixbuf.


Thanks, that fixed it.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Richard


On 03/02/2012 12:04 PM, Graham Smith wrote:

 I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
 and I am getting the following warning:

 (lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
 pixmap,

 Is this something to be worried about, and if so can anyone help me fix
 it.

  Probably not a LyX issue as such, since LyX does not use Gtk itself.


Thanks, I will just ignore it for now then.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Vincent,



 https://bugs.launchpad.net/**ubuntu/+source/light-themes/+**bug/762167https://bugs.launchpad.net/ubuntu/+source/light-themes/+bug/762167

 You can fix this by installing gtk2-engines-pixbuf.


Thanks, that fixed it.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Richard


On 03/02/2012 12:04 PM, Graham Smith wrote:
>
>> I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
>> and I am getting the following warning:
>>
>> (lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
>> "pixmap",
>>
>> Is this something to be worried about, and if so can anyone help me fix
>> it.
>>
>>  Probably not a LyX issue as such, since LyX does not use Gtk itself.


Thanks, I will just ignore it for now then.

Graham


Re: Gtk-warning

2012-03-03 Thread Graham Smith
Vincent,


>>
> https://bugs.launchpad.net/**ubuntu/+source/light-themes/+**bug/762167
>
> You can fix this by installing "gtk2-engines-pixbuf".
>
>
Thanks, that fixed it.

Graham


Gtk-warning

2012-03-02 Thread Graham Smith
I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
and I am getting the following warning:

(lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
pixmap,

Is this something to be worried about, and if so can anyone help me fix it.

Many thanks,

Graham


Gtk-warning

2012-03-02 Thread Graham Smith
I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
and I am getting the following warning:

(lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
pixmap,

Is this something to be worried about, and if so can anyone help me fix it.

Many thanks,

Graham


Gtk-warning

2012-03-02 Thread Graham Smith
I have just updated Lyx by adding the new  the Ubuntu ppa to Ubuntu 11.10
and I am getting the following warning:

(lyx:2997): Gtk-WARNING **: Unable to locate theme engine in module_path:
"pixmap",

Is this something to be worried about, and if so can anyone help me fix it.

Many thanks,

Graham


Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Graham Smith
 Yes, this sounds like a problem specific to a particular file (then it
 will be even harder for me to diagnose). Does that one produce figures
 from R?


Yes, it produces figures as well.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Graham Smith
 Yes, this sounds like a problem specific to a particular file (then it
 will be even harder for me to diagnose). Does that one produce figures
 from R?


Yes, it produces figures as well.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-09 Thread Graham Smith
> Yes, this sounds like a problem specific to a particular file (then it
> will be even harder for me to diagnose). Does that one produce figures
> from R?
>

Yes, it produces figures as well.

Graham


Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just tried compile a file that I last compiled in October 2011, on
Mac with Lion and Lyx 2.02, but may have originally been compiled on a  Mac
with Snow leopard and Lyx 2.01.

I am getting the error

 File does not exist:
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.xJL756/lyx_tmpbuf0/R-GettingStarted.pdf


The file points to some screen grabs and has R code so it also uses Sweave.


I have just tried and the same file compiles fine on Ubnutu 11.10/lyx 2.0.0
(Ubuntu is running virtual box on the Mac so is pointing at the same file
in the same directory as the Mac copy of Lyx is pointing at). So I can
carry on, but I coud do with sorting out the problem with the Mac version
of Lyx.


I see the same question was asked in December, but it didn't reach a
conclusion.


Many thanks,


Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

Thanks for the response

 Which version of R are you using? Does it work when you add this to
 your document as TeX code (Insert--TeX Code)?

 \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure}

It's R 2.14.1, and adding the code doesn't make any difference.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

This sounds hard to diagnose... Does that file really exist or not?
 Can you go and check in that folder?


The folder exists, but there is no R-GettingStarted.pdf in the folder. The
folder is empty.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
OK,

The file doesn't seem to exist. A search only finds the PDF from October in

\Users\graham\Dropbox\projects\R-Intro_Oct2011\R-GettingStarted.pdf

The temp folder has all the tex files etc but no PDF.

Graham

On 8 February 2012 20:50, Yihui Xie x...@yihui.name wrote:

 OK, then the question is where is this file. Can you try to compile
 the document again, and search for that R-GettingStarted.pdf?

 Regards,
 Yihui
 --
 Yihui Xie xieyi...@gmail.com
 Phone: 515-294-2465 Web: http://yihui.name
 Department of Statistics, Iowa State University
 2215 Snedecor Hall, Ames, IA



 On Wed, Feb 8, 2012 at 2:44 PM, Graham Smith myotis...@gmail.com wrote:
  Yihui
 
  This sounds hard to diagnose... Does that file really exist or not?
  Can you go and check in that folder?
 
 
  The folder exists, but there is no R-GettingStarted.pdf in the folder.
 The
  folder is empty.
 
  Graham
 
 
 



Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui


This is confusing to me. Ideally Sweave should write that file in the
 temp folder, and R will clean up the temp dir string in the tex
 output. However, in your case, both tasks failed. Have you set up any
 Sweave options like prefix and prefix.string in your document? Or have
 you ever changed the Sweave module in LyX? What are the first few
 lines of messages when you compile the document? (View--View
 Messages)


Not as confusing as it is to me :-(

It's identical to the file that compiled in October, I opened the Lyx file
and tried to compile it and couldn't because I got this error, then opened
it in Lyx/Ubuntu and it compiled fine.

I have pasted the lines from View--Messages errors come half way through,
so I thought this would be more informative than just the firet few lines

 21:59:54.210: Previewing ...

21:59:54.218: (buffer-view: ⌘R)

21:59:54.299: Rscript --verbose --no-save --no-restore
/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex
UTF-8 /Users/graham/Dropbox/projects/R-Intro_Oct2011/

21:59:54.302: running

21:59:54.302:
'/Library/Frameworks/R.framework/Versions/2.14/Resources/bin/R --slave
--no-restore --no-save --no-restore
--file=/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R --args
/var/folders/g3

21:59:54.302:
/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex
UTF-8'

21:59:54.302:

21:59:54.609: Writing to file
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex

21:59:54.611: Processing code chunks with options ...

21:59:54.627: 1 : keep.source term verbatim

21:59:54.646: 2 : echo keep.source

21:59:54.648: 3 : echo keep.source term verbatim

21:59:54.662: 4 : echo keep.source

21:59:54.664: 5 : echo keep.source

21:59:54.666: 6 : echo keep.source term verbatim

21:59:54.671: 7 : echo keep.source

21:59:54.674: 8 : echo keep.source term verbatim

21:59:54.686: 9 : echo keep.source

21:59:54.687: 10 : echo keep.source

21:59:54.689: 11 : echo keep.source

21:59:54.692: 12 : echo keep.source term verbatim pdf

21:59:54.748:

21:59:54.748: You can now run (pdf)latex on
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex'

21:59:54.748: Warning message:

21:59:54.748: In readLines(f[1L], warn = FALSE) :

21:59:54.748: invalid input found on input connection
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw'

21:59:54.778: pdflatex R-GettingStarted.tex

21:59:54.932: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:54.934: restricted \write18 enabled.

21:59:54.940: entering extended mode

21:59:54.940: (./R-GettingStarted.tex

21:59:54.940: LaTeX2e 2011/06/27

21:59:54.940: Babel v3.8m and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:54.940: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:54.941: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:54.941: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:54.941: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:54.941: icelandic, assamese, bengali, gujarati, hindi, kannada,
malayalam, marathi, or

21:59:54.941: iya, panjabi, tamil, telugu, indonesian, interlingua, irish,
italian, kurmanji,

21:59:54.941: lao, latin, latvian, lithuanian, mongolian, mongolianlmc,
bokmal, nynorsk, pol

21:59:54.941: ish, portuguese, romanian, russian, sanskrit, serbian,
serbianc, slovak, sloven

21:59:54.941: ian, spanish, swedish, turkish, turkmen, ukrainian,
uppersorbian, welsh, loaded

21:59:54.941: .

21:59:54.941:

21:59:55.396: pdflatex
R-GettingStarted.tex/Users/Shared/LyX/lyx-2.0.2/src/support/Systemcall.cpp(243):
Systemcall: 'pdflatex R-GettingStarted.tex' finished with exit code 1

21:59:55.550: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:55.550: restricted \write18 enabled.

21:59:55.558: entering extended mode

21:59:55.559: (./R-GettingStarted.tex

21:59:55.559: LaTeX2e 2011/06/27

21:59:55.559: Babel v3.8m and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:55.559: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:55.559: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:55.559: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:55.559: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:55.560: icelandic, assamese, bengali, gujarati, hindi, kannada,

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Just realised I didn't answer

Have you set up any Sweave options like prefix and prefix.string in your
document? Or have you ever changed the Sweave module in LyX?

No I haven't doen either of these things, except when I added the TEX box
you suggsted, which Inave since removed.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Can you also attach a copy of the script
 /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ?


File atached

Thanks,

Graham


lyxsweave.R
Description: Binary data


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just a different file from a different project, but still one using
Sweave, and that compliled fine so it seems something unique to this file,
so maybe that is where I should be looking.

Graham


Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just tried compile a file that I last compiled in October 2011, on
Mac with Lion and Lyx 2.02, but may have originally been compiled on a  Mac
with Snow leopard and Lyx 2.01.

I am getting the error

 File does not exist:
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.xJL756/lyx_tmpbuf0/R-GettingStarted.pdf


The file points to some screen grabs and has R code so it also uses Sweave.


I have just tried and the same file compiles fine on Ubnutu 11.10/lyx 2.0.0
(Ubuntu is running virtual box on the Mac so is pointing at the same file
in the same directory as the Mac copy of Lyx is pointing at). So I can
carry on, but I coud do with sorting out the problem with the Mac version
of Lyx.


I see the same question was asked in December, but it didn't reach a
conclusion.


Many thanks,


Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

Thanks for the response

 Which version of R are you using? Does it work when you add this to
 your document as TeX code (Insert--TeX Code)?

 \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure}

It's R 2.14.1, and adding the code doesn't make any difference.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

This sounds hard to diagnose... Does that file really exist or not?
 Can you go and check in that folder?


The folder exists, but there is no R-GettingStarted.pdf in the folder. The
folder is empty.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
OK,

The file doesn't seem to exist. A search only finds the PDF from October in

\Users\graham\Dropbox\projects\R-Intro_Oct2011\R-GettingStarted.pdf

The temp folder has all the tex files etc but no PDF.

Graham

On 8 February 2012 20:50, Yihui Xie x...@yihui.name wrote:

 OK, then the question is where is this file. Can you try to compile
 the document again, and search for that R-GettingStarted.pdf?

 Regards,
 Yihui
 --
 Yihui Xie xieyi...@gmail.com
 Phone: 515-294-2465 Web: http://yihui.name
 Department of Statistics, Iowa State University
 2215 Snedecor Hall, Ames, IA



 On Wed, Feb 8, 2012 at 2:44 PM, Graham Smith myotis...@gmail.com wrote:
  Yihui
 
  This sounds hard to diagnose... Does that file really exist or not?
  Can you go and check in that folder?
 
 
  The folder exists, but there is no R-GettingStarted.pdf in the folder.
 The
  folder is empty.
 
  Graham
 
 
 



Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui


This is confusing to me. Ideally Sweave should write that file in the
 temp folder, and R will clean up the temp dir string in the tex
 output. However, in your case, both tasks failed. Have you set up any
 Sweave options like prefix and prefix.string in your document? Or have
 you ever changed the Sweave module in LyX? What are the first few
 lines of messages when you compile the document? (View--View
 Messages)


Not as confusing as it is to me :-(

It's identical to the file that compiled in October, I opened the Lyx file
and tried to compile it and couldn't because I got this error, then opened
it in Lyx/Ubuntu and it compiled fine.

I have pasted the lines from View--Messages errors come half way through,
so I thought this would be more informative than just the firet few lines

 21:59:54.210: Previewing ...

21:59:54.218: (buffer-view: ⌘R)

21:59:54.299: Rscript --verbose --no-save --no-restore
/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex
UTF-8 /Users/graham/Dropbox/projects/R-Intro_Oct2011/

21:59:54.302: running

21:59:54.302:
'/Library/Frameworks/R.framework/Versions/2.14/Resources/bin/R --slave
--no-restore --no-save --no-restore
--file=/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R --args
/var/folders/g3

21:59:54.302:
/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex
UTF-8'

21:59:54.302:

21:59:54.609: Writing to file
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex

21:59:54.611: Processing code chunks with options ...

21:59:54.627: 1 : keep.source term verbatim

21:59:54.646: 2 : echo keep.source

21:59:54.648: 3 : echo keep.source term verbatim

21:59:54.662: 4 : echo keep.source

21:59:54.664: 5 : echo keep.source

21:59:54.666: 6 : echo keep.source term verbatim

21:59:54.671: 7 : echo keep.source

21:59:54.674: 8 : echo keep.source term verbatim

21:59:54.686: 9 : echo keep.source

21:59:54.687: 10 : echo keep.source

21:59:54.689: 11 : echo keep.source

21:59:54.692: 12 : echo keep.source term verbatim pdf

21:59:54.748:

21:59:54.748: You can now run (pdf)latex on
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex'

21:59:54.748: Warning message:

21:59:54.748: In readLines(f[1L], warn = FALSE) :

21:59:54.748: invalid input found on input connection
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw'

21:59:54.778: pdflatex R-GettingStarted.tex

21:59:54.932: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:54.934: restricted \write18 enabled.

21:59:54.940: entering extended mode

21:59:54.940: (./R-GettingStarted.tex

21:59:54.940: LaTeX2e 2011/06/27

21:59:54.940: Babel v3.8m and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:54.940: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:54.941: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:54.941: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:54.941: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:54.941: icelandic, assamese, bengali, gujarati, hindi, kannada,
malayalam, marathi, or

21:59:54.941: iya, panjabi, tamil, telugu, indonesian, interlingua, irish,
italian, kurmanji,

21:59:54.941: lao, latin, latvian, lithuanian, mongolian, mongolianlmc,
bokmal, nynorsk, pol

21:59:54.941: ish, portuguese, romanian, russian, sanskrit, serbian,
serbianc, slovak, sloven

21:59:54.941: ian, spanish, swedish, turkish, turkmen, ukrainian,
uppersorbian, welsh, loaded

21:59:54.941: .

21:59:54.941:

21:59:55.396: pdflatex
R-GettingStarted.tex/Users/Shared/LyX/lyx-2.0.2/src/support/Systemcall.cpp(243):
Systemcall: 'pdflatex R-GettingStarted.tex' finished with exit code 1

21:59:55.550: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:55.550: restricted \write18 enabled.

21:59:55.558: entering extended mode

21:59:55.559: (./R-GettingStarted.tex

21:59:55.559: LaTeX2e 2011/06/27

21:59:55.559: Babel v3.8m and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:55.559: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:55.559: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:55.559: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:55.559: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:55.560: icelandic, assamese, bengali, gujarati, hindi, kannada,

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Just realised I didn't answer

Have you set up any Sweave options like prefix and prefix.string in your
document? Or have you ever changed the Sweave module in LyX?

No I haven't doen either of these things, except when I added the TEX box
you suggsted, which Inave since removed.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Can you also attach a copy of the script
 /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ?


File atached

Thanks,

Graham


lyxsweave.R
Description: Binary data


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just a different file from a different project, but still one using
Sweave, and that compliled fine so it seems something unique to this file,
so maybe that is where I should be looking.

Graham


Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just tried compile a file that I last compiled in October 2011, on
Mac with Lion and Lyx 2.02, but may have originally been compiled on a  Mac
with Snow leopard and Lyx 2.01.

I am getting the error

 File does not exist:
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.xJL756/lyx_tmpbuf0/R-GettingStarted.pdf


The file points to some screen grabs and has R code so it also uses Sweave.


I have just tried and the same file compiles fine on Ubnutu 11.10/lyx 2.0.0
(Ubuntu is running virtual box on the Mac so is pointing at the same file
in the same directory as the Mac copy of Lyx is pointing at). So I can
carry on, but I coud do with sorting out the problem with the Mac version
of Lyx.


I see the same question was asked in December, but it didn't reach a
conclusion.


Many thanks,


Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

Thanks for the response

> Which version of R are you using? Does it work when you add this to
> your document as TeX code (Insert-->TeX Code)?
>
> \SweaveOpts{prefix=TRUE,prefix.string=sweave-figure}

It's R 2.14.1, and adding the code doesn't make any difference.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui

This sounds hard to diagnose... Does that file really exist or not?
> Can you go and check in that folder?
>

The folder exists, but there is no R-GettingStarted.pdf in the folder. The
folder is empty.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
OK,

The file doesn't seem to exist. A search only finds the PDF from October in

\Users\graham\Dropbox\projects\R-Intro_Oct2011\R-GettingStarted.pdf

The temp folder has all the tex files etc but no PDF.

Graham

On 8 February 2012 20:50, Yihui Xie <x...@yihui.name> wrote:

> OK, then the question is where is this file. Can you try to compile
> the document again, and search for that R-GettingStarted.pdf?
>
> Regards,
> Yihui
> --
> Yihui Xie <xieyi...@gmail.com>
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Wed, Feb 8, 2012 at 2:44 PM, Graham Smith <myotis...@gmail.com> wrote:
> > Yihui
> >
> >> This sounds hard to diagnose... Does that file really exist or not?
> >> Can you go and check in that folder?
> >
> >
> > The folder exists, but there is no R-GettingStarted.pdf in the folder.
> The
> > folder is empty.
> >
> > Graham
> >
> >
> >
>


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Yihui


This is confusing to me. Ideally Sweave should write that file in the
> temp folder, and R will clean up the temp dir string in the tex
> output. However, in your case, both tasks failed. Have you set up any
> Sweave options like prefix and prefix.string in your document? Or have
> you ever changed the Sweave module in LyX? What are the first few
> lines of messages when you compile the document? (View-->View
> Messages)
>

Not as confusing as it is to me :-(

It's identical to the file that compiled in October, I opened the Lyx file
and tried to compile it and couldn't because I got this error, then opened
it in Lyx/Ubuntu and it compiled fine.

I have pasted the lines from View-->Messages errors come half way through,
so I thought this would be more informative than just the firet few lines

 21:59:54.210: Previewing ...

21:59:54.218: (buffer-view: ⌘R)

21:59:54.299: Rscript --verbose --no-save --no-restore
"/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R"
"/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/""R-GettingStarted.Rnw"
"/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/""R-GettingStarted.tex"
UTF-8 "/Users/graham/Dropbox/projects/R-Intro_Oct2011/"

21:59:54.302: running

21:59:54.302:
'/Library/Frameworks/R.framework/Versions/2.14/Resources/bin/R --slave
--no-restore --no-save --no-restore
--file=/Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R --args
/var/folders/g3

21:59:54.302:
/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex
UTF-8'

21:59:54.302:

21:59:54.609: Writing to file
/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex

21:59:54.611: Processing code chunks with options ...

21:59:54.627: 1 : keep.source term verbatim

21:59:54.646: 2 : echo keep.source

21:59:54.648: 3 : echo keep.source term verbatim

21:59:54.662: 4 : echo keep.source

21:59:54.664: 5 : echo keep.source

21:59:54.666: 6 : echo keep.source term verbatim

21:59:54.671: 7 : echo keep.source

21:59:54.674: 8 : echo keep.source term verbatim

21:59:54.686: 9 : echo keep.source

21:59:54.687: 10 : echo keep.source

21:59:54.689: 11 : echo keep.source

21:59:54.692: 12 : echo keep.source term verbatim pdf

21:59:54.748:

21:59:54.748: You can now run (pdf)latex on
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.tex'

21:59:54.748: Warning message:

21:59:54.748: In readLines(f[1L], warn = FALSE) :

21:59:54.748: invalid input found on input connection
'/var/folders/g3/h89z1g_n7yv3fth6y2yd2nlhgn/T/lyx_tmpdir.JL3034/lyx_tmpbuf2/R-GettingStarted.Rnw'

21:59:54.778: pdflatex "R-GettingStarted.tex"

21:59:54.932: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:54.934: restricted \write18 enabled.

21:59:54.940: entering extended mode

21:59:54.940: (./R-GettingStarted.tex

21:59:54.940: LaTeX2e <2011/06/27>

21:59:54.940: Babel  and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:54.940: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:54.941: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:54.941: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:54.941: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:54.941: icelandic, assamese, bengali, gujarati, hindi, kannada,
malayalam, marathi, or

21:59:54.941: iya, panjabi, tamil, telugu, indonesian, interlingua, irish,
italian, kurmanji,

21:59:54.941: lao, latin, latvian, lithuanian, mongolian, mongolianlmc,
bokmal, nynorsk, pol

21:59:54.941: ish, portuguese, romanian, russian, sanskrit, serbian,
serbianc, slovak, sloven

21:59:54.941: ian, spanish, swedish, turkish, turkmen, ukrainian,
uppersorbian, welsh, loaded

21:59:54.941: .

21:59:54.941:

21:59:55.396: pdflatex
"R-GettingStarted.tex"/Users/Shared/LyX/lyx-2.0.2/src/support/Systemcall.cpp(243):
Systemcall: 'pdflatex "R-GettingStarted.tex"' finished with exit code 1

21:59:55.550: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)

21:59:55.550: restricted \write18 enabled.

21:59:55.558: entering extended mode

21:59:55.559: (./R-GettingStarted.tex

21:59:55.559: LaTeX2e <2011/06/27>

21:59:55.559: Babel  and hyphenation patterns for english, dumylang,
nohyphenation, ge

21:59:55.559: rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans,
ancientgreek, ibycus, arabi

21:59:55.559: c, armenian, basque, bulgarian, catalan, pinyin, coptic,
croatian, czech, danis

21:59:55.559: h, dutch, ukenglish, usenglishmax, esperanto, estonian,
ethiopic, farsi, finnis

21:59:55.559: h, french, galician, german, ngerman, swissgerman, monogreek,
greek, hungarian,

21:59:55.560: icelandic, assamese, bengali, gujarati, 

Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Just realised I didn't answer

>Have you set up any Sweave options like prefix and prefix.string in your
document? Or have you ever changed the >Sweave module in LyX?

No I haven't doen either of these things, except when I added the TEX box
you suggsted, which Inave since removed.

Graham


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
Can you also attach a copy of the script
> /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ?
>

File atached

Thanks,

Graham


lyxsweave.R
Description: Binary data


Re: Compile error File does not exist: /var/folders

2012-02-08 Thread Graham Smith
I have just a different file from a different project, but still one using
Sweave, and that compliled fine so it seems something unique to this file,
so maybe that is where I should be looking.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Hello Xu,

I don't mean to be parental, but this should be a good reminder to you that
 it's always good to save frequently and to save many different versions.
 Ideally you should look into a version control system (which LyX actually
 supports!), but at the least, make multiple backups, and not just one one
 machine.


Or, to remember that a back up exists!!

All my documents are in a Dropbox folder which is then synced to three
different computers including one off site, as well as the Dropbox servers.


Dropbox records a snapshot of every save for the last 30 days, and saves
them on their server. They also do a paid version which saves snapshots for
longer than 30 days.

I save frequently, indeed looking at the log on Dropbox I seem to save
every  two to three minutes and I have 22 pages of snapshots.

I had forgotten all about this until your comments above.  However, the
free Dropbox solution isn't going to help if I come back to a document in 6
months time, as it only keeps the versions for 30 days, rather than keeping
30 days worth of versions (if you see what I mean), which I hadn't
realised. So I will need to think about that, and thanks fro raising it.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Thanks Liviu,

I have used Spider Oak in the past, and it was fine and more flexible that
Dropbox (but Dropbox has improved) and every so often I think about using
it for cloud backups,and keeping Dropbox for syncing.

And as an aside, Dropbox does use encryption for their servers: from
http://www.dropbox.com/help/27

Dropbox uses modern encryption methods to both transfer and store your
data.

   - Secure Sockets Layer (SSL) and AES-256 bit encryption
   - Dropbox website and client software have been hardened against attacks
   from hackers
   - Public files are only viewable by people who have a link to the
   file(s). Public folders are not browsable or searchable

Dropbox uses Amazon's Simple Storage Service (S3) for storage, which has a
robust security policy of its own. You can find more information on
Amazon's data security from the S3
sitehttp://aws.amazon.com/articles/1697or, read more about how
Dropbox and Amazon securely stores data http://www.dropbox.com/help/7. 

I don't know enough about it to know how secure this is, but it doesn't
suggest the data are in simply in plain view on their servers.


Graham




 Then use SpiderOak [1]. (I also mention it in [2], section 1.3.) It's
 a cross-platform alternative, somewhat more flexible and with slightly
 more overhead when it comes to syncing, but it keeps past versions
 indefinitely (while they---the diff parts---count towards your quota
 of 2GB) which requires some periodic clean-up. It has a steeper
 learning curve than Dropbox, but if you put one hour worth of effort
 then you'll be quickly up to speed.

 A last point is that it treats privacy seriously: your data is
 encrypted on your computer and kept encrypted on their servers, while
 they don't have a record of your password (don't lose it!). Dropbox
 uses encryption only for transfer, meaning that all your data are
 stored in plain view on the servers.

 Regards
 Liviu

 [1] http://alternativeto.net/software/spideroak/
 [2]
 http://wiki.lyx.org/uploads/LyX/tutorials/essentials/LyX_Essentials.pdf



Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Liviu


 The Economist's Babbage blog has a nice discussion on this topic [1].
 Regards
 Liviu

 [1] http://www.economist.com/blogs/babbage/2011/05/internet_security

 Thanks again, an interesting read.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Jürgen


 Read the varioref documentation:


The problem with this for me, and I did read some of it before posting, is
I have no idea how this relates to what I can do in Lyx.

If I was running Latex then fine, but how does this translate into action
in Lyx.

Thanks,

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Hello Xu,

I don't mean to be parental, but this should be a good reminder to you that
 it's always good to save frequently and to save many different versions.
 Ideally you should look into a version control system (which LyX actually
 supports!), but at the least, make multiple backups, and not just one one
 machine.


Or, to remember that a back up exists!!

All my documents are in a Dropbox folder which is then synced to three
different computers including one off site, as well as the Dropbox servers.


Dropbox records a snapshot of every save for the last 30 days, and saves
them on their server. They also do a paid version which saves snapshots for
longer than 30 days.

I save frequently, indeed looking at the log on Dropbox I seem to save
every  two to three minutes and I have 22 pages of snapshots.

I had forgotten all about this until your comments above.  However, the
free Dropbox solution isn't going to help if I come back to a document in 6
months time, as it only keeps the versions for 30 days, rather than keeping
30 days worth of versions (if you see what I mean), which I hadn't
realised. So I will need to think about that, and thanks fro raising it.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Thanks Liviu,

I have used Spider Oak in the past, and it was fine and more flexible that
Dropbox (but Dropbox has improved) and every so often I think about using
it for cloud backups,and keeping Dropbox for syncing.

And as an aside, Dropbox does use encryption for their servers: from
http://www.dropbox.com/help/27

Dropbox uses modern encryption methods to both transfer and store your
data.

   - Secure Sockets Layer (SSL) and AES-256 bit encryption
   - Dropbox website and client software have been hardened against attacks
   from hackers
   - Public files are only viewable by people who have a link to the
   file(s). Public folders are not browsable or searchable

Dropbox uses Amazon's Simple Storage Service (S3) for storage, which has a
robust security policy of its own. You can find more information on
Amazon's data security from the S3
sitehttp://aws.amazon.com/articles/1697or, read more about how
Dropbox and Amazon securely stores data http://www.dropbox.com/help/7. 

I don't know enough about it to know how secure this is, but it doesn't
suggest the data are in simply in plain view on their servers.


Graham




 Then use SpiderOak [1]. (I also mention it in [2], section 1.3.) It's
 a cross-platform alternative, somewhat more flexible and with slightly
 more overhead when it comes to syncing, but it keeps past versions
 indefinitely (while they---the diff parts---count towards your quota
 of 2GB) which requires some periodic clean-up. It has a steeper
 learning curve than Dropbox, but if you put one hour worth of effort
 then you'll be quickly up to speed.

 A last point is that it treats privacy seriously: your data is
 encrypted on your computer and kept encrypted on their servers, while
 they don't have a record of your password (don't lose it!). Dropbox
 uses encryption only for transfer, meaning that all your data are
 stored in plain view on the servers.

 Regards
 Liviu

 [1] http://alternativeto.net/software/spideroak/
 [2]
 http://wiki.lyx.org/uploads/LyX/tutorials/essentials/LyX_Essentials.pdf



Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Liviu


 The Economist's Babbage blog has a nice discussion on this topic [1].
 Regards
 Liviu

 [1] http://www.economist.com/blogs/babbage/2011/05/internet_security

 Thanks again, an interesting read.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Jürgen


 Read the varioref documentation:


The problem with this for me, and I did read some of it before posting, is
I have no idea how this relates to what I can do in Lyx.

If I was running Latex then fine, but how does this translate into action
in Lyx.

Thanks,

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Hello Xu,

I don't mean to be parental, but this should be a good reminder to you that
> it's always good to save frequently and to save many different versions.
> Ideally you should look into a version control system (which LyX actually
> supports!), but at the least, make multiple backups, and not just one one
> machine.


Or, to remember that a back up exists!!

All my documents are in a Dropbox folder which is then synced to three
different computers including one off site, as well as the Dropbox servers.


Dropbox records a snapshot of every save for the last 30 days, and saves
them on their server. They also do a paid version which saves snapshots for
longer than 30 days.

I save frequently, indeed looking at the log on Dropbox I seem to save
every  two to three minutes and I have 22 pages of snapshots.

I had forgotten all about this until your comments above.  However, the
free Dropbox solution isn't going to help if I come back to a document in 6
months time, as it only keeps the versions for 30 days, rather than keeping
30 days worth of versions (if you see what I mean), which I hadn't
realised. So I will need to think about that, and thanks fro raising it.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Thanks Liviu,

I have used Spider Oak in the past, and it was fine and more flexible that
Dropbox (but Dropbox has improved) and every so often I think about using
it for cloud backups,and keeping Dropbox for syncing.

And as an aside, Dropbox does use encryption for their servers: from
http://www.dropbox.com/help/27

"Dropbox uses modern encryption methods to both transfer and store your
data.

   - Secure Sockets Layer (SSL) and AES-256 bit encryption
   - Dropbox website and client software have been hardened against attacks
   from hackers
   - Public files are only viewable by people who have a link to the
   file(s). Public folders are not browsable or searchable

Dropbox uses Amazon's Simple Storage Service (S3) for storage, which has a
robust security policy of its own. You can find more information on
Amazon's data security from the S3
siteor, read more about how
Dropbox and Amazon securely stores data . "

I don't know enough about it to know "how" secure this is, but it doesn't
suggest the data are in simply in plain view on their servers.


Graham




> Then use SpiderOak [1]. (I also mention it in [2], section 1.3.) It's
> a cross-platform alternative, somewhat more flexible and with slightly
> more overhead when it comes to syncing, but it keeps past versions
> indefinitely (while they---the diff parts---count towards your quota
> of 2GB) which requires some periodic clean-up. It has a steeper
> learning curve than Dropbox, but if you put one hour worth of effort
> then you'll be quickly up to speed.
>
> A last point is that it treats privacy seriously: your data is
> encrypted on your computer and kept encrypted on their servers, while
> they don't have a record of your password (don't lose it!). Dropbox
> uses encryption only for transfer, meaning that all your data are
> stored in plain view on the servers.
>
> Regards
> Liviu
>
> [1] http://alternativeto.net/software/spideroak/
> [2]
> http://wiki.lyx.org/uploads/LyX/tutorials/essentials/LyX_Essentials.pdf
>


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Liviu


> The Economist's Babbage blog has a nice discussion on this topic [1].
> Regards
> Liviu
>
> [1] http://www.economist.com/blogs/babbage/2011/05/internet_security
>
> Thanks again, an interesting read.

Graham


Re: Package varioref Sweave error

2011-11-06 Thread Graham Smith
Jürgen


> Read the varioref documentation:
>

The problem with this for me, and I did read some of it before posting, is
I have no idea how this relates to what I can do in Lyx.

If I was running Latex then fine, but how does this translate into action
in Lyx.

Thanks,

Graham


Package varioref Sweave error

2011-11-05 Thread Graham Smith
I have unsuccessfully been trying to get some latex code to (make a table)
run in an ERT box in Lyx. In the end I gave up and deleted my attempts.
However, now the document won't compile with the error message below.
 Nothing has changed other than the stuff I added and then deleted, but I
assume the aborted attempts to compile have broken something. I am on a Mac
with Lyx 2.0.0

Error
Package varioref \vref at page boundary 18-19 (may loop)


Description

terms. }

 Please check the pages in question. You might need to replace the \vref

or \vpageref by a normal \(page)ref to stop LaTeX running forever.


Is there an obvious solution to this,




many thanks,


Graham


Re: Package varioref Sweave error

2011-11-05 Thread Graham Smith
Hello Xu

Could you send a minimum working example (WME) of your .lyx file? My guess
 is that you might be able to generate the same error by deleting most or
 all of your document.

 My only suggestion for now is to start a new LyX document, and then copy
 from your old to your new. This will copy all of the content but will not
 copy some of the underlying things in the .lyx file. This would be easy to
 try and could solve your problem.


I have copied all the text into a new document and it all seems to be
working again. Which is great relief as I am very short of time trying to
get this document finished for Tuesday.

Thanks,

Graham


Package varioref Sweave error

2011-11-05 Thread Graham Smith
I have unsuccessfully been trying to get some latex code to (make a table)
run in an ERT box in Lyx. In the end I gave up and deleted my attempts.
However, now the document won't compile with the error message below.
 Nothing has changed other than the stuff I added and then deleted, but I
assume the aborted attempts to compile have broken something. I am on a Mac
with Lyx 2.0.0

Error
Package varioref \vref at page boundary 18-19 (may loop)


Description

terms. }

 Please check the pages in question. You might need to replace the \vref

or \vpageref by a normal \(page)ref to stop LaTeX running forever.


Is there an obvious solution to this,




many thanks,


Graham


Re: Package varioref Sweave error

2011-11-05 Thread Graham Smith
Hello Xu

Could you send a minimum working example (WME) of your .lyx file? My guess
 is that you might be able to generate the same error by deleting most or
 all of your document.

 My only suggestion for now is to start a new LyX document, and then copy
 from your old to your new. This will copy all of the content but will not
 copy some of the underlying things in the .lyx file. This would be easy to
 try and could solve your problem.


I have copied all the text into a new document and it all seems to be
working again. Which is great relief as I am very short of time trying to
get this document finished for Tuesday.

Thanks,

Graham


Package varioref Sweave error

2011-11-05 Thread Graham Smith
I have unsuccessfully been trying to get some latex code to (make a table)
run in an ERT box in Lyx. In the end I gave up and deleted my attempts.
However, now the document won't compile with the error message below.
 Nothing has changed other than the stuff I added and then deleted, but I
assume the aborted attempts to compile have broken something. I am on a Mac
with Lyx 2.0.0

Error
Package varioref \vref at page boundary 18-19 (may loop)


Description

terms. }

 Please check the pages in question. You might need to replace the \vref

or \vpageref by a normal \(page)ref to stop LaTeX running forever.


Is there an obvious solution to this,




many thanks,


Graham


Re: Package varioref Sweave error

2011-11-05 Thread Graham Smith
Hello Xu

Could you send a minimum working example (WME) of your .lyx file? My guess
> is that you might be able to generate the same error by deleting most or
> all of your document.
>
> My only suggestion for now is to start a new LyX document, and then copy
> from your old to your new. This will copy all of the content but will not
> copy some of the underlying things in the .lyx file. This would be easy to
> try and could solve your problem.
>

I have copied all the text into a new document and it all seems to be
working again. Which is great relief as I am very short of time trying to
get this document finished for Tuesday.

Thanks,

Graham


British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a
£ symbol in an graph legend, I get £ in the PDF.

I am on Snow Leopard and Lyx 2.0.0.

It doesn't happen when I generate graphs from R and save as PDF, so it seems
to be a Lyx/Latex/Sweave thing.

As so often is the case searching for an answer has proved fruitless,as a I
can't come up with meaningful search terms.

But I am sure this has cropped up before.

Any help much appreciated.

Graham


Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled
this file I got a dialog box asking about encoding, and I chose the default
UTF -8 encoding. Could this be where the problem lies and, if it does, how
do i now sort it.

Which encoding should I have chosen, if that is the issues.

Graham

On 19 October 2011 10:45, Graham Smith myotis...@gmail.com wrote:

 I'm not exactly sure where the problem lies with this, but if I include a
 £ symbol in an graph legend, I get £ in the PDF.

 I am on Snow Leopard and Lyx 2.0.0.

 It doesn't happen when I generate graphs from R and save as PDF, so it
 seems to be a Lyx/Latex/Sweave thing.

 As so often is the case searching for an answer has proved fruitless,as a I
 can't come up with meaningful search terms.

 But I am sure this has cropped up before.

 Any help much appreciated.

 Graham



British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a
£ symbol in an graph legend, I get £ in the PDF.

I am on Snow Leopard and Lyx 2.0.0.

It doesn't happen when I generate graphs from R and save as PDF, so it seems
to be a Lyx/Latex/Sweave thing.

As so often is the case searching for an answer has proved fruitless,as a I
can't come up with meaningful search terms.

But I am sure this has cropped up before.

Any help much appreciated.

Graham


Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled
this file I got a dialog box asking about encoding, and I chose the default
UTF -8 encoding. Could this be where the problem lies and, if it does, how
do i now sort it.

Which encoding should I have chosen, if that is the issues.

Graham

On 19 October 2011 10:45, Graham Smith myotis...@gmail.com wrote:

 I'm not exactly sure where the problem lies with this, but if I include a
 £ symbol in an graph legend, I get £ in the PDF.

 I am on Snow Leopard and Lyx 2.0.0.

 It doesn't happen when I generate graphs from R and save as PDF, so it
 seems to be a Lyx/Latex/Sweave thing.

 As so often is the case searching for an answer has proved fruitless,as a I
 can't come up with meaningful search terms.

 But I am sure this has cropped up before.

 Any help much appreciated.

 Graham



British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a
"£" symbol in an graph legend, I get "£" in the PDF.

I am on Snow Leopard and Lyx 2.0.0.

It doesn't happen when I generate graphs from R and save as PDF, so it seems
to be a Lyx/Latex/Sweave thing.

As so often is the case searching for an answer has proved fruitless,as a I
can't come up with meaningful search terms.

But I am sure this has cropped up before.

Any help much appreciated.

Graham


Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled
this file I got a dialog box asking about encoding, and I chose the default
UTF -8 encoding. Could this be where the problem lies and, if it does, how
do i now sort it.

Which encoding should I have chosen, if that is the issues.

Graham

On 19 October 2011 10:45, Graham Smith <myotis...@gmail.com> wrote:

> I'm not exactly sure where the problem lies with this, but if I include a
> "£" symbol in an graph legend, I get "£" in the PDF.
>
> I am on Snow Leopard and Lyx 2.0.0.
>
> It doesn't happen when I generate graphs from R and save as PDF, so it
> seems to be a Lyx/Latex/Sweave thing.
>
> As so often is the case searching for an answer has proved fruitless,as a I
> can't come up with meaningful search terms.
>
> But I am sure this has cropped up before.
>
> Any help much appreciated.
>
> Graham
>


Re: Sweave Snow Leopard and lyx 2.0

2011-09-02 Thread Graham Smith
Yihui

As far as I know, there is no such a package named literate, and the
 Sweave module does not rely on noweb.sty (this seems to be a common
 misunderstanding about Sweave in LyX).

 I'm sort of lost in the discussion and do not know what is the problem
 right now.


Sorry for the delay in replying, there is no package named literate, but the
instructions (to me anyway) suggested that I needed to install a package
called literate, which I couldn't find it. I did go on to explain this in a
later post, after the problem had been solved.

One of the problems about SWeave on Lyx is that there are lots of different
instructions around, of varying ages, all giving slightly different
directions, including the need for noweb.sty.  But as you say, in fact it
isn't needed.

It's all a little confusing.

Graham


  1   2   3   4   5   6   7   8   >