次のサンプルでエラーが出ました。
\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 関係でしょうか。
ご質問はこちらへ
質問用フォーラムです。ご質問の前に質問のしかたをご覧ください。
数式フォントの埋め込みについて
- 内山 伸久 の投稿
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)
tlmgrによるアップデートのエラー
- 松浦 高志 の投稿
2020年9月30日頃から
$ sudo tlmgr update --self --all
すると
(文字化けしたメッセージ)
, please fix it! at /usr/local/texlive/2020/tlpkg/TeXLive/TLPOBJ.pm line 212, <TMP> line 143504.
というエラーが出るようになったのですが,対処方法はあるでしょうか.
http://ftp.jaist.ac.jp/pub/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh
をダウンロードして
$ sudo sh update-tlmgr-latest.sh
としてtlmgr自体を更新しようとしましたが,やはり
(文字化けしたメッセージ)
, please fix it! at /usr/local/texlive/2020/tlpkg/TeXLive/TLPOBJ.pm line 212, <TMP> line 143504.
と表示されて更新できません.
TLPOBJ.pmのタイムスタンプはCTANにあるものと同じです.
$ ls -l /usr/local/texlive/2020/tlpkg/TeXLive/TLPOBJ.pm
-rw-r--r-- 1 root wheel 58761 4 15 12:02 /usr/local/texlive/2020/tlpkg/TeXLive/TLPOBJ.pm
環境はmacOS 10.15.7 Catalina + TeXLive 2020です.
このトピックを読む
(現在の返信数: 12)
別行立て数式環境のみのタイプセット
- Nomura Masataka の投稿
VScodeでのTeX環境構築
- アラカザム の投稿
はじめまして。
VScode初心者の者です。
下の記事を参考に、VScodeでTeXを書こうと思ったのですが、出力エラーが出てしまい解決法も分からず困っています。
自分で見た限りdviファイルが出力されていないのだと思うのですが、なぜ出力されないのかがわかりません。
どなたかご教授いただければ幸いです。
どなたかご教授いただければ幸いです。
記事→https://qiita.com/popunbom/items/7d02fc75ad23b735d28c
\\-----------------------------------------
環境
OS:Win10 ver.1909
texLive:2019
VScode 1.49.2
LaTex Workshop 8.13.2
\\-----------------------------------------
エラーメッセージ
Latexmk: This is Latexmk, John Collins, 17 March 2019, version: 4.63b.
Latexmk: Removing all generated files
Rule 'latex': The following rules & subrules became out-of-date:
'latex'
------------
Run number 1 of rule 'latex'
------------
------------
Running ''platex' '-kanji=utf8 -no-guess-input-env' -synctex=1 -interaction=nonstopmode -file-line-error -recorder "c:\Users\���l\sandbox\pdflatex\report.tex"'
------------
Latexmk: applying rule 'latex'...
''platex'' �́A�����R�}���h�܂��͊O���R�}���h�A
����\�ȃv���O�����܂��̓o�b�` �t�@�C���Ƃ��ĔF������Ă��܂���B
Latexmk: fls file doesn't appear to have been made.
Failure to make 'report.dvi'
Needed source file 'report.pdf' does not exist.
Latexmk: Errors, in force_mode: so I tried finishing targets
For rule 'view', running '&if_source( )' ...
----------------------
This message may duplicate earlier message.
Latexmk: Failure in processing file 'c:/Users/���l/sandbox/pdflatex/report':
(Pdf)LaTeX didn't generate the expected log file 'report.log'
----------------------
C:\texlive\2019\bin\win32\runscript.tlu:902: command failed with exit code 12:
perl.exe c:\texlive\2019\texmf-dist\scripts\latexmk\latexmk.pl -f -gg -pv -latex='platex' "-latexoption='-kanji=utf8 -no-guess-input-env'" -synctex=1 -interaction=nonstopmode -file-line-error c:/Users/���l/sandbox/pdflatex/report
\\-----------------------------------------
出力した文章
%!TEX encoding = UTF-8
% ビルドレシピは「pLaTeX」を選択する
\documentclass{jsreport}
\begin{document}
\chapter{はじめに}
\section{概要}
これは \LaTeX が Visual Studio Code でビルドできるかどうかのテスト文章である。
\chapter{おわりに}
これが表示されていれば成功である。
\end{document}
\\-----------------------------------------
logファイルは見つかりませんでした。
texlive2019でコンパイルしたところ正常にコンパイルされました。
このトピックを読む
(現在の返信数: 18)
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
- TONE Kozaburo の投稿
[2020/10/06]更新の
(14) win64/xetex-w64.tar.xz
Update dvipdfmx.dll (20201006).
でエラーとなりました。とりあえずご報告まで
Installing xetex-w64.tar.xz.
bin64/
bin64/bibtexu.exe
bin64/dvipdfmx.dll
bin64/fc-cache.exe
bin64/fc-cat.exe
bin64/fc-conflist.exe
bin64/fc-list.exe
bin64/fc-match.exe
bin64/fc-pattern.exe
bin64/fc-query.exe
bin64/fc-scan.exe
bin64/fc-validate.exe
bin64/fribidixetex.exe
bin64/icudt67.dll
bin64/kpathsea632w64.dll
bin64/msvcr100.dll
bin64/teckit_compile.exe
bin64/xdvipdfmx.exe
bin64/xelatex.exe
bin64/xetex.dll
xz: (stdin): Unexpected end of input
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Too many errors, quitting
Add
C:\usr\local\bin
or
C:\usr\local\bin64;C:\usr\local\bin
in the case of 64bit OS
to user's PATH in the control panel.
(14) win64/xetex-w64.tar.xz
Update dvipdfmx.dll (20201006).
でエラーとなりました。とりあえずご報告まで
Installing xetex-w64.tar.xz.
bin64/
bin64/bibtexu.exe
bin64/dvipdfmx.dll
bin64/fc-cache.exe
bin64/fc-cat.exe
bin64/fc-conflist.exe
bin64/fc-list.exe
bin64/fc-match.exe
bin64/fc-pattern.exe
bin64/fc-query.exe
bin64/fc-scan.exe
bin64/fc-validate.exe
bin64/fribidixetex.exe
bin64/icudt67.dll
bin64/kpathsea632w64.dll
bin64/msvcr100.dll
bin64/teckit_compile.exe
bin64/xdvipdfmx.exe
bin64/xelatex.exe
bin64/xetex.dll
xz: (stdin): Unexpected end of input
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Read error on C:/tmpdir/xetex-w64.tar.xz: Broken pipe
tar: Too many errors, quitting
Add
C:\usr\local\bin
or
C:\usr\local\bin64;C:\usr\local\bin
in the case of 64bit OS
to user's PATH in the control panel.
このトピックを読む
(現在の返信数: 5)