答复: Problems using sumatra PDF viewer

2018-11-30 Thread caokecai
Hi,

Thank you for your reply. I have found the line but the default value is true  
already.

It is a weird phenomenon even  for almost blank document.



 

 

Dear all,

I have set the sumatra as my defalt PDF viewer of  LyX.

But there will a new PDF each time if I compile it using CTRL+R.

I want the output to overwrite the old PDF. 

Is there anything I can do?

As per the Sumatra PDF documentation ;-) — in  "Settings" select "Advanced 
settings" to bring up the advanced settings file in your default text editor. 
Find the line for "ReloadModifiedDocuments" and edit it to read:

 

ReloadModifiedDocuments = true

 

Note that I believe there is a size limit (10MB?) after which Sumatra will not 
do auto-reloads even if you set this parameter to "true".

 

-cm

 



Problems using sumatra PDF viewer

2018-11-30 Thread caokecai
Dear all,

I have set the sumatra as my defalt PDF viewer of  LyX.

But there will a new PDF each time if I compile it using CTRL+R.

I want the output to overwrite the old PDF. 

Is there anything I can do?

Thank you so much.

Best,

Sincerely,

KC Cao



答复: 答复: Conflict between module and cls

2018-11-01 Thread caokecai
Dear Riki,

I have positioned the conflict in cls file:

\RequirePackage{pifont,latexsym,ifthen,theorem,rotating,calc}

\theorembodyfont{\itshape}

\theoremheaderfont{\normalfont\bfseries}

\setlength{\theorempreskipamount}{6pt plus 2pt}

\setlength{\theorempostskipamount}{6pt plus 2pt}

 

\begingroup \makeatletter

