- 追加された行はこの色です。
- 削除された行はこの色です。
[[Microsoft Windows]] > MiKTeX
*[[MiKTeX:https://miktex.org/]] [#n766a2b6]
*[[MiKTeX:http://miktex.org/]] [#n766a2b6]
MiKTeX は Windows, macOS, Linux で動作する TeX のディストリビューションです。
[[TeX Live]] と並んで国際的に広く使われています。
LuaLaTeX で日本語 PDF ファイルも作成できます。
#ref(http://upload.wikimedia.org/wikipedia/commons/thumb/b/b7/Logo_MiKTeX.svg/500px-Logo_MiKTeX.svg.png,right,around,nolink,MiKTeX)
-[[Home - MiKTeX.org:https://miktex.org/]]
-https://github.com/MiKTeX/miktex
&color(White,#5F2F2F){ ''◆CONTENTS◆'' };&br;
----
#contents
----
*MiKTeX とは [#b83589db]
**お知らせ [#n83db2ac]
MiKTeX は TeX のディストリビューションです.~
2021-12-07 以降,MiKTeX にも日本語 upTeX 関連ソフトウェアとパッケージが順次導入されています。
-[[MiKTeX Project Page:http://miktex.org/]]
--[[MiKTeX Blog - All about MiKTeX development and packaging.:http://blog.miktex.org/]]
-http://sourceforge.net/projects/miktex/
-https://github.com/MiKTeX/miktex/blob/next/CHANGELOG.md#2112---2021-12-07
**動作環境 [#s7a44d8b]
Windows
**MiKTeX 24.1 でのワークフロー [#b05c90a0]
**ChangeLog [#o3eda5f2]
MiKTeX 24.1 で uplatex を実行すると
-http://sourceforge.net/p/miktex/code/HEAD/log/
This is e-upTeX, Version 3.141592653-p4.1.1-u1.30-230214-2.6 (utf8.uptex) (MiKTeX 24.1) (preloaded format=uplatex.fmt)&br;
restricted \write18 enabled.&br;
**ミラーサイト [#xfbee989]
-http://ring.maffin.ad.jp/pub/text/CTAN/systems/win32/miktex/
-http://ftp.jaist.ac.jp/pub/CTAN/systems/win32/miktex/
と表示された後で MiKTeX Package Manager の
**派生版 [#v2c807b8]
Package Installation&br;
This required file could not be found:&br;
uplatex.ini&br;
The file is a part of this package:&br;
uplatex&br;
-[[proTeXt:http://www.tug.org/protext/]]
のダイアログが表示されるので [Install] ボタンを押下します。
次に
*インストール [#c18f5cec]
Package Installation&br;
This required file could not be found:&br;
plcore.ltx&br;
The file is a part of this package:&br;
platex&br;
☐ I accept the MiKTeX copying conditions. をチェックして [次へ] をクリックします.~
のダイアログが表示されるので [Install] ボタンを押下します。
次に
----
Basic MiKTeX 2.9.5105 Installer (64-bit)&br;
''Copying Conditions''&br;
MiKTeX is freely redistributable under certain conditions.&br;
&br;
Redistributing MiKTeX
_________________________________________________________________
COPYING CONDITIONS FOR MiKTeX
To the best of our knowledge, all software in this distribution is
freely redistributable (libre, that is, not necessarily gratis),
within the Free Software Foundation's definition and Debian Free
Software Guidelines. If you find any non-free files included, please
contact us (references given below).
That said, MiKTeX has neither a single copyright holder nor a single
license covering its entire contents, since it is a collection of many
disparate packages. Therefore, you may copy, modify, and/or
redistribute software from MiKTeX only if you comply with the
requirements placed thereon by the owners of the respective packages.
To most easily learn these requirements, we suggest checking the TeX
Catalogue at:
http://www.ctan.org/tex-archive/help/Catalogue/catalogue.html (or any
CTAN mirror). The Catalogue is also included in MiKTeX in
./texmf/doc/html/catalogue/, but the online version will have updates.
Of course the legal statements within the packages themselves are the
final authority.
GUIDELINES FOR REDISTRIBUTION
In general, you may redistribute MiKTeX, with or without modification,
for profit or not, according to the usual free software tenets. Here
are some general guidelines for doing this:
* If you make any changes to the MiKTeX distribution or any package
it contains, besides complying with any licensing requirements,
you must prominently mention such changes in your modified
distribution so that users do not take your work for ours, and
know to contact you, not us, in case of questions or problems. A
new top-level README.yourwork file is a good place to describe the
general situation.
* Especially (but not necessarily) if changes or additions are made,
we recommend a clearly different title, such as "Your work, based
on MiKTeX x.y.zzzz (with updates)", where x.y.zzzz is the version
of MiKTeX you are publishing. This credits both our work and
yours.
* You absolutely may not place your own copyright on the entire
distribution, since it is not your work (as stated above, MiKTeX
is not created by any single person or entity). Statements such as
"all rights reserved" and "may not be reproduced" are especially
reprehensible, since they are antithetical to the free software
principles under which MiKTeX is produced.
* You may use any cover or media label designs that you wish. Such
packaging and marketing details are not covered by any MiKTeX
license.
* Finally, we make the following requests (not legal requirements):
a. Acknowledging that MiKTeX is developed as a joint effort by
all TeX user groups, and encouraging the user/reader to join
their user group of choice.
The web page http://www.tug.org/usergroups.html may be
referenced as a list of TeX user groups. We also appreciate
your explicitly listing all the user groups as given on that
page, space permitting.
b. Referencing the MiKTeX home page: http://www.miktex.org/.
Such credits may be placed on the label of your media, your cover,
and/or in accompanying text (for instance, in the acknowledgements
section of a book).
Finally, although it is certainly not a requirement, we'd like to
invite any redistributors to make a donation to the project, whether
cash or in-kind, for example via http://www.miktex.org/giveback.
Thanks.
If you have any questions or comments, please contact us. In general,
we appreciate being given the chance to review any MiKTeX-related
material in advance of publication, simply to avoid mistakes. It is
much better to correct text on a CD label or in a book before
thousands of copies are made!
We are also happy to keep anyone planning a publication informed as to
our deadlines and progress. Just let us know. However, you should be
aware that MiKTeX is produced entirely by volunteers, and no dates can
be guaranteed.
REFERENCES
MiKTeX project page: http://www.miktex.org/
The FSF's free software definition:
http://www.gnu.org/philosophy/free-sw.html
Debian Free Software Guidelines: http://www.debian.org/intro/free
FSF commentary on existing licenses:
http://www.gnu.org/licenses/license-list.html
LPPL: http://www.latex-project.org/lppl.txt
Package Installation&br;
This required file could not be found:&br;
upjisr-h.tfm&br;
The file is a part of this package:&br;
uptex-fonts&br;
☑ I accept the MiKTeX copying conditions.&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
jlreq.cls&br;
The file is a part of this package:&br;
jlreq&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
everyshi.sty&br;
The file is a part of this package:&br;
everyhook&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
svn-prov.sty&br;
The file is a part of this package:&br;
svn-prov&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
filehook.sty&br;
The file is a part of this package:&br;
filehook&br;
のダイアログが表示されるので [Install] ボタンを押下します。
Strawberry Perl をインストールしてターミナルを管理者として実行後に
kanji-config-updmap-sys --jis2004 haranoaji を実行すると
MiKTeX Package Mamager の
Package Installation&br;
This required file could not be found:&br;
kanji-config-updmap.pl&br;
The file is a part of this package:&br;
ptex-fontmaps&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
ipam.ttf&br;
The file is a part of this package:&br;
ipaex&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
HaranoAjiMincho-Regular.otf&br;
The file is a part of this package:&br;
haranoaji&br;
のダイアログが表示されるので [Install] ボタンを押下します。
//Sorry, but: Permission denied: path="C:\ProgramData\MiKTeX\fonts\map\dvipdfmx\kanjix.map"
dvipdfmx を実行すると MiKTeX Package Manager の
Package Installation&br;
This required file could not be found:&br;
ttfonts.map&br;
The file is a part of this package:&br;
zhmetrics&br;
のダイアログが表示されるので [Install] ボタンを押下します。
dvipdfmx の実行結果は
>
dvipdfmx:warning: Could not locate a virtual/physical font for TFM "uprml-h".&br;
dvipdfmx:warning: >> There are no valid font mapping entry for this font.&br;
dvipdfmx:warning: >> Font file name "uprml-h" was assumed but failed to locate that font.&br;
dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...&br;
&br;
[ < 戻る(B) ] [ 次へ(N) > ] [ キャンセル ]&br;
----
No output PDF file written.&br;
<
となり、フォントに関するエラーが発生するため 2024年2月現在でも uplatex + dvipdfmx のワークフローはまだ不安定なようです。
*注意事項 [#e87c6af7]
MiKTeX にも platex.exe がありますが,日本語 pLaTeX ではありません.~
日本語を使う場合は [[pdfLaTeX>pdfTeX]], [[LuaLaTeX>LuaTeX]], [[XeLaTeX>XeTeX]] を使用してください.~
MiKTeX 24.1 で lualatex を実行すると
>platex.exe
This is pdfTeX, Version 3.14159265-2.3-1.40.12
**
This is LuaHBTeX, Version 1.17.1 (MiKTeX 24.1)&br;
restricted system commands enabled.&br;
また MiKTeX には pdfplatex.exe がありますが,こちらも W32TeX の pdfplatex.bat とは異なるので注意が必要です.
と表示された後で MiKTeX Package Manager の
>pdfplatex.exe
This is pdfTeX, Version 3.14159265-2.3-1.40.12
**
Package Installation&br;
This required file could not be found:&br;
lua-uni-case.lua&br;
The file is a part of this package:&br;
lua-uni-algos&br;
MiKTeX の dvipdfmx は pTeX で処理された日本語の DVI ファイルで使用するとエラーが発生します.~
** ERROR ** Unable to find TFM file "min10".
Output file removed.
のダイアログが表示されるので [Install] ボタンを押下します。
次に
MiKTeX の dvips は pTeX で処理された日本語の DVI ファイルで使用するとエラーが発生します.~
dvips: Font min10 not found; characters will be left blank.
dvips: Can't open font metric file min10.tfm
dvips: I will use cmr10.tfm instead, so expect bad output.
dvips: ! invalid char 9578 from font min10
Package Installation&br;
This required file could not be found:&br;
luatexja.sty&br;
The file is a part of this package:&br;
luatexja&br;
MiKTeX には [[Ghostscript]] が含まれていますが日本語がうまく扱えないようです.~
のダイアログが表示されるので [Install] ボタンを押下します。
次に
*関連リンク [#x1081277]
Package Installation&br;
This required file could not be found:&br;
infwarerr.sty&br;
The file is a part of this package:&br;
infwarerr&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
luatexbase.sty&br;
The file is a part of this package:&br;
luatexbase&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
ctablestack.sty&br;
The file is a part of this package:&br;
ctablestack&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
ltxcmds.sty&br;
The file is a part of this package:&br;
ltxcmds&br;
のダイアログが表示されるので [Install] ボタンを押下します。
次に
Package Installation&br;
This required file could not be found:&br;
UniJIS2004-UTF32-H&br;
The file is a part of this package:&br;
adobemapping&br;
のダイアログが表示されるので [Install] ボタンを押下します。
lualatex の実行結果は
>
Output written on file.pdf (? page, ? bytes).&br;
Transcript written on file.log.&br;
<
となり、日本語の PDF ファイルが出力されるため 2024年2月現在では lualatex のワークフローは動作します。
**インストール [#c18f5cec]
-[[Getting MiKTeX - MiKTeX.org:https://miktex.org/download]]
-[[MiKTeXのWindowsへのインストール:https://self-development.info/miktex%e3%81%aewindows%e3%81%b8%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/]]
//**注意事項 [#e87c6af7]
**関連リンク [#x1081277]
-[[「はじめてのLaTeX」著者サポート:MiKTeX2.9のインストール:http://supportdoc.net/support-latex/newmik.html]]
-[[「はじめてのLaTeX」: MiKTeXでXeTeXで日本語を:http://supportdoc.net/support-latex/xetex.html]]
-[[TeXworksでMiKTeXを使う:http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=905]]
-[[TexnicCenter2.0の日本語使用について:http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=794]]
-[[TeXworksでMiKTeXを使う:https://okumuralab.org/tex/mod/forum/discuss.php?d=905]]
-[[TexnicCenter2.0の日本語使用について:https://okumuralab.org/tex/mod/forum/discuss.php?d=794]]
***Building MiKTeX [#o3eda5f2]
-https://miktex.org/sources
***ミラーサイト [#xfbee989]
-http://ftp.jaist.ac.jp/pub/CTAN/systems/win32/miktex/