-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add missing lyxblogger.py and do with style tag in img(as to lyXHTML) #3
base: master
Are you sure you want to change the base?
Conversation
In additon, fix bug when upload images:if you resize the image in Lyx, then lyXHML will generate image tag as <img style="xxx%;" src="..."/>,so we should stipe style when upload the generated html content
@@ -0,0 +1,919 @@ | |||
#! /usr/bin/env python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
INSTALL/lyxblogger.py is a generated file. Can you say why you are adding it to source control?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run: python setup.py install, it said:
running install
running build
running build_py
file lyxblogger.py (for module lyxblogger) not found
So I put lyxblogger.py to INSTALL directory, any problem?
src/LyxBlog/term.py
Outdated
# GNU/Linux, Mac, and unidentified OS's call xterm | ||
return('xterm -T "LyXBlogger" -fg gold -bg black -fn 10x20 -e python %s %s %s ') | ||
# GNU/Linux, Mac, and unidentified OS's call rxvt | ||
return('rxvt -T "LyXBlogger" -fg gold -bg black -fn 10x20 -e python %s %s %s ') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am running a flavor of ubuntu, and I notice that rxvt is not installed on my machine by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I'm sorry, maybe rxvt is not the default terminal of ubuntu.
But, the old xterm is really not friendly to Chinese like characters, and rxvt is better. How to resolve this situation? maybe an install option to setup terminal type?
This reverts commit 7b98f5a.
In additon, fix bug when upload images:if you resize the image in Lyx, then lyXHML will generate
image tag as ,so we should stipe style when upload the generated
html content