Re: LyX on iPad

2018-11-01 Thread David L. Johnson
On Thu, 1 Nov 2018 19:41:54 -0600
Joel Kulesza  wrote:

> >> At one point, I wanted to create a couple of apps for Android.
> >> I've taught Java programming for a university; but, when I saw how
> >> much I would have to invest in learning the peculiarities of the
> >> Android interface, I lost nearly all of my interest in the two
> >> projects.  I assume that the demands of programming for iOS are
> >> similar.  
> > 
That is a disappointment.  Given Android's start as an offshoot of
linux, you would think it would be more straightforward.  This would
also enable (I think) LyX to run on netbooks, since AFAIK they are
Android machines --- and since they have real keyboards they would make
a usable platform.  I do believe TeX is available in some form.  I also
have no idea why porting to the iPad would be significantly harder than
a Mac.  I am, perhaps, too naive.

-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: LyX on iPad

2018-11-01 Thread Erik Apostol (Che-hsiu Cheng)
On Fri, Nov 2, 2018, 09:40 Scott Kostyshak  wrote:

> On Thu, Nov 01, 2018 at 07:41:00PM +, Anders Host-Madsen wrote:
> > Perhaps beating a dead horse, but I really wish there would be a LyX for
> iPad.
>
> I doubt it's what you're looking for, but note that you can use LyX on
> the cloud. e.g.,
>
>   https://www.rollapp.com/app/lyx


I've tried rollapp, but it says "We're working on bringing rollApp to
Android."


>
> Scott
>


Re: LyX on iPad

2018-11-01 Thread Joel Kulesza
On Nov 1, 2018, at 6:44 PM, Richard Kimberly Heck  wrote:
> 
> On 11/1/18 6:42 PM, Daniel Kian Mc Kiernan (the best Daniel of the
> bunch) wrote:
>> On 11/1/18 12:41 PM, Anders Host-Madsen wrote:
>>> 
>>> Perhaps beating a dead horse, but I really wish there would be a LyX
>>> for iPad. 
>> 
>> I don't think that anyone is opposed to the idea, but it requires
>> developers willing and _able_ to port to the iPad.
>> 
>> I think that your hope would be in finding some programmers already
>> familiar with iOS, and somehow getting them excited about LyX.
>> 
>> At one point, I wanted to create a couple of apps for Android.  I've
>> taught Java programming for a university; but, when I saw how much I
>> would have to invest in learning the peculiarities of the Android
>> interface, I lost nearly all of my interest in the two projects.  I
>> assume that the demands of programming for iOS are similar.
> 
> 
> No doubt. A slightly different possibility would be (a) find a developer
> who'd be willing to commit to doing the work for X dollars, and then (b)
> crowdfund the effort. We have had success with this before. I think
> spellcheck-on-the-fly was done this way. I could be wrong, but SOMETHING
> was done that way.


It seems that spellcheck-on-the-fly and change tracking were done this way.

https://www.lyx.org/Donate

- Joel


Re: LyX on iPad

2018-11-01 Thread Scott Kostyshak
On Thu, Nov 01, 2018 at 07:41:00PM +, Anders Host-Madsen wrote:
> Perhaps beating a dead horse, but I really wish there would be a LyX for iPad.

I doubt it's what you're looking for, but note that you can use LyX on
the cloud. e.g., 

  https://www.rollapp.com/app/lyx

Scott


signature.asc
Description: PGP signature


Re: LyX on iPad

2018-11-01 Thread Richard Kimberly Heck
On 11/1/18 6:42 PM, Daniel Kian Mc Kiernan (the best Daniel of the
bunch) wrote:
> On 11/1/18 12:41 PM, Anders Host-Madsen wrote:
>>
>> Perhaps beating a dead horse, but I really wish there would be a LyX
>> for iPad. 
>
> I don't think that anyone is opposed to the idea, but it requires
> developers willing and _able_ to port to the iPad.
>
> I think that your hope would be in finding some programmers already
> familiar with iOS, and somehow getting them excited about LyX.
>
> At one point, I wanted to create a couple of apps for Android.  I've
> taught Java programming for a university; but, when I saw how much I
> would have to invest in learning the peculiarities of the Android
> interface, I lost nearly all of my interest in the two projects.  I
> assume that the demands of programming for iOS are similar.


No doubt. A slightly different possibility would be (a) find a developer
who'd be willing to commit to doing the work for X dollars, and then (b)
crowdfund the effort. We have had success with this before. I think
spellcheck-on-the-fly was done this way. I could be wrong, but SOMETHING
was done that way.

Riki




Re: 答复: 答复: Conflict between module and cls

2018-11-01 Thread Richard Kimberly Heck

Can you send me, privately (not to the list), the paper that's causing
the problem? I will fix this for you.

Riki