\gdef\th@plain{\normalfont\itshape

  \def\@begintheorem##1##2{%

   \item[\hskip\labelsep \theorem@headerfont ##1\ {##2.}]}%

\def\@opargbegintheorem##1##2##3{%

\item[\hskip\labelsep \theorem@headerfont ##1\ ##2\ (##3)]}}

\endgroup

 

After I comment them and moved them to the layout, the layout cannot be 
recognized after restart the LyX. There are more errors now.  And there is 
nothing in the preamble except 

 

% rncdoc.tex V1.0, 11 November 2002

%\usepackage[dvips,colorlinks,bookmarksopen,bookmarksnumbered,citecolor=red,urlcolor=red]{hyperref}

 

Thank you so much.

 

Best Regards,

 

KC Cao

 

 

 

发件人: Richard Kimberly Heck [mailto:rikih...@lyx.org] 
发送时间: Thursday, November 1, 2018 11:47 AM
收件人: caoke...@gmail.com
抄送: lyx-users@lists.lyx.org
主题: Re: 答复: Conflict between module and cls

 

On 11/1/18 12:42 PM, caoke...@gmail.com   wrote:

#% Do not delete the line below; configure depends on this

#\DeclareLaTeXClass[rncauth]{article (rncauth)}

#Input general definitions

Input stdclass.inc

 

 

OK, then you need to copy the theorem stuff into this file (so LyX knows about 
it), but REMOVE the preamble parts, which are what are causing the conflict. 

Riki

 

  

发件人: Richard Kimberly Heck [mailto:rikih...@lyx.org] 
发送时间: Thursday, November 1, 2018 11:27 AM
收件人: Ke-Cai Cao   
抄送: lyx-users@lists.lyx.org  
主题: Re: Conflict between module and cls

 

On 10/31/18 10:45 PM, Ke-Cai Cao wrote:

Dear Riki,

the cls is download from a journal and it has been attached.

So what LyX layout file are you using with this?

Riki

 

 

On Wed, Oct 31, 2018 at 9:37 PM Richard Kimberly Heck mailto:rikih...@lyx.org> > wrote:

On 10/31/18 9:54 PM, Ke-Cai Cao wrote:

Dear all,

After I choose the module of Theorem in using LyX, there is conflict between 
the theoremstyle  of LyX’s module and that in .cls.

Which cls? If the class file provides the theorem style, then that should be 
said there, and we should have a way to avoid duplication.

Riki

 

 

 



答复: Conflict between module and cls

2018-11-01 Thread caokecai
#% Do not delete the line below; configure depends on this

#\DeclareLaTeXClass[rncauth]{article (rncauth)}

#Input general definitions

Input stdclass.inc

 

Thank for you so much.

 

Best Regards,

 

KC Cao

 

发件人: Richard Kimberly Heck [mailto:rikih...@lyx.org] 
发送时间: Thursday, November 1, 2018 11:27 AM
收件人: Ke-Cai Cao 
抄送: lyx-users@lists.lyx.org
主题: Re: Conflict between module and cls

 

On 10/31/18 10:45 PM, Ke-Cai Cao wrote:

Dear Riki,

the cls is download from a journal and it has been attached.

So what LyX layout file are you using with this?

Riki

 

 

On Wed, Oct 31, 2018 at 9:37 PM Richard Kimberly Heck mailto:rikih...@lyx.org> > wrote:

On 10/31/18 9:54 PM, Ke-Cai Cao wrote:

Dear all,

After I choose the module of Theorem in using LyX, there is conflict between 
the theoremstyle  of LyX’s module and that in .cls.

Which cls? If the class file provides the theorem style, then that should be 
said there, and we should have a way to avoid duplication.

Riki

 

 



答复: tex2lyx2.3 error

2018-10-26 Thread caokecai
Thank you so much……

It works now.

Best,

KC Cao

 

发件人: Richard Kimberly Heck [mailto:rikih...@lyx.org] 
发送时间: Thursday, October 25, 2018 5:32 PM
收件人: Ke-Cai Cao 
抄送: lyx-users@lists.lyx.org
主题: Re: tex2lyx2.3 error

 

On 10/25/18 4:55 PM, Ke-Cai Cao wrote:

Same error on Win 7 or Win 10





I am not sure if this is a bug. Can anynone help me.

 

I'm not sure you are using the latest version. We changed from using 
"versioned" binaries, with the version number like that, to using "unversioned" 
ones, so the filename should jsut be tex2lyx.exe, not tex2lyx2.3.exe. Try 
moving (or removing) your LyX user directory, whose location you can find under 
Help> About LyX. It should be something like 
C:\Users\YOURNAME\AppData\Roaming\LyX\.

Riki

 



tex2lyx2.3 error

2018-10-25 Thread caokecai
Dear all,

Recently, I am bothered with tex2lyx2.3 when I want to import some tex into
lyx.

I have searched the web and there is no spaces in my install directory. But
it does not work. I have tried from LyX 2.2.3 to LyX 2.3.1.

 



Is there anyone know what is wrong with this issue. BYT, previously I have
imported successfully with LyX 2.2.3. But after update to LyX 2.3.1, it does
not work even I restore it back to 2.2.3.

Thank you so much.

Best Regards,

KC Cao 



Problems of pagebackref in LyX

2017-10-04 Thread caokecai
Dear all,

I found that chapterbib is not supported in LyX.

Although multiple bibliographies can be easily realized in LyX using
bibtopic, the pagebackref can not be used.

Are there possible solutions to the problem of pagebackref? 

Thank you so much.

Sincerely,

kc cao

 



how to add new environment to LyX

2017-06-16 Thread caokecai
Dear all

I like using LyX in preparing my manuscript.

But I did not know how to add new environment to the UI of LyX. 

For example, It is easy to use  the environment of theorem by clicking of
mouse on the upper left corner of LyX. But how to add a new environment such
as Assumption to the UI of Lyx. 

Thank you so much.

Sincerely,

kc cao



答复: 转发: Help for using chapterbib with LyX

2016-11-16 Thread caokecai
Dear Scott,
If the reference style is numerical, then the beginning of references of next 
section is not 1. Do you have noticed that?
I am not sure if that can be solved.
Thank you very much,
Best,
Kecao

-邮件原件-
发件人: Scott Kostyshak [mailto:skost...@lyx.org] 
发送时间: 2016年11月15日 22:51
收件人: caoke...@163.com
抄送: lyx-users@lists.lyx.org
主题: Re: 转发: Help for using chapterbib with LyX

On Tue, Nov 15, 2016 at 02:30:26PM +0800, caoke...@163.com wrote:
> Dear all,
> 
> I am using Lyx to realize Multiple and sectioned bibliographies in book. I 
> have spent a lot of time with tips from web page but that does not work.

Hi Kecao,

Welcome to the list!

In the future, please describe what doesn't work. It is hard to help with just 
"it does not work".

You could try the following, which works for me:
https://github.com/scottkosty/lyx-princeton-diss

Scott

P.S. please respond to the list.




答复: 转发: Help for using chapterbib with LyX

2016-11-15 Thread caokecai
Dear Scott,
Thank you very much for your responses.
There is no error in compiling Your code and it really works.
But there are some problems when I try to use your settings in the SVMONO 
template that is provided by Springer Publisher.
I am trying to figure out what is wrong.
Best,
Sincerely,
Kecao

-邮件原件-
发件人: Scott Kostyshak [mailto:skost...@lyx.org] 
发送时间: 2016年11月15日 22:51
收件人: caoke...@163.com
抄送: lyx-users@lists.lyx.org
主题: Re: 转发: Help for using chapterbib with LyX

On Tue, Nov 15, 2016 at 02:30:26PM +0800, caoke...@163.com wrote:
> Dear all,
> 
> I am using Lyx to realize Multiple and sectioned bibliographies in book. I 
> have spent a lot of time with tips from web page but that does not work.

Hi Kecao,

Welcome to the list!

In the future, please describe what doesn't work. It is hard to help with just 
"it does not work".

You could try the following, which works for me:
https://github.com/scottkosty/lyx-princeton-diss

Scott

P.S. please respond to the list.




转发: Help for using chapterbib with LyX

2016-11-14 Thread caokecai
Dear all,

I am using Lyx to realize Multiple and sectioned bibliographies in book. I have 
spent a lot of time with tips from web page but that does not work.

I do not know how to install the python wrapper script  
 bibtexall and make it work.

Could anyone help me to realizes Multiple and sectioned bibliographies?

Thanks you very much.

Best 

Kecao