Re: Unwanted indent in Bibliography

2011-06-19 Thread Francesco Menoncin

Il 19/06/2011 02:27, Sergio Celani ha scritto:

El 18/06/2011 09:57 a.m., Richard Heck escribió:

On 06/18/2011 07:28 AM, Donato Capitella wrote:

Dear all,
I've been using Lyx for a year or so. However, I've been having an
annoying problem since I switched to version 2.0.
Basically, when I use the article class, my bibliography items under
the References heading are all indented and they should not be and
have never been in previous versions. As a result, when I need to
regenerate my old documents, I get this weired indented bibliography
and of course this applies also to new documents.

Is there a fix?


Can you please post a small example file?

Richard


Hi

I have the same problem with the amsart class with LyX 2.0
I send you an example


Sergio



You can add the following command in the preamble:

\def\@biblabel#1{\hspace{-\labelsep}}

There will be no indentation (and no number). You can also use 
biblabel for other settings.


Francesco


Re: {\fnsymbol{footnote}}

2011-06-19 Thread Guenter Milde
On 2011-06-18, Unknown wrote:
 If I use the {\fnsymbol{footnote}} command at the start of my book, I
 am able to get symbols for the footnotes/endnotes, instead of numbers.

 A question please: how do I get a large number of such symbols, as
 required? At present, I am able to get only a limited number (maybe 25
 or 50, not sure), after which error messages start showing up.

This is already very much. The default I know is ca. 10 symbols.

For a complete book, you need to re-use the footnote symbols, per page
or per chapter. Have a look at e.g. the LaTeX FAQ to find ways to
configure footnotes.

Günter



Re: Unwanted indent in Bibliography

2011-06-19 Thread Sergio Celani

El 19/06/2011 05:42 a.m., Francesco Menoncin escribió:

Il 19/06/2011 02:27, Sergio Celani ha scritto:

El 18/06/2011 09:57 a.m., Richard Heck escribió:

On 06/18/2011 07:28 AM, Donato Capitella wrote:

Dear all,
I've been using Lyx for a year or so. However, I've been having an
annoying problem since I switched to version 2.0.
Basically, when I use the article class, my bibliography items under
the References heading are all indented and they should not be and
have never been in previous versions. As a result, when I need to
regenerate my old documents, I get this weired indented bibliography
and of course this applies also to new documents.

Is there a fix?


Can you please post a small example file?

Richard


Hi

I have the same problem with the amsart class with LyX 2.0
I send you an example


Sergio



You can add the following command in the preamble:

\def\@biblabel#1{\hspace{-\labelsep}}

There will be no indentation (and no number). You can also use 
biblabel for other settings.


Francesco
Thank Francesco, but this not solve the problem because the bibliography 
is not numbered.
If I export to LaTeX file, open it with Scientific workplace andgenerate 
the PDF, the bibliography is correct.


Sergio





Preventing newline after a LatexType = Command line

2011-06-19 Thread Sue Ann Koay
Hello,

I'm trying to create a layout file with a paragraph style that outputs
something like:

   \mycommand{arg1}{arg2}
   \mycommand{arg3}{arg4}

Something like the following almost works:

  Style MyCommand
LatexType   Command
LatexName   mycommand
LabelString Test:
RequiredArgs2
  End

However it likes to separate the MyCommand lines by newlines in the
latex output, e.g.:

   \mycommand{arg1}{arg2}


   \mycommand{arg3}{arg4}

