Re: How to see console output of LyX 2.0.0 in Windows?

2011-09-21 Thread Vincent van Ravesteijn

Op 20-9-2011 18:53, Manveru schreef:

I need to configure batik as SVG converter for LyX 2.0.0 as I have in
1.6.x - I know how, but I have some issue in the method.

And I CANNOT debug that, because there is no enabler for console
output of LyX in windows - it even does not accept command line
options (at least do not display --help).

HELP!



We have View-Show Messages which will show the console output/debug 
messages.


Vincent


Re: Spell cheking grrr! ;-)

2011-09-21 Thread Stephan Witt
Am 20.09.2011 um 06:47 schrieb PhilipPirrip:

 On 09/19/2011 10:39 PM, Murat Yildizoglu wrote:
 If I summarize my problem:
 
 1/ I have created a new document the default language of which was English;
 2/ I have written two paragraphs in French in it, then I have seen the
 wavy red lines and understood that I have not changed the default
 language);
 3/ I have opened the document properties and switched the language to 
 Français;
 4/ I have written other paragraphs in French, it was OK.
 5/ I have seen that the first two paragraphs was continuing to pose
 problem (which is normal);
 6/ I have marked the whole document them with the mouse +
 right-click+Language and
 selected Français.
 7/ I was surprised to observe that the red wavy lines were persisting
 8/ I have checked the language at the status bar, it continued to show
 English at the beginning of the paragraph.
 9/ I have selected the paragraph with the mouse + right-click+Language and
 selected Français again
 10/ The problem persisted.
 
 
 There are a few bugs around concerning the change of a language, you've
 probably encountered some of them:
 
 Changing text language using context menu doesn't work properly - 
 http://www.lyx.org/trac/ticket/7778
 

After having a look at the document (Murat sent me privately, thanks for it)
I can confirm it's this bug. I've made a patch for this and attached it there.

Am 20.09.2011 um 10:02 schrieb Murat Yildizoglu:

 I have opened the file in TextWrangler and have seen a mixture of
 \lang english and \lang french. I have deleted all of them using a
 search and replace (the default language is French anyway) and saved
 the doc. Now everything seems in order again and I do not see any wavy
 red underlines for the text in French.
 
 I can see them for the text in English. When I tried to mark them as
 English, I have seen the contextual menu does not contain the Language
 item (I imagine that this is due to the fact that my text is now
 monolingual).

Yes, that's true.

 So, if I understand well, when you start a new document and put into
 it a first chunk in another language, you have to go through the
 Paragraph Settings/Customized/Language, instead of Language in the
 contextual menu. Afterwards the Language menu item becomes visible,
 since Lyx detects that your document contains at least two languages.

Correct.

 Maybe Lyx is trying to be too smart here, no? IMHO, it would be nice
 to have this Language menu item from the start (supposing that it
 effectively does what it is supposed to do :-)  ). Am I the only one
 to think like that (if this is the case, I could customize my
 contextual menu in Lyx I imagine, I have never tried this?

I don't think this is possible. The presence and contents of the language
choice sub-menu is computed at run-time based on the currently used languages.

If this is too smart... I don't know. When going from mono-lingual to 
multi-lingual
it's not convenient indeed. But the alternate solutions are not that obvious.

Stephan

Underbar and math display style

2011-09-21 Thread Paul Smith
Dear All,

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?

Thanks in advance,

Paul


bug_underbar.lyx
Description: application/lyx


Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread christiaan pauw
Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
twice on two computers without success. Most recently I have installed R
(2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
with spaces - as I have gathered that that may cause a problem) as well as
Rtools on Windows 7 but I still could not get it to work. Sweave seems to
work from R (I can create a pdf for the example files).  From what I have
read on the web, since LyX 2 Sweave is a module in LyX and should 'just
work'. I there something I missed? I also have a Mac and there everything
works without a problem.

best regards
Christiaan


Edit math after preview

2011-09-21 Thread langemann
Is it possible to edit a math command after an instant-preview has been
created?
 Say I want to change \int to \iint after the integral sign is previewed.
There *should* be a possibility for that by, say, pressing F2 or something
similar.
 I tried to just turn off instant-preview, but that didn't work either (it
didn't do anything actually, even when I typed new math commands they got
previewed...)
 I use LyX 2.0.1 on windows 

PS: I DO NOT want instant-preview turned off (it's one of the best things
with LyX), I just want to edit math after it has been previewed
 
thanks for any suggestions 

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread Jean-Marc Lasgouttes

Le 21/09/2011 14:48, christiaan pauw a écrit :

Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have
tried twice on two computers without success. Most recently I have
installed R (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex
(none is paths with spaces - as I have gathered that that may cause a
problem) as well as Rtools on Windows 7 but I still could not get it to
work. Sweave seems to work from R (I can create a pdf for the example
files).  From what I have read on the web, since LyX 2 Sweave is a
module in LyX and should 'just work'. I there something I missed? I also
have a Mac and there everything works without a problem.


I suspect this is because Rscript.exe is not on your PATH. We have to 
provide code to find Rscript by other ways.


JMarc



Re: Edit math after preview

2011-09-21 Thread Daniel CLEMENT
langemann wrote:
 Is it possible to edit a math command after an instant-preview has been
 created?
  Say I want to change \int to \iint after the integral sign is previewed.
 There *should* be a possibility for that by, say, pressing F2 or something
 similar.

Don't know how to do it with the keyboard, but with LyX 1.6.9 on Linux
it is enough to click somewhere in the preview, and it becomes editable
again.

HTH, Daniel

  I tried to just turn off instant-preview, but that didn't work either (it
 didn't do anything actually, even when I typed new math commands they got
 previewed...)
  I use LyX 2.0.1 on windows 
 
 PS: I DO NOT want instant-preview turned off (it's one of the best things
 with LyX), I just want to edit math after it has been previewed
  
 thanks for any suggestions 
 
 --
 View this message in context: 
 http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
 Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
Daniel CLEMENT


Unwanted number in page header for Chapter*

2011-09-21 Thread Manveru
Hi,

Not directly LyX related, but maybe someone will be able to help me.

I am using Chapter* environment for my Prologue and Epilogue in mwbook
class document. However for these chapters I see Chapter 0. Prologue
and Chapter 8. Epilogue for chapters I do not want to number. Is there
any method to remove Chapter X. part from page header for these two
chapters only?

