Re: error in Lyx i do not understand please help

2013-12-05 Thread Guenter Milde
On 2013-12-05, Noura Deeb wrote:

 when i try to view lyx as pdf this problem pops on the screen and since i
 do not understand i cant fix. i have Nitro pro 8 as my pdf viewer.

There is a missing support package:


 ! LaTeX Error: File `amstext.sty' not found.


You should install the package containing amstext.sty via you LaTeX or Linux
distribution's package manager.

(How to do this depends on the used distribution.)

Günter



Re: error in Lyx i do not understand please help

2013-12-05 Thread Murat Yildizoglu
Hi Noura,

2013/12/5 Noura Deeb noura.deeb...@gmail.com

 ! LaTeX Error: File `amstext.sty' not found.


It seems that ams text.sty style file is missing in your Miktex
installation.
You should install the amsmath package of Miktex.


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: error in Lyx i do not understand please help

2013-12-05 Thread Guenter Milde
On 2013-12-05, Noura Deeb wrote:

 when i try to view lyx as pdf this problem pops on the screen and since i
 do not understand i cant fix. i have Nitro pro 8 as my pdf viewer.

There is a missing support package:


 ! LaTeX Error: File `amstext.sty' not found.


You should install the package containing amstext.sty via you LaTeX or Linux
distribution's package manager.

(How to do this depends on the used distribution.)

Günter



Re: error in Lyx i do not understand please help

2013-12-05 Thread Murat Yildizoglu
Hi Noura,

2013/12/5 Noura Deeb noura.deeb...@gmail.com

 ! LaTeX Error: File `amstext.sty' not found.


It seems that ams text.sty style file is missing in your Miktex
installation.
You should install the amsmath package of Miktex.


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: error in Lyx i do not understand please help

2013-12-05 Thread Guenter Milde
On 2013-12-05, Noura Deeb wrote:

> when i try to view lyx as pdf this problem pops on the screen and since i
> do not understand i cant fix. i have Nitro pro 8 as my pdf viewer.

There is a missing support package:


> ! LaTeX Error: File `amstext.sty' not found.


You should install the package containing amstext.sty via you LaTeX or Linux
distribution's package manager.

(How to do this depends on the used distribution.)

Günter



Re: error in Lyx i do not understand please help

2013-12-05 Thread Murat Yildizoglu
Hi Noura,

2013/12/5 Noura Deeb 

> ! LaTeX Error: File `amstext.sty' not found.


It seems that ams text.sty style file is missing in your Miktex
installation.
You should install the amsmath package of Miktex.


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


RE: error on lyx

2013-10-31 Thread santiago suarez
Thanks Richard. I did it, but the problem persist. Will it be about my laptop 
system? The friends who introduced me to lyx ( a student of my section at the 
university where I teach) run it in his laptop and it works, so I dont know 
what is happening. I will try to work in my lab terminal, however I'd like to 
fix the problem in my laptop so I could work out of the university. Thanks. I 
am sending the layout file, modified as you suggested me.

Santiago A. Suarez P.


Date: Thu, 31 Oct 2013 13:57:58 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
Subject: Re: error on lyx


  

  
  
On 10/31/2013 12:48 PM, santiago suarez
  wrote:



  
  Good morning. I am sending de layout file.

  



Works fine here. You should add a format tag, though:



Format 31



as the first non-comment line (so right before Input...). Maybe that
will get it working in your case. If not, then try running LyX from
a terminal. You'll get more information there about what the problem
is.



Richard



PS Make sure you reply to the list. Other people will have other
ideas.


  

nyjm.layout
Description: Binary data


Re: error on lyx

2013-10-31 Thread Richard Heck

On 10/31/2013 04:12 PM, santiago suarez wrote:
Thanks Richard. I did it, but the problem persist. Will it be about my 
laptop system?
The friends who introduced me to lyx ( a student of my section at the 
university where I teach) run it in his laptop and it works, so I dont 
know what is happening. I will try to work in my lab terminal, however 
I'd like to fix the problem in my laptop so I could work out of the 
university. Thanks. I am sending the layout file, modified as you 
suggested me.


There's no newline at the end of the file. Try adding one (or several).

rh



