content in inset problem

2016-02-20 Thread subaochen
hi all, I followed http://tex.stackexchange.com/questions/54754/mdframed-digressionarrows-style-with-custom-header and the solution works well in latex(see attchmentment for latex test file)。But when I try to convert the tex file to a lyx module, see attachment:mynote.module, the content

lyxtype and Format version

2016-02-21 Thread subaochen
hi all, I have a very simple character style module as below: Format 7 InsetLayout CharStyle:Function LyxType charstyle LabelString function LatexType command LatexName function Font FamilySans EndFont Preamble \newcommand*{\function}[1]{{\texttt #1}}

Re:Re: lyxtype and Format version

2016-02-21 Thread subaochen
Thanks PhilipPirrip! Your method just works like a charm:-) PS,Local Layout is really a good design! A real good start to develop lyx module! At 2016-02-22 00:41:25, "PhilipPirrip" <p...@net.hr> wrote: >On 02/21/2016 11:05 AM, subaochen wrote: >> InsetLayo

how to reconfigure the style of on page ?

2017-02-19 Thread subaochen
hi, I want to redefine the cite style of " on page " to " on page", but how? Any help is very appreciated! Thanks in advance! -- Best regards, Baochen Su

Re:Re: how to reconfigure the style of on page ?

2017-02-20 Thread subaochen
Hi Richard, I've read the manual of varioref package and added the line to preamble, it works! \renewcommand\reftextfaraway[1]{on {#1} page} Thanks again! At 2017-02-20 08:37:36, "Richard Heck" <rgh...@lyx.org> wrote: On 02/19/2017 03:50 AM, subaochen wrote: hi, I

Re:Re: lyxHTML format problem

2017-01-19 Thread subaochen
://github.com/subaochen/lyxblogger, maybe I have corrected the missing file problem. 2, install lyx 2.2.2, and run: python -m lyxblogger test.xhtml 3, in the next xterm window, fill below information( the host is just for lyx test, so feel free to ): - username: lyxtestc - password: 12345678

Re:Re: lyxHTML format problem

2017-01-19 Thread subaochen
o it would probably not have >changed, and can help you until the next version comes out. > >el > >On 2017-01-18 19:24, Scott Kostyshak wrote: >> On Wed, Jan 18, 2017 at 11:08:51PM +0800, subaochen wrote: >>> hi, >>> >>> >>> I use lyxblogger to gener

Re: Re: lyxHTML format problem

2017-01-20 Thread subaochen
yes, I guess the problem is just LyX's(version2.2.2) LyXHTML export. 发自我的小米手机在 Scott Kostyshak <skost...@lyx.org>,2017年1月19日 23:50写道:On Thu, Jan 19, 2017 at 05:39:10PM +0800, subaochen wrote: > Hi, > > > The mini example is test.lyx, and lyxhtml file is test.xht

how to itemize exercises?

2016-10-29 Thread subaochen
hi all, I want to use Theorems module to itemize excercises, please refer to attachment for a test file. But when preview with pdf file, the exercises are not itemized, just the first exercise have the prefix number, I don't know what I'm missing. Thanks in advance for any help! -- Best

Re:Re: how to itemize exercises?

2016-10-30 Thread subaochen
I also got a tricky method: Alt+P can seperate the two theorem items, borrowed from beamer:-) -- Best regards, 宿宝臣 --- 我的知识库:http://softlab.sdut.edu.cn 我的博客:http://dz.sdut.edu.cn/blog/subaochen 我的微信:baochensu At 2016-10-30 11:23:21

Re:Re: reorder beamer slides?

2016-10-13 Thread subaochen
Hi Paul, Thanks very much for you quick response! It just works like a charm:-), so powerful lyx! At 2016-10-14 11:17:29, "Paul A. Rubin" <parubi...@gmail.com> wrote: On 10/13/2016 09:39 PM, subaochen wrote: Is there any way to reorder the slides(or in beamer: frame) of

reorder beamer slides?

2016-10-13 Thread subaochen
Hi all, Is there any way to reorder the slides(or in beamer: frame) of beamer ? My only way is copy and paste, sounds tedious:-) Thanks in advance! -- Best regards, Su Baochen

Re:Re: is Lyx support multiple cpus?

2017-03-19 Thread subaochen
eshooters.com> wrote: >On Fri, 17 Mar 2017 09:21:27 +0800 (CST) >subaochen <subaoc...@126.com> wrote: > >> It seems that Lyx only run upon one cpu or one thread, compiling a >> large document(more than 300 pages) may take more than 1 minute on my >> machine(8G ram

is Lyx support multiple cpus?

2017-03-17 Thread subaochen
It seems that Lyx only run upon one cpu or one thread, compiling a large document(more than 300 pages) may take more than 1 minute on my machine(8G ram and AMD 8130). Is it possible to enable multiple thread with lyx? Thanks in advance! -- Best regards, Baochen Su

HTMLLabel of flex inset

2017-03-15 Thread subaochen
hi, I have a custom flex inset (please check attachment: not-inset.module), but when export a lyx file to xhtml by "File->export->LyxHTML" (please check test.lyx), the exported xhtml file don't contain the htmllabel of flex inset. that is, I want the exported file just like: NOTE a note

Re:Re: is Lyx support multiple cpus?

2017-03-17 Thread subaochen
Thanks Scott! I know the reason now, maybe I need to get a more power CPU, or cut the long article into pieces to preview:-) -- Best regards, 宿宝臣 --- 我的知识库:http://softlab.sdut.edu.cn 我的博客:http://dz.sdut.edu.cn/blog/subaochen 我的微信