My fancyheader settings from preamble:
\fancyhead[RO,LE]{\nouppercase{\leftmark}}
\fancyhead[LO,RE]{\nouppercase{\rightmark}}

Thank you for any advice.
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: How to see console output of LyX 2.0.0 in Windows?

2011-09-21 Thread Manveru
2011/9/21 Vincent van Ravesteijn v...@lyx.org:
 Op 20-9-2011 18:53, Manveru schreef:

 I need to configure batik as SVG converter for LyX 2.0.0 as I have in
 1.6.x - I know how, but I have some issue in the method.

 And I CANNOT debug that, because there is no enabler for console
 output of LyX in windows - it even does not accept command line
 options (at least do not display --help).

 HELP!


 We have View-Show Messages which will show the console output/debug
 messages.

O yes, that works!

It shown me that I have to manually edit preferences to achive batik
working for SVG, ale I was not able to configure that from
configuration dialog. LyX always fallen back to python converter. Now
it works.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Julien Rioux

On 21/09/2011 6:17 PM, Manveru wrote:

Hi,

Not directly LyX related, but maybe someone will be able to help me.

I am using Chapter* environment for my Prologue and Epilogue in mwbook
class document. However for these chapters I see Chapter 0. Prologue
and Chapter 8. Epilogue for chapters I do not want to number. Is there
any method to remove Chapter X. part from page header for these two
chapters only?

My fancyheader settings from preamble:
\fancyhead[RO,LE]{\nouppercase{\leftmark}}
\fancyhead[LO,RE]{\nouppercase{\rightmark}}

Thank you for any advice.


Assuming your class is derived from book, \markboth{}{} in LaTeX code 
just after the Chapter* will clear the leftmark and rightmark.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Paul Smith
On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith phh...@gmail.com wrote:
 Write a short paragraph, select it and add an underbar to it.
 Afterwards, introduce a formula in display style -- you will not be
 able of compiling your document. (Please, see the attached example.)

 Is this a bug?

As a workaround, insert in ERT two curly brackets. (See the attached example.)

Paul


bug_underbar_workaround.lyx
Description: application/lyx


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Manveru
2011/9/21 Julien Rioux jri...@physics.utoronto.ca:
 On 21/09/2011 6:17 PM, Manveru wrote:

 Hi,

 Not directly LyX related, but maybe someone will be able to help me.

 I am using Chapter* environment for my Prologue and Epilogue in mwbook
 class document. However for these chapters I see Chapter 0. Prologue
 and Chapter 8. Epilogue for chapters I do not want to number. Is there
 any method to remove Chapter X. part from page header for these two
 chapters only?

 My fancyheader settings from preamble:
 \fancyhead[RO,LE]{\nouppercase{\leftmark}}
 \fancyhead[LO,RE]{\nouppercase{\rightmark}}

 Thank you for any advice.

 Assuming your class is derived from book, \markboth{}{} in LaTeX code just
 after the Chapter* will clear the leftmark and rightmark.

Great, that did what I want.

However I think that document class should support it by itself to
clean that up for Chapter*.

Thanks for hyou help!
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Comment on Part Page

2011-09-21 Thread Bruce Pourciau
I have a colleague using book class who wants to place a comment on  
the page labeled Part 1, but when he tries to do this, the comment  
appears on the first page after the page labelled Chapter 1 of Part 1.  
Does anyone have a suggestion?


Bruce


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Julien Rioux

On 21/09/2011 9:24 PM, Manveru wrote:

Great, that did what I want.

However I think that document class should support it by itself to
clean that up for Chapter*.



True, I have no idea why the latex class doesn't fix that up for you.


Thanks for hyou help!


You're welcome!

--
Julien



Re: Underbar and math display style

2011-09-21 Thread Paul Rubin
Paul Smith phhs80 at gmail.com writes:

 
 On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith phhs80 at gmail.com wrote:
  Write a short paragraph, select it and add an underbar to it.
  Afterwards, introduce a formula in display style -- you will not be
  able of compiling your document. (Please, see the attached example.)
 
  Is this a bug?
 
 As a workaround, insert in ERT two curly brackets. (See the attached example.)
 

Other things that work: hit Enter after the text, then insert the display
formula; use the text style button to reset the underbar style immediately at
the end of the text, then insert the display mode formula; create the document
the way you did but highlight the formula and use the text style dialog to reset
the underbar before compiling.

As to whether this is a bug, I think that would depend at minimum on whether
there are text styles (other than underbar) that one would want to extend into
display mode equations.  (I checked, and the document compiles fine if the
formula is inline; it has to be display mode to screw up.)  I can't think of any
reason to carry text styles into display mode formulas, but I'm not the most
imaginative guy when it comes to writing.  If there is no reason, that it might
be reasonable to ask LyX to discontinue text styles when display mode is
encountered and resume them later.

Paul





Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread Yihui Xie
What exactly do you mean by does not work? As a first step, can you
add the Sweave module to a LyX document?

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, Sep 21, 2011 at 8:48 AM, christiaan pauw cjp...@gmail.com wrote:
 Hallo Everybody
 Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
 twice on two computers without success. Most recently I have installed R
 (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
 with spaces - as I have gathered that that may cause a problem) as well as
 Rtools on Windows 7 but I still could not get it to work. Sweave seems to
 work from R (I can create a pdf for the example files).  From what I have
 read on the web, since LyX 2 Sweave is a module in LyX and should 'just
 work'. I there something I missed? I also have a Mac and there everything
 works without a problem.
 best regards
 Christiaan




Re: Comment on Part Page

2011-09-21 Thread Richard Heck
On 09/21/2011 02:11 PM, Bruce Pourciau wrote:
 I have a colleague using book class who wants to place a comment on
 the page labeled Part 1, but when he tries to do this, the comment
 appears on the first page after the page labelled Chapter 1 of Part 1.
 Does anyone have a suggestion?

This is controlled by the document class. You would have to modify the
book class in order to get such a comment to print on the Part page.
This isn't insanely hard to do, but one would have to decide exactly
what syntax to use, etc.

Richard



Re: Comment on Part Page

