Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-07, Nikos Alexandris wrote: Salutations to LyX-users. In tex.stackexchange [1] a working solution has been demonstrated by egreg on how to correctly print Greek (characters) as/in pdf(LaTeX) bookmarks. I recall a similar question of mine (and suggested solution from the

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Nikos Alexandris
Nikos: Salutations to LyX-users. In tex.stackexchange [1] a working solution has been demonstrated by egreg on how to correctly print Greek (characters) as/in pdf(LaTeX) bookmarks. I recall a similar question of mine (and suggested solution from the hyperref developer) in this list [2]

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Nikos Alexandris
Nikos: [...] The question is if it is possible (and reasonable) to tell LyX not to pass the english option to the documentclass definition? Günter: What is the main document language? English (explained in my previous post, as a reply to LiviuA). I do not understand, how the english

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Liviu Andronic
On Wed, Feb 8, 2012 at 10:30 AM, Nikos Alexandris n...@nikosalexandris.net wrote: Nikos: Have you tried Doc Settings Language   Greek? Yes, allready tried. This causes the content to be printed with latin characters! Try then encoding 'utf8x' (or each of teh other 'utf8' flavours, if need

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:

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

2012-02-08 Thread Yihui Xie
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} Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

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 Yihui Xie
This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? 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

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 Yihui Xie
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

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

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

2012-02-08 Thread Yihui Xie
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

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

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: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-08, Nikos Alexandris wrote: ... More details: the code given in [1] works perfectly as pure LaTeX code. ... The minimal example: \documentclass[greek,english]{scrbook} \usepackage[utf8]{inputenc} \usepackage[greek,english]{babel} \usepackage[unicode]{hyperref}

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-08, Nikos Alexandris wrote: The complete LyX-code, as per my example is: This is not the LyX code but LyX's LaTeX output. But I see now what you mean. Instead of removing the english option, you can also fix the issue by adding greek: - \documentclass[a4paper,english]{scrbook} +

Re: An inline preview of a program listing from an external file

2012-02-08 Thread Marcin Zajączkowski
On 2012-02-07 10:49, Guenter Milde wrote: On 2012-02-06, Marcin Zajączkowski wrote: On 2012-01-30 13:14, Marcin Zajączkowski wrote: Hi, I added a program listing from an external file to my document using Insert - File - Child document (with type Program Listing). Everything works fine,

Re: Copying a text style when adding a row to a table

2012-02-08 Thread Marcin Zajączkowski
On 2012-02-07 22:41, Julien Rioux wrote: On 31/01/2012 8:15 AM, Marcin Zajączkowski wrote: Hi, When adding a new row to a table I expected than test style would be copied from a current row/cell. Generally when I check a text style of a new cell it seems to be fine (e.g. size as in the

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

2012-02-08 Thread Yihui Xie
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? 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

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: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
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? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-07, Nikos Alexandris wrote: Salutations to LyX-users. In tex.stackexchange [1] a working solution has been demonstrated by egreg on how to correctly print Greek (characters) as/in pdf(LaTeX) bookmarks. I recall a similar question of mine (and suggested solution from the

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Nikos Alexandris
Nikos: Salutations to LyX-users. In tex.stackexchange [1] a working solution has been demonstrated by egreg on how to correctly print Greek (characters) as/in pdf(LaTeX) bookmarks. I recall a similar question of mine (and suggested solution from the hyperref developer) in this list [2]

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Nikos Alexandris
Nikos: [...] The question is if it is possible (and reasonable) to tell LyX not to pass the english option to the documentclass definition? Günter: What is the main document language? English (explained in my previous post, as a reply to LiviuA). I do not understand, how the english

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Liviu Andronic
On Wed, Feb 8, 2012 at 10:30 AM, Nikos Alexandris n...@nikosalexandris.net wrote: Nikos: Have you tried Doc Settings Language   Greek? Yes, allready tried. This causes the content to be printed with latin characters! Try then encoding 'utf8x' (or each of teh other 'utf8' flavours, if need

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:

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

2012-02-08 Thread Yihui Xie
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} Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

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 Yihui Xie
This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? 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

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 Yihui Xie
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

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

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

2012-02-08 Thread Yihui Xie
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

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

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: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-08, Nikos Alexandris wrote: ... More details: the code given in [1] works perfectly as pure LaTeX code. ... The minimal example: \documentclass[greek,english]{scrbook} \usepackage[utf8]{inputenc} \usepackage[greek,english]{babel} \usepackage[unicode]{hyperref}

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-08, Nikos Alexandris wrote: The complete LyX-code, as per my example is: This is not the LyX code but LyX's LaTeX output. But I see now what you mean. Instead of removing the english option, you can also fix the issue by adding greek: - \documentclass[a4paper,english]{scrbook} +

Re: An inline preview of a program listing from an external file

2012-02-08 Thread Marcin Zajączkowski
On 2012-02-07 10:49, Guenter Milde wrote: On 2012-02-06, Marcin Zajączkowski wrote: On 2012-01-30 13:14, Marcin Zajączkowski wrote: Hi, I added a program listing from an external file to my document using Insert - File - Child document (with type Program Listing). Everything works fine,

Re: Copying a text style when adding a row to a table

2012-02-08 Thread Marcin Zajączkowski
On 2012-02-07 22:41, Julien Rioux wrote: On 31/01/2012 8:15 AM, Marcin Zajączkowski wrote: Hi, When adding a new row to a table I expected than test style would be copied from a current row/cell. Generally when I check a text style of a new cell it seems to be fine (e.g. size as in the

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

2012-02-08 Thread Yihui Xie
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? 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

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: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
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? Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-07, Nikos Alexandris wrote: > Salutations to LyX-users. > In tex.stackexchange [1] a working solution has been demonstrated by > egreg on how to correctly print Greek (characters) as/in pdf(LaTeX) > bookmarks. I recall a similar question of mine (and suggested solution > from the

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Nikos Alexandris
Nikos: Salutations to LyX-users. In tex.stackexchange [1] a working solution has been demonstrated by egreg on how to correctly print Greek (characters) as/in pdf(LaTeX) bookmarks. I recall a similar question of mine (and suggested solution from the hyperref developer) in this list [2]

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Nikos Alexandris
Nikos: [...] The question is if it is possible (and reasonable) to tell LyX not to pass the "english" option to the documentclass definition? Günter: What is the main document language? English (explained in my previous post, as a reply to LiviuA). I do not understand, how the

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Liviu Andronic
On Wed, Feb 8, 2012 at 10:30 AM, Nikos Alexandris wrote: > Nikos: >> Have you tried Doc Settings > Language  > Greek? > > > Yes, allready tried. This causes the content to be printed with latin > characters! > Try then encoding 'utf8x' (or each of teh other 'utf8'

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:

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

2012-02-08 Thread Yihui Xie
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} Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

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 Yihui Xie
This sounds hard to diagnose... Does that file really exist or not? Can you go and check in that folder? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012

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 Yihui Xie
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 Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames,

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 wrote: > OK, then the

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

2012-02-08 Thread Yihui Xie
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

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

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: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-08, Nikos Alexandris wrote: ... > More details: the code given in [1] works perfectly as pure LaTeX > code. ... The minimal example: \documentclass[greek,english]{scrbook} \usepackage[utf8]{inputenc} \usepackage[greek,english]{babel} \usepackage[unicode]{hyperref}

Re: Greek pdf(LaTeX) bookmarks within from LyX

2012-02-08 Thread Guenter Milde
On 2012-02-08, Nikos Alexandris wrote: > The complete LyX-code, as per my example is: This is not the LyX code but LyX's LaTeX output. But I see now what you mean. Instead of removing the "english" option, you can also fix the issue by adding "greek": -

Re: An inline preview of a program listing from an external file

2012-02-08 Thread Marcin Zajączkowski
On 2012-02-07 10:49, Guenter Milde wrote: > On 2012-02-06, Marcin Zajączkowski wrote: >> On 2012-01-30 13:14, Marcin Zajączkowski wrote: >>> Hi, > >>> I added a program listing from an external file to my document using >>> Insert -> File -> Child document (with type Program Listing). Everything

Re: Copying a text style when adding a row to a table

2012-02-08 Thread Marcin Zajączkowski
On 2012-02-07 22:41, Julien Rioux wrote: > On 31/01/2012 8:15 AM, Marcin Zajączkowski wrote: >> Hi, >> >> When adding a new row to a table I expected than test style would be >> copied from a current row/cell. Generally when I check a text style of a >> new cell it seems to be fine (e.g. size as

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

2012-02-08 Thread Yihui Xie
Can you also attach a copy of the script /Applications/LyX.app/Contents/Resources/scripts/lyxsweave.R ? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Feb 8, 2012

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: Compile error File does not exist: /var/folders

2012-02-08 Thread Yihui Xie
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? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215