以前libreoffice (3.3.2) を導入したが、なぜか日本語入力ができない。
半角/全角を押しても日本語が入力できないのでちょっと困っていた。
悪い癖だが、google先生に聞いてみると、どうやら
/opt/libreoffice/basis-link/ure-link/lib/libstdc++.so.6
がだめらしい。
とりあえず応急処置として、libstdc++.so.6 をlibstdc++.so.6_orgとして読みにいかないようにしておいた。
そうするととりあえず日本語入力は簡単にできるようになった。
また問題があれば考えよう...。
さらに投稿していた論文のレフェリーレポートが帰ってきた。
あまり良い評価ではないらしく、掲載には否定的な感じだった。
どうしたもんかな~。
2011-06-01
2011-05-22
62びぼーろく;BWV207a 響け、はれやかなラッパよ (Auf, schmetternde Tone der muntern Trompeten)
最近、世俗カンタータとかたまに聞いているけど、そうすると楽譜を眺めてみたくなる。
IMSLPにあるかなと思って見てみたけど、なし。
それでしばらくさまよってみたら、http://www.kantate.info/ に全部(旧版だけど)あった。
すごい。この努力には感服しました。
これからスコアが必要になればこのページへ行こう。
(5/27 追記:カンタータの題が間違っていたので訂正しました。)
IMSLPにあるかなと思って見てみたけど、なし。
それでしばらくさまよってみたら、http://www.kantate.info/ に全部(旧版だけど)あった。
すごい。この努力には感服しました。
これからスコアが必要になればこのページへ行こう。
(5/27 追記:カンタータの題が間違っていたので訂正しました。)
2011-05-21
61びぼーろく;libreofficeをインストール
しました。
今使っているのはdebian squeezeだけど、将来的にopenofficeは使わず、代わりにlibreofficeを使うことになるそうだ。なので、libreofficeをインストールすることにした。
ところが、backportsにはlibreofficeは入っていないみたい。(wheezyにはあるみたいだけど...。)
なので、libreofficeのHPからダウンロードし、インストールすることにした。
まず本家HPのダウンロードページから、以下のファイルをダウンロードする。
LibO_3.3.2_Linux_x86-64_install-deb_en-US.tar.gz (本体)
LibO_3.3.2_Linux_x86-64_langpack-deb_ja.tar.gz (日本語化に必要なファイル?)
LibO_3.3.2_Linux_x86-64_helppack-deb_ja.tar.gz 16 MB (ヘルプファイルの日本語版?)
それぞれ展開するとそれぞれのディレクトリに多くのファイルが展開されるのでdpkgですべてインストールする。
これで終了。
今使っているのはdebian squeezeだけど、将来的にopenofficeは使わず、代わりにlibreofficeを使うことになるそうだ。なので、libreofficeをインストールすることにした。
ところが、backportsにはlibreofficeは入っていないみたい。(wheezyにはあるみたいだけど...。)
なので、libreofficeのHPからダウンロードし、インストールすることにした。
まず本家HPのダウンロードページから、以下のファイルをダウンロードする。
LibO_3.3.2_Linux_x86-64_install-deb_en-US.tar.gz (本体)
LibO_3.3.2_Linux_x86-64_langpack-deb_ja.tar.gz (日本語化に必要なファイル?)
LibO_3.3.2_Linux_x86-64_helppack-deb_ja.tar.gz 16 MB (ヘルプファイルの日本語版?)
それぞれ展開するとそれぞれのディレクトリに多くのファイルが展開されるのでdpkgですべてインストールする。
これで終了。
2011-05-20
60びぼーろく;予算が通る
以前出した予算の申請が通った。
どうせあたらんだろうと思って出していたのでちょっとうれしい。
半面、予算が通ったからには実際にやらないとまずい。報告書も出さないといけないし。
どうしたもんかな...。
どうせあたらんだろうと思って出していたのでちょっとうれしい。
半面、予算が通ったからには実際にやらないとまずい。報告書も出さないといけないし。
どうしたもんかな...。
2011-05-14
59びぼーろく;夏
このところ豪雨がすごい。豪雨が過ぎ去った後は気温が下がって過ごしやすくなった。
かえるの鳴き声もすごい。もうすっかり夏だなぁ...。
ところでGWは特に何もなく過ごす。母親が退職したのでそのお祝いをしたぐらい。研究は...進まず。
相変わらずだな。加えて、(最近忙しすぎて)何にもできない自分がいる。
モード関数が求まらん。どうやるんだろ。
かえるの鳴き声もすごい。もうすっかり夏だなぁ...。
ところでGWは特に何もなく過ごす。母親が退職したのでそのお祝いをしたぐらい。研究は...進まず。
相変わらずだな。加えて、(最近忙しすぎて)何にもできない自分がいる。
モード関数が求まらん。どうやるんだろ。
2011-04-18
58びぼーろく; latex2html !!
昨日の晩2時に旧友から電話。ついつい楽しくて長電話してしまい、結局4時ぐらいまで電話していた。眠い。
最近、HPの更新はlatex2htmlを使っている。
講義ノートの訂正も書けるので(数式はpngで出力)、便利。
そもそも、講義ノートを間違えるな、という話なんだが...。
という訳で今日のびぼーろくはlatex2htmlについて。
まずlatex2htmlをインストールする。
ホームディレクトリに.latex2html_initを作成。
最後に
#Additional Parts
$LATEX = 'platex';
$DVIPS = 'pdvips';
$charset= 'euc-jp';
を加える。
数式は常にコンバートしてもらうことにする。
latex2html -reuse 0 hogehoge.tex
でいいが、面倒なので.latex2html_initに書いておく。
$REUSE = 0;
念のためコピーをここに置いておこう。大半は呪文だな。
中身についてはそのうち勉強しよう。
------------------------------------------------------------------------
#LaTeX2HTML Version 96.1 : dot.latex2html-init
#
### Command Line Argument Defaults #######################################
$MAX_SPLIT_DEPTH = 8; # Stop making separate files at this depth
$MAX_LINK_DEPTH = 4; # Stop showing child nodes at this depth
$NOLATEX = 0; # 1 = do not pass unknown environments to Latex
$EXTERNAL_IMAGES = 0; # 1 = leave the images outside the document
$ASCII_MODE = 0; # 1 = do not use any icons or internal images
# 1 = use links to external postscript images rather than inlined bitmap
# images.
$PS_IMAGES = 0;
$TITLE = $default_title; # The default is "No Title"
$DESTDIR = ''; # Put the result in this directory
# When this is set, the generated HTML files will be placed in the
# current directory. If set to 0 the default behaviour is to create (or reuse)
# another file directory.
$NO_SUBDIR = 0;
# Supply your own string if you don't like the default
$ADDRESS = "$address_data[0]
\n$address_data[1]";
\n$address_data[1]";
$NO_NAVIGATION = 0; # 1 = do not put a navigation panel at the top of each page
# Put navigation links at the top of each page. If the page exceeds
# $WORDS_IN_PAGE number of words then put one at the bottom of the page.
$AUTO_NAVIGATION = 1;
# Put a link to the index page in the navigation panel
$INDEX_IN_NAVIGATION = 0;
# Put a link to the table of contents in the navigation panel
$CONTENTS_IN_NAVIGATION = 1;
# Put a link to the next logical page in the navigation panel
$NEXT_PAGE_IN_NAVIGATION = 1;
# Put a link to the previous logical page in the navigation panel
$PREVIOUS_PAGE_IN_NAVIGATION = 0;
$INFO = 0; # 0 = do not make a "About this document..." section
# Reuse images generated during previous runs
$REUSE = 0;
# When this is 1, the section numbers are shown. The section numbers should
# then match those that would have bee produced by LaTeX.
# The correct section numbers are obtained from the $FILE.aux file generated
# by LaTeX.
# Hiding the seciton numbers encourages use of particular sections
# as standalone documents. In this case the cross reference to a section
# is shown using the default symbol rather than the section number.
$SHOW_SECTION_NUMBERS = 0;
### Other global variables ###############################################
$CHILDLINE = "
\n";
\n";
# This is the line width measured in pixels and it is used to right justify
# equations and equation arrays;
$LINE_WIDTH = 500;
# Used in conjunction with AUTO_NAVIGATION
$WORDS_IN_PAGE = 300;
# Affects ONLY the way accents are processed
$default_language = 'english';
# The value of this variable determines how many words to use in each
# title that is added to the navigation panel (see below)
#
$WORDS_IN_NAVIGATION_PANEL_TITLES = 0;
# This number will determine the size of the equations, special characters,
# and anything which will be converted into an inlined image
# *except* "image generating environments" such as "figure", "table"
# or "minipage".
# Effective values are those greater than 0.
# Sensible values are between 0.1 - 4.
$MATH_SCALE_FACTOR = 1.6;
# This number will determine the size of
# image generating environments such as "figure", "table" or "minipage".
# Effective values are those greater than 0.
# Sensible values are between 0.1 - 4.
$FIGURE_SCALE_FACTOR = 1.6;
# If this is set then intermediate files are left for later inspection.
# This includes $$_images.tex and $$_images.log created during image
# conversion.
# Caution: Intermediate files can be *enormous*.
$DEBUG = 0;
# If both of the following two variables are set then the "Up" button
# of the navigation panel in the first node/page of a converted document
# will point to $EXTERNAL_UP_LINK. $EXTERNAL_UP_TITLE should be set
# to some text which describes this external link.
$EXTERNAL_UP_LINK = "./index.html";
$EXTERNAL_UP_TITLE = "トップ";
# If this is set then the resulting HTML will look marginally better if viewed
# with Netscape.
$NETSCAPE_HTML = 0;
# Valid paper sizes are "letter", "legal", "a4","a3","a2" and "a0"
# Paper sizes has no effect other than in the time it takes to create inlined
# images and in whether large images can be created at all ie
# - larger paper sizes *MAY* help with large image problems
# - smaller paper sizes are quicker to handle
$PAPERSIZE = "a4";
# Replace "english" with another language in order to tell LaTeX2HTML that you
# want some generated section titles (eg "Table of Contents" or "References")
# to appear in a different language. Currently only "english" and "french"
# is supported but it is very easy to add your own. See the example in the
# file "latex2html.config"
$TITLES_LANGUAGE = "english";
### Navigation Panel ##########################################################
#
# The navigation panel is constructed out of buttons and section titles.
# These can be configured in any combination with arbitrary text and
# HTML tags interspersed between them.
# The buttons available are:
# $PREVIOUS - points to the previous section
# $UP - points up to the "parent" section
# $NEXT - points to the next section
# $NEXT_GROUP - points to the next "group" section
# $PREVIOUS_GROUP - points to the previous "group" section
# $CONTENTS - points to the contents page if there is one
# $INDEX - points to the index page if there is one
#
# If the corresponding section exists the button will contain an
# active link to that section. If the corresponding section does
# not exist the button will be inactive.
#
# Also for each of the $PREVIOUS $UP $NEXT $NEXT_GROUP and $PREVIOUS_GROUP
# buttons there are equivalent $PREVIOUS_TITLE, $UP_TITLE, etc variables
# which contain the titles of their corresponding sections.
# Each title is empty if there is no corresponding section.
#
# The subroutine below constructs the navigation panels in each page.
# Feel free to mix and match buttons, titles, your own text, your logos,
# and arbitrary HTML (the "." is the Perl concatenation operator).
sub top_navigation_panel {
# Now add a few buttons with a space between them
#"$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" .
#"トップへ 戻る"
#"
\n" . # Line break
\n" . # Line break
# If ``next'' section exists, add its title to the navigation panel
#($NEXT_TITLE ? " Next: $NEXT_TITLE\n" : undef) .
# Similarly with the ``up'' title ...
#($UP_TITLE ? "Up: $UP_TITLE\n" : undef) .
# ... and the ``previous'' title
#($PREVIOUS_TITLE ? " Previous: $PREVIOUS_TITLE\n" : undef) .
# Line Break, horizontal rule (3-d dividing line) and new paragraph
#"
\n"
\n"
}
sub bot_navigation_panel {
# Start with a horizontal rule (3-d dividing line)
#"
".
".
# Now add a few buttons with a space between them
#"$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" .
#"
\n" . # Line break
\n" . # Line break
# If ``next'' section exists, add its title to the navigation panel
#($NEXT_TITLE ? " Next: $NEXT_TITLE\n" : undef) .
# Similarly with the ``up'' title ...
#($UP_TITLE ? "Up: $UP_TITLE\n" : undef) .
# ... and the ``previous'' title
#($PREVIOUS_TITLE ? " Previous: $PREVIOUS_TITLE\n" : undef)
}
#Additional Parts
$LATEX = 'platex';
$DVIPS = 'pdvips';
$charset= 'euc-jp';
1; # This must be the last line
2011-04-15
57びぼーろく; 春
春が来た。気分はうきうき...ではなく、どちらかというとふさぎこんでいる。
とにかく仕事が多い。
とりあえず最近の出来事&やりたいこと。
はっきり言って忙しい。気分も落ち着かず...。さらに研究はまったく進まず、共同研究者から問い合わせが来る始末。ここらでがんばって計算せんとなぁ...。
次回の定期演奏会はブラームス4番。難しい。でも楽しい。弾けたらもっと楽しいんだろうな...。
でも次回の演奏会も仕事で参加できんかも。
休み休みがんばろう...。
今、ゴルドベルク変奏曲のハープ版を聞いている。実に心が休まる。
バッハの曲にしては非常に心休まる曲だと思う。
バッハの曲はいつも素晴らしいと思うし感動もする。半面、曲によっては体力を消耗する時がある。
でもこの曲は、眠くなるかどうかは別として、非常に落ち着く。
しばらくこの曲を聞くことにしよう。
とにかく仕事が多い。
とりあえず最近の出来事&やりたいこと。
- 3/31日に6本めの論文を投稿した。といってもあまり貢献していないので本数に入れない方がいいんじゃないかと思う。
- 卒業研究を担当する事になった。あまりいいアイデアはない。量子力学に関する計算か、相対論に関する計算ぐらいしか思いつかない。
- 公務(校務?)が増えた。
- 何か実験をやろうかと思う。霧箱の実験とかできればいいな。
はっきり言って忙しい。気分も落ち着かず...。さらに研究はまったく進まず、共同研究者から問い合わせが来る始末。ここらでがんばって計算せんとなぁ...。
次回の定期演奏会はブラームス4番。難しい。でも楽しい。弾けたらもっと楽しいんだろうな...。
でも次回の演奏会も仕事で参加できんかも。
休み休みがんばろう...。
今、ゴルドベルク変奏曲のハープ版を聞いている。実に心が休まる。
バッハの曲にしては非常に心休まる曲だと思う。
バッハの曲はいつも素晴らしいと思うし感動もする。半面、曲によっては体力を消耗する時がある。
でもこの曲は、眠くなるかどうかは別として、非常に落ち着く。
しばらくこの曲を聞くことにしよう。
登録:
投稿 (Atom)
865びぼーろく; 秋の芸術週間その1
モータスカルテット(2026/11/18)を聞きに行った。素晴らしい演奏会だった。一曲目はモーツアルトの不協和音、ついでウェーベルンの弦楽のための緩徐楽章、最後はブラームスの2番イ短調。 ハイドンセットの中で不協和音は少しとっつきにくくあまりきちんと聞いたことがなかったが、モー...
-
ちょっと迷ったのでメモ。 基本的な方法としては音ズレしている動画から音声ファイルと無音の動画ファイルを作成し、再結合する時に音もしくは映像を遅らせて結合する。(もっとうまいやり方があるかもしれないけど...) ffmpeg -ss 5.4 -i source.m...
-
latexで今までヤング図 (young tableaux) 書くことになったのでその導入メモ。 youngtab.styが必要なのでまずはそのインストールから。 debian8 (jessie)では texlive-science に含まれているらしいのでいつもどおり...
-
maximaから移行するにあたって色々と読み替え。pythonでは楕円関数はscipyに入っているらしい。あまり情報がないのでメモ。まず楕円関数は\(y={\rm sn}(u,k)\)は次の楕円積分の逆関数として定める: \[u=\int_0^{\arcsin(y)} {\r...