2011-09-21 Thread Julien Rioux

On 22/09/2011 12:50 AM, Richard Heck wrote:

On 09/21/2011 02:11 PM, Bruce Pourciau wrote:

I have a colleague using book class who wants to place a comment on
the page labeled Part 1, but when he tries to do this, the comment
appears on the first page after the page labelled Chapter 1 of Part 1.
Does anyone have a suggestion?


This is controlled by the document class. You would have to modify the
book class in order to get such a comment to print on the Part page.
This isn't insanely hard to do, but one would have to decide exactly
what syntax to use, etc.

Richard




Exactly, it is not possible with the standard class. Short of writing 
the latex code for it, you could also use one of the latex classes that 
make such customization easy. I vaguely remember that the memoir class 
and koma-script classes will allow you to do what you want. Since I'm no 
expert, I can only suggest that you look at their documentation.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Julien Rioux

On 22/09/2011 12:05 AM, Paul Rubin wrote:

Paul Smithphhs80at  gmail.com  writes:



On Wed, Sep 21, 2011 at 10:20 AM, Paul Smithphhs80at  gmail.com  wrote:

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?


As a workaround, insert in ERT two curly brackets. (See the attached example.)



Other things that work: hit Enter after the text, then insert the display
formula; use the text style button to reset the underbar style immediately at
the end of the text, then insert the display mode formula; create the document
the way you did but highlight the formula and use the text style dialog to reset
the underbar before compiling.

As to whether this is a bug, I think that would depend at minimum on whether
there are text styles (other than underbar) that one would want to extend into
display mode equations.  (I checked, and the document compiles fine if the
formula is inline; it has to be display mode to screw up.)  I can't think of any
reason to carry text styles into display mode formulas, but I'm not the most
imaginative guy when it comes to writing.  If there is no reason, that it might
be reasonable to ask LyX to discontinue text styles when display mode is
encountered and resume them later.

Paul






Size and color do make sense for math. Underline could potentially apply 
to math as well, but since it causes latex compilation failure, it is 
clearly a bug. The other text styles need not be carried into math 
formulas, as they don't affect math fonts, but they are kept anyway. 
Probably because they have not caused latex compilation failure so far.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Julien Rioux

On 21/09/2011 11:20 AM, Paul Smith wrote:

Dear All,

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?



Yes. I couldn't find any report of this bug. Could you please report it 
here:

http://www.lyx.org/trac/wiki/BugTrackerHome

Thanks,
Regards,
Julien


Thanks in advance,

Paul




Index

2011-09-21 Thread Jason Waskiewicz
Over the summer, I updated my computer to a MacBook Air. Today, I was trying to 
run a document with an index. Everything works, except for the index.

I'm running LyX 2.01.

The document is a master document with 24 child documents. The index references 
are in the child documents. The index command itself is in the master document. 
The document class is Memoir.

I've verified that the makeindex package is installed. I have also found that 
the index will not work even on old documents or when the document has the 
index command right in it. I tried to see if the LyX documentation works, but 
there seems to be an error in the documentation itself (missing figure).

Any ideas?

--Jason Waskiewicz
   Bowman County High School


Re: Index

2011-09-21 Thread Stephan Witt
Am 22.09.2011 um 02:30 schrieb Jason Waskiewicz:

 Over the summer, I updated my computer to a MacBook Air. Today, I was trying 
 to run a document with an index. Everything works, except for the index.
 
 I'm running LyX 2.01.
 
 The document is a master document with 24 child documents. The index 
 references are in the child documents. The index command itself is in the 
 master document. The document class is Memoir.
 
 I've verified that the makeindex package is installed. I have also found that 
 the index will not work even on old documents or when the document has the 
 index command right in it. I tried to see if the LyX documentation works, but 
 there seems to be an error in the documentation itself (missing figure).
 
 Any ideas?

I don't know if I can help, but your report contains no error details.
You need to be more specific to get help.

For which part of the documentation do you get the missing figure error?

Stephan

Re: How to see console output of LyX 2.0.0 in Windows?

2011-09-21 Thread Vincent van Ravesteijn

Op 20-9-2011 18:53, Manveru schreef:

I need to configure batik as SVG converter for LyX 2.0.0 as I have in
1.6.x - I know how, but I have some issue in the method.

And I CANNOT debug that, because there is no enabler for console
output of LyX in windows - it even does not accept command line
options (at least do not display --help).

HELP!



We have View-Show Messages which will show the console output/debug 
messages.


Vincent


Re: Spell cheking grrr! ;-)

2011-09-21 Thread Stephan Witt
Am 20.09.2011 um 06:47 schrieb PhilipPirrip:

 On 09/19/2011 10:39 PM, Murat Yildizoglu wrote:
 If I summarize my problem:
 
 1/ I have created a new document the default language of which was English;
 2/ I have written two paragraphs in French in it, then I have seen the
 wavy red lines and understood that I have not changed the default
 language);
 3/ I have opened the document properties and switched the language to 
 Français;
 4/ I have written other paragraphs in French, it was OK.
 5/ I have seen that the first two paragraphs was continuing to pose
 problem (which is normal);
 6/ I have marked the whole document them with the mouse +
 right-click+Language and
 selected Français.
 7/ I was surprised to observe that the red wavy lines were persisting
 8/ I have checked the language at the status bar, it continued to show
 English at the beginning of the paragraph.
 9/ I have selected the paragraph with the mouse + right-click+Language and
 selected Français again
 10/ The problem persisted.
 
 
 There are a few bugs around concerning the change of a language, you've
 probably encountered some of them:
 
 Changing text language using context menu doesn't work properly - 
 http://www.lyx.org/trac/ticket/7778
 

After having a look at the document (Murat sent me privately, thanks for it)
I can confirm it's this bug. I've made a patch for this and attached it there.

Am 20.09.2011 um 10:02 schrieb Murat Yildizoglu:

 I have opened the file in TextWrangler and have seen a mixture of
 \lang english and \lang french. I have deleted all of them using a
 search and replace (the default language is French anyway) and saved
 the doc. Now everything seems in order again and I do not see any wavy
 red underlines for the text in French.
 
 I can see them for the text in English. When I tried to mark them as
 English, I have seen the contextual menu does not contain the Language
 item (I imagine that this is due to the fact that my text is now
 monolingual).

