<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Trueman&#039;s Space &#124; 真我空间</title>
	<atom:link href="http://truemans.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://truemans.info</link>
	<description>真正的快乐来自内心的安宁, Be a trueman! &#124; 陈列真我的足迹&#124;视觉检测&#124;Matlab&#124;网站建设&#124;个人爱好DIY</description>
	<lastBuildDate>Wed, 07 Dec 2011 10:07:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Windows自动登录+锁屏</title>
		<link>http://truemans.info/2011/12/windows%e8%87%aa%e5%8a%a8%e7%99%bb%e5%bd%95%e9%94%81%e5%b1%8f/</link>
		<comments>http://truemans.info/2011/12/windows%e8%87%aa%e5%8a%a8%e7%99%bb%e5%bd%95%e9%94%81%e5%b1%8f/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 10:07:59 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://truemans.info/?p=1077</guid>
		<description><![CDATA[自动登录+锁屏 这个操作对于广大使用Windows XP/Windows 7的上班族会有点用——上班时候打开电脑，自动登录，系统启动该自动运行的程序，然后自动锁定屏幕，安全又快速——趁这个时候去泡个茶啥的，回来就开工啦！ 首先来看看系统启动自动登录的设置： 按住Win键，再按R键（Win+R），启动“运行”窗口； Windows XP输入“control userpasswords2”（不含引号）回车； Windows 7输入“netplwiz”（不含引号），回车； 于“用户帐户”-“用户”界面中，取消“要使用本机，用户必须输入用户名和密码(E)”复选框； 按“确定”按钮，在弹出的“自动登录”窗口中输入自动登录用的用户名和密码（及确认密码）； 按“确定”按钮以保存设置，自动登录至此设置完成。 然后是自动登录后自动锁定屏幕（XP与Win7基本相同）： 在桌面点击鼠标右键，选择“新建”-“快捷方式”； 在弹出的“创建快捷方式”窗口中的“请键入对象的位置(T)”输入框中输入“%windir%\system32\rundll32.exe user32.dll,LockWorkStation”（不含引号）； 按“下一步”按钮，为此快捷方式起个名字，如“锁屏”； 将此快捷方式拖到（或复制到）“开始”菜单的“启动”中，至此自动锁屏设置完成。 注： 对于Windows 2003/2008应该也是类似操作即可实现效果，但我没有测试过。 在设置自动登录时，请注意“用户名”的设置，有些公司是以完整邮箱名称作为域登录名的。 双击锁屏的快捷方式即可手动锁屏，或按快捷键Win+L也可以锁定屏幕。   手动锁屏 按住win键，即左手ctrl与alt之间的按键，同时点击“L”键。]]></description>
			<content:encoded><![CDATA[<h1>自动登录+锁屏</h1>
<p>这个操作对于广大使用Windows XP/Windows 7的上班族会有点用——上班时候打开电脑，自动登录，系统启动该自动运行的程序，然后自动锁定屏幕，安全又快速——趁这个时候去泡个茶啥的，回来就开工啦！</p>
<p>首先来看看系统启动自动登录的设置：</p>
<div id="content">
<div>
<ol>
<li>按住Win键，再按R键（Win+R），启动“运行”窗口；</li>
<li>Windows XP输入“control userpasswords2”（不含引号）回车；<br />
Windows 7输入“netplwiz”（不含引号），回车；</li>
<li>于“用户帐户”-“用户”界面中，<strong>取消</strong>“要使用本机，用户必须输入用户名和密码(E)”复选框；</li>
<li>按“确定”按钮，在弹出的“自动登录”窗口中输入自动登录用的用户名和密码（及确认密码）；</li>
<li>按“确定”按钮以保存设置，自动登录至此设置完成。</li>
</ol>
</div>
<p>然后是自动登录后自动锁定屏幕（XP与Win7基本相同）：</p>
<ol>
<li>在桌面点击鼠标右键，选择“新建”-“快捷方式”；</li>
<li>在弹出的“创建快捷方式”窗口中的“请键入对象的位置(T)”输入框中输入“%windir%\system32\rundll32.exe user32.dll,LockWorkStation”（不含引号）；</li>
<li>按“下一步”按钮，为此快捷方式起个名字，如“锁屏”；</li>
<li>将此快捷方式拖到（或复制到）“开始”菜单的“启动”中，至此自动锁屏设置完成。</li>
</ol>
<p><em>注：</em></p>
<ol>
<li><em>对于Windows 2003/2008应该也是类似操作即可实现效果，但我没有测试过。</em></li>
<li><em>在设置自动登录时，请注意“用户名”的设置，有些公司是以完整邮箱名称作为域登录名的。</em></li>
<li><em>双击锁屏的快捷方式即可手动锁屏，或按快捷键Win+L也可以锁定屏幕。</em></li>
</ol>
<p><em></em> </p>
<h1>手动锁屏</h1>
<p>按住win键，即左手ctrl与alt之间的按键，同时点击“L”键。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2011/12/windows%e8%87%aa%e5%8a%a8%e7%99%bb%e5%bd%95%e9%94%81%e5%b1%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>双目</title>
		<link>http://truemans.info/2011/04/%e5%8f%8c%e7%9b%ae/</link>
		<comments>http://truemans.info/2011/04/%e5%8f%8c%e7%9b%ae/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 16:36:27 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://truemans.info/2011/04/%e5%8f%8c%e7%9b%ae/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://truemans.info/wp-content/uploads/2011/04/366b5c37e0a0.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="双目" border="0" alt="双目" src="http://truemans.info/wp-content/uploads/2011/04/thumb.png" width="215" height="244" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2011/04/%e5%8f%8c%e7%9b%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>word的mathtype错误</title>
		<link>http://truemans.info/2011/03/word%e7%9a%84mathtype%e9%94%99%e8%af%af/</link>
		<comments>http://truemans.info/2011/03/word%e7%9a%84mathtype%e9%94%99%e8%af%af/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 11:01:11 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[mathtype]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://truemans.info/2011/03/word%e7%9a%84mathtype%e9%94%99%e8%af%af/</guid>
		<description><![CDATA[Q:出现如下错误： (MathType has detected an error inAutoExecCls.Error running cmd=NoDirectCall_Main mod=AutoExecCls in RunMTDLLCommand:’Path’ 方法(‘AddIn’物件)失敗. Please save your document and report this error to Design Science Technical Support.) A:Try the following: Exit all Office programs. Click Start, click Run, type regedit, and then click OK Locate the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data Click Data, and then click Export [...]]]></description>
			<content:encoded><![CDATA[<p>Q:出现如下错误：   <br />(MathType has detected an error inAutoExecCls.Error running cmd=NoDirectCall_Main mod=AutoExecCls in RunMTDLLCommand:’Path’ 方法(‘AddIn’物件)失敗. Please save your document and report this error to Design Science Technical Support.) </p>
<p>A:Try the following:   <br />Exit all Office programs.    <br />Click Start, click Run, type regedit, and then click OK    <br />Locate the following registry subkey:    <br />HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data    <br />Click Data, and then click Export on the File menu . Name the file Wddata.reg, and then save the file to the desktop.    <br />Click Delete on the Edit menu, and then click Yes . Verify the Data folder was in fact deleted.&#160; Exit Registry Editor.    <br />Start Word and check to see if the issue still occurs.</p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2011/03/word%e7%9a%84mathtype%e9%94%99%e8%af%af/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>感光油墨/UV/敏感区域</title>
		<link>http://truemans.info/2011/03/%e6%84%9f%e5%85%89%e6%b2%b9%e5%a2%a8uv%e6%95%8f%e6%84%9f%e5%8c%ba%e5%9f%9f/</link>
		<comments>http://truemans.info/2011/03/%e6%84%9f%e5%85%89%e6%b2%b9%e5%a2%a8uv%e6%95%8f%e6%84%9f%e5%8c%ba%e5%9f%9f/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 13:38:30 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[资料搜集]]></category>

		<guid isPermaLink="false">http://truemans.info/2011/03/%e6%84%9f%e5%85%89%e6%b2%b9%e5%a2%a8uv%e6%95%8f%e6%84%9f%e5%8c%ba%e5%9f%9f/</guid>
		<description><![CDATA[UV是英文Ultraviolet Rays的缩写，即紫外线，紫外线(UV)是肉眼看不见 的，是可见紫色光以外的一段电磁辐射，波长在10－400nm的范围 。 &#160;&#160; UV-A(长波紫外线)，波长在320-400nm之间，这就是感光油墨、感光干膜曝光时所需要的波长了。 感光油墨(光致抗蚀剂)在200-500nm范围内非常敏感。 感光油墨的安全区域在560-700nm,黄色到红色之间。 意思是说，用感光油墨来量产制板是在打着黄色或红色灯泡的环境下作业的，但实际对于我们DIY来说，选择在光线较暗的房间操作就行了，感光是有一个“诱导”过程的，不会像传统的相机胶卷，一见光就不能用了。 nm就是“纳米”的意思 ，是一种度量单位，一纳米为百万分之一毫米，约相当于45个原子串在一起的长度。 很多顾客朋友会问到同一个问题，普通灯管和节能灯不能用吗？ 答案是：不好用，曝光时间长，15分钟以上，有时还曝光不好。日光灯是集中了蓝(452nm)绿(543nm)红(611nm) 三个狭窄光谱组合成的白色光。 －－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－— UV-A(长波紫外线)，320&#8211;400nm可穿过普通玻璃。 因为底部没有加反射罩，所以用两根灯管曝光较为保险点！反射罩可以用薄铁皮弯成U形，把灯管放中间制作而成，PCB板面积小点可以节省一支灯管。 反射罩是将点光源漫射型光转换成平行光！ 简单验证，人民币钞票的防伪字符清晰，主峰365nm。 波长不对有什么后果？？ 穿透性不好，直接影响曝光质量，不能完全引起单体进行光聚合反应，这样在显影的时候就掉线，波长确定好，剩下的就是功率了，功率越大曝光时间就越短了！当然还有其他因素，如专业电子厂家他们会用21级阶梯尺来曝光以确定最佳曝光参数等！但对于我们来说主要确定以上两个因素在应用上已经不成问题了。 杀菌灯属于短波紫外线(UV-C)，波长为200-290nm，所以不适合使用！ 光致抗蚀剂对200 -500nm 波长的紫外光非常敏感。像照相底版胶片，光致抗蚀剂的安全的可见光区域为黄色到红色波长(560 &#8211; 700nm) 之间。如图7-10所示。]]></description>
			<content:encoded><![CDATA[<p>UV是英文Ultraviolet Rays的缩写，即紫外线，紫外线(UV)是肉眼看不见</p>
<p>的，是可见紫色光以外的一段电磁辐射，波长在10－400nm的范围 。</p>
<p>&#160;&#160; UV-A(长波紫外线)，波长在320-400nm之间，这就是感光油墨、感光干膜曝光时所需要的波长了。</p>
<p>感光油墨(光致抗蚀剂)在200-500nm范围内非常敏感。</p>
<p>感光油墨的安全区域在560-700nm,黄色到红色之间。</p>
<p>意思是说，用感光油墨来量产制板是在打着黄色或红色灯泡的环境下作业的，但实际对于我们DIY来说，选择在光线较暗的房间操作就行了，感光是有一个“诱导”过程的，不会像传统的相机胶卷，一见光就不能用了。</p>
<p>nm就是“纳米”的意思 ，是一种度量单位，一纳米为百万分之一毫米，约相当于45个原子串在一起的长度。</p>
<p>很多顾客朋友会问到同一个问题，普通灯管和节能灯不能用吗？</p>
<p>答案是：不好用，曝光时间长，15分钟以上，有时还曝光不好。日光灯是集中了蓝(452nm)绿(543nm)红(611nm) 三个狭窄光谱组合成的白色光。</p>
<p>－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－—</p>
<p>UV-A(长波紫外线)，320&#8211;400nm可穿过普通玻璃。</p>
<p>因为底部没有加反射罩，所以用两根灯管曝光较为保险点！反射罩可以用薄铁皮弯成U形，把灯管放中间制作而成，PCB板面积小点可以节省一支灯管。</p>
<p>反射罩是将点光源漫射型光转换成平行光！</p>
<p>简单验证，人民币钞票的防伪字符清晰，主峰365nm。</p>
<p>波长不对有什么后果？？</p>
<p>穿透性不好，直接影响曝光质量，不能完全引起单体进行光聚合反应，这样在显影的时候就掉线，波长确定好，剩下的就是功率了，功率越大曝光时间就越短了！当然还有其他因素，如专业电子厂家他们会用21级阶梯尺来曝光以确定最佳曝光参数等！但对于我们来说主要确定以上两个因素在应用上已经不成问题了。</p>
<p>杀菌灯属于短波紫外线(UV-C)，波长为200-290nm，所以不适合使用！</p>
<p>光致抗蚀剂对200 -500nm 波长的紫外光非常敏感。像照相底版胶片，光致抗蚀剂的安全的可见光区域为黄色到红色波长(560 &#8211; 700nm) 之间。如图7-10所示。</p>
<p><a href="http://www.pcbres.com/upimg/userup/0809/231Q20N320.jpg"><img height="210" alt="" src="http://www.pcbres.com/upimg/userup/0809/231Q20N320.jpg" width="494" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2011/03/%e6%84%9f%e5%85%89%e6%b2%b9%e5%a2%a8uv%e6%95%8f%e6%84%9f%e5%8c%ba%e5%9f%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>surf线型、颜色的设置方法</title>
		<link>http://truemans.info/2011/03/surf%e7%ba%bf%e5%9e%8b%e3%80%81%e9%a2%9c%e8%89%b2%e7%9a%84%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95/</link>
		<comments>http://truemans.info/2011/03/surf%e7%ba%bf%e5%9e%8b%e3%80%81%e9%a2%9c%e8%89%b2%e7%9a%84%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 02:10:22 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[matlab]]></category>
		<category><![CDATA[surf]]></category>
		<category><![CDATA[修改]]></category>
		<category><![CDATA[属性]]></category>

		<guid isPermaLink="false">http://truemans.info/2011/03/surf%e7%ba%bf%e5%9e%8b%e3%80%81%e9%a2%9c%e8%89%b2%e7%9a%84%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95/</guid>
		<description><![CDATA[surf函数在画数据点比较密集的图像时，往往边缘线占了主要部分。显示的图像往往是黑色的色块，让人无法忍受。 通过两种方法可以对线型或者颜色进行修改。 1、直接修改 surf(t,&#8217;lineStyle&#8217;,'none&#8217;); %无边线 或者 surf(t,&#8217;edgecolor&#8217;,'none&#8217;); %边线无颜色 2、显示后进一步修改属性 h = surf(a); set(h, &#8216;edgecolor&#8217;,'none&#8217;); 不只是surf函数，其他显示函数的属性修改方法完全类似。]]></description>
			<content:encoded><![CDATA[<p>surf函数在画数据点比较密集的图像时，往往边缘线占了主要部分。显示的图像往往是黑色的色块，让人无法忍受。</p>
<p>通过两种方法可以对线型或者颜色进行修改。</p>
<p>1、直接修改</p>
<blockquote><p>surf(t,&#8217;lineStyle&#8217;,'none&#8217;); %无边线</p>
<p>或者</p>
<p>surf(t,&#8217;edgecolor&#8217;,'none&#8217;); %边线无颜色</p>
</blockquote>
<p><font color="#777777">2、显示后进一步修改属性</font></p>
<blockquote><p>h = surf(a); </p>
<p>set(h, &#8216;edgecolor&#8217;,'none&#8217;);</p>
</blockquote>
<p><font color="#777777">不只是surf函数，其他显示函数的属性修改方法完全类似。</font></p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2011/03/surf%e7%ba%bf%e5%9e%8b%e3%80%81%e9%a2%9c%e8%89%b2%e7%9a%84%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox插件开发(1)-万事开头难</title>
		<link>http://truemans.info/2010/12/firefox%e6%8f%92%e4%bb%b6%e5%bc%80%e5%8f%911-%e4%b8%87%e4%ba%8b%e5%bc%80%e5%a4%b4%e9%9a%be/</link>
		<comments>http://truemans.info/2010/12/firefox%e6%8f%92%e4%bb%b6%e5%bc%80%e5%8f%911-%e4%b8%87%e4%ba%8b%e5%bc%80%e5%a4%b4%e9%9a%be/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 15:48:24 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://truemans.info/2010/12/firefox%e6%8f%92%e4%bb%b6%e5%bc%80%e5%8f%911-%e4%b8%87%e4%ba%8b%e5%bc%80%e5%a4%b4%e9%9a%be/</guid>
		<description><![CDATA[介绍建立开发环境，一步步建立第一个例程。 什么是插件？ 心血来潮，像做个firefox的插件开发。 弄了整整一天，终于有了模糊的概念。 firefox扩展应用分：Extension和PlugIn 以我的理解：Extension相当于一个可以执行Javascript的脚本；PlugIn相当于利用firefox的API接口的程序。所以，一个是本体的延伸；另外一个是独立的个体。 这里我是想学习Plugin。因为Javascript不会，感觉PlugIn更强大一些。 开发环境的建立 这里又一次感到了java的强大，好像可以直接使用一个叫netbeans的IDE+编译器+foxbeans插件，直接开始类似MFC的有向导的操作。我绕了个大弯子，才发现C/C++可能不能这么实现。这里也提醒大家一下。 我的目标是建立一个C\C++的集成开发环境。查了一堆资料，大多不靠谱，官方资料当然最可靠，感觉也有错误。下面是两个比较好一点的入门材料。 Compiling The npruntime Sample Plugin in Visual Studio：https://developer.mozilla.org/en/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio Firefox插件开发(5)——编译和测试第一个Plugin例子：npruntime：http://dev.firnow.com/course/3_program/c++/cppjs/20090924/177020.html 最需要阅读的是plugins API和使用入门。这是一个相当长的文档，如果看完所有的内容会花费大量的时间而且还会很晕，这里列一些重点供参考。 从这里http://developer.mozilla.org/en/docs/Gecko_SDK下载正确的版本SDK，并进行安装。说是安装，实际上就是解压缩到一个目录中，将SDK的路径加到环境变量path里面，比如我的路径D:\firefoxPlugin\xulrunner-sdk\bin。注意：为了方便，我们常常用这个目录作为工作目录，建立的位置要注意下。（版本1.9.2不行，缺少头文件，可以用1.9.1） 可以用VC进行开发，版本支持好像挺多的。我用了VC6。其他版本稍有不同，见上边的官方文档。建立一个插件的工程步骤如下： 在VC6中新建一个Win32 Dynamic-Link Library工程，取名“nprt”。注意：建议工程以小写np开头，并且长度不超过8个字符，这样以后就会省事很多。 下一步，选择“An empty DLL project”，然后“Finish”。 打开Project Settings，转到Project Properties&#124;(all configurations)&#124;C++&#124;标签页，进行一些设置： 在 General&#124; Preprocessor Definitions 中最后面添加 ：&#160; ,XP_WIN32,MOZILLA_STRICT_API,XPCOM_GLUE,XP_WIN,_X86_。 在Preprocessor &#124;Additional Include Directories下面添加XULRunner SDK的include路径，可以是绝对路径，也可以是相对路径，看你当初怎么解压的了。例如：(example : C:\xulrunner-sdk\sdk\include) 在Precompiled headers&#124;Create/Use precompiled header中关闭预编译头文件：Not using precompiled headers。 [...]]]></description>
			<content:encoded><![CDATA[<p>介绍建立开发环境，一步步建立第一个例程。</p>
<h2>什么是插件？</h2>
<p>心血来潮，像做个firefox的插件开发。</p>
<p>弄了整整一天，终于有了模糊的概念。</p>
<p>firefox扩展应用分：Extension和PlugIn</p>
<p>以我的理解：Extension相当于一个可以执行Javascript的脚本；PlugIn相当于利用firefox的API接口的程序。所以，一个是本体的延伸；另外一个是独立的个体。</p>
<p>这里我是想学习Plugin。因为Javascript不会，感觉PlugIn更强大一些。</p>
<h2>开发环境的建立</h2>
<p>这里又一次感到了java的强大，好像可以直接使用一个叫netbeans的IDE+编译器+foxbeans插件，直接开始类似MFC的有向导的操作。我绕了个大弯子，才发现C/C++可能不能这么实现。这里也提醒大家一下。</p>
<p>我的目标是建立一个C\C++的集成开发环境。查了一堆资料，大多不靠谱，官方资料当然最可靠，感觉也有错误。下面是两个比较好一点的入门材料。</p>
<ul>
<li>Compiling The npruntime Sample Plugin in Visual Studio：<a title="https://developer.mozilla.org/en/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio" href="https://developer.mozilla.org/en/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio">https://developer.mozilla.org/en/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio</a></li>
<li>Firefox插件开发(5)——编译和测试第一个Plugin例子：npruntime：<a title="http://dev.firnow.com/course/3_program/c++/cppjs/20090924/177020.html" href="http://dev.firnow.com/course/3_program/c++/cppjs/20090924/177020.html">http://dev.firnow.com/course/3_program/c++/cppjs/20090924/177020.html</a></li>
</ul>
<p>最需要阅读的是<a href="https://developer.mozilla.org/en/Gecko_Plugin_API_Reference">plugins API和使用入门</a>。这是一个相当长的文档，如果看完所有的内容会花费大量的时间而且还会很晕，这里列一些重点供参考。</p>
<p>从这里<a href="http://developer.mozilla.org/en/docs/Gecko_SDK">http://developer.mozilla.org/en/docs/Gecko_SDK</a>下载正确的版本SDK，并进行安装。说是安装，实际上就是解压缩到一个目录中，将SDK的路径加到环境变量path里面，比如我的路径D:\firefoxPlugin\xulrunner-sdk\bin。注意：为了方便，我们常常用这个目录作为工作目录，建立的位置要注意下。（版本1.9.2不行，缺少头文件，可以用1.9.1）</p>
<p>可以用VC进行开发，版本支持好像挺多的。我用了VC6。其他版本稍有不同，见上边的官方文档。建立一个插件的工程步骤如下：</p>
<ol>
<li>在VC6中新建一个Win32 Dynamic-Link Library工程，取名“nprt”。注意：建议工程以小写np开头，并且长度不超过8个字符，这样以后就会省事很多。</li>
<li>下一步，选择“An empty DLL project”，然后“Finish”。</li>
<li>打开Project Settings，转到<strong>Project Properties|(all configurations)|C++|</strong>标签页，进行一些设置：</li>
</ol>
<ul>
<li>在<strong> <strong>General</strong>| Preprocessor Definitions </strong>中最后面添加 ：&#160; <strong>,XP_WIN32,MOZILLA_STRICT_API,XPCOM_GLUE,XP_WIN,_X86_</strong>。</li>
<li>在<strong>Preprocessor |Additional Include Directories</strong>下面添加<strong>XULRunner SDK</strong>的<strong>include</strong>路径，可以是绝对路径，也可以是相对路径，看你当初怎么解压的了。例如：(example : C:\xulrunner-sdk\sdk\include) </li>
<li>在<strong>Precompiled headers|Create/Use precompiled header</strong>中关闭预编译头文件：<strong>Not using precompiled headers。</strong></li>
</ul>
<p>OK，关闭Project Settings对话框。到此，设置完毕。</p>
<h2>从例程开始</h2>
<p>下载地址：<a href="http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/npruntime/">http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/npruntime/</a></p>
<p>下载方式：试了下SVN下不了，只能手动了，点击到项目中的每个文件，页面右上方出现一个方框，里面有CVS Log，CVS Blame，CVS Graph，Diff file，Raw file。选择Raw file然后另存为。</p>
<p>文件加到工程中编译。</p>
<p>OK！</p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2010/12/firefox%e6%8f%92%e4%bb%b6%e5%bc%80%e5%8f%911-%e4%b8%87%e4%ba%8b%e5%bc%80%e5%a4%b4%e9%9a%be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VC6.0无法打开文件和无法向工程添加文件的解决办法</title>
		<link>http://truemans.info/2010/12/vc6-0%e6%97%a0%e6%b3%95%e6%89%93%e5%bc%80%e6%96%87%e4%bb%b6%e5%92%8c%e6%97%a0%e6%b3%95%e5%90%91%e5%b7%a5%e7%a8%8b%e6%b7%bb%e5%8a%a0%e6%96%87%e4%bb%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95/</link>
		<comments>http://truemans.info/2010/12/vc6-0%e6%97%a0%e6%b3%95%e6%89%93%e5%bc%80%e6%96%87%e4%bb%b6%e5%92%8c%e6%97%a0%e6%b3%95%e5%90%91%e5%b7%a5%e7%a8%8b%e6%b7%bb%e5%8a%a0%e6%96%87%e4%bb%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 08:53:58 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://truemans.info/2010/12/vc6-0%e6%97%a0%e6%b3%95%e6%89%93%e5%bc%80%e6%96%87%e4%bb%b6%e5%92%8c%e6%97%a0%e6%b3%95%e5%90%91%e5%b7%a5%e7%a8%8b%e6%b7%bb%e5%8a%a0%e6%96%87%e4%bb%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95/</guid>
		<description><![CDATA[如果机子上装了Visio2007，在VC6.0中的“FileView”右键点“add files to folder”或者在Project菜单点Add to project &#8211;Files或打开文件都会报出异常 或 点了一点反应都没有。 2种解决方案： 1． 卸掉Visio2007或Office2007即可； 2． 去微软那下个FileTool的dll，作为插件添加进VC，然后删除原来VC自己的打开文件和添加文件到工程（http://support.microsoft.com/kb/241396/zh-cn） 微软支持网站提供了解决方案 1、在下面的网站下载FileTool.exehttp://support.microsoft.com/kb/241396/en-us 2、FileTool.exe是个自解压文件，执行它，解压到某个目录下 3、解压后的文件是一个VC工程，在VC6中编译它 4、把编译生成的动态连接库文件FileTool.dll拷贝到C:\program files\Microsoft Visual Studio\Common\MSDev98\AddIns 5、重新启动VC6，工具-&#62;定制-&#62;附加项和宏文件选中FileTool Developer Studio Addin，关闭对话框 6、现在工具栏会出现两个新按钮以后用这两个按钮执行添加和打开文件就可以了。 重新打开VC6，工具栏里面出现了这个可笑的图标。]]></description>
			<content:encoded><![CDATA[<p>如果机子上装了Visio2007，在VC6.0中的“FileView”右键点“add files to folder”或者在Project菜单点Add to project &#8211;Files或打开文件都会报出异常 或 点了一点反应都没有。</p>
<h2>2种解决方案：</h2>
<p>1． 卸掉Visio2007或Office2007即可；</p>
<p>2． 去微软那下个FileTool的dll，作为插件添加进VC，然后删除原来VC自己的打开文件和添加文件到工程（<a>http://support.microsoft.com/kb/241396/zh-cn</a>）</p>
<p>微软支持网站提供了解决方案</p>
<p>1、在下面的网站下载FileTool.exehttp://support.microsoft.com/kb/241396/en-us</p>
<p>2、FileTool.exe是个自解压文件，执行它，解压到某个目录下</p>
<p>3、解压后的文件是一个VC工程，在VC6中编译它</p>
<p>4、把编译生成的动态连接库文件FileTool.dll拷贝到C:\program files\Microsoft Visual Studio\Common\MSDev98\AddIns</p>
<p>5、重新启动VC6，工具-&gt;定制-&gt;附加项和宏文件选中FileTool Developer Studio Addin，关闭对话框</p>
<p>6、现在工具栏会出现两个新按钮以后用这两个按钮执行添加和打开文件就可以了。</p>
<p>重新打开VC6，工具栏里面出现了这个可笑的图标。</p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2010/12/vc6-0%e6%97%a0%e6%b3%95%e6%89%93%e5%bc%80%e6%96%87%e4%bb%b6%e5%92%8c%e6%97%a0%e6%b3%95%e5%90%91%e5%b7%a5%e7%a8%8b%e6%b7%bb%e5%8a%a0%e6%96%87%e4%bb%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>最小二乘法拟合圆公式推导</title>
		<link>http://truemans.info/2010/12/%e6%9c%80%e5%b0%8f%e4%ba%8c%e4%b9%98%e6%b3%95%e6%8b%9f%e5%90%88%e5%9c%86%e5%85%ac%e5%bc%8f%e6%8e%a8%e5%af%bc/</link>
		<comments>http://truemans.info/2010/12/%e6%9c%80%e5%b0%8f%e4%ba%8c%e4%b9%98%e6%b3%95%e6%8b%9f%e5%90%88%e5%9c%86%e5%85%ac%e5%bc%8f%e6%8e%a8%e5%af%bc/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 14:21:16 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[机器视觉]]></category>

		<guid isPermaLink="false">http://truemans.info/2010/12/%e6%9c%80%e5%b0%8f%e4%ba%8c%e4%b9%98%e6%b3%95%e6%8b%9f%e5%90%88%e5%9c%86%e5%85%ac%e5%bc%8f%e6%8e%a8%e5%af%bc/</guid>
		<description><![CDATA[最小二乘法(least squares analysis)是一种 数学 优化 技术，它通过 最小化 误差 的平方和找到一组数据的最佳 函数 匹配。 最小二乘法是用最简的方法求得一些绝对不可知的真值，而令误差平方之和为最小。 最小二乘法通常用于 曲线拟合 (least squares fitting) 。这里有 拟合圆曲线 的公式推导过程 和 vc实现。 VC实现的代码： void CViewActionImageTool::LeastSquaresFitting() { if (m_nNum&#60;3) { return; &#160;&#160;&#160; } int i=0; double X1=0; double Y1=0; double X2=0; double Y2=0; double X3=0; double Y3=0; double X1Y1=0; double X1Y2=0; double X2Y1=0; for (i=0;i&#60;m_nNum;i++) { [...]]]></description>
			<content:encoded><![CDATA[<p>最小二乘法(least squares analysis)是一种 数学 优化 技术，它通过 最小化 误差 的平方和找到一组数据的最佳 函数 匹配。 最小二乘法是用最简的方法求得一些绝对不可知的真值，而令误差平方之和为最小。 最小二乘法通常用于 曲线拟合 (least squares fitting) 。这里有 拟合圆曲线 的公式推导过程 和 vc实现。   <br /><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image001.jpg"><img title="clip_image001" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="413" alt="clip_image001" src="http://truemans.info/wp-content/uploads/2010/12/clip_image001_thumb.jpg" width="417" border="0" /></a>    <br /><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image002.jpg"><img title="clip_image002" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="532" alt="clip_image002" src="http://truemans.info/wp-content/uploads/2010/12/clip_image002_thumb.jpg" width="465" border="0" /></a>    <br /><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image0031.jpg"><img title="clip_image003" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="311" alt="clip_image003" src="http://truemans.info/wp-content/uploads/2010/12/clip_image003_thumb1.jpg" width="422" border="0" /></a>    <br /><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image0041.jpg"><img title="clip_image004" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="411" alt="clip_image004" src="http://truemans.info/wp-content/uploads/2010/12/clip_image004_thumb1.jpg" width="422" border="0" /></a>    <br /><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image005.jpg"><img title="clip_image005" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="525" alt="clip_image005" src="http://truemans.info/wp-content/uploads/2010/12/clip_image005_thumb.jpg" width="358" border="0" /></a></p>
<p>VC实现的代码：</p>
<p><img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />void CViewActionImageTool::LeastSquaresFitting()    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align="top" /><img src="http://www.cnblogs.com/Images/dot.gif" />{    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> if (m_nNum&lt;3)    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> <img src="http://www.cnblogs.com/Images/dot.gif" />{    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> return;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />&#160;&#160;&#160; }    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> int i=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double X1=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double Y1=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double X2=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double Y2=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double X3=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double Y3=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double X1Y1=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double X1Y2=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double X2Y1=0;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> for (i=0;i&lt;m_nNum;i++)    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> <img src="http://www.cnblogs.com/Images/dot.gif" />{    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; X1 = X1 + m_points[i].x;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Y1 = Y1 + m_points[i].y;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; X2 = X2 + m_points[i].x*m_points[i].x;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Y2 = Y2 + m_points[i].y*m_points[i].y;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; X3 = X3 + m_points[i].x*m_points[i].x*m_points[i].x;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Y3 = Y3 + m_points[i].y*m_points[i].y*m_points[i].y;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; X1Y1 = X1Y1 + m_points[i].x*m_points[i].y;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; X1Y2 = X1Y2 + m_points[i].x*m_points[i].y*m_points[i].y;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160;&#160;&#160;&#160;&#160; X2Y1 = X2Y1 + m_points[i].x*m_points[i].x*m_points[i].y;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />&#160;&#160;&#160; }    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double C,D,E,G,H,N;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double a,b,c;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; N = m_nNum;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; C = N*X2 &#8211; X1*X1;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; D = N*X1Y1 &#8211; X1*Y1;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; E = N*X3 + N*X1Y2 &#8211; (X2+Y2)*X1;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; G = N*Y2 &#8211; Y1*Y1;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; H = N*X2Y1 + N*Y3 &#8211; (X2+Y2)*Y1;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; a = (H*D-E*G)/(C*G-D*D);    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; b = (H*C-E*D)/(D*D-G*C);    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; c = -(a*X1 + b*Y1 + X2 + Y2)/N;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> double A,B,R;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; A = a/(-2);    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; B = b/(-2);    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; R = sqrt(a*a+b*b-4*c)/2;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; m_fCenterX = A;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; m_fCenterY = B;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />&#160;&#160;&#160; m_fRadius = R;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" />    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align="top" /> return;    <br /><img src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2010/12/%e6%9c%80%e5%b0%8f%e4%ba%8c%e4%b9%98%e6%b3%95%e6%8b%9f%e5%90%88%e5%9c%86%e5%85%ac%e5%bc%8f%e6%8e%a8%e5%af%bc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>不一样的火车</title>
		<link>http://truemans.info/2010/12/%e4%b8%8d%e4%b8%80%e6%a0%b7%e7%9a%84%e7%81%ab%e8%bd%a6/</link>
		<comments>http://truemans.info/2010/12/%e4%b8%8d%e4%b8%80%e6%a0%b7%e7%9a%84%e7%81%ab%e8%bd%a6/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 04:31:24 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[资料搜集]]></category>
		<category><![CDATA[火车]]></category>

		<guid isPermaLink="false">http://truemans.info/2010/12/%e4%b8%8d%e4%b8%80%e6%a0%b7%e7%9a%84%e7%81%ab%e8%bd%a6/</guid>
		<description><![CDATA[铁路齐柏林号后视图，可以清楚地看到车辆后部的两叶螺旋桨。 飞机火车“铁路齐柏林号”(英文：Rail zeppelin)(德文：Schienenzeppelin)，是德国人在1931年制造的试作型火车，它将当时的飞机、飞艇、火车的特点集于一身。图为行进中的“铁路齐柏林号”。 “铁路齐柏林号”在1931年5月10日进行了首次试验行驶，当时时速就超过200公里。在1931年6月21日的一次试验中，它又创造出每小时230.2公里的世界火车速度新纪录。之后的24年内，没有任何其他火车超过该纪录。此图为1931年6月21日创造纪录时的“铁路齐柏林号”。 1934年7月，铁路齐柏林号被卖给德国帝国铁路局，由于德国扩充军备的关系，它在1939年被拆卸，其材料则被纳粹德军再利用。 此图为Märklin公司仿制的“铁路齐柏林号”模型。 老毛子的家伙：喷气式火车]]></description>
			<content:encoded><![CDATA[<p>铁路齐柏林号后视图，可以清楚地看到车辆后部的两叶螺旋桨。</p>
<p><a href="http://truemans.info/wp-content/uploads/2010/12/1.jpg"><img title="1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="180" alt="1" src="http://truemans.info/wp-content/uploads/2010/12/1_thumb.jpg" width="244" border="0" /></a> </p>
<p>飞机火车“铁路齐柏林号”(英文：Rail zeppelin)(德文：Schienenzeppelin)，是德国人在1931年制造的试作型火车，它将当时的飞机、飞艇、火车的特点集于一身。图为行进中的“铁路齐柏林号”。</p>
<p><a href="http://truemans.info/wp-content/uploads/2010/12/2.jpg"><img title="2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="153" alt="2" src="http://truemans.info/wp-content/uploads/2010/12/2_thumb.jpg" width="244" border="0" /></a> </p>
<p>“铁路齐柏林号”在1931年5月10日进行了首次试验行驶，当时时速就超过200公里。在1931年6月21日的一次试验中，它又创造出每小时230.2公里的世界火车速度新纪录。之后的24年内，没有任何其他火车超过该纪录。此图为1931年6月21日创造纪录时的“铁路齐柏林号”。</p>
<p><a href="http://truemans.info/wp-content/uploads/2010/12/33.jpg"><img title="33" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="244" alt="33" src="http://truemans.info/wp-content/uploads/2010/12/33_thumb.jpg" width="178" border="0" /></a> </p>
<p>1934年7月，铁路齐柏林号被卖给德国帝国铁路局，由于德国扩充军备的关系，它在1939年被拆卸，其材料则被纳粹德军再利用。 此图为Märklin公司仿制的“铁路齐柏林号”模型。</p>
<p><a href="http://truemans.info/wp-content/uploads/2010/12/44.jpg"><img title="44" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="185" alt="44" src="http://truemans.info/wp-content/uploads/2010/12/44_thumb.jpg" width="244" border="0" /></a> </p>
<p>老毛子的家伙：喷气式火车</p>
<p><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image0025.gif"><img title="clip_image002[5]" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="32" alt="clip_image002[5]" src="http://truemans.info/wp-content/uploads/2010/12/clip_image0025_thumb.gif" width="32" border="0" /></a><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image003.jpg"><img title="clip_image003" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="179" alt="clip_image003" src="http://truemans.info/wp-content/uploads/2010/12/clip_image003_thumb.jpg" width="244" border="0" /></a>    <br /><a href="http://truemans.info/wp-content/uploads/2010/12/clip_image004.jpg"><img title="clip_image004" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="243" alt="clip_image004" src="http://truemans.info/wp-content/uploads/2010/12/clip_image004_thumb.jpg" width="244" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2010/12/%e4%b8%8d%e4%b8%80%e6%a0%b7%e7%9a%84%e7%81%ab%e8%bd%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mathtype中批量修改公式的字体和大小</title>
		<link>http://truemans.info/2010/11/mathtype%e4%b8%ad%e6%89%b9%e9%87%8f%e4%bf%ae%e6%94%b9%e5%85%ac%e5%bc%8f%e7%9a%84%e5%ad%97%e4%bd%93%e5%92%8c%e5%a4%a7%e5%b0%8f/</link>
		<comments>http://truemans.info/2010/11/mathtype%e4%b8%ad%e6%89%b9%e9%87%8f%e4%bf%ae%e6%94%b9%e5%85%ac%e5%bc%8f%e7%9a%84%e5%ad%97%e4%bd%93%e5%92%8c%e5%a4%a7%e5%b0%8f/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 14:36:39 +0000</pubDate>
		<dc:creator>trueman</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://truemans.info/2010/11/mathtype%e4%b8%ad%e6%89%b9%e9%87%8f%e4%bf%ae%e6%94%b9%e5%85%ac%e5%bc%8f%e7%9a%84%e5%ad%97%e4%bd%93%e5%92%8c%e5%a4%a7%e5%b0%8f/</guid>
		<description><![CDATA[论文中，由于排版要求往往需要修改公式的大小，一个一个修改不仅费时费力还容易使word产生非法操作。 解决办法，批量修改，方法如下： 双击一个公式，打开mathtype，进入编辑状态，点击【尺寸】——【定义】，打开“定义尺寸”对话框，在“完全”中设定 全部字号对应的pt(磅)值，一般五号对应10.5pt，小四对应12pt。其他可以自己按照具体要求自行调节。其他默认大小设置不推荐改动。 然后点击【参数】preference-&#62;【公式参数】equation preference -&#62; 【保存到文件】save to file -&#62;存一个与默认配置文件不同的名字，然后关闭mathtype回到word文档。 点击word2007界面上的“加载项”选项卡，最左侧就有MathType下拉菜单，右侧自定义工具栏有MathTypem的常用快捷工具栏。点MathType下拉菜单 -&#62;【format equation】 -&#62; 在弹出的“Format Equation”对话框中，选MathType Preferrence File，点Browse按钮，找到刚才存的配置文件，选中whole document选项，确定，就安心等着公式一个个改过来吧。 注：我使用的是word2007和MathType6.0，没有问题。]]></description>
			<content:encoded><![CDATA[<p>论文中，由于排版要求往往需要修改公式的大小，一个一个修改不仅费时费力还容易使word产生非法操作。 </p>
<p>解决办法，批量修改，方法如下： 双击一个公式，打开mathtype，进入编辑状态，点击【尺寸】——【定义】，打开“定义尺寸”对话框，在“完全”中设定 全部字号对应的pt(磅)值，一般五号对应10.5pt，小四对应12pt。其他可以自己按照具体要求自行调节。其他默认大小设置不推荐改动。 然后点击【参数】preference-&gt;【公式参数】equation preference -&gt; 【保存到文件】save to file -&gt;存一个与默认配置文件不同的名字，然后关闭mathtype回到word文档。</p>
<p>点击word2007界面上的“加载项”选项卡，最左侧就有MathType下拉菜单，右侧自定义工具栏有MathTypem的常用快捷工具栏。点MathType下拉菜单 -&gt;【format equation】 -&gt; 在弹出的“Format Equation”对话框中，选MathType Preferrence File，点Browse按钮，找到刚才存的配置文件，选中whole document选项，确定，就安心等着公式一个个改过来吧。 注：我使用的是word2007和MathType6.0，没有问题。 </p>
]]></content:encoded>
			<wfw:commentRss>http://truemans.info/2010/11/mathtype%e4%b8%ad%e6%89%b9%e9%87%8f%e4%bf%ae%e6%94%b9%e5%85%ac%e5%bc%8f%e7%9a%84%e5%ad%97%e4%bd%93%e5%92%8c%e5%a4%a7%e5%b0%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