On 11/1/18 5:58 PM, Ke-Cai Cao wrote:
> Thanks a lot.
> I have done as you said. But it is the same error. Do i need to change
> the cls file ?
> Layout file has been attached.
> Sorry to disturbe you again.
> Best,
> KC Cao
>
> On Thu, Nov 1, 2018 at 1:56 PM Richard Kimberly Heck  > wrote:
>
> On 11/1/18 1:07 PM, caoke...@gmail.com 
> wrote:
>>
>> 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.
>>
>
> Yes, that is the offending code, since it imports the theorem
> environment. But that's not what I said to do. You need to do the
> following:
>
> (1) Stop using the theorems module.
>
> (2) Instead of using the theorems module, copy all the code from
> theorems-std.inc, theorems-proof.inc, and theorems-proof-std.inc
> (the theorems module just imports these) over to your layout file
> for mcauth. BUT, when you do that, comment out sections that look
> like this:
>
>     Preamble
>     \theoremstyle{plain}
>     \newtheorem{thm}{\protect\theoremname}
>     EndPreamble
>     LangPreamble
>     \providecommand{\theoremname}{_(Theorem)}
>     EndLangPreamble
>     BabelPreamble
>    
> \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
>     EndBabelPreamble
>
> Better to comment them out. Then, if you happen to have used some
> type of theorem environment that is not already defined in mcauth,
> you can uncomment that one.
>
> Note that you should only copy the stuff AFTER the format tag.
>
> Riki
>
>
>>  
>>
>> 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
>>

Re: LyX on iPad

2018-11-01 Thread Daniel Kian Mc Kiernan (the best Daniel of the bunch)

On 11/1/18 12:41 PM, Anders Host-Madsen wrote:


Perhaps beating a dead horse, but I really wish there would be a LyX 
for iPad. 


I don't think that anyone is opposed to the idea, but it requires 
developers willing and _able_ to port to the iPad.


I think that your hope would be in finding some programmers already 
familiar with iOS, and somehow getting them excited about LyX.


At one point, I wanted to create a couple of apps for Android.  I've 
taught Java programming for a university; but, when I saw how much I 
would have to invest in learning the peculiarities of the Android 
interface, I lost nearly all of my interest in the two projects.  I 
assume that the demands of programming for iOS are similar.


Re: 答复: 答复: Conflict between module and cls

2018-11-01 Thread Ke-Cai Cao
Thanks a lot.
I have done as you said. But it is the same error. Do i need to change the
cls file ?
Layout file has been attached.
Sorry to disturbe you again.
Best,
KC Cao

On Thu, Nov 1, 2018 at 1:56 PM Richard Kimberly Heck 
wrote:

> On 11/1/18 1:07 PM, caoke...@gmail.com wrote:
>
> 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.
>
>
> Yes, that is the offending code, since it imports the theorem environment.
> But that's not what I said to do. You need to do the following:
>
> (1) Stop using the theorems module.
>
> (2) Instead of using the theorems module, copy all the code from
> theorems-std.inc, theorems-proof.inc, and theorems-proof-std.inc (the
> theorems module just imports these) over to your layout file for mcauth.
> BUT, when you do that, comment out sections that look like this:
>
> Preamble
> \theoremstyle{plain}
> \newtheorem{thm}{\protect\theoremname}
> EndPreamble
> LangPreamble
> \providecommand{\theoremname}{_(Theorem)}
> EndLangPreamble
> BabelPreamble
>
> \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
> EndBabelPreamble
>
> Better to comment them out. Then, if you happen to have used some type of
> theorem environment that is not already defined in mcauth, you can
> uncomment that one.
>
> Note that you should only copy the stuff AFTER the format tag.
> Riki
>
>
>
>
> 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 
> 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
>
>
>
>
>
>
>
>
>


rncauth_revise.layout
Description: Binary data


Re: No screen font smoothing in a Parallels VM

2018-11-01 Thread Jean-Marc Lasgouttes
Le 1 novembre 2018 20:04:44 GMT+00:00, Chris Menzel  a 
écrit :
>Problem solved! I upgraded to KDE Plasma version 5.14.2 (via the
>backports
>PPA) and LyX 2.3.1 and that solved the problem. (Not sure if either of
>itself would have done the job.) Thanks again to the LyX (and KDE)
>developers.

Normally it is LyX 2.3.1  which did the trick.

JMarc


Re: No screen font smoothing in a Parallels VM

2018-11-01 Thread Chris Menzel
Problem solved! I upgraded to KDE Plasma version 5.14.2 (via the backports
PPA) and LyX 2.3.1 and that solved the problem. (Not sure if either of
itself would have done the job.) Thanks again to the LyX (and KDE)
developers.

Chris Menzel


On Thu, Nov 1, 2018 at 12:07 PM Chris Menzel  wrote:

> Dear Lyx folk,
>
> I've just installed Parallels on my iMac in part because LyX runs so well
> under Linux and Parallels creates very robust virtual machines (indeed,
> some things in Linux (like trackpad gestures) work *better* in a Parallels
> VM). LyX looks fantastic running natively on my (hi-res) iMac (the current
> problems with boldface notwithstanding) and running natively on my
> Dell laptop under Linux. But for some reason, when I run it under Linux in
> a Parallels VM on my iMac, I'm not getting any font smoothing; screen fonts
> are jaggy and pixelated. All other Linux apps looks great in the VM,
> including those using the same screen font. I've attached a couple of
> screensgrabs to illustrate the problem, one showing the lack of font
> smoothing in LyX and another showing how the same font looks in all other
> Linux apps. Is this a known issue? And, if so, is there a fix? I haven't
> turned up anything after a lot of googling.
>
> Thanks for any ideas here.
>
> Chris Menzel
>


LyX on iPad

2018-11-01 Thread Anders Host-Madsen
Perhaps beating a dead horse, but I really wish there would be a LyX for iPad. 
Apple more and more positions the iPad as a computer replacement. And recent 
developments has made that come closer for me. Latex is there, Keynote now can 
do latex, and Pythonista can do (basic) Python. The only thing preventing me 
from just bringing my iPad when I travel is the lack of LyX.

Re: 答复: 答复: Conflict between module and cls

2018-11-01 Thread Richard Kimberly Heck
On 11/1/18 1:07 PM, caoke...@gmail.com wrote:
>
> 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.
>

Yes, that is the offending code, since it imports the theorem
environment. But that's not what I said to do. You need to do the following:

(1) Stop using the theorems module.

(2) Instead of using the theorems module, copy all the code from
theorems-std.inc, theorems-proof.inc, and theorems-proof-std.inc (the
theorems module just imports these) over to your layout file for mcauth.
BUT, when you do that, comment out sections that look like this:

    Preamble
    \theoremstyle{plain}
    \newtheorem{thm}{\protect\theoremname}
    EndPreamble
    LangPreamble
    \providecommand{\theoremname}{_(Theorem)}
    EndLangPreamble
    BabelPreamble
   
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
    EndBabelPreamble

Better to comment them out. Then, if you happen to have used some type
of theorem environment that is not already defined in mcauth, you can
uncomment that one.

Note that you should only copy the stuff AFTER the format tag.

Riki


>  
>
> 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
>
>  
>
>  
>
>  
>



Re: Most efficient way to import wide, long table

2018-11-01 Thread Paul A. Rubin

On 10/30/18 11:50 AM, Rich Shepard wrote:

I have an 82-line text file which has 5 columns separated by pipes. '|',
and a wide column with location names. Text file format examples:

 10775    | Santiam R. at Jefferson 
Bridge  | 1979-11-06 | 2011-01-06 |    67
 10386    | Middle Fork Willamette R. at asper 
Bridge   | 1979-11-06 | 2011-01-05 |    66
 29043    | Willamette R. at Willamette Park boat 
ramp/Corvallis    | 2002-10-02 | 2011-01-06 |    60
 26339    | Willamette R. upstream of Newberg Bridge at Rogers 
Landing  | 2002-10-01 | 2011-01-13 |    59
 10344    | Willamette R. at Wheatland 
Ferry    | 1980-02-07 | 2011-01-10 |    58
 29044    | Willamette R. at Greenway bike 
bridge/Eugene    | 2002-10-02 | 2011-01-04 |    52
 10379    | Coast Fork Willamette R. at Hwy 
58  | 1979-11-06 | 2011-01-05 |    50
 10821    | Willamette R. at St. Johns 
Bridge   | 2004-08-04 | 2011-01-11 |    48
 10355    | Willamette R. at Hwy 99E 
(Harrisburg)   | 1980-02-06 | 2011-01-04 |    46
 31731    | Willamette R. at Wallace Marine Park boat 
ramp  | 2005-05-31 | 2011-01-10 |    44
 27986    | Middle Fork Willamette R above Hills Crk at USGS Gage 
14144800  | 2002-10-03 | 2011-01-05 |    44


(N.B. Line length is 110 characters so it likely will be wrapped at
different lengths, depending on which MUA you use.)

  In LyX this will be a long table in landscape orientation among 
pages in

portrait orientation.

  What is the most efficient procedure to import this to a 5-column, 
83-row
table? And, can I define the table size without dragging the table 
icon off

the bottom of the monitor?

TIA,

Rich
With apologies to Groucho Marx, I'll answer the second question first: 
Insert > Table gives you a dialog where you can type in the dimensions.


As to the import part, I don't know if this is most efficient, but I 
would do the following:


1. Open the text file in a text editor.
2. Globally replace | with \t (tab character).
3. Select all and copy to the clipboard.
4. Put the cursor in the first cell of the LyX table and do Edit >
   Paste Special Selection.

Paul




答复: 答复: 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

 

 

 



Re: 答复: Conflict between module and cls

2018-11-01 Thread Richard Kimberly Heck
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

 

 



Re: Conflict between module and cls

2018-11-01 Thread Richard Kimberly Heck
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
>
>