Yes, that's true.

 So, if I understand well, when you start a new document and put into
 it a first chunk in another language, you have to go through the
 Paragraph Settings/Customized/Language, instead of Language in the
 contextual menu. Afterwards the Language menu item becomes visible,
 since Lyx detects that your document contains at least two languages.

Correct.

 Maybe Lyx is trying to be too smart here, no? IMHO, it would be nice
 to have this Language menu item from the start (supposing that it
 effectively does what it is supposed to do :-)  ). Am I the only one
 to think like that (if this is the case, I could customize my
 contextual menu in Lyx I imagine, I have never tried this?

I don't think this is possible. The presence and contents of the language
choice sub-menu is computed at run-time based on the currently used languages.

If this is too smart... I don't know. When going from mono-lingual to 
multi-lingual
it's not convenient indeed. But the alternate solutions are not that obvious.

Stephan

Underbar and math display style

2011-09-21 Thread Paul Smith
Dear All,

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?

Thanks in advance,

Paul


bug_underbar.lyx
Description: application/lyx


Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread christiaan pauw
Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
twice on two computers without success. Most recently I have installed R
(2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
with spaces - as I have gathered that that may cause a problem) as well as
Rtools on Windows 7 but I still could not get it to work. Sweave seems to
work from R (I can create a pdf for the example files).  From what I have
read on the web, since LyX 2 Sweave is a module in LyX and should 'just
work'. I there something I missed? I also have a Mac and there everything
works without a problem.

best regards
Christiaan


Edit math after preview

2011-09-21 Thread langemann
Is it possible to edit a math command after an instant-preview has been
created?
 Say I want to change \int to \iint after the integral sign is previewed.
There *should* be a possibility for that by, say, pressing F2 or something
similar.
 I tried to just turn off instant-preview, but that didn't work either (it
didn't do anything actually, even when I typed new math commands they got
previewed...)
 I use LyX 2.0.1 on windows 

PS: I DO NOT want instant-preview turned off (it's one of the best things
with LyX), I just want to edit math after it has been previewed
 
thanks for any suggestions 

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread Jean-Marc Lasgouttes

Le 21/09/2011 14:48, christiaan pauw a écrit :

Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have
tried twice on two computers without success. Most recently I have
installed R (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex
(none is paths with spaces - as I have gathered that that may cause a
problem) as well as Rtools on Windows 7 but I still could not get it to
work. Sweave seems to work from R (I can create a pdf for the example
files).  From what I have read on the web, since LyX 2 Sweave is a
module in LyX and should 'just work'. I there something I missed? I also
have a Mac and there everything works without a problem.


I suspect this is because Rscript.exe is not on your PATH. We have to 
provide code to find Rscript by other ways.


JMarc



Re: Edit math after preview

2011-09-21 Thread Daniel CLEMENT
langemann wrote:
 Is it possible to edit a math command after an instant-preview has been
 created?
  Say I want to change \int to \iint after the integral sign is previewed.
 There *should* be a possibility for that by, say, pressing F2 or something
 similar.

Don't know how to do it with the keyboard, but with LyX 1.6.9 on Linux
it is enough to click somewhere in the preview, and it becomes editable
again.

HTH, Daniel

  I tried to just turn off instant-preview, but that didn't work either (it
 didn't do anything actually, even when I typed new math commands they got
 previewed...)
  I use LyX 2.0.1 on windows 
 
 PS: I DO NOT want instant-preview turned off (it's one of the best things
 with LyX), I just want to edit math after it has been previewed
  
 thanks for any suggestions 
 
 --
 View this message in context: 
 http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
 Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
Daniel CLEMENT


Unwanted number in page header for Chapter*

2011-09-21 Thread Manveru
Hi,

Not directly LyX related, but maybe someone will be able to help me.

I am using Chapter* environment for my Prologue and Epilogue in mwbook
class document. However for these chapters I see Chapter 0. Prologue
and Chapter 8. Epilogue for chapters I do not want to number. Is there
any method to remove Chapter X. part from page header for these two
chapters only?

My fancyheader settings from preamble:
\fancyhead[RO,LE]{\nouppercase{\leftmark}}
\fancyhead[LO,RE]{\nouppercase{\rightmark}}

Thank you for any advice.
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: How to see console output of LyX 2.0.0 in Windows?

2011-09-21 Thread Manveru
2011/9/21 Vincent van Ravesteijn v...@lyx.org:
 Op 20-9-2011 18:53, Manveru schreef:

 I need to configure batik as SVG converter for LyX 2.0.0 as I have in
 1.6.x - I know how, but I have some issue in the method.

 And I CANNOT debug that, because there is no enabler for console
 output of LyX in windows - it even does not accept command line
 options (at least do not display --help).

 HELP!


 We have View-Show Messages which will show the console output/debug
 messages.

O yes, that works!

It shown me that I have to manually edit preferences to achive batik
working for SVG, ale I was not able to configure that from
configuration dialog. LyX always fallen back to python converter. Now
it works.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Julien Rioux

On 21/09/2011 6:17 PM, Manveru wrote:

Hi,

Not directly LyX related, but maybe someone will be able to help me.

I am using Chapter* environment for my Prologue and Epilogue in mwbook
class document. However for these chapters I see Chapter 0. Prologue
and Chapter 8. Epilogue for chapters I do not want to number. Is there
any method to remove Chapter X. part from page header for these two
chapters only?

My fancyheader settings from preamble:
\fancyhead[RO,LE]{\nouppercase{\leftmark}}
\fancyhead[LO,RE]{\nouppercase{\rightmark}}

Thank you for any advice.


Assuming your class is derived from book, \markboth{}{} in LaTeX code 
just after the Chapter* will clear the leftmark and rightmark.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Paul Smith
On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith phh...@gmail.com wrote:
 Write a short paragraph, select it and add an underbar to it.
 Afterwards, introduce a formula in display style -- you will not be
 able of compiling your document. (Please, see the attached example.)

 Is this a bug?

As a workaround, insert in ERT two curly brackets. (See the attached example.)

Paul


