Re: lyxHTML format problem

2017-01-20 Thread Richard Heck
On 01/20/2017 05:33 AM, subaochen wrote:
> yes, I guess the problem is just LyX's(version2.2.2) LyXHTML export.

I have just downloaded your file test.lyx and run it through the 2.2.0
export
and the 2.2.3dev export (current stable branch). Here's the diff:

/home/rgheck/> diff -u test20.xhtml test22.xhtml  
--- test20.xhtml2017-01-20 11:10:00.701373061 -0500
+++ test22.xhtml2017-01-20 11:02:12.417334595 -0500
@@ -2,7 +2,7 @@
http://www.w3.org/Math
/DTD/mathml2/xhtml-math11-f.dtd">
http://www.w3.org/1999/xhtml;>

-
+

test post with lyx 2.2.0

@@ -20,7 +20,7 @@
 


-
+
test post with lyx 2.2.0
first line,first line

Is something in your lyxblogger script sensitive to this change?

Richard



> 发自我的小米手机
> 在 Scott Kostyshak ,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.xhtml.
> >
> >
> > How to  reproduce the problem:
> > 1, install lyxblogger from:
> https://github.com/jackdesert/lyxblogger, very easy, just go to
> INSTALL directory and run: python setup.py 
> install . If any problem , you can also checkout from
> https://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
> >- host: lyxtest.cloudaccess.host
> > 4 visit http://lyxtest.cloudaccess.host to see how the new post
> appears.
> > 5, install lyx 2.2.0, generate test.xhtml from test.lyx again.
> > 6 run python -m lyxblogger test.xhtml and post the test.xhtml to
> test site as a new post.
> > 7 visit  http://lyxtest.cloudaccess.host again to see how the
> new post appears, especially difference between lyx 2.2.2 and lyx
> 2.2.0.
> >
> >
> > My test result:
> > http://lyxtest.cloudaccess.host/?p=5 is the post by lyx 2.2.0,
> and  http://lyxtest.cloudaccess.host/?p=11  is the post by lyx 2.2.2.
>
> Thanks for these detailed instructions. Can you reduce the problem to
> just LyX's LyXHTML export? I guess we could look at the differences
> between 2.2.0 and 2.2.2 and go from there.
>
> Scott
> [attachment]
>
> signature.asc
> download: http://u.163.com/t0/ie65xSEfC1k
>
> preview: http://u.163.com/t0/z71fqwyDKF
>
>



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 ,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.xhtml.
> 
> 
> How to  reproduce the problem:
> 1, install lyxblogger from: https://github.com/jackdesert/lyxblogger, very easy, just go to INSTALL directory and run: python setup.py install . If any problem , you can also checkout from https://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
>    - host: lyxtest.cloudaccess.host
> 4 visit http://lyxtest.cloudaccess.host to see how the new post appears.
> 5, install lyx 2.2.0, generate test.xhtml from test.lyx again.
> 6 run python -m lyxblogger test.xhtml and post the test.xhtml to test site as a new post.
> 7 visit  http://lyxtest.cloudaccess.host again to see how the new post appears, especially difference between lyx 2.2.2 and lyx 2.2.0.
> 
> 
> My test result:
> http://lyxtest.cloudaccess.host/?p=5 is the post by lyx 2.2.0, and  http://lyxtest.cloudaccess.host/?p=11  is the post by lyx 2.2.2.

Thanks for these detailed instructions. Can you reduce the problem to
just LyX's LyXHTML export? I guess we could look at the differences
between 2.2.0 and 2.2.2 and go from there.

Scott
[attachment]
signature.asc
download: http://u.163.com/t0/ie65xSEfC1k
preview: http://u.163.com/t0/z71fqwyDKF




Re: Re: lyxHTML format problem

