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.xhtml        2017-01-20 11:10:00.701373061 -0500
+++ test22.xhtml        2017-01-20 11:02:12.417334595 -0500
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/Math
/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
-<meta name="GENERATOR" content="LyX 2.2.0" />
+<meta name="GENERATOR" content="LyX 2.2.3dev" />
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<title>test post with lyx 2.2.0</title>
<style type='text/css'>
@@ -20,7 +20,7 @@
 
</style>
</head>
-<body>
+<body dir="auto">
<h1 class="title"><a id='magicparlabel-1' />test post with lyx 2.2.0</h1>
<div class="standard"><a id='magicparlabel-2' />first line,first line</div>

Is something in your lyxblogger script sensitive to this change?

Richard



> 发自我的小米手机
> 在 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.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 <http://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
>
>

Reply via email to