bug_underbar_workaround.lyx
Description: application/lyx


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Manveru
2011/9/21 Julien Rioux jri...@physics.utoronto.ca:
 On 21/09/2011 6:17 PM, Manveru wrote:

 Hi,

 Not directly LyX related, but maybe someone will be able to help me.

 I am using Chapter* environment for my Prologue and Epilogue in mwbook
 class document. However for these chapters I see Chapter 0. Prologue
 and Chapter 8. Epilogue for chapters I do not want to number. Is there
 any method to remove Chapter X. part from page header for these two
 chapters only?

 My fancyheader settings from preamble:
 \fancyhead[RO,LE]{\nouppercase{\leftmark}}
 \fancyhead[LO,RE]{\nouppercase{\rightmark}}

 Thank you for any advice.

 Assuming your class is derived from book, \markboth{}{} in LaTeX code just
 after the Chapter* will clear the leftmark and rightmark.

Great, that did what I want.

However I think that document class should support it by itself to
clean that up for Chapter*.

Thanks for hyou help!
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Comment on Part Page

2011-09-21 Thread Bruce Pourciau
I have a colleague using book class who wants to place a comment on  
the page labeled Part 1, but when he tries to do this, the comment  
appears on the first page after the page labelled Chapter 1 of Part 1.  
Does anyone have a suggestion?


Bruce


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Julien Rioux

On 21/09/2011 9:24 PM, Manveru wrote:

Great, that did what I want.

However I think that document class should support it by itself to
clean that up for Chapter*.



True, I have no idea why the latex class doesn't fix that up for you.


Thanks for hyou help!


You're welcome!

--
Julien



Re: Underbar and math display style

2011-09-21 Thread Paul Rubin
Paul Smith phhs80 at gmail.com writes:

 
 On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith phhs80 at gmail.com wrote:
  Write a short paragraph, select it and add an underbar to it.
  Afterwards, introduce a formula in display style -- you will not be
  able of compiling your document. (Please, see the attached example.)
 
  Is this a bug?
 
 As a workaround, insert in ERT two curly brackets. (See the attached example.)
 

Other things that work: hit Enter after the text, then insert the display
formula; use the text style button to reset the underbar style immediately at
the end of the text, then insert the display mode formula; create the document
the way you did but highlight the formula and use the text style dialog to reset
the underbar before compiling.

As to whether this is a bug, I think that would depend at minimum on whether
there are text styles (other than underbar) that one would want to extend into
display mode equations.  (I checked, and the document compiles fine if the
formula is inline; it has to be display mode to screw up.)  I can't think of any
reason to carry text styles into display mode formulas, but I'm not the most
imaginative guy when it comes to writing.  If there is no reason, that it might
be reasonable to ask LyX to discontinue text styles when display mode is
encountered and resume them later.

Paul





Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread Yihui Xie
What exactly do you mean by does not work? As a first step, can you
add the Sweave module to a LyX document?

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, Sep 21, 2011 at 8:48 AM, christiaan pauw cjp...@gmail.com wrote:
 Hallo Everybody
 Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
 twice on two computers without success. Most recently I have installed R
 (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
 with spaces - as I have gathered that that may cause a problem) as well as
 Rtools on Windows 7 but I still could not get it to work. Sweave seems to
 work from R (I can create a pdf for the example files).  From what I have
 read on the web, since LyX 2 Sweave is a module in LyX and should 'just
 work'. I there something I missed? I also have a Mac and there everything
 works without a problem.
 best regards
 Christiaan




Re: Comment on Part Page

2011-09-21 Thread Richard Heck
On 09/21/2011 02:11 PM, Bruce Pourciau wrote:
 I have a colleague using book class who wants to place a comment on
 the page labeled Part 1, but when he tries to do this, the comment
 appears on the first page after the page labelled Chapter 1 of Part 1.
 Does anyone have a suggestion?

This is controlled by the document class. You would have to modify the
book class in order to get such a comment to print on the Part page.
This isn't insanely hard to do, but one would have to decide exactly
what syntax to use, etc.

Richard



Re: Comment on Part Page

2011-09-21 Thread Julien Rioux

On 22/09/2011 12:50 AM, Richard Heck wrote:

On 09/21/2011 02:11 PM, Bruce Pourciau wrote:

I have a colleague using book class who wants to place a comment on
the page labeled Part 1, but when he tries to do this, the comment
appears on the first page after the page labelled Chapter 1 of Part 1.
Does anyone have a suggestion?


This is controlled by the document class. You would have to modify the
book class in order to get such a comment to print on the Part page.
This isn't insanely hard to do, but one would have to decide exactly
what syntax to use, etc.

Richard




Exactly, it is not possible with the standard class. Short of writing 
the latex code for it, you could also use one of the latex classes that 
make such customization easy. I vaguely remember that the memoir class 
and koma-script classes will allow you to do what you want. Since I'm no 
expert, I can only suggest that you look at their documentation.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Julien Rioux

On 22/09/2011 12:05 AM, Paul Rubin wrote:

Paul Smithphhs80at  gmail.com  writes:



On Wed, Sep 21, 2011 at 10:20 AM, Paul Smithphhs80at  gmail.com  wrote:

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?


As a workaround, insert in ERT two curly brackets. (See the attached example.)



Other things that work: hit Enter after the text, then insert the display
formula; use the text style button to reset the underbar style immediately at
the end of the text, then insert the display mode formula; create the document
the way you did but highlight the formula and use the text style dialog to reset
the underbar before compiling.

As to whether this is a bug, I think that would depend at minimum on whether
there are text styles (other than underbar) that one would want to extend into
display mode equations.  (I checked, and the document compiles fine if the
formula is inline; it has to be display mode to screw up.)  I can't think of any
reason to carry text styles into display mode formulas, but I'm not the most
imaginative guy when it comes to writing.  If there is no reason, that it might
be reasonable to ask LyX to discontinue text styles when display mode is
encountered and resume them later.

Paul






Size and color do make sense for math. Underline could potentially apply 
to math as well, but since it causes latex compilation failure, it is 
clearly a bug. The other text styles need not be carried into math 
formulas, as they don't affect math fonts, but they are kept anyway. 
Probably because they have not caused latex compilation failure so far.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Julien Rioux

On 21/09/2011 11:20 AM, Paul Smith wrote:

Dear All,

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?



Yes. I couldn't find any report of this bug. Could you please report it 
here:

http://www.lyx.org/trac/wiki/BugTrackerHome

Thanks,
Regards,
Julien


Thanks in advance,

Paul




Index

2011-09-21 Thread Jason Waskiewicz
Over the summer, I updated my computer to a MacBook Air. Today, I was trying to 
run a document with an index. Everything works, except for the index.

I'm running LyX 2.01.

The document is a master document with 24 child documents. The index references 
are in the child documents. The index command itself is in the master document. 
The document class is Memoir.

I've verified that the makeindex package is installed. I have also found that 
the index will not work even on old documents or when the document has the 
index command right in it. I tried to see if the LyX documentation works, but 
there seems to be an error in the documentation itself (missing figure).

Any ideas?

--Jason Waskiewicz
   Bowman County High School


Re: Index

2011-09-21 Thread Stephan Witt
Am 22.09.2011 um 02:30 schrieb Jason Waskiewicz:

 Over the summer, I updated my computer to a MacBook Air. Today, I was trying 
 to run a document with an index. Everything works, except for the index.
 
 I'm running LyX 2.01.
 
 The document is a master document with 24 child documents. The index 
 references are in the child documents. The index command itself is in the 
 master document. The document class is Memoir.
 
 I've verified that the makeindex package is installed. I have also found that 
 the index will not work even on old documents or when the document has the 
 index command right in it. I tried to see if the LyX documentation works, but 
 there seems to be an error in the documentation itself (missing figure).
 
 Any ideas?

I don't know if I can help, but your report contains no error details.
You need to be more specific to get help.

For which part of the documentation do you get the missing figure error?

Stephan

Re: How to see console output of LyX 2.0.0 in Windows?

2011-09-21 Thread Vincent van Ravesteijn

Op 20-9-2011 18:53, Manveru schreef:

I need to configure batik as SVG converter for LyX 2.0.0 as I have in
1.6.x - I know how, but I have some issue in the method.

And I CANNOT debug that, because there is no enabler for console
output of LyX in windows - it even does not accept command line
options (at least do not display --help).

HELP!



We have View->Show Messages which will show the console output/debug 
messages.


Vincent


Re: Spell cheking grrr! ;-)

2011-09-21 Thread Stephan Witt
Am 20.09.2011 um 06:47 schrieb PhilipPirrip:

> On 09/19/2011 10:39 PM, Murat Yildizoglu wrote:
>> If I summarize my problem:
>> 
>> 1/ I have created a new document the default language of which was English;
>> 2/ I have written two paragraphs in French in it, then I have seen the
>> wavy red lines and understood that I have not changed the default
>> language);
>> 3/ I have opened the document properties and switched the language to 
>> Français;
>> 4/ I have written other paragraphs in French, it was OK.
>> 5/ I have seen that the first two paragraphs was continuing to pose
>> problem (which is normal);
>> 6/ I have marked the whole document them with the mouse +
>> right-click+Language and
>> selected Français.
>> 7/ I was surprised to observe that the red wavy lines were persisting
>> 8/ I have checked the language at the status bar, it continued to show
>> English at the beginning of the paragraph.
>> 9/ I have selected the paragraph with the mouse + right-click+Language and
>> selected Français again
>> 10/ The problem persisted.
> 
> 
> There are a few bugs around concerning the change of a language, you've
> probably encountered some of them:
> 
> Changing text language using context menu doesn't work properly - 
> http://www.lyx.org/trac/ticket/7778
> 

After having a look at the document (Murat sent me privately, thanks for it)
I can confirm it's this bug. I've made a patch for this and attached it there.

Am 20.09.2011 um 10:02 schrieb Murat Yildizoglu:

> I have opened the file in TextWrangler and have seen a mixture of
> \lang english and \lang french. I have deleted all of them using a
> search and replace (the default language is French anyway) and saved
> the doc. Now everything seems in order again and I do not see any wavy
> red underlines for the text in French.
> 
> I can see them for the text in English. When I tried to mark them as
> English, I have seen the contextual menu does not contain the Language
> item (I imagine that this is due to the fact that my text is now
> monolingual).

Yes, that's true.

> So, if I understand well, when you start a new document and put into
> it a first chunk in another language, you have to go through the
> Paragraph Settings/Customized/Language, instead of Language in the
> contextual menu. Afterwards the Language menu item becomes visible,
> since Lyx detects that your document contains at least two languages.

Correct.

> Maybe Lyx is trying to be too smart here, no? IMHO, it would be nice
> to have this Language menu item from the start (supposing that it
> effectively does what it is supposed to do :-)  ). Am I the only one
> to think like that (if this is the case, I could customize my
> contextual menu in Lyx I imagine, I have never tried this?

I don't think this is possible. The presence and contents of the language
choice sub-menu is computed at run-time based on the currently used languages.

If this is too smart... I don't know. When going from mono-lingual to 
multi-lingual
it's not convenient indeed. But the alternate solutions are not that obvious.

Stephan

Underbar and math display style

2011-09-21 Thread Paul Smith
Dear All,

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?

Thanks in advance,

Paul


bug_underbar.lyx
Description: application/lyx


Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread christiaan pauw
Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
twice on two computers without success. Most recently I have installed R
(2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
with spaces - as I have gathered that that may cause a problem) as well as
Rtools on Windows 7 but I still could not get it to work. Sweave seems to
work from R (I can create a pdf for the example files).  From what I have
read on the web, since LyX 2 Sweave is a module in LyX and should 'just
work'. I there something I missed? I also have a Mac and there everything
works without a problem.

best regards
Christiaan


Edit math after preview

2011-09-21 Thread langemann
Is it possible to edit a math command after an instant-preview has been
created?
 Say I want to change \int to \iint after the integral sign is previewed.
There *should* be a possibility for that by, say, pressing F2 or something
similar.
 I tried to just turn off instant-preview, but that didn't work either (it
didn't do anything actually, even when I typed new math commands they got
previewed...)
 I use LyX 2.0.1 on windows 

PS: I DO NOT want instant-preview turned off (it's one of the best things
with LyX), I just want to edit math after it has been previewed
 
thanks for any suggestions 

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread Jean-Marc Lasgouttes

Le 21/09/2011 14:48, christiaan pauw a écrit :