2017-01-19 Thread Scott Kostyshak
On Thu, Jan 19, 2017 at 05:39:10PM +0800, subaochen wrote:
> Hi,
> 
> 
> The mini example is test.lyx, and lyxhtml file is test.xhtml.
> 
> 
> How to  reproduce the problem:
> 1, install lyxblogger from: https://github.com/jackdesert/lyxblogger, very 
> easy, just go to INSTALL directory and run: python setup.py install . If any 
> problem , you can also checkout from https://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
>- host: lyxtest.cloudaccess.host
> 4 visit http://lyxtest.cloudaccess.host to see how the new post appears.
> 5, install lyx 2.2.0, generate test.xhtml from test.lyx again.
> 6 run python -m lyxblogger test.xhtml and post the test.xhtml to test site as 
> a new post.
> 7 visit  http://lyxtest.cloudaccess.host again to see how the new post 
> appears, especially difference between lyx 2.2.2 and lyx 2.2.0.
> 
> 
> My test result:
> http://lyxtest.cloudaccess.host/?p=5 is the post by lyx 2.2.0, and  
> http://lyxtest.cloudaccess.host/?p=11  is the post by lyx 2.2.2.

Thanks for these detailed instructions. Can you reduce the problem to
just LyX's LyXHTML export? I guess we could look at the differences
between 2.2.0 and 2.2.2 and go from there.

Scott


signature.asc
Description: PGP signature


Re:Re: lyxHTML format problem

2017-01-19 Thread subaochen
Thanks first!

I have tried eLyXer just a few minutes ago, it works!


At 2017-01-19 17:16:27, "Dr Eberhard Lisse"  wrote:
>In the meantime,
>
>have you tried to export via eLyXer, which is also supported by
>LyXBlogger? That's an external tool so 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 generate html file for wordpress, but after
>>> upgraded lyx to 2.2.2, generated html file has a large white space
>>> between blog title and content, please refer to the attachment.
>>>
>>>
>>> I have tried lyx 2.2.0 with lyxblogger, the format of generated html
>>> file is ok, so I guest something changed with lyx 2.2.2? perhaps
>>> generated lyxhtml format changed?
>>>
>>>
>>> I have tried to view the page source and find that entry-content.p
>>> style is wrong, please refer to the attachement, or visit:
>http://dz.sdut.edu.cn/blog/subaochen/2017/01/linux-bluetooth-management/
>>> |  |
>>> | |  |
>>> | | >> "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd;> |
>>> | | http://www.w3.org/1999/xhtml;> |
>>> | |  |
>>> | |  |
>>> | | >> /> |
>>> | | linux下管理蓝牙设备 |
>>>  
>>>
>>>
>>> thanks for any help or hints!
>>>
>>>
>>> --
>>> Best regards,
>>>
>>>  Su Baochen
>> 
>> Dear Su Baochen,
>> 
>> Thank you for this report! For this report and reports like this
>> in the future, can you please send a minimal example .lyx file
>> that reproduces the problem? For more information, please see:
>> https://wiki.lyx.org/FAQ/MinimalExample
>>
>> Best,
>> 
>> Scott
>> 
>
>


Re:Re: lyxHTML format problem

2017-01-19 Thread subaochen
Hi,


The mini example is test.lyx, and lyxhtml file is test.xhtml.


How to  reproduce the problem:
1, install lyxblogger from: https://github.com/jackdesert/lyxblogger, very 
easy, just go to INSTALL directory and run: python setup.py install . If any 
problem , you can also checkout from https://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
   - host: lyxtest.cloudaccess.host
4 visit http://lyxtest.cloudaccess.host to see how the new post appears.
5, install lyx 2.2.0, generate test.xhtml from test.lyx again.
6 run python -m lyxblogger test.xhtml and post the test.xhtml to test site as a 
new post.
7 visit  http://lyxtest.cloudaccess.host again to see how the new post appears, 
especially difference between lyx 2.2.2 and lyx 2.2.0.


My test result:
http://lyxtest.cloudaccess.host/?p=5 is the post by lyx 2.2.0, and  
http://lyxtest.cloudaccess.host/?p=11  is the post by lyx 2.2.2.




--
Best regards,
Su Baochen

---
我的知识库:http://softlab.sdut.edu.cn

我的博客:http://dz.sdut.edu.cn/blog/subaochen
我的微信:baochensu