*/_Santiago A. Suarez P._/*



Date: Thu, 31 Oct 2013 13:57:58 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
Subject: Re: error on lyx

On 10/31/2013 12:48 PM, santiago suarez wrote:

Good morning. I am sending de layout file.


Works fine here. You should add a format tag, though:

Format 31

as the first non-comment line (so right before Input...). Maybe that 
will get it working in your case. If not, then try running LyX from a 
terminal. You'll get more information there about what the problem is.


Richard

PS Make sure you reply to the list. Other people will have other ideas.





RE: error on lyx

2013-10-31 Thread santiago suarez
I have done what you said me and 
WOW  it worked on.
Thanks a lot. 
I send the layout file modified.

Santiago A. Suarez P.


Date: Thu, 31 Oct 2013 19:22:19 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: error on lyx


  

  
  
On 10/31/2013 04:12 PM, santiago suarez
  wrote:



  
  Thanks Richard. I did it, but the problem persist.
Will it be about my laptop system? 
The friends who introduced me to lyx ( a student of my
  section at the university where I teach) run it in his laptop
  and it works, so I dont know what is happening. I will try to
  work in my lab terminal, however I'd like to fix the problem
  in my laptop so I could work out of the university. Thanks. I
  am sending the layout file, modified as you suggested me.


  



There's no newline at the end of the file. Try adding one (or
several).



rh




  


  Santiago A. Suarez P.

  
  

  

  
Date: Thu, 31 Oct 2013 13:57:58 -0400

From: rgh...@lyx.org

To: santiagosuar...@hotmail.com

Subject: Re: error on lyx



On 10/31/2013 12:48 PM,
  santiago suarez wrote:



  
  Good morning. I am sending de layout file.

  



Works fine here. You should add a format tag, though:



Format 31



as the first non-comment line (so right before Input...).
Maybe that will get it working in your case. If not, then
try running LyX from a terminal. You'll get more information
there about what the problem is.



Richard



PS Make sure you reply to the list. Other people will have
other ideas.



  

  


  

nyjm.layout
Description: Binary data


RE: error on lyx

2013-10-31 Thread santiago suarez
Thanks Richard. I did it, but the problem persist. Will it be about my laptop 
system? The friends who introduced me to lyx ( a student of my section at the 
university where I teach) run it in his laptop and it works, so I dont know 
what is happening. I will try to work in my lab terminal, however I'd like to 
fix the problem in my laptop so I could work out of the university. Thanks. I 
am sending the layout file, modified as you suggested me.

Santiago A. Suarez P.


Date: Thu, 31 Oct 2013 13:57:58 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
Subject: Re: error on lyx


  

  
  
On 10/31/2013 12:48 PM, santiago suarez
  wrote:



  
  Good morning. I am sending de layout file.

  



Works fine here. You should add a format tag, though:



Format 31



as the first non-comment line (so right before Input...). Maybe that
will get it working in your case. If not, then try running LyX from
a terminal. You'll get more information there about what the problem
is.



Richard



PS Make sure you reply to the list. Other people will have other
ideas.


  

nyjm.layout
Description: Binary data


Re: error on lyx

2013-10-31 Thread Richard Heck

On 10/31/2013 04:12 PM, santiago suarez wrote:
Thanks Richard. I did it, but the problem persist. Will it be about my 
laptop system?
The friends who introduced me to lyx ( a student of my section at the 
university where I teach) run it in his laptop and it works, so I dont 
know what is happening. I will try to work in my lab terminal, however 
I'd like to fix the problem in my laptop so I could work out of the 
university. Thanks. I am sending the layout file, modified as you 
suggested me.


There's no newline at the end of the file. Try adding one (or several).

rh



*/_Santiago A. Suarez P._/*



Date: Thu, 31 Oct 2013 13:57:58 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
Subject: Re: error on lyx

On 10/31/2013 12:48 PM, santiago suarez wrote:

Good morning. I am sending de layout file.


Works fine here. You should add a format tag, though:

Format 31

as the first non-comment line (so right before Input...). Maybe that 
will get it working in your case. If not, then try running LyX from a 
terminal. You'll get more information there about what the problem is.


Richard

PS Make sure you reply to the list. Other people will have other ideas.





RE: error on lyx

2013-10-31 Thread santiago suarez
I have done what you said me and 
WOW  it worked on.
Thanks a lot. 
I send the layout file modified.

Santiago A. Suarez P.


Date: Thu, 31 Oct 2013 19:22:19 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: error on lyx


  

  
  
On 10/31/2013 04:12 PM, santiago suarez
  wrote:



  
  Thanks Richard. I did it, but the problem persist.
Will it be about my laptop system? 
The friends who introduced me to lyx ( a student of my
  section at the university where I teach) run it in his laptop
  and it works, so I dont know what is happening. I will try to
  work in my lab terminal, however I'd like to fix the problem
  in my laptop so I could work out of the university. Thanks. I
  am sending the layout file, modified as you suggested me.


  



There's no newline at the end of the file. Try adding one (or
several).



rh




  


  Santiago A. Suarez P.

  
  

  

  
Date: Thu, 31 Oct 2013 13:57:58 -0400

From: rgh...@lyx.org

To: santiagosuar...@hotmail.com

Subject: Re: error on lyx



On 10/31/2013 12:48 PM,
  santiago suarez wrote:



  
  Good morning. I am sending de layout file.

  



Works fine here. You should add a format tag, though:



Format 31



as the first non-comment line (so right before Input...).
Maybe that will get it working in your case. If not, then
try running LyX from a terminal. You'll get more information
there about what the problem is.



Richard



PS Make sure you reply to the list. Other people will have
other ideas.



  

  


  

nyjm.layout
Description: Binary data


RE: error on lyx

2013-10-31 Thread santiago suarez
Thanks Richard. I did it, but the problem persist. Will it be about my laptop 
system? The friends who introduced me to lyx ( a student of my section at the 
university where I teach) run it in his laptop and it works, so I dont know 
what is happening. I will try to work in my lab terminal, however I'd like to 
fix the problem in my laptop so I could work out of the university. Thanks. I 
am sending the layout file, modified as you suggested me.

Santiago A. Suarez P.


Date: Thu, 31 Oct 2013 13:57:58 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
Subject: Re: error on lyx


  

  
  
On 10/31/2013 12:48 PM, santiago suarez
  wrote:



  
  Good morning. I am sending de layout file.

  



Works fine here. You should add a format tag, though:



Format 31



as the first non-comment line (so right before Input...). Maybe that
will get it working in your case. If not, then try running LyX from
a terminal. You'll get more information there about what the problem
is.



Richard



PS Make sure you reply to the list. Other people will have other
ideas.


  

nyjm.layout
Description: Binary data


Re: error on lyx

2013-10-31 Thread Richard Heck

On 10/31/2013 04:12 PM, santiago suarez wrote:
Thanks Richard. I did it, but the problem persist. Will it be about my 
laptop system?
The friends who introduced me to lyx ( a student of my section at the 
university where I teach) run it in his laptop and it works, so I dont 
know what is happening. I will try to work in my lab terminal, however 
I'd like to fix the problem in my laptop so I could work out of the 
university. Thanks. I am sending the layout file, modified as you 
suggested me.


There's no newline at the end of the file. Try adding one (or several).

rh



*/_Santiago A. Suarez P._/*



Date: Thu, 31 Oct 2013 13:57:58 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
Subject: Re: error on lyx

On 10/31/2013 12:48 PM, santiago suarez wrote:

Good morning. I am sending de layout file.


Works fine here. You should add a format tag, though:

Format 31

as the first non-comment line (so right before Input...). Maybe that 
will get it working in your case. If not, then try running LyX from a 
terminal. You'll get more information there about what the problem is.


Richard

PS Make sure you reply to the list. Other people will have other ideas.





RE: error on lyx

2013-10-31 Thread santiago suarez
I have done what you said me and 
WOW  it worked on.
Thanks a lot. 
I send the layout file modified.

Santiago A. Suarez P.


Date: Thu, 31 Oct 2013 19:22:19 -0400
From: rgh...@lyx.org
To: santiagosuar...@hotmail.com
CC: lyx-users@lists.lyx.org
Subject: Re: error on lyx


  

  
  
On 10/31/2013 04:12 PM, santiago suarez
  wrote:



  
  Thanks Richard. I did it, but the problem persist.
Will it be about my laptop system? 
The friends who introduced me to lyx ( a student of my
  section at the university where I teach) run it in his laptop
  and it works, so I dont know what is happening. I will try to
  work in my lab terminal, however I'd like to fix the problem
  in my laptop so I could work out of the university. Thanks. I
  am sending the layout file, modified as you suggested me.


  



There's no newline at the end of the file. Try adding one (or
several).



rh




  


  Santiago A. Suarez P.

  
  

  

  
Date: Thu, 31 Oct 2013 13:57:58 -0400

From: rgh...@lyx.org

To: santiagosuar...@hotmail.com

Subject: Re: error on lyx



On 10/31/2013 12:48 PM,
  santiago suarez wrote:



  
  Good morning. I am sending de layout file.

  



Works fine here. You should add a format tag, though:



Format 31



as the first non-comment line (so right before Input...).
Maybe that will get it working in your case. If not, then
try running LyX from a terminal. You'll get more information
there about what the problem is.



Richard



PS Make sure you reply to the list. Other people will have
other ideas.



  

  


  

nyjm.layout
Description: Binary data


Re: error on lyx

2013-10-30 Thread John Kane
A MS Word document is not of much use. The actual LyX file might be useful.





On Wednesday, October 30, 2013 7:00:00 PM, santiago suarez 
santiagosuar...@hotmail.com wrote:
 
Hello 
Team: 
 
I 
am thankful for using this great tool. I am writing and article and I have 
installed  nyjm.class file but when I try to use it, there occurs an error 
I can't fix. I hope you to help me
 
Thanks 
in advance 


Santiago A. Suarez 
P

Re: error on lyx

2013-10-30 Thread John Kane
A MS Word document is not of much use. The actual LyX file might be useful.





On Wednesday, October 30, 2013 7:00:00 PM, santiago suarez 
santiagosuar...@hotmail.com wrote:
 
Hello 
Team: 
 
I 
am thankful for using this great tool. I am writing and article and I have 
installed  nyjm.class file but when I try to use it, there occurs an error 
I can't fix. I hope you to help me
 
Thanks 
in advance 


Santiago A. Suarez 
P

Re: error on lyx

2013-10-30 Thread John Kane
A MS Word document is not of much use. The actual LyX file might be useful.





On Wednesday, October 30, 2013 7:00:00 PM, santiago suarez 
 wrote:
 
Hello 
Team: 
 
I 
am thankful for using this great tool. I am writing and article and I have 
installed  nyjm.class file but when I try to use it, there occurs an error 
I can't fix. I hope you to help me
 
Thanks 
in advance 


Santiago A. Suarez 
P

Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 23:18:52 schrieb Csikos Bela:
 OK. I set all items to Enumerate-Resume. Even then it works only
 
 if I have one level. If an item has subitems it does not work.

Yes, that's what I meant when I said that I have not dealt yet with nested 
enumerations. Nested enumerations disturbed the resume counter.

Try the attached module and example.


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Am Montag 21 Oktober 2013, 10:18:06 schrieb Jürgen Spitzmüller:
 Yes, that's what I meant when I said that I have not dealt yet with nested 
 enumerations. Nested enumerations disturbed the resume counter.
 
 Try the attached module and example.

Attached now.

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller sp...@lyx.org

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}

\newcommand*\saveenumvalue{\ifnum\@listdepth2\setcounter{saveenumi}{\value{enumi}}\fi}

\newcommand*\restoreenumvalue{\ifnum\@listdepth2\setcounter{enumi}{\value{saveenumi}}\fi}
\onlypresentation{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\saveenumvalue}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}
\AtEndEnvironment{resenumerate}{\enumresumefalse\saveenumvalue}
\apptocmd{\beamer@enum@}{\ifenumresume\restoreenumvalue\fi}{}{}
\AtBeginDocument{%
  \onlyarticle{%
  \makeatletter
  \apptocmd{\@enum@}{\ifenumresume\restoreenumvalue\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



beamer-resenumerate-example.lyx
Description: application/lyx


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Montag 21 Oktober 2013, 10:18:06 schrieb Jürgen Spitzmüller:
 Yes, that's what I meant when I said that I have not dealt yet with nested 
 enumerations. Nested enumerations disturbed the resume counter.
 
 Try the attached module and example.

Attached now.


Thanks

It works.

But I don't know how I supposed to use it.

1. To set enumerate-resume only to parent levels where I need resuming.

In this case to set the nested sublevels to normal enumerate.



2. To set everything, including the nested sublevels, to enumerate-resume.

I tried both and both worked.


Still I am curious if I can change in the local layout the end of

an environment; e.g to change \end{enumerate}  to 

\end{enumerate} \seti. Is is possible?

Thank you for your work.

bcsikos





Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Csikos Bela wrote:
 It works.
 
 But I don't know how I supposed to use it.
[...]
 2. To set everything, including the nested sublevels, to enumerate-resume.

Like this.

 Still I am curious if I can change in the local layout the end of
 
 an environment; e.g to change \end{enumerate}  to 
 
 \end{enumerate} \seti. Is is possible?

Should be  \seti\end{enumerate}, shouldn't it?.

Not with LyX's means. You need to use, as I have done, the package etoolbox, 
which provides the hook \AtEndEnvironment.

But note that you will run into the same problems with nested lists with your 
approach.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 23:18:52 schrieb Csikos Bela:
 OK. I set all items to Enumerate-Resume. Even then it works only
 
 if I have one level. If an item has subitems it does not work.

Yes, that's what I meant when I said that I have not dealt yet with nested 
enumerations. Nested enumerations disturbed the resume counter.

Try the attached module and example.


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Am Montag 21 Oktober 2013, 10:18:06 schrieb Jürgen Spitzmüller:
 Yes, that's what I meant when I said that I have not dealt yet with nested 
 enumerations. Nested enumerations disturbed the resume counter.
 
 Try the attached module and example.

Attached now.

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller sp...@lyx.org

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}

\newcommand*\saveenumvalue{\ifnum\@listdepth2\setcounter{saveenumi}{\value{enumi}}\fi}

\newcommand*\restoreenumvalue{\ifnum\@listdepth2\setcounter{enumi}{\value{saveenumi}}\fi}
\onlypresentation{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\saveenumvalue}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}
\AtEndEnvironment{resenumerate}{\enumresumefalse\saveenumvalue}
\apptocmd{\beamer@enum@}{\ifenumresume\restoreenumvalue\fi}{}{}
\AtBeginDocument{%
  \onlyarticle{%
  \makeatletter
  \apptocmd{\@enum@}{\ifenumresume\restoreenumvalue\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



beamer-resenumerate-example.lyx
Description: application/lyx


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Montag 21 Oktober 2013, 10:18:06 schrieb Jürgen Spitzmüller:
 Yes, that's what I meant when I said that I have not dealt yet with nested 
 enumerations. Nested enumerations disturbed the resume counter.
 
 Try the attached module and example.

Attached now.


Thanks

It works.

But I don't know how I supposed to use it.

1. To set enumerate-resume only to parent levels where I need resuming.

In this case to set the nested sublevels to normal enumerate.



2. To set everything, including the nested sublevels, to enumerate-resume.

I tried both and both worked.


Still I am curious if I can change in the local layout the end of

an environment; e.g to change \end{enumerate}  to 

\end{enumerate} \seti. Is is possible?

Thank you for your work.

bcsikos





Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Csikos Bela wrote:
 It works.
 
 But I don't know how I supposed to use it.
[...]
 2. To set everything, including the nested sublevels, to enumerate-resume.

Like this.

 Still I am curious if I can change in the local layout the end of
 
 an environment; e.g to change \end{enumerate}  to 
 
 \end{enumerate} \seti. Is is possible?

Should be  \seti\end{enumerate}, shouldn't it?.

Not with LyX's means. You need to use, as I have done, the package etoolbox, 
which provides the hook \AtEndEnvironment.

But note that you will run into the same problems with nested lists with your 
approach.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 23:18:52 schrieb Csikos Bela:
> OK. I set all items to Enumerate-Resume. Even then it works only
> 
> if I have one level. If an item has subitems it does not work.

Yes, that's what I meant when I said that I have not dealt yet with nested 
enumerations. Nested enumerations disturbed the resume counter.

Try the attached module and example.


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Am Montag 21 Oktober 2013, 10:18:06 schrieb Jürgen Spitzmüller:
> Yes, that's what I meant when I said that I have not dealt yet with nested 
> enumerations. Nested enumerations disturbed the resume counter.
> 
> Try the attached module and example.

Attached now.

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller 

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}

\newcommand*\saveenumvalue{\ifnum\@listdepth<2\setcounter{saveenumi}{\value{enumi}}\fi}

\newcommand*\restoreenumvalue{\ifnum\@listdepth<2\setcounter{enumi}{\value{saveenumi}}\fi}
\only{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\saveenumvalue}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}
\AtEndEnvironment{resenumerate}{\enumresumefalse\saveenumvalue}
\apptocmd{\beamer@enum@}{\ifenumresume\restoreenumvalue\fi}{}{}
\AtBeginDocument{%
  \only{%
  \makeatletter
  \apptocmd{\@enum@}{\ifenumresume\restoreenumvalue\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



beamer-resenumerate-example.lyx
Description: application/lyx


Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Montag 21 Oktober 2013, 10:18:06 schrieb Jürgen Spitzmüller:
>> Yes, that's what I meant when I said that I have not dealt yet with nested 
>> enumerations. Nested enumerations disturbed the resume counter.
>> 
>> Try the attached module and example.
>
>Attached now.
>

Thanks

It works.

But I don't know how I supposed to use it.

1. To set enumerate-resume only to parent levels where I need resuming.

In this case to set the nested sublevels to normal enumerate.



2. To set everything, including the nested sublevels, to enumerate-resume.

I tried both and both worked.


Still I am curious if I can change in the local layout the end of

an environment; e.g to change "\end{enumerate}"  to 

"\end{enumerate} \seti". Is is possible?

Thank you for your work.

bcsikos





Re: error in lyx with powerdot and enumitem resume

2013-10-21 Thread Jürgen Spitzmüller
Csikos Bela wrote:
> It works.
> 
> But I don't know how I supposed to use it.
[...]
> 2. To set everything, including the nested sublevels, to enumerate-resume.

Like this.

> Still I am curious if I can change in the local layout the end of
> 
> an environment; e.g to change "\end{enumerate}"  to 
> 
> "\end{enumerate} \seti". Is is possible?

Should be " \seti\end{enumerate}", shouldn't it?.

Not with LyX's means. You need to use, as I have done, the package etoolbox, 
which provides the hook \AtEndEnvironment.

But note that you will run into the same problems with nested lists with your 
approach.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
 1. The code inserted as local layout does override/replace the code
 specified in enumitem module?

Yes.

 2. Loosely related. I tried powerdot because enumitem does not work with
 beamer. And beamer even starts numbering enumerate list from 1 in every new
 frame/slide. If I could resume enumeration in beamer I would prefer to use
 beamer.

Beamer and enumitem are incompatible. You can resume manually or with some 
LaTeX trickery, see e.g.
http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen, thanks again.

I looked at the stackexchange link. I copied the necessary code into my 
preamble.

But I don't know where to insert commands \seti and \conti.

Especially \conti is problematic as I don't know how I can insert it between

\begin{enumerate} and the first \item commands.

I made a beamer minimal example file which I attach here.

I have two levels enumerated lists, practically one first level in each frame.

Could you please show me on my example file how and where to insert those 
commands 
exactly?

Thanks,

bcsikos


beamer-enumerate-continue-example.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Csikos Bela wrote:
 I looked at the stackexchange link. I copied the necessary code into my
 preamble.
 
 But I don't know where to insert commands \seti and \conti.

There's no need to insert the stackexchange code (in fact, this is not 
possible with LyX, as you noticed yourself). Instead, use the module I posted:
http://marc.info/?l=lyx-usersm=138218324718365w=2

If you use the new style Enumerate-Resume provided by the module, the 
necessary code will be inserted automatically.

If you need to know how to install and use a module, look here:
http://wiki.lyx.org/Layouts/Modules

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case

Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
For some reason my last answer arrived truncated to the list, therefore I

I send it again:


Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

OK. I set all items to Enumerate-Resume. Even then it works only

if I have one level. If an item has subitems it does not work.


 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

What I want to achieve is making tests.

The questions are numbered and each slide has one question.

The answers below the questions are labeled by capital letters from

A to D or E. I want to be able to rearrange the order of questions

without changing the numbers manually. I also want to copy questions

between documents. As a next step I also would like to highlight the correct 

answers, inlcuding the labels (if it is possible at all).

I just described this because there might be other methods to make such

documents than I tried to do so far.

Thanks,

bcsikos



Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

I thought I could use a local layout and where I modify the
\begin{enumerate} and \end{enumerate} commands.

For example:

Style Beamer-Enumerate-Resume
CopyStyle Enumerate
LatexParam\conti
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End

This adds \begin{enumerate} \conti

at the beginning of the environment when  Beamer-Enumerate-Resume is set.

But I don't know how I could modify the end of the environment:

to change \end{enumerate}  to \end{enumerate} \seti.

Is it possible? 

I attach an example file which includes the above local layout.
I inserted \seti commands in ERT, and it work, but I would like
them to be inserted by the style.

Thanks,

bcsikos


beamer-Enumerate-Resume.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
 1. The code inserted as local layout does override/replace the code
 specified in enumitem module?

Yes.

 2. Loosely related. I tried powerdot because enumitem does not work with
 beamer. And beamer even starts numbering enumerate list from 1 in every new
 frame/slide. If I could resume enumeration in beamer I would prefer to use
 beamer.

Beamer and enumitem are incompatible. You can resume manually or with some 
LaTeX trickery, see e.g.
http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen, thanks again.

I looked at the stackexchange link. I copied the necessary code into my 
preamble.

But I don't know where to insert commands \seti and \conti.

Especially \conti is problematic as I don't know how I can insert it between

\begin{enumerate} and the first \item commands.

I made a beamer minimal example file which I attach here.

I have two levels enumerated lists, practically one first level in each frame.

Could you please show me on my example file how and where to insert those 
commands 
exactly?

Thanks,

bcsikos


beamer-enumerate-continue-example.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Csikos Bela wrote:
 I looked at the stackexchange link. I copied the necessary code into my
 preamble.
 
 But I don't know where to insert commands \seti and \conti.

There's no need to insert the stackexchange code (in fact, this is not 
possible with LyX, as you noticed yourself). Instead, use the module I posted:
http://marc.info/?l=lyx-usersm=138218324718365w=2

If you use the new style Enumerate-Resume provided by the module, the 
necessary code will be inserted automatically.

If you need to know how to install and use a module, look here:
http://wiki.lyx.org/Layouts/Modules

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case

Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
For some reason my last answer arrived truncated to the list, therefore I

I send it again:


Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

OK. I set all items to Enumerate-Resume. Even then it works only

if I have one level. If an item has subitems it does not work.


 (And the level 2 labels are not correct either. For now this is not a
 problem as
 
 I will change them and they will not indicate which first level they belong
 to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

What I want to achieve is making tests.

The questions are numbered and each slide has one question.

The answers below the questions are labeled by capital letters from

A to D or E. I want to be able to rearrange the order of questions

without changing the numbers manually. I also want to copy questions

between documents. As a next step I also would like to highlight the correct 

answers, inlcuding the labels (if it is possible at all).

I just described this because there might be other methods to make such

documents than I tried to do so far.

Thanks,

bcsikos



Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
 If I use Enumerate-Resume style it works only if the previous item is set
 
 to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
 
 Please look at the attached beamer-resenumerate.lyx and 
 
 beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style Enumerate-Resume for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

I thought I could use a local layout and where I modify the
\begin{enumerate} and \end{enumerate} commands.

For example:

Style Beamer-Enumerate-Resume
CopyStyle Enumerate
LatexParam\conti
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End

This adds \begin{enumerate} \conti

at the beginning of the environment when  Beamer-Enumerate-Resume is set.

But I don't know how I could modify the end of the environment:

to change \end{enumerate}  to \end{enumerate} \seti.

Is it possible? 

I attach an example file which includes the above local layout.
I inserted \seti commands in ERT, and it work, but I would like
them to be inserted by the style.

Thanks,

bcsikos


beamer-Enumerate-Resume.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
>> 1. The code inserted as local layout does override/replace the code
>> specified in enumitem module?
>
>Yes.
>
>> 2. Loosely related. I tried powerdot because enumitem does not work with
>> beamer. And beamer even starts numbering enumerate list from 1 in every new
>> frame/slide. If I could resume enumeration in beamer I would prefer to use
>> beamer.
>
>Beamer and enumitem are incompatible. You can resume manually or with some 
>LaTeX trickery, see e.g.
>http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen, thanks again.

I looked at the stackexchange link. I copied the necessary code into my 
preamble.

But I don't know where to insert commands \seti and \conti.

Especially \conti is problematic as I don't know how I can insert it between

"\begin{enumerate}" and the first "\item" commands.

I made a beamer minimal example file which I attach here.

I have two levels enumerated lists, practically one first level in each frame.

Could you please show me on my example file how and where to insert those 
commands 
exactly?

Thanks,

bcsikos


beamer-enumerate-continue-example.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Csikos Bela wrote:
> I looked at the stackexchange link. I copied the necessary code into my
> preamble.
> 
> But I don't know where to insert commands \seti and \conti.

There's no need to insert the stackexchange code (in fact, this is not 
possible with LyX, as you noticed yourself). Instead, use the module I posted:
http://marc.info/?l=lyx-users=138218324718365=2

If you use the new style "Enumerate-Resume" provided by the module, the 
necessary code will be inserted automatically.

If you need to know how to install and use a "module", look here:
http://wiki.lyx.org/Layouts/Modules

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Jürgen Spitzmüller
Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
> If I use Enumerate-Resume style it works only if the previous item is set
> 
> to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
> 
> Please look at the attached beamer-resenumerate.lyx and 
> 
> beamer-resenumerate2.lyx files and their pdf outputs.

Well, in the first example, you use the style incorrectly: You have to use the 
style "Enumerate-Resume" for _the whole list_ which should start with a 
resumed number. In other words: Never mix normal Enumerate and 
Enumerate_Resume in a single list.

> (And the level 2 labels are not correct either. For now this is not a
> problem as
> 
> I will change them and they will not indicate which first level they belong
> to.)

I have not dealt yet with nested enumerations. This obviously needs more work. 
I will have a look at this.

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
>> If I use Enumerate-Resume style it works only if the previous item is set
>> 
>> to Enumerate (not  Enumerate-Resume). That is it dos not work in my case

Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
For some reason my last answer arrived truncated to the list, therefore I

I send it again:


"Jürgen Spitzmüller"  írta:
>Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
>> If I use Enumerate-Resume style it works only if the previous item is set
>> 
>> to Enumerate (not Enumerate-Resume). That is it dos not work in my case.
>> 
>> Please look at the attached beamer-resenumerate.lyx and 
>> 
>> beamer-resenumerate2.lyx files and their pdf outputs.
>
>Well, in the first example, you use the style incorrectly: You have to use the 
>style "Enumerate-Resume" for _the whole list_ which should start with a 
>resumed number. In other words: Never mix normal Enumerate and 
>Enumerate_Resume in a single list.

OK. I set all items to Enumerate-Resume. Even then it works only

if I have one level. If an item has subitems it does not work.

>
>> (And the level 2 labels are not correct either. For now this is not a
>> problem as
>> 
>> I will change them and they will not indicate which first level they belong
>> to.)
>
>I have not dealt yet with nested enumerations. This obviously needs more work. 
>I will have a look at this.

What I want to achieve is making tests.

The questions are numbered and each slide has one question.

The answers below the questions are labeled by capital letters from

A to D or E. I want to be able to rearrange the order of questions

without changing the numbers manually. I also want to copy questions

between documents. As a next step I also would like to highlight the correct 

answers, inlcuding the labels (if it is possible at all).

I just described this because there might be other methods to make such

documents than I tried to do so far.

Thanks,

bcsikos



Re: error in lyx with powerdot and enumitem resume

2013-10-20 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Sonntag 20 Oktober 2013, 18:03:47 schrieb Csikos Bela:
>> If I use Enumerate-Resume style it works only if the previous item is set
>> 
>> to Enumerate (not  Enumerate-Resume). That is it dos not work in my case.
>> 
>> Please look at the attached beamer-resenumerate.lyx and 
>> 
>> beamer-resenumerate2.lyx files and their pdf outputs.
>
>Well, in the first example, you use the style incorrectly: You have to use the 
>style "Enumerate-Resume" for _the whole list_ which should start with a 
>resumed number. In other words: Never mix normal Enumerate and 
>Enumerate_Resume in a single list.

I thought I could use a local layout and where I modify the
\begin{enumerate} and \end{enumerate} commands.

For example:

Style Beamer-Enumerate-Resume
CopyStyle Enumerate
LatexParam\conti
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End

This adds \begin{enumerate} \conti

at the beginning of the environment when  Beamer-Enumerate-Resume is set.

But I don't know how I could modify the end of the environment:

to change "\end{enumerate}"  to "\end{enumerate} \seti".

Is it possible? 

I attach an example file which includes the above local layout.
I inserted "\seti" commands in ERT, and it work, but I would like
them to be inserted by the style.

Thanks,

bcsikos


beamer-Enumerate-Resume.lyx
Description: Binary data


Re: error in lyx with powerdot and enumitem resume

2013-10-19 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 16:26:53 schrieb Jürgen Spitzmüller:
 Beamer and enumitem are incompatible. You can resume manually or with some 
 LaTeX trickery, see e.g.
 http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-i
 n-beamer

The attached module implements an Enumerate-Resume style for beamer. This 
works with LyX 2.0 and 2.1, with beamer and beamerarticle and both with 
default overlay settings and mini templates (although you need to re-
specifiy this for each resumed list).

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller sp...@lyx.org

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}
\onlypresentation{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\setcounter{saveenumi}{\value{enumi}}}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}
\AtEndEnvironment{resenumerate}{\enumresumefalse}

\apptocmd{\beamer@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
\AtBeginDocument{%
  \onlyarticle{%
  \makeatletter
  
\apptocmd{\@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



Re: error in lyx with powerdot and enumitem resume

2013-10-19 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
 The attached module implements an Enumerate-Resume style for beamer. This 
 works with LyX 2.0 and 2.1, with beamer and beamerarticle and both with
 default overlay settings and mini templates (although you need to re-
 specifiy this for each resumed list).

This one also works with multiple consequent Enumerate-Resumes.

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller sp...@lyx.org

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}
\onlypresentation{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\setcounter{saveenumi}{\value{enumi}}}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}

\AtEndEnvironment{resenumerate}{\enumresumefalse\setcounter{saveenumi}{\value{enumi}}}

\apptocmd{\beamer@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
\AtBeginDocument{%
  \onlyarticle{%
  \makeatletter
  
\apptocmd{\@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



Re: error in lyx with powerdot and enumitem resume

2013-10-19 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 16:26:53 schrieb Jürgen Spitzmüller:
 Beamer and enumitem are incompatible. You can resume manually or with some 
 LaTeX trickery, see e.g.
 http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-i
 n-beamer

The attached module implements an Enumerate-Resume style for beamer. This 
works with LyX 2.0 and 2.1, with beamer and beamerarticle and both with 
default overlay settings and mini templates (although you need to re-
specifiy this for each resumed list).

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller sp...@lyx.org

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}
\onlypresentation{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\setcounter{saveenumi}{\value{enumi}}}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}
\AtEndEnvironment{resenumerate}{\enumresumefalse}

\apptocmd{\beamer@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
\AtBeginDocument{%
  \onlyarticle{%
  \makeatletter
  
\apptocmd{\@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



Re: error in lyx with powerdot and enumitem resume

2013-10-19 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
 The attached module implements an Enumerate-Resume style for beamer. This 
 works with LyX 2.0 and 2.1, with beamer and beamerarticle and both with
 default overlay settings and mini templates (although you need to re-
 specifiy this for each resumed list).

This one also works with multiple consequent Enumerate-Resumes.

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller sp...@lyx.org

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}
\onlypresentation{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\setcounter{saveenumi}{\value{enumi}}}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}

\AtEndEnvironment{resenumerate}{\enumresumefalse\setcounter{saveenumi}{\value{enumi}}}

\apptocmd{\beamer@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
\AtBeginDocument{%
  \onlyarticle{%
  \makeatletter
  
\apptocmd{\@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



Re: error in lyx with powerdot and enumitem resume

2013-10-19 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 16:26:53 schrieb Jürgen Spitzmüller:
> Beamer and enumitem are incompatible. You can resume manually or with some 
> LaTeX trickery, see e.g.
> http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-i
> n-beamer

The attached module implements an "Enumerate-Resume" style for beamer. This 
works with LyX 2.0 and 2.1, with beamer and beamerarticle and both with 
default overlay settings and "mini templates" (although you need to re-
specifiy this for each "resumed" list).

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller 

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}
\only{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\setcounter{saveenumi}{\value{enumi}}}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}
\AtEndEnvironment{resenumerate}{\enumresumefalse}

\apptocmd{\beamer@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
\AtBeginDocument{%
  \only{%
  \makeatletter
  
\apptocmd{\@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



Re: error in lyx with powerdot and enumitem resume

2013-10-19 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
> The attached module implements an "Enumerate-Resume" style for beamer. This 
> works with LyX 2.0 and 2.1, with beamer and beamerarticle and both with
> default overlay settings and "mini templates" (although you need to re-
> specifiy this for each "resumed" list).

This one also works with multiple consequent Enumerate-Resumes.

Jürgen#\DeclareLyXModule{Beamer Resumable Enumerate}
#DescriptionBegin
# Adds a layout 'Enumerate-Resume' to beamer that lets you continue an 
enumerated list.
# This only works in the beamer and beamer-article classes.
#DescriptionEnd
# Author: Jürgen Spitzmüller 

Format 35

Style Enumerate-Resume
  CopyStyle Enumerate
  # a blue label to indicate that this is not a WYSIWYG label
  # because the numbering differs in the output
  LaTeXName resenumerate
  LabelFont
Color blue
  EndFont
  Preamble
% Resumable enumeration
\newif\ifenumresume\enumresumefalse
\newcounter{saveenumi}
\only{\resetcounteronoverlays{saveenumi}}
\usepackage{etoolbox}
\AtEndEnvironment{enumerate}{\setcounter{saveenumi}{\value{enumi}}}
\let\resenumerate\enumerate
\let\endresenumerate\endenumerate
\AtBeginEnvironment{resenumerate}{\enumresumetrue}

\AtEndEnvironment{resenumerate}{\enumresumefalse\setcounter{saveenumi}{\value{enumi}}}

\apptocmd{\beamer@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
\AtBeginDocument{%
  \only{%
  \makeatletter
  
\apptocmd{\@enum@}{\ifenumresume\setcounter{enumi}{\value{saveenumi}}\fi}{}{}
  \makeatother
  }
}
  EndPreamble
End



Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Charlie
 On Fri, 18 Oct 2013 14:56:05 +0200 (CEST) Csikos Bela
 bcsikos...@freemail.hu sent this:

Hello:

I would like to use powerdot with enumitem in lyx.

I use powerdot class (selected in lyx class selection window) and
   enumitem module (selected in lyx modules window, as
   customisable lists) in lyx 2.0.6.

When I insert enumerated lists and set the second and following lists
   to resume lyx can not compile the document. It gives error:

! Package xkeyval Error: `resume*' undefined in families `enumitem'.

The package versions I have reported by lyx/latex log:

Package: enumitem 2011/09/28 v3.5.2
powerdot.cls Document Class: powerdot 2012/03/13 v1.4i

I attach a non-working example file, powerdot-enumitem.lyx

How to fix this?

Thanks,

bcsikos

  But it will be and look correct when exported to PDF? Or not?

Charlie

-- 
Registered Linux User:- 329524
***

A man is either free or he is not. There cannot be any
apprenticeship for freedom. --Amiri Baraka

***

Debian GNU/Linux - just the best way to create magic

-


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Csikos Bela
Charlie aries...@skymesh.com.au írta:
 On Fri, 18 Oct 2013 14:56:05 +0200 (CEST) Csikos Bela
 bcsikos...@freemail.hu sent this:

   Hello:

I would like to use powerdot with enumitem in lyx.

I use powerdot class (selected in lyx class selection window) and
  enumitem module (selected in lyx modules window, as
  customisable lists) in lyx 2.0.6.

When I insert enumerated lists and set the second and following lists
  to resume lyx can not compile the document. It gives error:

! Package xkeyval Error: `resume*' undefined in families `enumitem'.

The package versions I have reported by lyx/latex log:

Package: enumitem 2011/09/28 v3.5.2
powerdot.cls Document Class: powerdot 2012/03/13 v1.4i

I attach a non-working example file, powerdot-enumitem.lyx

How to fix this?

Thanks,

bcsikos

  But it will be and look correct when exported to PDF? Or not?

Short answer: no.
Long answer: compile lyx file = export to pdf. It gives error message and does 
not produce pdf output (using ps2pdf).

bcsikos


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 14:56:05 schrieb Csikos Bela:
 How to fix this?

Copy the following into Document  Settings  Local Format, press validate 
and OK.

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[][resume]
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End


The reason is that powerdot has its own list syntax and an additional optional 
argument, so the enumitem module produces the wrong code here.

Jürgen



Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Freitag 18 Oktober 2013, 14:56:05 schrieb Csikos Bela:
 How to fix this?

Copy the following into Document  Settings  Local Format, press validate 
and OK.

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[][resume]
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End


The reason is that powerdot has its own list syntax and an additional optional 
argument, so the enumitem module produces the wrong code here.

It  works. Thank you.

I have two questions. 

1. The code inserted as local layout does override/replace the code specified 
in enumitem module?

2. Loosely related. I tried powerdot because enumitem does not work with 
beamer. And beamer even starts numbering enumerate list from 1 in every new 
frame/slide. If I could resume enumeration in beamer I would prefer to use 
beamer.

bcsikos





Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
 1. The code inserted as local layout does override/replace the code
 specified in enumitem module?

Yes.

 2. Loosely related. I tried powerdot because enumitem does not work with
 beamer. And beamer even starts numbering enumerate list from 1 in every new
 frame/slide. If I could resume enumeration in beamer I would prefer to use
 beamer.

Beamer and enumitem are incompatible. You can resume manually or with some 
LaTeX trickery, see e.g.
http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Charlie
 On Fri, 18 Oct 2013 14:56:05 +0200 (CEST) Csikos Bela
 bcsikos...@freemail.hu sent this:

Hello:

I would like to use powerdot with enumitem in lyx.

I use powerdot class (selected in lyx class selection window) and
   enumitem module (selected in lyx modules window, as
   customisable lists) in lyx 2.0.6.

When I insert enumerated lists and set the second and following lists
   to resume lyx can not compile the document. It gives error:

! Package xkeyval Error: `resume*' undefined in families `enumitem'.

The package versions I have reported by lyx/latex log:

Package: enumitem 2011/09/28 v3.5.2
powerdot.cls Document Class: powerdot 2012/03/13 v1.4i

I attach a non-working example file, powerdot-enumitem.lyx

How to fix this?

Thanks,

bcsikos

  But it will be and look correct when exported to PDF? Or not?

Charlie

-- 
Registered Linux User:- 329524
***

A man is either free or he is not. There cannot be any
apprenticeship for freedom. --Amiri Baraka

***

Debian GNU/Linux - just the best way to create magic

-


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Csikos Bela
Charlie aries...@skymesh.com.au írta:
 On Fri, 18 Oct 2013 14:56:05 +0200 (CEST) Csikos Bela
 bcsikos...@freemail.hu sent this:

   Hello:

I would like to use powerdot with enumitem in lyx.

I use powerdot class (selected in lyx class selection window) and
  enumitem module (selected in lyx modules window, as
  customisable lists) in lyx 2.0.6.

When I insert enumerated lists and set the second and following lists
  to resume lyx can not compile the document. It gives error:

! Package xkeyval Error: `resume*' undefined in families `enumitem'.

The package versions I have reported by lyx/latex log:

Package: enumitem 2011/09/28 v3.5.2
powerdot.cls Document Class: powerdot 2012/03/13 v1.4i

I attach a non-working example file, powerdot-enumitem.lyx

How to fix this?

Thanks,

bcsikos

  But it will be and look correct when exported to PDF? Or not?

Short answer: no.
Long answer: compile lyx file = export to pdf. It gives error message and does 
not produce pdf output (using ps2pdf).

bcsikos


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 14:56:05 schrieb Csikos Bela:
 How to fix this?

Copy the following into Document  Settings  Local Format, press validate 
and OK.

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[][resume]
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End


The reason is that powerdot has its own list syntax and an additional optional 
argument, so the enumitem module produces the wrong code here.

Jürgen



Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Freitag 18 Oktober 2013, 14:56:05 schrieb Csikos Bela:
 How to fix this?

Copy the following into Document  Settings  Local Format, press validate 
and OK.

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[][resume]
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End


The reason is that powerdot has its own list syntax and an additional optional 
argument, so the enumitem module produces the wrong code here.

It  works. Thank you.

I have two questions. 

1. The code inserted as local layout does override/replace the code specified 
in enumitem module?

2. Loosely related. I tried powerdot because enumitem does not work with 
beamer. And beamer even starts numbering enumerate list from 1 in every new 
frame/slide. If I could resume enumeration in beamer I would prefer to use 
beamer.

bcsikos





Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
 1. The code inserted as local layout does override/replace the code
 specified in enumitem module?

Yes.

 2. Loosely related. I tried powerdot because enumitem does not work with
 beamer. And beamer even starts numbering enumerate list from 1 in every new
 frame/slide. If I could resume enumeration in beamer I would prefer to use
 beamer.

Beamer and enumitem are incompatible. You can resume manually or with some 
LaTeX trickery, see e.g.
http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Charlie
 On Fri, 18 Oct 2013 14:56:05 +0200 (CEST) "Csikos Bela
 bcsikos...@freemail.hu" sent this:

>Hello:
>
>I would like to use powerdot with enumitem in lyx.
>
>I use powerdot class (selected in lyx class selection window) and
>   enumitem module (selected in lyx modules window, as
>   customisable lists) in lyx 2.0.6.
>
>When I insert enumerated lists and set the second and following lists
>   to resume lyx can not compile the document. It gives error:
>
>! Package xkeyval Error: `resume*' undefined in families `enumitem'.
>
>The package versions I have reported by lyx/latex log:
>
>Package: enumitem 2011/09/28 v3.5.2
>powerdot.cls Document Class: powerdot 2012/03/13 v1.4i
>
>I attach a non-working example file, powerdot-enumitem.lyx
>
>How to fix this?
>
>Thanks,
>
>bcsikos

  But it will be and look correct when exported to PDF? Or not?

Charlie

-- 
Registered Linux User:- 329524
***

A man is either free or he is not. There cannot be any
apprenticeship for freedom. --Amiri Baraka

***

Debian GNU/Linux - just the best way to create magic

-


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Csikos Bela
Charlie  írta:
> On Fri, 18 Oct 2013 14:56:05 +0200 (CEST) "Csikos Bela
> bcsikos...@freemail.hu" sent this:
>
>   >Hello:
>>
>>I would like to use powerdot with enumitem in lyx.
>>
>>I use powerdot class (selected in lyx class selection window) and
>>  enumitem module (selected in lyx modules window, as
>>  customisable lists) in lyx 2.0.6.
>>
>>When I insert enumerated lists and set the second and following lists
>>  to resume lyx can not compile the document. It gives error:
>>
>>! Package xkeyval Error: `resume*' undefined in families `enumitem'.
>>
>>The package versions I have reported by lyx/latex log:
>>
>>Package: enumitem 2011/09/28 v3.5.2
>>powerdot.cls Document Class: powerdot 2012/03/13 v1.4i
>>
>>I attach a non-working example file, powerdot-enumitem.lyx
>>
>>How to fix this?
>>
>>Thanks,
>>
>>bcsikos
>
>  But it will be and look correct when exported to PDF? Or not?

Short answer: no.
Long answer: compile lyx file = export to pdf. It gives error message and does 
not produce pdf output (using ps2pdf).

bcsikos


Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 14:56:05 schrieb Csikos Bela:
> How to fix this?

Copy the following into Document > Settings > Local Format, press "validate" 
and "OK".

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[][resume]
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# because the numbering differs in the output
LabelFont
  Color blue
EndFont
End


The reason is that powerdot has its own list syntax and an additional optional 
argument, so the enumitem module produces the wrong code here.

Jürgen



Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Freitag 18 Oktober 2013, 14:56:05 schrieb Csikos Bela:
>> How to fix this?
>
>Copy the following into Document > Settings > Local Format, press "validate" 
>and "OK".
>
>Style Enumerate-Resume
>CopyStyle Enumerate
>LatexParam[][resume]
>OptionalArgs  0
># a blue label to indicate that this is not a WYSIWYG label
># because the numbering differs in the output
>LabelFont
>  Color blue
>EndFont
>End
>
>
>The reason is that powerdot has its own list syntax and an additional optional 
>argument, so the enumitem module produces the wrong code here.

It  works. Thank you.

I have two questions. 

1. The code inserted as local layout does override/replace the code specified 
in enumitem module?

2. Loosely related. I tried powerdot because enumitem does not work with 
beamer. And beamer even starts numbering enumerate list from 1 in every new 
frame/slide. If I could resume enumeration in beamer I would prefer to use 
beamer.

bcsikos





Re: error in lyx with powerdot and enumitem resume

2013-10-18 Thread Jürgen Spitzmüller
Am Freitag 18 Oktober 2013, 16:15:09 schrieb Csikos Bela:
> 1. The code inserted as local layout does override/replace the code
> specified in enumitem module?

Yes.

> 2. Loosely related. I tried powerdot because enumitem does not work with
> beamer. And beamer even starts numbering enumerate list from 1 in every new
> frame/slide. If I could resume enumeration in beamer I would prefer to use
> beamer.

Beamer and enumitem are incompatible. You can resume manually or with some 
LaTeX trickery, see e.g.
http://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer

Jürgen


Re: error in LyX with Turkish language using knitr

2013-09-02 Thread Jean-Marc Lasgouttes

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

2013-09-02 Thread Jean-Marc Lasgouttes

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

2013-09-02 Thread Jean-Marc Lasgouttes

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

2013-08-30 Thread Kizilkaya, Kadir [AN S]
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

2013-08-30 Thread Scott Kostyshak
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

2013-08-30 Thread Kizilkaya, Kadir [AN S]
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

2013-08-30 Thread Scott Kostyshak
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

2013-08-30 Thread 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.

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

2013-08-30 Thread Kizilkaya, Kadir [AN S]
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

2013-08-30 Thread Scott Kostyshak
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

2013-08-30 Thread Kizilkaya, Kadir [AN S]
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

2013-08-30 Thread Scott Kostyshak
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

2013-08-30 Thread 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.

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

2013-08-30 Thread Kizilkaya, Kadir [AN S]
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

2013-08-30 Thread Scott Kostyshak
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

2013-08-30 Thread Kizilkaya, Kadir [AN S]
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

2013-08-30 Thread Scott Kostyshak
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

2013-08-30 Thread 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.

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

2013-08-29 Thread Scott Kostyshak
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

2013-08-29 Thread Yihui Xie
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

2013-08-29 Thread Scott Kostyshak
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

2013-08-29 Thread Yihui Xie
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

2013-08-29 Thread Scott Kostyshak
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

2013-08-29 Thread Yihui Xie
and also your session info in R:

library(knitr)
sessionInfo()
system('pdflatex --version')

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


Re: Error with Lyx 2.0.3 and Knitr

2012-06-01 Thread Yihui Xie
Please see https://github.com/downloads/yihui/lyx/sweave.pdf for how
to diagnose the problem. We need more detailed information.

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, May 30, 2012 at 2:03 PM, Eugene moys...@gmail.com wrote:
 Hi

 Running Lyx 2.0.3 on WinXP witn Knitr results in the following error

 LyX: Cannot convert file

 An error occurred while running:
 Rscript --verbose --no-save --no-restore C:/Program
 Files/Lyx20/bin/../Resources/scripts/lyxknitr.R C:/Documents and
 Settings/me/Local Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.Rnw
 C:/Documents and Settings/me/Local
 Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.tex ISO-8859-a5
 M:/REPOSITORY/Lyx_Paper2/





Re: Error with Lyx 2.0.3 and Knitr

2012-06-01 Thread Yihui Xie
Please see https://github.com/downloads/yihui/lyx/sweave.pdf for how
to diagnose the problem. We need more detailed information.

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, May 30, 2012 at 2:03 PM, Eugene moys...@gmail.com wrote:
 Hi

 Running Lyx 2.0.3 on WinXP witn Knitr results in the following error

 LyX: Cannot convert file

 An error occurred while running:
 Rscript --verbose --no-save --no-restore C:/Program
 Files/Lyx20/bin/../Resources/scripts/lyxknitr.R C:/Documents and
 Settings/me/Local Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.Rnw
 C:/Documents and Settings/me/Local
 Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.tex ISO-8859-a5
 M:/REPOSITORY/Lyx_Paper2/





Re: Error with Lyx 2.0.3 and Knitr

2012-06-01 Thread Yihui Xie
Please see https://github.com/downloads/yihui/lyx/sweave.pdf for how
to diagnose the problem. We need more detailed information.

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, May 30, 2012 at 2:03 PM, Eugene  wrote:
> Hi
>
> Running Lyx 2.0.3 on WinXP witn Knitr results in the following error
>
> LyX: Cannot convert file
>
> An error occurred while running:
> Rscript --verbose --no-save --no-restore "C:/Program
> Files/Lyx20/bin/../Resources/scripts/lyxknitr.R" "C:/Documents and
> Settings/me/Local Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/""Paper2.Rnw"
> ""C:/Documents and Settings/me/Local
> Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/""Paper2.tex" ISO-8859-a5
> "M:/REPOSITORY/Lyx_Paper2/"
>
>
>


Re: Error with Lyx 2.0.3 and Knitr

2012-05-30 Thread Eugene
Hi

Running Lyx 2.0.3 on WinXP witn Knitr results in the following error

LyX: Cannot convert file

An error occurred while running:
Rscript --verbose --no-save --no-restore C:/Program 
Files/Lyx20/bin/../Resources/scripts/lyxknitr.R C:/Documents and 
Settings/me/Local Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.Rnw
C:/Documents and Settings/me/Local 
Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.tex ISO-8859-a5
M:/REPOSITORY/Lyx_Paper2/





Re: Error with Lyx 2.0.3 and Knitr

2012-05-30 Thread Eugene
Hi

Running Lyx 2.0.3 on WinXP witn Knitr results in the following error

LyX: Cannot convert file

An error occurred while running:
Rscript --verbose --no-save --no-restore C:/Program 
Files/Lyx20/bin/../Resources/scripts/lyxknitr.R C:/Documents and 
Settings/me/Local Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.Rnw
C:/Documents and Settings/me/Local 
Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/Paper2.tex ISO-8859-a5
M:/REPOSITORY/Lyx_Paper2/





Re: Error with Lyx 2.0.3 and Knitr

2012-05-30 Thread Eugene
Hi

Running Lyx 2.0.3 on WinXP witn Knitr results in the following error

LyX: Cannot convert file

An error occurred while running:
Rscript --verbose --no-save --no-restore "C:/Program 
Files/Lyx20/bin/../Resources/scripts/lyxknitr.R" "C:/Documents and 
Settings/me/Local Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/""Paper2.Rnw"
""C:/Documents and Settings/me/Local 
Settings/Temp/lyx_tmpdir.Hp4948/lyx_tmpbuf2/""Paper2.tex" ISO-8859-a5
"M:/REPOSITORY/Lyx_Paper2/"





Re: Error with Lyx 2.0 and Sweave

2011-06-15 Thread Franz Jimeno

Thanks,

changing the numbers to the correct args possition in lyxswave.R solved 
the problem.


Franz


  1   2   >