Hallo Everybody

Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have
tried twice on two computers without success. Most recently I have
installed R (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex
(none is paths with spaces - as I have gathered that that may cause a
problem) as well as Rtools on Windows 7 but I still could not get it to
work. Sweave seems to work from R (I can create a pdf for the example
files).  From what I have read on the web, since LyX 2 Sweave is a
module in LyX and should 'just work'. I there something I missed? I also
have a Mac and there everything works without a problem.


I suspect this is because Rscript.exe is not on your PATH. We have to 
provide code to find Rscript by other ways.


JMarc



Re: Edit math after preview

2011-09-21 Thread Daniel CLEMENT
langemann wrote:
> Is it possible to edit a math command after an instant-preview has been
> created?
>  Say I want to change \int to \iint after the integral sign is previewed.
> There *should* be a possibility for that by, say, pressing F2 or something
> similar.

Don't know how to do it with the keyboard, but with LyX 1.6.9 on Linux
it is enough to click somewhere in the preview, and it becomes editable
again.

HTH, Daniel

>  I tried to just turn off instant-preview, but that didn't work either (it
> didn't do anything actually, even when I typed new math commands they got
> previewed...)
>  I use LyX 2.0.1 on windows 
> 
> PS: I DO NOT want instant-preview turned off (it's one of the best things
> with LyX), I just want to edit math after it has been previewed
>  
> thanks for any suggestions 
> 
> --
> View this message in context: 
> http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
> Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
Daniel CLEMENT


Unwanted number in page header for Chapter*

2011-09-21 Thread Manveru
Hi,

Not directly LyX related, but maybe someone will be able to help me.

I am using Chapter* environment for my Prologue and Epilogue in mwbook
class document. However for these chapters I see Chapter 0. Prologue
and Chapter 8. Epilogue for chapters I do not want to number. Is there
any method to remove "Chapter X." part from page header for these two
chapters only?

My fancyheader settings from preamble:
\fancyhead[RO,LE]{\nouppercase{\leftmark}}
\fancyhead[LO,RE]{\nouppercase{\rightmark}}

Thank you for any advice.
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: How to see console output of LyX 2.0.0 in Windows?

2011-09-21 Thread Manveru
2011/9/21 Vincent van Ravesteijn :
> Op 20-9-2011 18:53, Manveru schreef:
>>
>> I need to configure batik as SVG converter for LyX 2.0.0 as I have in
>> 1.6.x - I know how, but I have some issue in the method.
>>
>> And I CANNOT debug that, because there is no enabler for console
>> output of LyX in windows - it even does not accept command line
>> options (at least do not display --help).
>>
>> HELP!
>>
>
> We have View->Show Messages which will show the console output/debug
> messages.

O yes, that works!

It shown me that I have to manually edit preferences to achive batik
working for SVG, ale I was not able to configure that from
configuration dialog. LyX always fallen back to python converter. Now
it works.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Julien Rioux

On 21/09/2011 6:17 PM, Manveru wrote:

Hi,

Not directly LyX related, but maybe someone will be able to help me.

I am using Chapter* environment for my Prologue and Epilogue in mwbook
class document. However for these chapters I see Chapter 0. Prologue
and Chapter 8. Epilogue for chapters I do not want to number. Is there
any method to remove "Chapter X." part from page header for these two
chapters only?

My fancyheader settings from preamble:
\fancyhead[RO,LE]{\nouppercase{\leftmark}}
\fancyhead[LO,RE]{\nouppercase{\rightmark}}

Thank you for any advice.


Assuming your class is derived from book, \markboth{}{} in LaTeX code 
just after the Chapter* will clear the leftmark and rightmark.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Paul Smith
On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith  wrote:
> Write a short paragraph, select it and add an underbar to it.
> Afterwards, introduce a formula in display style -- you will not be
> able of compiling your document. (Please, see the attached example.)
>
> Is this a bug?

As a workaround, insert in ERT two curly brackets. (See the attached example.)

Paul


bug_underbar_workaround.lyx
Description: application/lyx


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Manveru
2011/9/21 Julien Rioux :
> On 21/09/2011 6:17 PM, Manveru wrote:
>>
>> Hi,
>>
>> Not directly LyX related, but maybe someone will be able to help me.
>>
>> I am using Chapter* environment for my Prologue and Epilogue in mwbook
>> class document. However for these chapters I see Chapter 0. Prologue
>> and Chapter 8. Epilogue for chapters I do not want to number. Is there
>> any method to remove "Chapter X." part from page header for these two
>> chapters only?
>>
>> My fancyheader settings from preamble:
>> \fancyhead[RO,LE]{\nouppercase{\leftmark}}
>> \fancyhead[LO,RE]{\nouppercase{\rightmark}}
>>
>> Thank you for any advice.
>
> Assuming your class is derived from book, \markboth{}{} in LaTeX code just
> after the Chapter* will clear the leftmark and rightmark.

Great, that did what I want.

However I think that document class should support it by itself to
clean that up for Chapter*.

Thanks for hyou help!
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Comment on Part Page

2011-09-21 Thread Bruce Pourciau
I have a colleague using book class who wants to place a comment on  
the page labeled Part 1, but when he tries to do this, the comment  
appears on the first page after the page labelled Chapter 1 of Part 1.  
Does anyone have a suggestion?


Bruce


Re: Unwanted number in page header for Chapter*

2011-09-21 Thread Julien Rioux

On 21/09/2011 9:24 PM, Manveru wrote:

Great, that did what I want.

However I think that document class should support it by itself to
clean that up for Chapter*.



True, I have no idea why the latex class doesn't fix that up for you.


Thanks for hyou help!


You're welcome!

--
Julien



Re: Underbar and math display style

2011-09-21 Thread Paul Rubin
Paul Smith  gmail.com> writes:

> 
> On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith  gmail.com> wrote:
> > Write a short paragraph, select it and add an underbar to it.
> > Afterwards, introduce a formula in display style -- you will not be
> > able of compiling your document. (Please, see the attached example.)
> >
> > Is this a bug?
> 
> As a workaround, insert in ERT two curly brackets. (See the attached example.)
> 

Other things that work: hit Enter after the text, then insert the display
formula; use the text style button to reset the underbar style immediately at
the end of the text, then insert the display mode formula; create the document
the way you did but highlight the formula and use the text style dialog to reset
the underbar before compiling.

