Re: error in LyX with Turkish language using knitr
30/08/2013 18:26, Yihui Xie: I can reproduce the problem after I enable babel in the document. Normally I disable it because it often causes me trouble for unknown reasons. To disable it globally: Preferences--Language Settings--Language package--None. Or disable it only for this document: Document--Settings--Language--Language package--None. Without babel, it compiles fine. From the top of my head, problems with turkish include 1/ in Turkish locale, `I' is not the uppercase of `i', because dotted and dotless versions of this letter exist. 2/ there is a common problem with babel due to the fact that the = character is made active. This breaks in particular the keyval package. See bug 2005 for background. http://www.lyx.org/trac/ticket/2005 JMarc
Re: error in LyX with Turkish language using knitr
30/08/2013 18:26, Yihui Xie: I can reproduce the problem after I enable babel in the document. Normally I disable it because it often causes me trouble for unknown reasons. To disable it globally: Preferences--Language Settings--Language package--None. Or disable it only for this document: Document--Settings--Language--Language package--None. Without babel, it compiles fine. From the top of my head, problems with turkish include 1/ in Turkish locale, `I' is not the uppercase of `i', because dotted and dotless versions of this letter exist. 2/ there is a common problem with babel due to the fact that the = character is made active. This breaks in particular the keyval package. See bug 2005 for background. http://www.lyx.org/trac/ticket/2005 JMarc
Re: error in LyX with Turkish language using knitr
30/08/2013 18:26, Yihui Xie: I can reproduce the problem after I enable babel in the document. Normally I disable it because it often causes me trouble for unknown reasons. To disable it globally: Preferences-->Language Settings-->Language package-->None. Or disable it only for this document: Document-->Settings-->Language-->Language package-->None. Without babel, it compiles fine. From the top of my head, problems with turkish include 1/ in Turkish locale, `I' is not the uppercase of `i', because dotted and dotless versions of this letter exist. 2/ there is a common problem with babel due to the fact that the = character is made active. This breaks in particular the keyval package. See bug 2005 for background. http://www.lyx.org/trac/ticket/2005 JMarc
RE: error in LyX with Turkish language using knitr
Tex file from LyX and Session info in R are below. Kadir % Preview source code %% LyX 2.0.5 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[turkish]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{luainputenc} \usepackage{setspace} \doublespacing \usepackage{babel} \usepackage{xkeyval} \begin{document} \title{rrr} \maketitle \tableofcontents{} \chapter{} sss s = plot(rnorm(100)) @ s \end{document} library(knitr) sessionInfo() R version 2.15.0 (2012-03-30) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] knitr_1.1 loaded via a namespace (and not attached): [1] digest_0.6.3 evaluate_0.4.3 formatR_0.7stringr_0.6.2 tools_2.15.0 system('pdflatex --version') pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010) kpathsea version 6.0.0 Copyright 2010 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.40; using libpng 1.2.40 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.02pl4 From: xieyi...@gmail.com [xieyi...@gmail.com] on behalf of Yihui Xie [x...@yihui.name] Sent: Thursday, August 29, 2013 5:17 PM To: lyx-users Cc: Kizilkaya, Kadir [AN S] Subject: Re: error in LyX with Turkish language using knitr and also your session info in R: library(knitr) sessionInfo() system('pdflatex --version') Regards, Yihui -- Yihui Xie xieyi...@gmail.com Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Aug 29, 2013 at 4:34 PM, Scott Kostyshak skost...@princeton.edu wrote: On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Dear LyX users, I am a LyX user and I would like to prepare a document in Turkish language by using Rnw (knitr) in modules. My sample source code is below and Hi Kadir, Can you please send the .lyx file the produced that .tex file? Scott
Re: error in LyX with Turkish language using knitr
On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott
RE: error in LyX with Turkish language using knitr
Hi Scott, I attached the lyx file, I hope it is the correct one. Kadir From: skost...@lyx.org [skost...@lyx.org] on behalf of Scott Kostyshak [skost...@princeton.edu] Sent: Friday, August 30, 2013 1:24 AM To: Kizilkaya, Kadir [AN S] Cc: lyx-users Subject: Re: error in LyX with Turkish language using knitr On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott newfile2.lyx Description: newfile2.lyx
Re: error in LyX with Turkish language using knitr
On Fri, Aug 30, 2013 at 3:07 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Hi Scott, I attached the lyx file, I hope it is the correct one. Kadir Hi Kadir, Thank you for sending the .lyx file. I can reproduce your error. This looks like a babel bug to me. However, I'm not experienced with such issues. Let's see if someone else has an idea. Scott
Re: error in LyX with Turkish language using knitr
I can reproduce the problem after I enable babel in the document. Normally I disable it because it often causes me trouble for unknown reasons. To disable it globally: Preferences--Language Settings--Language package--None. Or disable it only for this document: Document--Settings--Language--Language package--None. Without babel, it compiles fine. Regards, Yihui -- Yihui Xie xieyi...@gmail.com Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Fri, Aug 30, 2013 at 2:07 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Hi Scott, I attached the lyx file, I hope it is the correct one. Kadir From: skost...@lyx.org [skost...@lyx.org] on behalf of Scott Kostyshak [skost...@princeton.edu] Sent: Friday, August 30, 2013 1:24 AM To: Kizilkaya, Kadir [AN S] Cc: lyx-users Subject: Re: error in LyX with Turkish language using knitr On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott
RE: error in LyX with Turkish language using knitr
Tex file from LyX and Session info in R are below. Kadir % Preview source code %% LyX 2.0.5 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[turkish]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{luainputenc} \usepackage{setspace} \doublespacing \usepackage{babel} \usepackage{xkeyval} \begin{document} \title{rrr} \maketitle \tableofcontents{} \chapter{} sss s = plot(rnorm(100)) @ s \end{document} library(knitr) sessionInfo() R version 2.15.0 (2012-03-30) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] knitr_1.1 loaded via a namespace (and not attached): [1] digest_0.6.3 evaluate_0.4.3 formatR_0.7stringr_0.6.2 tools_2.15.0 system('pdflatex --version') pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010) kpathsea version 6.0.0 Copyright 2010 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.40; using libpng 1.2.40 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.02pl4 From: xieyi...@gmail.com [xieyi...@gmail.com] on behalf of Yihui Xie [x...@yihui.name] Sent: Thursday, August 29, 2013 5:17 PM To: lyx-users Cc: Kizilkaya, Kadir [AN S] Subject: Re: error in LyX with Turkish language using knitr and also your session info in R: library(knitr) sessionInfo() system('pdflatex --version') Regards, Yihui -- Yihui Xie xieyi...@gmail.com Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Aug 29, 2013 at 4:34 PM, Scott Kostyshak skost...@princeton.edu wrote: On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Dear LyX users, I am a LyX user and I would like to prepare a document in Turkish language by using Rnw (knitr) in modules. My sample source code is below and Hi Kadir, Can you please send the .lyx file the produced that .tex file? Scott
Re: error in LyX with Turkish language using knitr
On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott
RE: error in LyX with Turkish language using knitr
Hi Scott, I attached the lyx file, I hope it is the correct one. Kadir From: skost...@lyx.org [skost...@lyx.org] on behalf of Scott Kostyshak [skost...@princeton.edu] Sent: Friday, August 30, 2013 1:24 AM To: Kizilkaya, Kadir [AN S] Cc: lyx-users Subject: Re: error in LyX with Turkish language using knitr On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott newfile2.lyx Description: newfile2.lyx
Re: error in LyX with Turkish language using knitr
On Fri, Aug 30, 2013 at 3:07 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Hi Scott, I attached the lyx file, I hope it is the correct one. Kadir Hi Kadir, Thank you for sending the .lyx file. I can reproduce your error. This looks like a babel bug to me. However, I'm not experienced with such issues. Let's see if someone else has an idea. Scott
Re: error in LyX with Turkish language using knitr
I can reproduce the problem after I enable babel in the document. Normally I disable it because it often causes me trouble for unknown reasons. To disable it globally: Preferences--Language Settings--Language package--None. Or disable it only for this document: Document--Settings--Language--Language package--None. Without babel, it compiles fine. Regards, Yihui -- Yihui Xie xieyi...@gmail.com Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Fri, Aug 30, 2013 at 2:07 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Hi Scott, I attached the lyx file, I hope it is the correct one. Kadir From: skost...@lyx.org [skost...@lyx.org] on behalf of Scott Kostyshak [skost...@princeton.edu] Sent: Friday, August 30, 2013 1:24 AM To: Kizilkaya, Kadir [AN S] Cc: lyx-users Subject: Re: error in LyX with Turkish language using knitr On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott
RE: error in LyX with Turkish language using knitr
Tex file from LyX and Session info in R are below. Kadir % Preview source code %% LyX 2.0.5 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[turkish]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{luainputenc} \usepackage{setspace} \doublespacing \usepackage{babel} \usepackage{xkeyval} \begin{document} \title{rrr} \maketitle \tableofcontents{} \chapter{} sss s <<>>= plot(rnorm(100)) @ s \end{document} > library(knitr) > sessionInfo() R version 2.15.0 (2012-03-30) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] knitr_1.1 loaded via a namespace (and not attached): [1] digest_0.6.3 evaluate_0.4.3 formatR_0.7stringr_0.6.2 tools_2.15.0 > system('pdflatex --version') pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010) kpathsea version 6.0.0 Copyright 2010 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.40; using libpng 1.2.40 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.02pl4 From: xieyi...@gmail.com [xieyi...@gmail.com] on behalf of Yihui Xie [x...@yihui.name] Sent: Thursday, August 29, 2013 5:17 PM To: lyx-users Cc: Kizilkaya, Kadir [AN S] Subject: Re: error in LyX with Turkish language using knitr and also your session info in R: library(knitr) sessionInfo() system('pdflatex --version') Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Aug 29, 2013 at 4:34 PM, Scott Kostyshak <skost...@princeton.edu> wrote: > On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] > <kad...@iastate.edu> wrote: >> Dear LyX users, >> >> I am a LyX user and I would like to prepare a document in Turkish language >> by using Rnw (knitr) in modules. My sample source code is below and > > Hi Kadir, > > Can you please send the .lyx file the produced that .tex file? > > Scott
Re: error in LyX with Turkish language using knitr
On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S]wrote: > Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott
RE: error in LyX with Turkish language using knitr
Hi Scott, I attached the lyx file, I hope it is the correct one. Kadir From: skost...@lyx.org [skost...@lyx.org] on behalf of Scott Kostyshak [skost...@princeton.edu] Sent: Friday, August 30, 2013 1:24 AM To: Kizilkaya, Kadir [AN S] Cc: lyx-users Subject: Re: error in LyX with Turkish language using knitr On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] <kad...@iastate.edu> wrote: > Tex file from LyX and Session info in R are below. Hi Kadir, Can you please send the .lyx file (the file that created the LaTeX file)? Thanks, Scott newfile2.lyx Description: newfile2.lyx
Re: error in LyX with Turkish language using knitr
On Fri, Aug 30, 2013 at 3:07 AM, Kizilkaya, Kadir [AN S]wrote: > Hi Scott, > > I attached the lyx file, I hope it is the correct one. > > Kadir Hi Kadir, Thank you for sending the .lyx file. I can reproduce your error. This looks like a babel bug to me. However, I'm not experienced with such issues. Let's see if someone else has an idea. Scott
Re: error in LyX with Turkish language using knitr
I can reproduce the problem after I enable babel in the document. Normally I disable it because it often causes me trouble for unknown reasons. To disable it globally: Preferences-->Language Settings-->Language package-->None. Or disable it only for this document: Document-->Settings-->Language-->Language package-->None. Without babel, it compiles fine. Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Fri, Aug 30, 2013 at 2:07 AM, Kizilkaya, Kadir [AN S] <kad...@iastate.edu> wrote: > Hi Scott, > > I attached the lyx file, I hope it is the correct one. > > Kadir > > From: skost...@lyx.org [skost...@lyx.org] on behalf of Scott Kostyshak > [skost...@princeton.edu] > Sent: Friday, August 30, 2013 1:24 AM > To: Kizilkaya, Kadir [AN S] > Cc: lyx-users > Subject: Re: error in LyX with Turkish language using knitr > > On Fri, Aug 30, 2013 at 2:06 AM, Kizilkaya, Kadir [AN S] > <kad...@iastate.edu> wrote: >> Tex file from LyX and Session info in R are below. > > Hi Kadir, > > Can you please send the .lyx file (the file that created the LaTeX file)? > > Thanks, > > Scott
Re: error in LyX with Turkish language using knitr
On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Dear LyX users, I am a LyX user and I would like to prepare a document in Turkish language by using Rnw (knitr) in modules. My sample source code is below and Hi Kadir, Can you please send the .lyx file the produced that .tex file? Scott
Re: error in LyX with Turkish language using knitr
and also your session info in R: library(knitr) sessionInfo() system('pdflatex --version') Regards, Yihui -- Yihui Xie xieyi...@gmail.com Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Aug 29, 2013 at 4:34 PM, Scott Kostyshak skost...@princeton.edu wrote: On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Dear LyX users, I am a LyX user and I would like to prepare a document in Turkish language by using Rnw (knitr) in modules. My sample source code is below and Hi Kadir, Can you please send the .lyx file the produced that .tex file? Scott
Re: error in LyX with Turkish language using knitr
On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Dear LyX users, I am a LyX user and I would like to prepare a document in Turkish language by using Rnw (knitr) in modules. My sample source code is below and Hi Kadir, Can you please send the .lyx file the produced that .tex file? Scott
Re: error in LyX with Turkish language using knitr
and also your session info in R: library(knitr) sessionInfo() system('pdflatex --version') Regards, Yihui -- Yihui Xie xieyi...@gmail.com Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Aug 29, 2013 at 4:34 PM, Scott Kostyshak skost...@princeton.edu wrote: On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] kad...@iastate.edu wrote: Dear LyX users, I am a LyX user and I would like to prepare a document in Turkish language by using Rnw (knitr) in modules. My sample source code is below and Hi Kadir, Can you please send the .lyx file the produced that .tex file? Scott
Re: error in LyX with Turkish language using knitr
On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S]wrote: > Dear LyX users, > > I am a LyX user and I would like to prepare a document in Turkish language > by using Rnw (knitr) in modules. My sample source code is below and Hi Kadir, Can you please send the .lyx file the produced that .tex file? Scott
Re: error in LyX with Turkish language using knitr
and also your session info in R: library(knitr) sessionInfo() system('pdflatex --version') Regards, Yihui -- Yihui XieWeb: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Aug 29, 2013 at 4:34 PM, Scott Kostyshak wrote: > On Thu, Aug 29, 2013 at 4:19 PM, Kizilkaya, Kadir [AN S] > wrote: >> Dear LyX users, >> >> I am a LyX user and I would like to prepare a document in Turkish language >> by using Rnw (knitr) in modules. My sample source code is below and > > Hi Kadir, > > Can you please send the .lyx file the produced that .tex file? > > Scott