I'd like to be able to prevent the extra newlines in between the
output, because this causes undesirable separation between lines in
the final display. Might someone know how this can be achieved? The
only thing I've been able to do is to turn on the ParbreakIsNewline
and PassThru options, but this is a rather annoying hack because it
also turns off the ability to use any of the LyX formatting commands
when inside this style. :-(

Help would very much be appreciated,

Sue Ann Koay
sueannk...@gmail.com


LyX2 R sweave

2011-06-19 Thread Henry
Hi 

I get this message when I install LyX2 and try to use the sweave module:

Allows to use the statistical language S/R as a literate programming tool via
Sweave package. See sweave.lyx in examples.
Package(s) required: sweave-latex.
Modules excluded: LilyPond Book.
WARNING: Some required packages are unavailable!

How do I find out which packages is missing? (I think sweave-latex is a
converter not a package)

Henry





Re: 关于首行标点的求助

2011-06-19 Thread Yihui Xie
Apparently you are looking at the Chinese translation of intro.lyx
under doc/zh_CN/. The situation you saw (punctuations in the very
beginning of lines) was not really a big deal, because LyX means to be
WYSIWYM instead of WYSIWYG. It's not likely to happen in your final
PDF output provided you use a decent LaTeX package to handle the
Chinese document, e.g. ctex. These packages can correctly put the
punctuations in the end of lines.

So, Julio, I guess this is not a bug of LyX (at least not serious),
and I have confirmed that there are no spaces before the punctuations
in the above document. However, I would certainly appreciate if LyX
can be enhanced somehow to treat CJK documents differently with other
languages, because in CJK languages, we do not use spaces to separate
words, which can make the LyX document look rather ugly if there is
one space in a whole paragraph of several lines -- LyX treats this
paragraph as if it had three words so the space will be extremely
wide. But again, this is no big deal, since we can use inter-word
spaces \  instead of ordinary spaces   to make the document look
better (inter-word spaces do not get stretched).

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



2011/6/18 jiahui qijiahui...@gmail.com:
 Julio, thanks a lot!
 jiahui

 -Original Message-
 From: Liviu Andronic [mailto:landronim...@gmail.com]
 Sent: 18 June 2011 11:43
 To: jiahui
 Cc: Julio Rojas; tianjiao_hit; lyx-users
 Subject: Re: 关于首行标点的求助

 2011/6/18 jiahui qijiahui...@gmail.com:
 I have a similar question that sometimes one word will be separated to two
 parts as ‘ques-tion’ at the end of one line: part of it will appear at the
 end of the line and part of it will appear at the beginning of next line. Is
 there possible I can avoid this?

 I am suspecting that this is related to the hyphenation mechanism. See
 [1] and [2] for potential solutions.
 Liviu

 [1] http://wiki.lyx.org/FAQ/TextAppearance#avoidHyphenationWords
 [2] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wdnohyph+hyphoff




 Many thanks,

 jiahui



 From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of
 Julio Rojas
 Sent: 18 June 2011 08:53
 To: Liviu Andronic
 Cc: tianjiao_hit; lyx-users
 Subject: Re: 关于首行标点的求助



 It seems that punctuation signs are being pushed to the beginning of the
 next line, instead of being joined to the last word in the previous line.



 Tianjiao, I can confirm that this is due to an space put between the word
 and the punctuation sign. You should remove this space and everything will
 be alright. By the way, is there a ticket for this bug?



 Regards.



 标点符号的迹象似乎正在被推到了下一行的开头,而不是被加入到前面行的最后一个字。



 天骄,我可以证实,这是由于一个空间,这之间的字和标点符号。您应该删除此空间,一切都会没有问题。



 问候。



 (Google translator rox!!!)

 -
 Julio Rojas
 jcredbe...@gmail.com

 2011/6/18 Liviu Andronic landronim...@gmail.com

 你好

 2011/6/17 tianjiao_hit tianjiao_...@163.com

 您好,刚开始使用LYX,对它的公式输入很感兴趣,但是发现在段首会出现标点,不知道该如何设置,非常感谢提供帮助。


 From the screenshot I sense that you're trying to say something about
 LyX, however you're much more likely to get an answer if you rephrase
 your question in English.

 Regards
 Liviu

 2011-06-17
 
 tianjiao_hit

 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




Re: Where to report Errors…

2011-06-19 Thread jezZiFeR

Thank you, I did so and also added the report.

Best*





Am 18.06.2011 um 23:45 schrieb Liviu Andronic:


On Sat, Jun 18, 2011 at 11:20 PM, Paul Rubin ru...@msu.edu wrote:

jezZiFeR jezzifer at googlemail.com writes:


I could not find where to report it in the introduction, could you
please tell me?


The bug tracker is at http://www.lyx.org/trac/wiki/BugTrackerHome.   
(As I type
this, lyx.org is unresponsive, but hopefully it will return from  
its coffee

break soon.)


Alternatively, lyx-devel is just fine to check what the devels think.
Please try to give some more info than just the screenshot: what OS,
what LyX and LaTeX version, what kind of document, what triggers the
crash, etc.

Regards
Liviu



Paul







--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




Re: LyX2 R sweave

2011-06-19 Thread Yihui Xie
I guess this converter needs Rscript to be in your PATH variable.
Furthermore, you'd better put Sweave.sty in your texmf tree.

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 Sun, Jun 19, 2011 at 8:41 AM, Henry hchr...@cs.au.dk wrote:
 Hi

 I get this message when I install LyX2 and try to use the sweave module:

 Allows to use the statistical language S/R as a literate programming tool via
 Sweave package. See sweave.lyx in examples.
 Package(s) required: sweave-latex.
 Modules excluded: LilyPond Book.
 WARNING: Some required packages are unavailable!

 How do I find out which packages is missing? (I think sweave-latex is a
 converter not a package)

 Henry






Copying a table column crashes LyX

2011-06-19 Thread Andrew Parsloe
I created a table and made some settings then, in the right-click menu 
chose More...  Copy Column and Lyx crashed with the message


LyX has caught an exception ...
Exception: iconv problem in iconv_codecvt_facet initialization

To reproduce, just create a table and try to copy a column using the 
context menu (or Alt-M C C).


LyX 2.0 Windows Vista

Andrew


Re: Unwanted indent in Bibliography

2011-06-19 Thread Francesco Menoncin

Il 19/06/2011 02:27, Sergio Celani ha scritto:

El 18/06/2011 09:57 a.m., Richard Heck escribió:

On 06/18/2011 07:28 AM, Donato Capitella wrote:

Dear all,
I've been using Lyx for a year or so. However, I've been having an
annoying problem since I switched to version 2.0.
Basically, when I use the article class, my bibliography items under
the References heading are all indented and they should not be and
have never been in previous versions. As a result, when I need to
regenerate my old documents, I get this weired indented bibliography
and of course this applies also to new documents.

Is there a fix?


Can you please post a small example file?

Richard


Hi

I have the same problem with the amsart class with LyX 2.0
I send you an example


Sergio



You can add the following command in the preamble:

\def\@biblabel#1{\hspace{-\labelsep}}

There will be no indentation (and no number). You can also use 
biblabel for other settings.


Francesco


Re: {\fnsymbol{footnote}}

2011-06-19 Thread Guenter Milde
On 2011-06-18, Unknown wrote:
 If I use the {\fnsymbol{footnote}} command at the start of my book, I
 am able to get symbols for the footnotes/endnotes, instead of numbers.

 A question please: how do I get a large number of such symbols, as
 required? At present, I am able to get only a limited number (maybe 25
 or 50, not sure), after which error messages start showing up.

This is already very much. The default I know is ca. 10 symbols.

For a complete book, you need to re-use the footnote symbols, per page
or per chapter. Have a look at e.g. the LaTeX FAQ to find ways to
configure footnotes.

Günter



Re: Unwanted indent in Bibliography

2011-06-19 Thread Sergio Celani

El 19/06/2011 05:42 a.m., Francesco Menoncin escribió:

Il 19/06/2011 02:27, Sergio Celani ha scritto:

El 18/06/2011 09:57 a.m., Richard Heck escribió:

On 06/18/2011 07:28 AM, Donato Capitella wrote:

Dear all,
I've been using Lyx for a year or so. However, I've been having an
annoying problem since I switched to version 2.0.
Basically, when I use the article class, my bibliography items under
the References heading are all indented and they should not be and
have never been in previous versions. As a result, when I need to
regenerate my old documents, I get this weired indented bibliography
and of course this applies also to new documents.

Is there a fix?


Can you please post a small example file?

Richard


Hi

I have the same problem with the amsart class with LyX 2.0
I send you an example


Sergio



You can add the following command in the preamble:

\def\@biblabel#1{\hspace{-\labelsep}}

There will be no indentation (and no number). You can also use 
biblabel for other settings.


Francesco
Thank Francesco, but this not solve the problem because the bibliography 
is not numbered.
If I export to LaTeX file, open it with Scientific workplace andgenerate 
the PDF, the bibliography is correct.


Sergio





Preventing newline after a LatexType = Command line

2011-06-19 Thread Sue Ann Koay
Hello,

I'm trying to create a layout file with a paragraph style that outputs
something like:

   \mycommand{arg1}{arg2}
   \mycommand{arg3}{arg4}

Something like the following almost works:

  Style MyCommand
LatexType   Command
LatexName   mycommand
LabelString Test:
RequiredArgs2
  End

However it likes to separate the MyCommand lines by newlines in the
latex output, e.g.:

   \mycommand{arg1}{arg2}


   \mycommand{arg3}{arg4}

I'd like to be able to prevent the extra newlines in between the
output, because this causes undesirable separation between lines in
the final display. Might someone know how this can be achieved? The
only thing I've been able to do is to turn on the ParbreakIsNewline
and PassThru options, but this is a rather annoying hack because it
also turns off the ability to use any of the LyX formatting commands
when inside this style. :-(

Help would very much be appreciated,

Sue Ann Koay
sueannk...@gmail.com


LyX2 R sweave

2011-06-19 Thread Henry
Hi 

I get this message when I install LyX2 and try to use the sweave module:

Allows to use the statistical language S/R as a literate programming tool via
Sweave package. See sweave.lyx in examples.
Package(s) required: sweave-latex.
Modules excluded: LilyPond Book.
WARNING: Some required packages are unavailable!

How do I find out which packages is missing? (I think sweave-latex is a
converter not a package)

Henry





Re: 关于首行标点的求助

2011-06-19 Thread Yihui Xie
Apparently you are looking at the Chinese translation of intro.lyx
under doc/zh_CN/. The situation you saw (punctuations in the very
beginning of lines) was not really a big deal, because LyX means to be
WYSIWYM instead of WYSIWYG. It's not likely to happen in your final
PDF output provided you use a decent LaTeX package to handle the
Chinese document, e.g. ctex. These packages can correctly put the
punctuations in the end of lines.

So, Julio, I guess this is not a bug of LyX (at least not serious),
and I have confirmed that there are no spaces before the punctuations
in the above document. However, I would certainly appreciate if LyX
can be enhanced somehow to treat CJK documents differently with other
languages, because in CJK languages, we do not use spaces to separate
words, which can make the LyX document look rather ugly if there is
one space in a whole paragraph of several lines -- LyX treats this
paragraph as if it had three words so the space will be extremely
wide. But again, this is no big deal, since we can use inter-word
spaces \  instead of ordinary spaces   to make the document look
better (inter-word spaces do not get stretched).

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



2011/6/18 jiahui qijiahui...@gmail.com:
 Julio, thanks a lot!
 jiahui

 -Original Message-
 From: Liviu Andronic [mailto:landronim...@gmail.com]
 Sent: 18 June 2011 11:43
 To: jiahui
 Cc: Julio Rojas; tianjiao_hit; lyx-users
 Subject: Re: 关于首行标点的求助

 2011/6/18 jiahui qijiahui...@gmail.com:
 I have a similar question that sometimes one word will be separated to two
 parts as ‘ques-tion’ at the end of one line: part of it will appear at the
 end of the line and part of it will appear at the beginning of next line. Is
 there possible I can avoid this?

 I am suspecting that this is related to the hyphenation mechanism. See
 [1] and [2] for potential solutions.
 Liviu

 [1] http://wiki.lyx.org/FAQ/TextAppearance#avoidHyphenationWords
 [2] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wdnohyph+hyphoff




 Many thanks,

 jiahui



 From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of
 Julio Rojas
 Sent: 18 June 2011 08:53
 To: Liviu Andronic
 Cc: tianjiao_hit; lyx-users
 Subject: Re: 关于首行标点的求助



 It seems that punctuation signs are being pushed to the beginning of the
 next line, instead of being joined to the last word in the previous line.



 Tianjiao, I can confirm that this is due to an space put between the word
 and the punctuation sign. You should remove this space and everything will
 be alright. By the way, is there a ticket for this bug?



 Regards.



 标点符号的迹象似乎正在被推到了下一行的开头,而不是被加入到前面行的最后一个字。



 天骄,我可以证实,这是由于一个空间,这之间的字和标点符号。您应该删除此空间,一切都会没有问题。



 问候。



 (Google translator rox!!!)

 -
 Julio Rojas
 jcredbe...@gmail.com

 2011/6/18 Liviu Andronic landronim...@gmail.com

 你好

 2011/6/17 tianjiao_hit tianjiao_...@163.com

 您好,刚开始使用LYX,对它的公式输入很感兴趣,但是发现在段首会出现标点,不知道该如何设置,非常感谢提供帮助。


 From the screenshot I sense that you're trying to say something about
 LyX, however you're much more likely to get an answer if you rephrase
 your question in English.

 Regards
 Liviu

 2011-06-17
 
 tianjiao_hit

 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




Re: Where to report Errors…

2011-06-19 Thread jezZiFeR

Thank you, I did so and also added the report.

Best*





Am 18.06.2011 um 23:45 schrieb Liviu Andronic:


On Sat, Jun 18, 2011 at 11:20 PM, Paul Rubin ru...@msu.edu wrote:

jezZiFeR jezzifer at googlemail.com writes:


I could not find where to report it in the introduction, could you
please tell me?


The bug tracker is at http://www.lyx.org/trac/wiki/BugTrackerHome.   
(As I type
this, lyx.org is unresponsive, but hopefully it will return from  
its coffee

break soon.)


Alternatively, lyx-devel is just fine to check what the devels think.
Please try to give some more info than just the screenshot: what OS,
what LyX and LaTeX version, what kind of document, what triggers the
crash, etc.

Regards
Liviu



Paul







--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




Re: LyX2 R sweave

2011-06-19 Thread Yihui Xie
I guess this converter needs Rscript to be in your PATH variable.
Furthermore, you'd better put Sweave.sty in your texmf tree.

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 Sun, Jun 19, 2011 at 8:41 AM, Henry hchr...@cs.au.dk wrote:
 Hi

 I get this message when I install LyX2 and try to use the sweave module:

 Allows to use the statistical language S/R as a literate programming tool via
 Sweave package. See sweave.lyx in examples.
 Package(s) required: sweave-latex.
 Modules excluded: LilyPond Book.
 WARNING: Some required packages are unavailable!

 How do I find out which packages is missing? (I think sweave-latex is a
 converter not a package)

 Henry






Copying a table column crashes LyX

2011-06-19 Thread Andrew Parsloe
I created a table and made some settings then, in the right-click menu 
chose More...  Copy Column and Lyx crashed with the message


LyX has caught an exception ...
Exception: iconv problem in iconv_codecvt_facet initialization

To reproduce, just create a table and try to copy a column using the 
context menu (or Alt-M C C).


LyX 2.0 Windows Vista

Andrew


Re: Unwanted indent in Bibliography

2011-06-19 Thread Francesco Menoncin

Il 19/06/2011 02:27, Sergio Celani ha scritto:

El 18/06/2011 09:57 a.m., Richard Heck escribió:

On 06/18/2011 07:28 AM, Donato Capitella wrote:

Dear all,
I've been using Lyx for a year or so. However, I've been having an
annoying problem since I switched to version 2.0.
Basically, when I use the article class, my bibliography items under
the References heading are all indented and they should not be and
have never been in previous versions. As a result, when I need to
regenerate my old documents, I get this weired indented bibliography
and of course this applies also to new documents.

Is there a fix?


Can you please post a small example file?

Richard


Hi

I have the same problem with the amsart class with LyX 2.0
I send you an example


Sergio



You can add the following command in the preamble:

\def\@biblabel#1{\hspace{-\labelsep}}

There will be no indentation (and no number). You can also use 
"biblabel" for other settings.


Francesco


Re: {\fnsymbol{footnote}}

2011-06-19 Thread Guenter Milde
On 2011-06-18, Unknown wrote:
> If I use the {\fnsymbol{footnote}} command at the start of my book, I
> am able to get symbols for the footnotes/endnotes, instead of numbers.

> A question please: how do I get a large number of such symbols, as
> required? At present, I am able to get only a limited number (maybe 25
> or 50, not sure), after which error messages start showing up.

This is already very much. The default I know is ca. 10 symbols.

For a complete book, you need to re-use the footnote symbols, per page
or per chapter. Have a look at e.g. the LaTeX FAQ to find ways to
configure footnotes.

Günter



Re: Unwanted indent in Bibliography

2011-06-19 Thread Sergio Celani

El 19/06/2011 05:42 a.m., Francesco Menoncin escribió:

Il 19/06/2011 02:27, Sergio Celani ha scritto:

El 18/06/2011 09:57 a.m., Richard Heck escribió:

On 06/18/2011 07:28 AM, Donato Capitella wrote:

Dear all,
I've been using Lyx for a year or so. However, I've been having an
annoying problem since I switched to version 2.0.
Basically, when I use the article class, my bibliography items under
the References heading are all indented and they should not be and
have never been in previous versions. As a result, when I need to
regenerate my old documents, I get this weired indented bibliography
and of course this applies also to new documents.

Is there a fix?


Can you please post a small example file?

Richard


Hi

I have the same problem with the amsart class with LyX 2.0
I send you an example


Sergio



You can add the following command in the preamble:

\def\@biblabel#1{\hspace{-\labelsep}}

There will be no indentation (and no number). You can also use 
"biblabel" for other settings.


Francesco
Thank Francesco, but this not solve the problem because the bibliography 
is not numbered.
If I export to LaTeX file, open it with Scientific workplace andgenerate 
the PDF, the bibliography is correct.


Sergio





Preventing newline after a LatexType = Command line

2011-06-19 Thread Sue Ann Koay
Hello,

I'm trying to create a layout file with a paragraph style that outputs
something like:

   \mycommand{arg1}{arg2}
   \mycommand{arg3}{arg4}

Something like the following almost works:

  Style MyCommand
LatexType   Command
LatexName   mycommand
LabelString "Test:"
RequiredArgs2
  End

However it likes to separate the MyCommand lines by newlines in the
latex output, e.g.:

   \mycommand{arg1}{arg2}


   \mycommand{arg3}{arg4}

I'd like to be able to prevent the extra newlines in between the
output, because this causes undesirable separation between lines in
the final display. Might someone know how this can be achieved? The
only thing I've been able to do is to turn on the ParbreakIsNewline
and PassThru options, but this is a rather annoying hack because it
also turns off the ability to use any of the LyX formatting commands
when inside this style. :-(

Help would very much be appreciated,

Sue Ann Koay
sueannk...@gmail.com


LyX2 R sweave

2011-06-19 Thread Henry
Hi 

I get this message when I install LyX2 and try to use the sweave module:

Allows to use the statistical language S/R as a literate programming tool via
Sweave package. See sweave.lyx in examples.
Package(s) required: sweave->latex.
Modules excluded: LilyPond Book.
WARNING: Some required packages are unavailable!

How do I find out which packages is missing? (I think "sweave->latex" is a
converter not a package)

Henry





Re: 关于首行标点的求助

2011-06-19 Thread Yihui Xie
Apparently you are looking at the Chinese translation of intro.lyx
under doc/zh_CN/. The situation you saw (punctuations in the very
beginning of lines) was not really a big deal, because LyX means to be
WYSIWYM instead of WYSIWYG. It's not likely to happen in your final
PDF output provided you use a decent LaTeX package to handle the
Chinese document, e.g. ctex. These packages can correctly put the
punctuations in the end of lines.

So, Julio, I guess this is not a bug of LyX (at least not serious),
and I have confirmed that there are no spaces before the punctuations
in the above document. However, I would certainly appreciate if LyX
can be enhanced somehow to treat CJK documents differently with other
languages, because in CJK languages, we do not use spaces to separate
words, which can make the LyX document look rather ugly if there is
one space in a whole paragraph of several lines -- LyX treats this
paragraph as if it had three words so the space will be extremely
wide. But again, this is no big deal, since we can use inter-word
spaces "\ " instead of ordinary spaces " " to make the document look
better (inter-word spaces do not get stretched).

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



2011/6/18 jiahui :
> Julio, thanks a lot!
> jiahui
>
> -Original Message-
> From: Liviu Andronic [mailto:landronim...@gmail.com]
> Sent: 18 June 2011 11:43
> To: jiahui
> Cc: Julio Rojas; tianjiao_hit; lyx-users
> Subject: Re: 关于首行标点的求助
>
> 2011/6/18 jiahui :
>> I have a similar question that sometimes one word will be separated to two
>> parts as ‘ques-tion’ at the end of one line: part of it will appear at the
>> end of the line and part of it will appear at the beginning of next line. Is
>> there possible I can avoid this?
>>
> I am suspecting that this is related to the hyphenation mechanism. See
> [1] and [2] for potential solutions.
> Liviu
>
> [1] http://wiki.lyx.org/FAQ/TextAppearance#avoidHyphenationWords
> [2] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wdnohyph+hyphoff
>
>
>>
>>
>> Many thanks,
>>
>> jiahui
>>
>>
>>
>> From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of
>> Julio Rojas
>> Sent: 18 June 2011 08:53
>> To: Liviu Andronic
>> Cc: tianjiao_hit; lyx-users
>> Subject: Re: 关于首行标点的求助
>>
>>
>>
>> It seems that punctuation signs are being pushed to the beginning of the
>> next line, instead of being joined to the last word in the previous line.
>>
>>
>>
>> Tianjiao, I can confirm that this is due to an space put between the word
>> and the punctuation sign. You should remove this space and everything will
>> be alright. By the way, is there a ticket for this bug?
>>
>>
>>
>> Regards.
>>
>>
>>
>> 标点符号的迹象似乎正在被推到了下一行的开头,而不是被加入到前面行的最后一个字。
>>
>>
>>
>> 天骄,我可以证实,这是由于一个空间,这之间的字和标点符号。您应该删除此空间,一切都会没有问题。
>>
>>
>>
>> 问候。
>>
>>
>>
>> (Google translator rox!!!)
>>
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>>
>> 2011/6/18 Liviu Andronic 
>>
>> 你好
>>
>> 2011/6/17 tianjiao_hit 
>>>
>>> 您好,刚开始使用LYX,对它的公式输入很感兴趣,但是发现在段首会出现标点,不知道该如何设置,非常感谢提供帮助。
>>>
>>
>> From the screenshot I sense that you're trying to say something about
>> LyX, however you're much more likely to get an answer if you rephrase
>> your question in English.
>>
>> Regards
>> Liviu
>>
>>> 2011-06-17
>>> 
>>> tianjiao_hit
>>
>> --
>> Do you know how to read?
>> http://www.alienetworks.com/srtest.cfm
>> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
>> Do you know how to write?
>> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>>
>>
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>
>


Re: Where to report Errors…

2011-06-19 Thread jezZiFeR

Thank you, I did so and also added the report.

Best*





Am 18.06.2011 um 23:45 schrieb Liviu Andronic:


On Sat, Jun 18, 2011 at 11:20 PM, Paul Rubin  wrote:

jezZiFeR  googlemail.com> writes:


I could not find where to report it in the introduction, could you
please tell me?


The bug tracker is at http://www.lyx.org/trac/wiki/BugTrackerHome.   
(As I type
this, lyx.org is unresponsive, but hopefully it will return from  
its coffee

break soon.)


Alternatively, lyx-devel is just fine to check what the devels think.
Please try to give some more info than just the screenshot: what OS,
what LyX and LaTeX version, what kind of document, what triggers the
crash, etc.

Regards
Liviu



Paul







--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




Re: LyX2 R sweave

2011-06-19 Thread Yihui Xie
I guess this converter needs Rscript to be in your PATH variable.
Furthermore, you'd better put Sweave.sty in your texmf tree.

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



On Sun, Jun 19, 2011 at 8:41 AM, Henry  wrote:
> Hi
>
> I get this message when I install LyX2 and try to use the sweave module:
>
> Allows to use the statistical language S/R as a literate programming tool via
> Sweave package. See sweave.lyx in examples.
> Package(s) required: sweave->latex.
> Modules excluded: LilyPond Book.
> WARNING: Some required packages are unavailable!
>
> How do I find out which packages is missing? (I think "sweave->latex" is a
> converter not a package)
>
> Henry
>
>
>
>


Copying a table column crashes LyX

2011-06-19 Thread Andrew Parsloe
I created a table and made some settings then, in the right-click menu 
chose More... > Copy Column and Lyx crashed with the message


LyX has caught an exception ...
Exception: iconv problem in iconv_codecvt_facet initialization

To reproduce, just create a table and try to copy a column using the 
context menu (or Alt-M C C).


LyX 2.0 Windows Vista

Andrew