\documentclass[a4j]{jsarticle}
\usepackage{newtxtext}
\usepackage{newtxmath}
\begin{document}\thispagestyle{empty}
$\Delta\mathrm{\Delta}$
$\Deltait\varDelta\mathit{\Delta}$
\end{document}
このコードをTeXLive2020(最新のもので確認)で処理すると,期待通り,各行で同じ字形のものが並びます.
2019のfrozenでも期待通り同じ字形です.
ところがこれを,TeXLive2018 forzenで処理すると\mathrm/\mathitのものは字形が変わります(旧来のtxfontsの由来のもの).
そして,newtxtextの読み込みをやめると,
2020でも2018と同様の結果になります.
このあたりの変遷を
ご存じの方いらっしゃいませんか.
大文字ギリシアの定義というか
lettersとかの割り振りを変えればいいのでしょうが,
下手に変えると整合性が崩れる
(letters->lettersAにすると\mathitでもローマンになる)
ので難儀しています.
実は、2018で動いている環境で発見したので,
悩んでいる(運用でなんとかなるレベルなので
どうにかなるんですが)わけです.
2018じゃなくって2019/2020を使えばいいのですが,
NFSS2周りのアレとかhookのアレ(expl3もアレ)を
いきなり実投入するのも,それはそれでアレでして.
ご質問はこちらへ
質問用フォーラムです。ご質問の前に質問のしかたをご覧ください。
fontspec error: "font-not-found"
- kondo yuzo の投稿
Macのtexliveのxelatexで"hello.tex"というファイルのコンパイルを試みましたが、題名のエラーメッセージが出て完遂できません
回避方法を教えていただけませんでしょうか?
--------hello.tex------
\documentclass{article}
\usepackage{xltxtra}
\setmainfont{IPAPMincho}
\setsansfont{IPAPGothic}
\setmonofont{IPAGothic}
\XeTeXlinebreaklocale "ja"
\begin{document}
こんにちは世界
\end{document}
---------------------------
エラーメッセージ
bash-3.2$ xelatex hello.tex
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./hello.tex
LaTeX2e <2017-04-15>
Babel <3.15> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2016/texmf-dist/tex/latex/xltxtra/xltxtra.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/tuenc.def))
(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/realscripts/realscripts.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/metalogo/metalogo.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/xetex.def)))))
kpathsea: Running mktextfm IPAPMincho
/usr/local/texlive/2016/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for IPAPMincho.
/usr/local/texlive/2016/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2016/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input IPAPMincho
This is METAFONT, Version 2.7182818 (TeX Live 2017) (preloaded base=mf)
kpathsea: Running mktexmf IPAPMincho
! I can't find file `IPAPMincho'.
<*> ...four; mag:=1; nonstopmode; input IPAPMincho
Please type another input file name
! Emergency stop.
<*> ...four; mag:=1; nonstopmode; input IPAPMincho
Transcript written on mfput.log.
grep: IPAPMincho.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input IPAPMincho' failed to make IPAPMincho.tfm.
kpathsea: Appending font creation commands to missfont.log.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "IPAPMincho" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.4 \setmainfont{IPAPMincho}
?
このトピックを読む
(現在の返信数: 16)
dviout で原ノ味フォント
- O Kay の投稿
今さら dviout を使う人は少ないと思いますが……。
原ノ味フォントを利用しようと思い,$user.map にフォント名を設定しました。
角ゴシックについては,
原ノ味角ゴシック Medium
原ノ味角ゴシック Heavy
と書くとうまくいき,
原ノ味角ゴシック Regular
原ノ味角ゴシック Bold
だと,
Cannot find font file for *****!
A default FONT will be used.
というエラーになります(*****は設定した箇所の名前)。なお,
原ノ味角ゴシック
だけにすると,Regular と思われるフォントで表示されます。
同様に,明朝については,
原ノ味明朝 Light
や
原ノ味明朝
なら適切に表示され,Regular や Bold をつけたものはエラーになります。
解決策をご存じでしたら,教えていただければと思います。
原ノ味フォントを利用しようと思い,$user.map にフォント名を設定しました。
角ゴシックについては,
原ノ味角ゴシック Medium
原ノ味角ゴシック Heavy
と書くとうまくいき,
原ノ味角ゴシック Regular
原ノ味角ゴシック Bold
だと,
Cannot find font file for *****!
A default FONT will be used.
というエラーになります(*****は設定した箇所の名前)。なお,
原ノ味角ゴシック
だけにすると,Regular と思われるフォントで表示されます。
同様に,明朝については,
原ノ味明朝 Light
や
原ノ味明朝
なら適切に表示され,Regular や Bold をつけたものはエラーになります。
解決策をご存じでしたら,教えていただければと思います。
このトピックを読む
(現在の返信数: 4)
ptex2pdf が突然失敗するようになった
- 吉田 茂生 の投稿
従来何の問題もなく Windows 10 の上で TeXworks を使ってきたのですが、突然使えなくなりました。心当たりと言えば Anaconda をアンインストールしたことくらいですが、関係あるのかどうかわかりません。
その後、使っていた TeXLive 2019 をアンインストールして TeXLive 2020 に変えてみたりしたのですが、症状は変わりません。以下、現状(TeXLive 2020)での症状を書きます。ptex2pdf が fail します。コマンドプロンプトで ptex2pdf を実行すると以下のようなメッセージが出ます。もちろん TeXworks 上で pLaTeX を実行しても同様のメッセージが出るのですが、そこだと日本語メッセージが化けるので、コマンドラインの結果を以下に付けます。
>ptex2pdf -l Prob-mathphys4.tex
This is ptex2pdf[.lua] version 20200307.0.
Processing Prob-mathphys4.tex
指定されたパスが見つかりません。
This is e-pTeX, Version 3.14159265-p3.8.3-191112-2.6 (utf8.sjis) (TeX Live 2020/W32TeX) (preloaded format=platex)
restricted \write18 enabled.
entering extended mode
(./Prob-mathphys4.tex(guessed encoding: UTF-8 = utf8)
pLaTeX2e <2020-02-02>+3 (based on LaTeX2e <2020-02-02> patch level 5)
L3 programming layer <2020-03-06>
(g:/texlive/2020/texmf-dist/tex/platex/base/jbook.cls(guessed encoding: ISO-2022-JP = jis)
Document Class: jbook 2020/01/03 v1.8e Standard pLaTeX class
(g:/texlive/2020/texmf-dist/tex/platex/base/jbk12.clo))
(g:/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(g:/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
(g:/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty)))
(g:/texlive/2020/texmf-dist/tex/latex/tools/delarray.sty
(g:/texlive/2020/texmf-dist/tex/latex/tools/array.sty))
(g:/texlive/2020/texmf-dist/tex/latex/tools/enumerate.sty)
(g:/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(g:/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(g:/texlive/2020/texmf-dist/tex/latex/graphics-def/dvips.def)))
(g:/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
(./Prob-mathphys4.aux(guessed encoding: UTF-8 = utf8))
*geometry* driver: auto-detecting
*geometry* detected driver: dvips
第 4 章
[1] [2] (./Prob-mathphys4.aux(guessed encoding: UTF-8 = utf8)) )
Output written on Prob-mathphys4.dvi (2 pages, 7992 bytes).
Transcript written on Prob-mathphys4.log.
ptex2pdf processing of Prob-mathphys4.tex failed.
This is ptex2pdf[.lua] version 20200307.0.
Processing Prob-mathphys4.tex
指定されたパスが見つかりません。
This is e-pTeX, Version 3.14159265-p3.8.3-191112-2.6 (utf8.sjis) (TeX Live 2020/W32TeX) (preloaded format=platex)
restricted \write18 enabled.
entering extended mode
(./Prob-mathphys4.tex(guessed encoding: UTF-8 = utf8)
pLaTeX2e <2020-02-02>+3 (based on LaTeX2e <2020-02-02> patch level 5)
L3 programming layer <2020-03-06>
(g:/texlive/2020/texmf-dist/tex/platex/base/jbook.cls(guessed encoding: ISO-2022-JP = jis)
Document Class: jbook 2020/01/03 v1.8e Standard pLaTeX class
(g:/texlive/2020/texmf-dist/tex/platex/base/jbk12.clo))
(g:/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(g:/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
(g:/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty)))
(g:/texlive/2020/texmf-dist/tex/latex/tools/delarray.sty
(g:/texlive/2020/texmf-dist/tex/latex/tools/array.sty))
(g:/texlive/2020/texmf-dist/tex/latex/tools/enumerate.sty)
(g:/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(g:/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(g:/texlive/2020/texmf-dist/tex/latex/graphics-def/dvips.def)))
(g:/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
(./Prob-mathphys4.aux(guessed encoding: UTF-8 = utf8))
*geometry* driver: auto-detecting
*geometry* detected driver: dvips
第 4 章
[1] [2] (./Prob-mathphys4.aux(guessed encoding: UTF-8 = utf8)) )
Output written on Prob-mathphys4.dvi (2 pages, 7992 bytes).
Transcript written on Prob-mathphys4.log.
ptex2pdf processing of Prob-mathphys4.tex failed.
dvi ファイルまでは出来ていて、pdf にならないようです。できた dvi ファイルに対して、コマンドラインで dvipdfm を実行すると pdf ができるので、dvi ファイルの問題でもなさそうです。最初の方の「指定されたパスが見つかりません」というメッセージからすると何かのパスがおかしいのかもしれません。ネット検索すると java のパスが前の方にあるといけないとか書いてあったのがあったので、後ろの方にしてみましたが、何も変わりませんでした。現在の Path は以下の通りです。
>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\MATLAB\R2020a\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Users\yoshida\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\yoshida\AppData\Local\Microsoft\WindowsApps;G:\texlive\2020\bin\win32;
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\MATLAB\R2020a\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Users\yoshida\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\yoshida\AppData\Local\Microsoft\WindowsApps;G:\texlive\2020\bin\win32;
何かお知恵を拝借できますと幸いです。よろしくお願いします。
このトピックを読む
(現在の返信数: 2)
pandocでlualatexを使用してmdからpdfに変換ができない
- liki の投稿
pandoc 2.11.0.2
lualatex LuaHBTeX, Version 1.12.0 (TeX Live 2020/W32TeX)
pandoc test.md -o test.pdf --pdf-engine=lualatex
Error producing PDF.
! I can't write on file `input.log'.
Please type another transcript file name
! Emergency stop
! ==> Fatal error occurred, no output PDF file produced!
TeX Live 2020をインストール直後は問題なかったのに、tlmgrでアップデートしたらlualatexで変換できなくなりました
pdf-engineにXeTeXを指定すればpdfに変換できます
lualatex側の問題なのかpandoc側の問題なのか不明です
このトピックを読む
(現在の返信数: 16)
[plautopatch] pdfpages を読み込むとエラー
- tat tsan の投稿
次のサンプルでエラーが出ました。
\RequirePackage{plautopatch}
\documentclass[uplatex,dvipdfmx]{jsarticle}
\usepackage{pdfpages}
\begin{document}
hoge
\end{document}
エラーの内容は
/usr/local/texlive/2020/texmf-dist/tex/latex/gentombow/pxesopic.sty:173: Undefined control sequence.
l.173 ...r\AtBeginShipout\expandafter{\pxesop@hook
}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
新LaTeX の hook 関係でしょうか。
\RequirePackage{plautopatch}
\documentclass[uplatex,dvipdfmx]{jsarticle}
\usepackage{pdfpages}
\begin{document}
hoge
\end{document}
エラーの内容は
/usr/local/texlive/2020/texmf-dist/tex/latex/gentombow/pxesopic.sty:173: Undefined control sequence.
l.173 ...r\AtBeginShipout\expandafter{\pxesop@hook
}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
新LaTeX の hook 関係でしょうか。
このトピックを読む
(現在の返信数: 3)
数式フォントの埋め込みについて
- 内山 伸久 の投稿
TeXの初心者ですが、数式フォントの埋め込みについてですが、埋め込みの方法がわかりません。
PDFではうまくプレビュー表示されるのですが、実際には埋め込まれていません。フォントを埋め込む方法を教えていただければ幸いです。
\documentclass{jarticle}
\usepackage{amsmath,amssymb}%
\usepackage{qtxmath}%
\usepackage{tgtermes,tgheros}%
\renewcommand{\bfdefault}{bx}%
\renewcommand{\ttdefault}{lmtt}%
\begin{document}
\[A(x, y)=\left(\frac{ai+bi}{2}, ai-bi\right)\]
\[\overline{d}\;\overline{+} × \sqrt{\frac{SDd}{n}}\]
\[t=r \sqrt{\frac{n-2}{1-r^2}}\]
\[A`(x, y) = \left(\frac{ai+bi}{2},\quad \left(\frac{ai-bi}{\left(\frac{ai+bi}{2}\right)}\right)\right)\]
\[A`(x, y) = \left(\frac{ai+bi}{2},\quad \log_{10}\sqrt\frac{ai+bi}{2}\right)\]
\end{document}
このトピックを読む
(現在の返信数: 7)
目次の複数箇所出力方法
- えせ てふにしゃん の投稿
\tableofcontents
を使って,以下のような目次を複数ページに独立して出力することは可能でしょうか?
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
(1ページ目)
目次
1 あ
2 い
3 う
(2ページ目)
1 あ
アアアア
2 い
イイイイ
3 う
ウウウウ
(3ページ目)
目次
4 え
5 お
(4ページ目)
4 え
エエエエ
5 お
オオオオ
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
このようにすると,
--------------------------------
\tableofcontents
\section{あ}
アアアア
\section{い}
イイイイ
\section{う}
ウウウウ
\newpage
\tableofcontents
\section{え}
エエエエ
\section{お}
オオオオ
--------------------------------
次のような出力となりました
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
(1ページ目)
目次
1 あ
2 い
3 う
4 え
5 お
(2ページ目)
1 あ
アアアア
2 い
イイイイ
3 う
ウウウウ
(3ページ目)
4 え
エエエエ
5 お
オオオオ
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
宜しくお願いします.
を使って,以下のような目次を複数ページに独立して出力することは可能でしょうか?
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
(1ページ目)
目次
1 あ
2 い
3 う
(2ページ目)
1 あ
アアアア
2 い
イイイイ
3 う
ウウウウ
(3ページ目)
目次
4 え
5 お
(4ページ目)
4 え
エエエエ
5 お
オオオオ
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
このようにすると,
--------------------------------
\tableofcontents
\section{あ}
アアアア
\section{い}
イイイイ
\section{う}
ウウウウ
\newpage
\tableofcontents
\section{え}
エエエエ
\section{お}
オオオオ
--------------------------------
次のような出力となりました
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
(1ページ目)
目次
1 あ
2 い
3 う
4 え
5 お
(2ページ目)
1 あ
アアアア
2 い
イイイイ
3 う
ウウウウ
(3ページ目)
4 え
エエエエ
5 お
オオオオ
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
宜しくお願いします.
このトピックを読む
(現在の返信数: 6)
tlmgrの変更?
- H.Ogawa の投稿
とてもニッチな話で申し訳ありません。
拙作のUpTeX.appはtlmgrの簡単なGUIを付けてありますが、これはobjective-cのpipeでtlmgrを叩いて動かしてます。その際、ただフルパスで実行すると従属するプロセスにパスが渡せずにコケるので、hoge/TEX/texbinの場所をhogehogeとして取得して
/bin/bash -c export PATH=hogehoge:$PATH ; tlmgr hogehogehoge
のようなかたちでパイプに渡してます(macOSのアプリは個々のユーザーが.bash_profileなどで設定したパスは参照してくれません)。これでずっと問題なく動いていたのですが、一週間ほど前から
TLPDB::_install_package: unsupported container format xz (or lz4)
というエラーが出て、update, install, restoreがコケるようになりました。tlmgr自身が用意しているxz,lz4を探すのに失敗しているようなのです。当たり前ですがターミナルでの実行では問題ないので、UpTeX.appで従属するプロセスに、xz, lz4を探すのに使われている記述に必要なパスを渡すのに失敗しているのだろうと思われます(ダウンロードはできて展開で失敗するのでwgetは探せてる?)。それにまつわるtlmgr側の挙動に何か変更があったのだと思いますが、対応を試行錯誤しているものの、うまくいっておりません。何かヒントになるようなことがありましたら、ご教示いただけると幸いです。
なお、その部分のソースファイルを添付しておきます。
拙作のUpTeX.appはtlmgrの簡単なGUIを付けてありますが、これはobjective-cのpipeでtlmgrを叩いて動かしてます。その際、ただフルパスで実行すると従属するプロセスにパスが渡せずにコケるので、hoge/TEX/texbinの場所をhogehogeとして取得して
/bin/bash -c export PATH=hogehoge:$PATH ; tlmgr hogehogehoge
のようなかたちでパイプに渡してます(macOSのアプリは個々のユーザーが.bash_profileなどで設定したパスは参照してくれません)。これでずっと問題なく動いていたのですが、一週間ほど前から
TLPDB::_install_package: unsupported container format xz (or lz4)
というエラーが出て、update, install, restoreがコケるようになりました。tlmgr自身が用意しているxz,lz4を探すのに失敗しているようなのです。当たり前ですがターミナルでの実行では問題ないので、UpTeX.appで従属するプロセスに、xz, lz4を探すのに使われている記述に必要なパスを渡すのに失敗しているのだろうと思われます(ダウンロードはできて展開で失敗するのでwgetは探せてる?)。それにまつわるtlmgr側の挙動に何か変更があったのだと思いますが、対応を試行錯誤しているものの、うまくいっておりません。何かヒントになるようなことがありましたら、ご教示いただけると幸いです。
なお、その部分のソースファイルを添付しておきます。
このトピックを読む
(現在の返信数: 25)
漢文出力時のゴミ
- Webern Anton の投稿
OS X Yosemite に「美文書作成入門第7版」の LaTeX2e をインストールし、藤田眞作さん作成のマクロ sfkanbun.sty で漢文訓読文の作成を試みています。
\documentclass[12pt,a4j]{tarticle}
\usepackage{sfkanbun,jdkintou,furikana}
\begin{document}
学而時\kundoku{習}{まな}{ビテ}{\reten}之、
\end{document}
たとえば、このような文で実行すると、たしかに振り仮名や送り仮名、返り点が出力されますが、同時に、振り仮名、送り仮名、返り点の近傍に望まない「@」字が出力されてしまいます。この原因と解決法をご教示ください。
\documentclass[12pt,a4j]{tarticle}
\usepackage{sfkanbun,jdkintou,furikana}
\begin{document}
学而時\kundoku{習}{まな}{ビテ}{\reten}之、
\end{document}
たとえば、このような文で実行すると、たしかに振り仮名や送り仮名、返り点が出力されますが、同時に、振り仮名、送り仮名、返り点の近傍に望まない「@」字が出力されてしまいます。この原因と解決法をご教示ください。
このトピックを読む
(現在の返信数: 4)