-
Recent Posts
Recent Comments
- 店小二 on 论三座大山
- L on SVI模型拟合
- acnkid on 俄乌战争的回顾及其他
- acnkid on 外卖小哥的收入以及其他
- acnkid on 外卖小哥的收入以及其他
Archives
- June 2024
- April 2024
- January 2024
- October 2023
- September 2023
- August 2023
- June 2023
- May 2023
- February 2023
- January 2023
- October 2022
- September 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- December 2021
- October 2021
- September 2021
- August 2021
- June 2021
- May 2021
- April 2021
- January 2021
- December 2020
- September 2020
- August 2020
- May 2020
- April 2020
- May 2019
- March 2019
- February 2019
- January 2019
- September 2018
- July 2018
- May 2018
- April 2018
- December 2017
- November 2017
- August 2017
- July 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- September 2016
- August 2016
- July 2016
- June 2016
- March 2016
- January 2016
- October 2015
- July 2015
- May 2015
- November 2014
- August 2014
- July 2014
- March 2014
- February 2014
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- March 2013
- January 2013
- December 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- June 2010
- May 2010
- October 2009
- July 2009
- May 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- April 2008
- November 2007
- April 2007
Categories
Meta
Tag Archives: wordpress
试用jetpack的latex支持功能
因为在博客里面写公式,如果用mathtype写好,然后插入图片,我觉得麻烦,而且windows live writer排版和word不一样,不是完全的所见所得。最近得知wordpress出了官方latex支持插件,肯定要尝试一下。 功能试用没有问题,也简单介绍一下这个东西,做一点微不足道的普及。 1.jetpack是wordpress官方出的插件,有很多类似插件提供latex功能,甚至更好用,而且试用latex需要wordpress帐号,它也提供一堆乱七八糟的功能,比如缩短网址,我不能理解,博客里面还要缩短网址干什么。 2.安装好了之后,经过授权就能试用。在wordpress里面用latex的优点是,我和数学公式打交道的机会不算少,有时候在博客里面写点公式,排版出来比较好看,具体效果见上面几个式子。另外,不支持行间公式,wordpress.com支持amsmath amsfonts amssymb三个包,这个也应该差不多吧 update:这一点我确定了,这个公式的生成是通过把代码传给wordpress网站,然后返回的图片,这样如果wordpress不能访问,可能公式的图片也看不到了,应该不如安装在本机的插件稳定性好,我就将就着用用吧 3.真得会用么,这个,我真的不知道,了解一下,我这水平,也就安心做个知道分子了。
解决wlw写日志不能发布图片
昨天写东西的时候遇到了使用windows live writer写日志,插入图片后,不能发布,说日志页面不支持图片发布。 自己之前用的是emlog,最近才升级到WordPress 3.0,就出现了这个问题。搜索了一下,别人也出现过这个问题,但大多数是因为换了主机,要修改media里面的上传目录的相对路径,改成wp-content/uploads。但是我这个就没有用了,因为自己没有换主机什么的,修改了之后同样不能上传。 根据wlw的提示,弄了下ftp方式上传,貌似速度比较慢,还试了下flickr upload插件,我觉得挺好,不过每一次使用,都会出现一个windows错误,不知道怎么回事,但忽略之,还是能用的。 好了不说闲话,为了解决这个问题,我在WordPress后台上传了一张图片,果然也出现了错误: “large_gizd_1877l200065.jpg” has failed to upload due to an error Unable to create directory /home/vhosts/laofish.6te.net/wp-content/uploads/2010/10. Is its parent directory writable by the server? 发现这个错误之后,我就意识到是自己上传目录的权限不够,因为开始装上WordPress3.0之后,我的目录里面没有uploads文件夹,是我自己创建的,检查发现其权限是755,修改成777之后,后台上床没有问题了,在用windows live writer尝试,同样也成功了。