missing marginnote module in version 2.2.3?

2017-06-12 Thread subaochen
hi, I can not find the marginnote module in version 2.2.3, missing or depreciated? Thanks in advance! -- Best regards, Su Baochen

Re:Re: how to input Chinese in ERT?

2017-06-23 Thread subaochen
Ubuntu 16.04. I don't know how about windows? At 2017-06-24 03:46:29, "Cris Fuhrman" <fuhrmana...@gmail.com> wrote: Hello Su Baochen, What operating system are you running? I think the answer will depend on that. Cheers, C. Fuhrman On Fri, Jun 23, 2017 at 6:34 AM, s

Re:Re: how to input Chinese in ERT?

2017-06-25 Thread subaochen
At 2017-06-25 05:28:42, "Kornel Benko" <kor...@lyx.org> wrote: >Am Samstag, 24. Juni 2017 um 20:56:21, schrieb Guenter Milde ><mi...@users.sf.net> >> On 2017-06-24, subaochen wrote: >> >> > I can not input any Chinese in ERT, but can copy fro

how to input Chinese in ERT?

2017-06-23 Thread subaochen
://soft.sdut.edu.cn/blog/subaochen wechat:baochensu

minipage preview of linewidth in edit mode

2017-05-26 Thread subaochen
hi, With LyX 2.2.3,it seemed that minipage can not show the correct alignment in edit mode. For example, there are two minipage, one is 30% linewidth, one is 70% linewidth, then in edit mode, the two minipages are seperated into two line( should be in one line). Generated PDF file is ok. If

Re:Re: minipage preview of linewidth in edit mode

2017-05-27 Thread subaochen
, where the 4.3% of space go? At 2017-05-28 01:07:56, "Scott Kostyshak" <skost...@lyx.org> wrote: >On Sat, May 27, 2017 at 10:07:15AM +0800, subaochen wrote: >> hi, >> >> >> With LyX 2.2.3,it seemed that minipage can not show the correct alignment i

floatrow and longtable in LyX

2017-05-27 Thread subaochen
hi all, Longtable in LyX is centered default, and floatrow package also centered table default, but according to https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable , when using floatrow and longtable together, longtable should be declared:

how to input both h-factor and v-factor in graphicboxes ?

2017-05-28 Thread subaochen
hi, I noticed that lyx 2.2 have a new module: GraphicBoxes to sacle or rotate the character box, thanks! But, how can I input both H-Factor and V-Factor, for example, I want to: \scalebox{2}[1]{ABC} \scalebox{1}[2]{ABC} Everytime I input H-Factor and then swith to V-Factor, the H-Factor

Re:Re: how to input both h-factor and v-factor in graphicboxes ?

2017-05-28 Thread subaochen
At 2017-05-28 17:11:38, "Kornel Benko" <kor...@lyx.org> wrote: >Am Sonntag, 28. Mai 2017 um 16:47:58, schrieb subaochen <subaoc...@126.com> >> hi, >> >> >> I noticed that lyx 2.2 have a new module: GraphicBoxes to sacle or rotate >> the ch

Re:Re: how to input both h-factor and v-factor in graphicboxes ?

2017-05-28 Thread subaochen
Thanks Paul ! I have got it:-) 在 2017-05-28 21:04:57,"Paul A. Rubin" <parubi...@gmail.com> 写道: On 05/28/2017 04:47 AM, subaochen wrote: hi, I noticed that lyx 2.2 have a new module: GraphicBoxes to sacle or rotate the character box, thanks! But, how can I input both H-Fac

small patch for zh_CN translation

2017-05-28 Thread subaochen
hi, The attachment is small path for zh_CN translation, just correct few wrong or unclear translations. Will translate more if I got more time, and any guide to edit po file? Thanks! -- Best regards, Su Baochen zh_CN.po.patch Description: Binary data

Re:Help improve LyX's defaults by sharing your preferences

2017-06-02 Thread subaochen
The attachment is mine, on Ubuntu 16.04, almost the default settings. At 2017-06-02 04:07:18, "Scott Kostyshak" wrote: >Dear all, > >There are many different preferences that the user can customize. It is >difficult to think about what is the best default preferences for the

Re:Re: floatrow and longtable in LyX

2017-06-04 Thread subaochen
intenionally omit [c] setting? At 2017-06-05 09:13:54, "Scott Kostyshak" <skost...@lyx.org> wrote: >On Sun, May 28, 2017 at 10:12:39AM +0800, subaochen wrote: >> hi all, >> >> >> Longtable in LyX is centered default, and floatrow pack

Re:Re: Re: indent after description list?

2018-10-16 Thread subaochen
Yes, it works just like a charm:-) Thanks very much! At 2018-10-16 16:05:57, "Ricardo Berlasso" wrote: El mar., 16 oct. 2018 a las 9:49, subaochen () escribió: Sorry, I have forgotten to set language to English, now the attached file sample.lyx maybe a minimal example? This i

Re:Re: indent after description list?

2018-10-16 Thread subaochen
tional files (for Chinese characters I suppose) which >were not present on my machine, so I could not try. > >Is this an issue on screen or in the PDF, or both? > >el > >On 16/10/2018 05:34, subaochen wrote: >> hi all, >> >> please refer to sample.lyx in the

indent after description list?

2018-10-15 Thread subaochen
hi all, please refer to sample.lyx in the attachment, I want an indentation to the paragraph just after the description list, but how? I have tried "Alt+P+Return" but failed, any suggestions? Thanks in advance! -- Best regards, Su Baochen sample.lyx Description: Binary data