<?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>sks blog &#187; ソフトウェア</title>
	<atom:link href="http://sks.s201.xrea.com/blog/archives/tag/software/feed" rel="self" type="application/rss+xml" />
	<link>http://sks.s201.xrea.com/blog</link>
	<description>気になったこと、役に立ちそうだなと思ったことなどを公開しています。</description>
	<lastBuildDate>Sun, 19 Apr 2009 06:55:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Emacsのalignが便利</title>
		<link>http://sks.s201.xrea.com/blog/archives/602</link>
		<comments>http://sks.s201.xrea.com/blog/archives/602#comments</comments>
		<pubDate>Wed, 08 Apr 2009 12:50:34 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Verilog]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[小技]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/?p=602</guid>
		<description><![CDATA[Emacsのalignがけっこう便利。桁揃えが簡単になるので、特にコーディングするときに重宝する。例えば次のようなコードがあるとする。

input HCLK; // Clock
output [31:0] HADDR; [...]]]></description>
			<content:encoded><![CDATA[<p>Emacsのalignがけっこう便利。桁揃えが簡単になるので、特にコーディングするときに重宝する。例えば次のようなコードがあるとする。</p>
<pre>
input HCLK; // Clock
output [31:0] HADDR; // Address
output [1:0] HTRANS; // Transfer type
output HWRITE; // Transfer direction
output [2:0] HSIZE; // Transfer size
output [2:0] HBURST; // Burst type
output [31:0] HWDATA; // Write data
input [31:0] HRDATA; // Read data
input HREADY; // Transfer done
</pre>
<p>そして次に示すコマンドを実行してみる。</p>
<pre>
コードをリージョンで選択→M-x align-regexp→Align regexp: \[
コードをリージョンで選択→M-x align-regexp→Align regexp: H
コードをリージョンで選択→M-x align-regexp→Align regexp: //
</pre>
<p>するとコードが次のように桁揃えされる。</p>
<pre>
input         HCLK;   // Clock
output [31:0] HADDR;  // Address
output [1:0]  HTRANS; // Transfer type
output        HWRITE; // Transfer direction
output [2:0]  HSIZE;  // Transfer size
output [2:0]  HBURST; // Burst type
output [31:0] HWDATA; // Write data
input  [31:0] HRDATA; // Read data
input         HREADY; // Transfer done
</pre>
<p>
同じようなことを3回繰り返しているのでちょっと面倒だが、手作業でやるよりはマシだと思う。どこで桁揃えするかを正規表現で指定できるのでかなり応用が利く。場合によっては余計面倒になるかもしれないが…。
</p>
<p>
ちなみに<code>C-u M-x align-regexp</code>でもう少し複雑なことができる。詳細は<a href="http://www.emacswiki.org/emacs/AlignCommands">EmacsWiki: Align Commands</a>を参照。さらに、桁揃えのルールをあらかじめ定義しておくことができるので、これを定義しておけばもっと便利になりそう。</p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/602/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FoxmarksがXmarksに</title>
		<link>http://sks.s201.xrea.com/blog/archives/589</link>
		<comments>http://sks.s201.xrea.com/blog/archives/589#comments</comments>
		<pubDate>Wed, 25 Mar 2009 17:32:34 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[ブックマーク]]></category>
		<category><![CDATA[拡張]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/?p=589</guid>
		<description><![CDATA[Firefoxのブックマークを複数PCで同期できる拡張FoxmarksがXmarksに名称変更してバージョンアップ。で、こんな機能が追加されていた。
Xmarks Features: Suggested Tags
Fir [...]]]></description>
			<content:encoded><![CDATA[<p>Firefoxのブックマークを複数PCで同期できる拡張FoxmarksがXmarksに名称変更してバージョンアップ。で、こんな機能が追加されていた。</p>
<p><a href="https://www.xmarks.com/about/features/suggested_tags">Xmarks Features: Suggested Tags</a></p>
<p>Firefoxでページをブックマークするときにタグの候補を表示してくれる。こういう機能が欲しかった。</p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/589/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3のツールバーボタンのテキストをアイコンの右側に表示する</title>
		<link>http://sks.s201.xrea.com/blog/archives/518</link>
		<comments>http://sks.s201.xrea.com/blog/archives/518#comments</comments>
		<pubDate>Sat, 26 Apr 2008 12:16:06 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[小技]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/?p=518</guid>
		<description><![CDATA[userChrome.cssに以下を追加。

#nav-bar .toolbarbutton-1, #nav-bar .toolbarbutton-menubutton-button
{
    -moz-box-orient: horizontal !important;
}


]]></description>
			<content:encoded><![CDATA[<p>userChrome.cssに以下を追加。</p>
<pre>
#nav-bar .toolbarbutton-1, #nav-bar .toolbarbutton-menubutton-button
{
    -moz-box-orient: horizontal !important;
}
</pre>
<p><img src="/blog/wp-content/minefield_toolbar.png" alt="Minefieldツールバー" width="400" height="200" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/518/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3でファイルダウンロード時の自動ウィルススキャンを無効にする</title>
		<link>http://sks.s201.xrea.com/blog/archives/517</link>
		<comments>http://sks.s201.xrea.com/blog/archives/517#comments</comments>
		<pubDate>Sat, 15 Mar 2008 01:49:59 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[小技]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/archives/517</guid>
		<description><![CDATA[
about:configを開いてbrowser.download.manager.scanWhenDoneをfalseに設定。
]]></description>
			<content:encoded><![CDATA[<p>
about:configを開いて<code>browser.download.manager.scanWhenDone</code>を<code>false</code>に設定。</p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/517/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Firefox 3のGoボタンを常に表示する</title>
		<link>http://sks.s201.xrea.com/blog/archives/516</link>
		<comments>http://sks.s201.xrea.com/blog/archives/516#comments</comments>
		<pubDate>Sun, 02 Mar 2008 14:39:23 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[小技]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/archives/516</guid>
		<description><![CDATA[userChrome.cssに以下を追加。

#go-button
{
    visibility: visible !important;
}

]]></description>
			<content:encoded><![CDATA[<p>userChrome.cssに以下を追加。</p>
<pre>
#go-button
{
    visibility: visible !important;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/516/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefoxのクイック検索バーにボタンを表示する</title>
		<link>http://sks.s201.xrea.com/blog/archives/515</link>
		<comments>http://sks.s201.xrea.com/blog/archives/515#comments</comments>
		<pubDate>Wed, 21 Nov 2007 12:27:30 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[小技]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/archives/515</guid>
		<description><![CDATA[
userChrome.cssに以下のコードを追加することで、Firefoxのクイック検索バーに「次を検索」などのボタンを表示することができます。マウス派の人にとっては便利ですよ。


#FindToolbar > *
 [...]]]></description>
			<content:encoded><![CDATA[<p>
userChrome.cssに以下のコードを追加することで、Firefoxのクイック検索バーに「次を検索」などのボタンを表示することができます。マウス派の人にとっては便利ですよ。
</p>
<pre>
#FindToolbar > *
{
    display: -moz-box;
}
</pre>
<p>
Firefoxの検索ツールバーに関しては<a href="http://www.mozilla-japan.org/access/type-ahead.html">キーボード機能: Find As You Type</a>を参照。ショートカットキーが載っているのでキーボード派の人はこっちの方が便利です。</p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/515/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>foobar2000 Advanced Controls</title>
		<link>http://sks.s201.xrea.com/blog/archives/488</link>
		<comments>http://sks.s201.xrea.com/blog/archives/488#comments</comments>
		<pubDate>Mon, 19 Mar 2007 12:29:31 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[foobar2000]]></category>
		<category><![CDATA[ソフトウェア]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/archives/488</guid>
		<description><![CDATA[
foobar2000のコンポーネントAdvanced Controlsが気になったので紹介。Windowsの通知領域のインジケータ(アイコン)からfoobar2000をコントロールできるようになります。


スクリーン [...]]]></description>
			<content:encoded><![CDATA[<p>
foobar2000のコンポーネント<a href="http://tnetsixenon.xrea.jp/foobar2000/index.php?General#k68c66c4">Advanced Controls</a>が気になったので紹介。Windowsの通知領域のインジケータ(アイコン)からfoobar2000をコントロールできるようになります。
</p>
<p>
スクリーンショットのように非常にコンパクトではありますが、その分操作に難があります。1つのインジケータに複数のボタンを配置したりシークバーやボリュームを操作できたりする点が他のソフトにはないものですね。スキンや曲情報のバルーン表示にも対応。また、Winamp用のプラグインもあるらしいです。
</p>
<p>
ちなみにインジケータ内のボタンやシークバーをどのように実装したのか非常に気になります。ちょっと調べてみた感じではなかなか面倒くさそう。
</p>
<p>
以前紹介した<a href="/blog/archives/412">foobar2000をタスクバーからコントロール</a>も参考にしてください。
</p>
<p>
<img id="image487" src="/blog/wp-content/advanced-controls.png" alt="Advanced Controls" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/488/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefoxのマイクロサマリ(ライブタイトル)関連の拡張</title>
		<link>http://sks.s201.xrea.com/blog/archives/487</link>
		<comments>http://sks.s201.xrea.com/blog/archives/487#comments</comments>
		<pubDate>Thu, 15 Mar 2007 18:02:00 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[拡張]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/archives/486</guid>
		<description><![CDATA[
Firefoxのマイクロサマリ(ライブタイトル)関連の拡張を紹介。


Microsummary Manager
アドオン管理画面と同じようにマイクロサマリジェネレータを管理可能。マイクロサマリジェネレータのアンインス [...]]]></description>
			<content:encoded><![CDATA[<p>
Firefoxのマイクロサマリ(ライブタイトル)関連の拡張を紹介。
</p>
<dl>
<dt><a href="https://addons.mozilla.org/firefox/4248/">Microsummary Manager</a></dt>
<dd>アドオン管理画面と同じようにマイクロサマリジェネレータを管理可能。マイクロサマリジェネレータのアンインストールが簡単にできる。</dd>
<dt><a href="https://addons.mozilla.org/firefox/3741/">Microsummary Generator Builder</a></dt>
<dd>現在開いているページの選択部分を基にマイクロサマリジェネレータを作成できる。簡単にジェネレータの作成、インストールが可能。XMLの編集など細かい設定もできる。</dd>
<dt><a href="https://addons.mozilla.org/firefox/3639/">Microsummary Buddy</a></dt>
<dd>現在開いているページのマイクロサマリジェネレータが提供されているときロケーションバーにアイコンを表示する。ロケーションバーのRSSアイコンと同じようなもの。</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/487/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordで数式の右に番号を挿入する方法</title>
		<link>http://sks.s201.xrea.com/blog/archives/486</link>
		<comments>http://sks.s201.xrea.com/blog/archives/486#comments</comments>
		<pubDate>Tue, 13 Mar 2007 15:11:41 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Word]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[小技]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/archives/485</guid>
		<description><![CDATA[
Wordでは図表番号を挿入するとき番号を選択項目の上に挿入するか下に挿入するか選択することができます。しかし右側に番号を挿入する方法は簡単ではありません。特に数式番号は数式の右側にあるのが普通です。単純に数式の右側にス [...]]]></description>
			<content:encoded><![CDATA[<p>
Wordでは図表番号を挿入するとき番号を選択項目の上に挿入するか下に挿入するか選択することができます。しかし右側に番号を挿入する方法は簡単ではありません。特に数式番号は数式の右側にあるのが普通です。単純に数式の右側にスペースやタブを挿入して調整する方法もありますが、相互参照を行う場合はうまくいきません。
</p>
<p>
ということで数式の右に番号を挿入する方法を探してみたところ、Microsoftのサイトの<a href="http://support.microsoft.com/kb/212381/en">WD2000: How to Insert a Right-Aligned Caption Next to an Equation</a>にありました。4つの方法が紹介されていて方法1は中央揃えタブと右揃えタブを用いる方法で、方法2、3は表を用いてレイアウトする方法です。方法4は方法2、3をマクロで記述したものでした。ちなみに相互参照を行う場合は方法2、3、4を用いる必要があるので注意。
</p>
<p>
ちなみにMathTypeというソフトを使えばこれらのことが簡単にできますよ。有料ソフトですが体験版があるので興味のある方は試してみたらどうですか。TeXを使っている人は問題ないですね。
</p>
<p>
今さら言うのも遅いですが論文などの長い文書をWordで書く場合はスタイル、図表番号、相互参照くらいは使ったほうが便利ですよ。</p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/486/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2005 Service Pack 1 適用済みディスクを作成</title>
		<link>http://sks.s201.xrea.com/blog/archives/485</link>
		<comments>http://sks.s201.xrea.com/blog/archives/485#comments</comments>
		<pubDate>Sun, 11 Mar 2007 15:25:50 +0000</pubDate>
		<dc:creator>shuichi</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[プログラミング]]></category>

		<guid isPermaLink="false">http://sks.s201.xrea.com/blog/archives/484</guid>
		<description><![CDATA[
Visual Studio 2005 Service Pack 1をインストールするためには数GBのハードディスク容量が必要でインストールにかかる時間がパソコンのスペックにもよりますが1時間ほどかかります。OSインスト [...]]]></description>
			<content:encoded><![CDATA[<p>
Visual Studio 2005 Service Pack 1をインストールするためには数GBのハードディスク容量が必要でインストールにかかる時間がパソコンのスペックにもよりますが1時間ほどかかります。OSインストールの次に時間がかかる作業ではないかと。再インストール時の手間を考えてSP1適用済みインストールディスクを作成しておきました。
</p>
<p>
SP1適用作業は<a href="http://blogs.msdn.com/heaths/archive/2006/12/16/slipstreaming-visual-studio-2005-service-pack-1.aspx">Slipstreaming Visual Studio 2005 Service Pack 1</a>の手順どおりに行うことで成功。DVDに記録する場合はボリュームラベルをオリジナルインストールディスクのものと同じにする必要があるので注意。</p>
]]></content:encoded>
			<wfw:commentRss>http://sks.s201.xrea.com/blog/archives/485/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