As to whether this is a bug, I think that would depend at minimum on whether
there are text styles (other than underbar) that one would want to extend into
display mode equations.  (I checked, and the document compiles fine if the
formula is inline; it has to be display mode to screw up.)  I can't think of any
reason to carry text styles into display mode formulas, but I'm not the most
imaginative guy when it comes to writing.  If there is no reason, that it might
be reasonable to ask LyX to discontinue text styles when display mode is
encountered and resume them later.

Paul





Re: Does Sweave work for LyX 2.13 on Windows 7

2011-09-21 Thread Yihui Xie
What exactly do you mean by "does not work"? As a first step, can you
add the Sweave module to a LyX document?

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, Sep 21, 2011 at 8:48 AM, christiaan pauw  wrote:
> Hallo Everybody
> Has anyone had success with Sweave of Lyx 2.14 on Windows 7 . I have tried
> twice on two computers without success. Most recently I have installed R
> (2.13.1 i386-PC-mingw32/i386 (32-bit), LyX (2.13) and Miktex (none is paths
> with spaces - as I have gathered that that may cause a problem) as well as
> Rtools on Windows 7 but I still could not get it to work. Sweave seems to
> work from R (I can create a pdf for the example files).  From what I have
> read on the web, since LyX 2 Sweave is a module in LyX and should 'just
> work'. I there something I missed? I also have a Mac and there everything
> works without a problem.
> best regards
> Christiaan
>
>


Re: Comment on Part Page

2011-09-21 Thread Richard Heck
On 09/21/2011 02:11 PM, Bruce Pourciau wrote:
> I have a colleague using book class who wants to place a comment on
> the page labeled Part 1, but when he tries to do this, the comment
> appears on the first page after the page labelled Chapter 1 of Part 1.
> Does anyone have a suggestion?
>
This is controlled by the document class. You would have to modify the
book class in order to get such a comment to print on the Part page.
This isn't insanely hard to do, but one would have to decide exactly
what syntax to use, etc.

Richard



Re: Comment on Part Page

2011-09-21 Thread Julien Rioux

On 22/09/2011 12:50 AM, Richard Heck wrote:

On 09/21/2011 02:11 PM, Bruce Pourciau wrote:

I have a colleague using book class who wants to place a comment on
the page labeled Part 1, but when he tries to do this, the comment
appears on the first page after the page labelled Chapter 1 of Part 1.
Does anyone have a suggestion?


This is controlled by the document class. You would have to modify the
book class in order to get such a comment to print on the Part page.
This isn't insanely hard to do, but one would have to decide exactly
what syntax to use, etc.

Richard




Exactly, it is not possible with the standard class. Short of writing 
the latex code for it, you could also use one of the latex classes that 
make such customization easy. I vaguely remember that the memoir class 
and koma-script classes will allow you to do what you want. Since I'm no 
expert, I can only suggest that you look at their documentation.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Julien Rioux

On 22/09/2011 12:05 AM, Paul Rubin wrote:

Paul Smith  writes:



On Wed, Sep 21, 2011 at 10:20 AM, Paul Smith  wrote:

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?


As a workaround, insert in ERT two curly brackets. (See the attached example.)



Other things that work: hit Enter after the text, then insert the display
formula; use the text style button to reset the underbar style immediately at
the end of the text, then insert the display mode formula; create the document
the way you did but highlight the formula and use the text style dialog to reset
the underbar before compiling.

As to whether this is a bug, I think that would depend at minimum on whether
there are text styles (other than underbar) that one would want to extend into
display mode equations.  (I checked, and the document compiles fine if the
formula is inline; it has to be display mode to screw up.)  I can't think of any
reason to carry text styles into display mode formulas, but I'm not the most
imaginative guy when it comes to writing.  If there is no reason, that it might
be reasonable to ask LyX to discontinue text styles when display mode is
encountered and resume them later.

Paul






Size and color do make sense for math. Underline could potentially apply 
to math as well, but since it causes latex compilation failure, it is 
clearly a bug. The other text styles need not be carried into math 
formulas, as they don't affect math fonts, but they are kept anyway. 
Probably because they have not caused latex compilation failure so far.


--
Julien



Re: Underbar and math display style

2011-09-21 Thread Julien Rioux

On 21/09/2011 11:20 AM, Paul Smith wrote:

Dear All,

Write a short paragraph, select it and add an underbar to it.
Afterwards, introduce a formula in display style -- you will not be
able of compiling your document. (Please, see the attached example.)

Is this a bug?



Yes. I couldn't find any report of this bug. Could you please report it 
here:

http://www.lyx.org/trac/wiki/BugTrackerHome

Thanks,
Regards,
Julien


Thanks in advance,

Paul




Index

2011-09-21 Thread Jason Waskiewicz
Over the summer, I updated my computer to a MacBook Air. Today, I was trying to 
run a document with an index. Everything works, except for the index.

I'm running LyX 2.01.

The document is a master document with 24 child documents. The index references 
are in the child documents. The index command itself is in the master document. 
The document class is Memoir.

I've verified that the makeindex package is installed. I have also found that 
the index will not work even on old documents or when the document has the 
index command right in it. I tried to see if the LyX documentation works, but 
there seems to be an error in the documentation itself (missing figure).

Any ideas?

--Jason Waskiewicz
   Bowman County High School


Re: Index

2011-09-21 Thread Stephan Witt
Am 22.09.2011 um 02:30 schrieb Jason Waskiewicz:

> Over the summer, I updated my computer to a MacBook Air. Today, I was trying 
> to run a document with an index. Everything works, except for the index.
> 
> I'm running LyX 2.01.
> 
> The document is a master document with 24 child documents. The index 
> references are in the child documents. The index command itself is in the 
> master document. The document class is Memoir.
> 
> I've verified that the makeindex package is installed. I have also found that 
> the index will not work even on old documents or when the document has the 
> index command right in it. I tried to see if the LyX documentation works, but 
> there seems to be an error in the documentation itself (missing figure).
> 
> Any ideas?

I don't know if I can help, but your report contains no error details.
You need to be more specific to get help.

For which part of the documentation do you get the missing figure error?

Stephan