At 2017-01-19 01:24:52, "Scott Kostyshak"  wrote:
>On Wed, Jan 18, 2017 at 11:08:51PM +0800, subaochen wrote:
>> hi,
>> 
>> 
>> I use lyxblogger to generate html file for wordpress, but after upgraded lyx 
>> to 2.2.2,  generated html file has a large white space between blog title 
>> and content, please refer to the attachment.
>> 
>> 
>> I have tried lyx 2.2.0 with lyxblogger, the format of generated html file is 
>> ok, so I guest something changed with lyx 2.2.2? perhaps generated lyxhtml 
>> format changed? 
>> 
>> 
>> I have tried to view the page source and find that entry-content.p style is 
>> wrong, please refer to the attachement, or visit: 
>> http://dz.sdut.edu.cn/blog/subaochen/2017/01/linux-bluetooth-management/
>> |  |
>> | |  |
>> | | > "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd;> |
>> | | http://www.w3.org/1999/xhtml;> |
>> | |  |
>> | |  |
>> | | > /> |
>> | | linux下管理蓝牙设备 |
>>  
>> 
>> 
>> thanks for any help or hints!
>> 
>> 
>> --
>> Best regards,
>> 
>>  Su Baochen
>
>Dear Su Baochen,
>
>Thank you for this report! For this report and reports like this in the
>future, can you please send a minimal example .lyx file that reproduces
>the problem? For more information, please see:
>https://wiki.lyx.org/FAQ/MinimalExample
>
>Best,
>
>Scott


test.lyx
Description: Binary data


Re: lyxHTML format problem

2017-01-19 Thread Dr Eberhard Lisse
In the meantime,

have you tried to export via eLyXer, which is also supported by
LyXBlogger? That's an external tool so 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 generate html file for wordpress, but after
>> upgraded lyx to 2.2.2, generated html file has a large white space
>> between blog title and content, please refer to the attachment.
>>
>>
>> I have tried lyx 2.2.0 with lyxblogger, the format of generated html
>> file is ok, so I guest something changed with lyx 2.2.2? perhaps
>> generated lyxhtml format changed?
>>
>>
>> I have tried to view the page source and find that entry-content.p
>> style is wrong, please refer to the attachement, or visit:
http://dz.sdut.edu.cn/blog/subaochen/2017/01/linux-bluetooth-management/
>> |  |
>> | |  |
>> | | > "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd;> |
>> | | http://www.w3.org/1999/xhtml;> |
>> | |  |
>> | |  |
>> | | > /> |
>> | | linux下管理蓝牙设备 |
>>  
>>
>>
>> thanks for any help or hints!
>>
>>
>> --
>> Best regards,
>>
>>  Su Baochen
> 
> Dear Su Baochen,
> 
> Thank you for this report! For this report and reports like this
> in the future, can you please send a minimal example .lyx file
> that reproduces the problem? For more information, please see:
> https://wiki.lyx.org/FAQ/MinimalExample
>
> Best,
> 
> Scott
> 




Re: lyxHTML format problem

2017-01-18 Thread Scott Kostyshak
On Wed, Jan 18, 2017 at 11:08:51PM +0800, subaochen wrote:
> hi,
> 
> 
> I use lyxblogger to generate html file for wordpress, but after upgraded lyx 
> to 2.2.2,  generated html file has a large white space between blog title and 
> content, please refer to the attachment.
> 
> 
> I have tried lyx 2.2.0 with lyxblogger, the format of generated html file is 
> ok, so I guest something changed with lyx 2.2.2? perhaps generated lyxhtml 
> format changed? 
> 
> 
> I have tried to view the page source and find that entry-content.p style is 
> wrong, please refer to the attachement, or visit: 
> http://dz.sdut.edu.cn/blog/subaochen/2017/01/linux-bluetooth-management/
> |  |
> | |  |
> | |  "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd;> |
> | | http://www.w3.org/1999/xhtml;> |
> | |  |
> | |  |
> | |  /> |
> | | linux下管理蓝牙设备 |
>  
> 
> 
> thanks for any help or hints!
> 
> 
> --
> Best regards,
> 
>  Su Baochen

Dear Su Baochen,

Thank you for this report! For this report and reports like this in the
future, can you please send a minimal example .lyx file that reproduces
the problem? For more information, please see:
https://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


signature.asc
Description: PGP signature