質問用フォーラムです。ご質問の前に質問のしかたをご覧ください。

dvipdfmxでpdf化できない

- ishi hara の投稿
Win10pro 64bitで W32TeXを利用させていただいています。

\documentclass[dvipdfmx]{jsarticle}
\usepackage{emathP}
\begin{document}
\begin{zahyou}[ul=4mm,haiti=t](-6,6)(-6,6)
\kousifill<linethickness=.4pt,hasenLG={2pt,2.5pt}>
\xMemori{5}
\xMemori{-5}
\yMemori{5}
\yMemori{-5}
\end{zahyou}
\end{document}

をタイプセットしてできた200704072439.dvi(添付したもの)を
dvipdfmxでpdf化しようとすると

dvipdfmx.exe 200704072439.dvi ...
200704072439.dvi -> 200704072439.pdf
[1
dvipdfmx:fatal: Invalid resource ID: 0

No output PDF file written.

というエラーが生じるようになりました。

「dviをdvioutでの表示」は期待通りになります。

角藤TEXへにおけるepsファイルの貼り付け方

- 宇多 明 の投稿
20年ぐらい前から試行錯誤を繰り返しながら角藤TEXを利用して参りましたが、 2018年頃のソフトの更新以降、eps画像ファイルの貼り付けを上手にできなくなりました。
先生がご執筆の-LaTeX2ε美文書作成入門を購入し、捜査上理解漏れが潜んでいないかを見直しておりますが、独力での解決に至れないため、相談いたします。

1)現在、卒論作成に利用されるTEX環境では、eps画像の貼り付けは兵十的な行為でしょうか?
2)個人のWindows10PC上でのeps画像の貼り付けの動作確認に使用可能な
サンプル事例は、何処にあたれば良いのでしょうか?
3)自分の場合、tiger.epsのサンプル虎画像でさえ、TEXへの貼り付けが困難であります。



LaTeX2e が突然動かなくなりました

- 坂本 の投稿

Mac10.12.6 に美文書第7版よりインストールして使っています。

今まで問題なく動いていた LaTeX2e が突然動かなくなりました。

そのときのログファイルは以下の通りです。

どこに問題があるのかお教えいただけないでしょうか。

¥documentclass[nosetpagesize,11pt,twoside,b5j]{jarticle}

¥usepackage{ascmac,amsmath,array,amssymb,curves,eepic,epic,fancybox,graphics,graphicx,amsfonts,

amssymb,latexsym} ¥usepackage[deluxe]{otf}

で使っています。

This is e-pTeX, Version 3.14159265-p3.7-160201-2.6 (sjis.euc) (TeX Live 2016) (preloaded format=platex 2017.1.27) 23 JUN 2020 10:04

entering extended mode

restricted ¥write18 enabled.

file:line:error style messages enabled.

%&-line parsing enabled.

**skmt_macros_ã^^81ã^^86^^85ãM¹.tex

(./skmt_macros_ã^^81ã^^86^^85ãM¹.tex

pLaTeX2e <2016/11/29> (based on LaTeX2e <2016/03/31> patch level 3)

Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/platex/base/jarticle

.cls

Document Class: jarticle 2016/11/22 v1.7b Standard pLaTeX class

¥c@@paper=¥count82


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/platex/base/jsize11.

clo

File: jsize11.clo 2016/11/22 v1.7b Standard pLaTeX file (size option)

)

¥c@part=¥count83

¥c@section=¥count84

¥c@subsection=¥count85

¥c@subsubsection=¥count86

¥c@paragraph=¥count87

¥c@subparagraph=¥count88

¥c@figure=¥count89

¥c@table=¥count90

¥abovecaptionskip=¥skip41

¥belowcaptionskip=¥skip42

¥symmincho=¥mathgroup4

LaTeX Font Info: Overwriting symbol font `mincho' in version `bold'

(Font) JY1/mc/m/n --> JY1/gt/m/n on input line 579.

¥toclineskip=¥dimen118

¥@lnumwidth=¥dimen119

¥bibindent=¥dimen120

¥heisei=¥count91

) (./skmt_macros.sty

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/platex/base/ascmac.s

ty

Package: ascmac 2016/08/21 v2.0c ascmac wrapper (community edition)


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/platex/base/tascmac.

sty

Package: tascmac 2016/08/21 v2.0c ascmac package (community edition)

¥@savetbaselineshift=¥dimen121

¥@saveybaselineshift=¥dimen122

¥scb@x=¥box41

¥scscb@x=¥box42

¥@bw=¥dimen123

¥@nbox=¥box43

¥@nbody=¥box44

¥@scw=¥dimen124

¥@itemh=¥dimen125

¥@iboxpos=¥toks15

¥@iboxstr=¥box45

¥@bwsp=¥box46

¥@@bwsp=¥box47

¥@bcal=¥count92

¥shaderule=¥dimen126

))

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/amsmath/amsmat

h.sty

Package: amsmath 2016/06/28 v2.15d AMS math features

¥@mathmargin=¥skip43


For additional information on amsmath, use the `?' option.


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/amsmath/amstex

t.sty

Package: amstext 2000/06/29 v2.01 AMS text


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/amsmath/amsgen

.sty

File: amsgen.sty 1999/11/30 v2.0 generic functions

¥@emptytoks=¥toks16

¥ex@=¥dimen127

))

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/amsmath/amsbsy

.sty

Package: amsbsy 1999/11/29 v1.2d Bold Symbols

¥pmbraise@=¥dimen128

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/amsmath/amsopn

.sty

Package: amsopn 2016/03/08 v2.02 operator names

)

¥inf@bad=¥count93

LaTeX Info: Redefining ¥frac on input line 199.

¥uproot@=¥count94

¥leftroot@=¥count95

LaTeX Info: Redefining ¥overline on input line 297.

¥classnum@=¥count96

¥DOTSCASE@=¥count97

LaTeX Info: Redefining ¥ldots on input line 394.

LaTeX Info: Redefining ¥dots on input line 397.

LaTeX Info: Redefining ¥cdots on input line 518.

¥Mathstrutbox@=¥box48

¥strutbox@=¥box49

¥big@size=¥dimen129

LaTeX Font Info: Redeclaring font encoding OML on input line 634.

LaTeX Font Info: Redeclaring font encoding OMS on input line 635.

¥macc@depth=¥count98

¥c@MaxMatrixCols=¥count99

¥dotsspace@=¥muskip10

¥c@parentequation=¥count100

¥dspbrk@lvl=¥count101

¥tag@help=¥toks17

¥row@=¥count102

¥column@=¥count103

¥maxfields@=¥count104

¥andhelp@=¥toks18

¥eqnshift@=¥dimen130

¥alignsep@=¥dimen131

¥tagshift@=¥dimen132

¥tagwidth@=¥dimen133

¥totwidth@=¥dimen134

¥lineht@=¥dimen135

¥@envbody=¥toks19

¥multlinegap=¥skip44

¥multlinetaggap=¥skip45

¥mathdisplay@stack=¥toks20

LaTeX Info: Redefining ¥[ on input line 2739.

LaTeX Info: Redefining ¥] on input line 2740.

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/tools/array.st

y

Package: array 2014/10/28 v2.4c Tabular extension package (FMi)

¥col@sep=¥dimen136

¥extrarowheight=¥dimen137

¥NC@list=¥toks21

¥extratabsurround=¥skip46

¥backup@length=¥skip47

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/amsfonts/amssy

mb.sty

Package: amssymb 2013/01/14 v3.01 AMS font symbols


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/amsfonts/amsfo

nts.sty

Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support

¥symAMSa=¥mathgroup5

¥symAMSb=¥mathgroup6

LaTeX Font Info: Overwriting math alphabet `¥mathfrak' in version `bold'

(Font) U/euf/m/n --> U/euf/b/n on input line 106.

))

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/curves/curves.

sty

Package: curves 2009/08/31 1.53 Curves for LaTeX picture environment

¥;sc=¥count105

¥;scp=¥count106

¥;t=¥count107

¥;cc=¥count108

¥;cnd=¥count109

¥;mcnd=¥count110

¥;np=¥count111

¥;overhang=¥count112

¥;pbs=¥count113

¥;pns=¥count114

¥;psc=¥count115

¥;rc=¥count116

¥;rtc=¥count117

¥;tc=¥count118

¥csdiameter=¥skip48

¥curvelength=¥skip49

¥overhang=¥skip50

¥;x=¥skip51

¥;dx=¥skip52

¥;ddx=¥skip53

¥;y=¥skip54

¥;dy=¥skip55

¥;ddy=¥skip56

¥;pl=¥skip57

¥;ucd=¥skip58

¥;csbox=¥box50

¥;pt=¥box51

¥;strline=¥toks22

¥m;ssingcoord=¥toks23

¥;negdash=¥toks24

¥;oddcoord=¥toks25

¥;wc=¥count119

¥;X=¥skip59

¥;Y=¥skip60

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/eepic/eepic.st

y

Extension to Epic and LaTeX. Version 1.1e - Released Dec 21, 1999

¥@gphlinewidth=¥count120

¥@eepictcnt=¥count121

¥@tempdimc=¥dimen138

¥maxovaldiam=¥dimen139

¥@filltype=¥box52

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/eepic/epic.sty

Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986

¥@@multicnt=¥count122

¥d@lta=¥count123

¥@delta=¥dimen140

¥@@delta=¥dimen141

¥@gridcnt=¥count124

¥@joinkind=¥count125

¥@dotgap=¥dimen142

¥@ddotgap=¥dimen143

¥@x@diff=¥count126

¥@y@diff=¥count127

¥x@diff=¥dimen144

¥y@diff=¥dimen145

¥@dotbox=¥box53

¥num@segments=¥count128

¥num@segmentsi=¥count129

¥@datafile=¥read1

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/fancybox/fancy

box.sty

Package: fancybox 2010/05/15 1.4


Style option: `fancybox' v1.4 <2010/05/15> (tvz)

¥@fancybox=¥box54

¥shadowsize=¥dimen146

¥@Sbox=¥box55

¥do@VerbBox=¥toks26

¥the@fancyput=¥toks27

¥this@fancyput=¥toks28

¥EndVerbatimTokens=¥toks29

¥Verbatim@Outfile=¥write3

¥Verbatim@Infile=¥read2

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/graphics/graph

ics.sty

Package: graphics 2016/07/10 v1.0t Standard LaTeX Graphics (DPC,SPQR)


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/graphics/trig.

sty

Package: trig 2016/01/03 v1.10 sin cos tan (DPC)

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/graphics-cfg/g

raphics.cfg

File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration

)

Package graphics Info: Driver file: dvips.def on input line 99.


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/graphics-def/d

vips.def

File: dvips.def 2016/07/10 v3.1a Driver-dependent file (DPC,SPQR)

))

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/graphics/graph

icx.sty

Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)


(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/graphics/keyva

l.sty

Package: keyval 2014/10/28 v1.15 key=value parser (DPC)

¥KV@toks@=¥toks30

)

¥Gin@req@height=¥dimen147

¥Gin@req@width=¥dimen148

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/latex/base/latexsym.

sty

Package: latexsym 1998/08/17 v2.2e Standard LaTeX package (lasy symbols)

¥symlasy=¥mathgroup7

LaTeX Font Info: Overwriting symbol font `lasy' in version `bold'

(Font) U/lasy/m/n --> U/lasy/b/n on input line 52.

)

(/Applications/TeXLive/Library/texlive/2016/texmf-dist/tex/platex/japanese-otf-

uptex/otf.sty

Package: otf 2013/11/17 v1.7b6 psitau, u0.17 ttk

LaTeX Font Info: Redeclaring symbol font `mincho' on input line 279.

LaTeX Font Info: Overwriting symbol font `mincho' in version `normal'

(Font) JY1/mc/m/n --> JY1/hmc/m/n on input line 279.

LaTeX Font Info: Overwriting symbol font `mincho' in version `bold'

(Font) JY1/gt/m/n --> JY1/hmc/m/n on input line 279.

LaTeX Font Info: Overwriting symbol font `mincho' in version `bold'

(Font)


LuaTeX で補助私用領域の文字を使いたい

- ひとみ さん の投稿
当方 macOS Catalina で TeX Live 2020 を使っています。

にしき的フォント [1] に含まれる、補助私用領域(U+F0000 以降)の文字を
LuaLaTeX で用いようと思ったのですが、見当違いなグリフが表示され、うまく
いきません [2]。補助私用領域に文字が含まれるフォントを、にしき的フォント
以外に知らないので、フォントの問題なのかそうでないかの切り分けができない
のですが、この現象に対して、どのように対処すればよろしいでしょうか。

[1] http://hwm3.gyao.ne.jp/shiroi-niwatori/nishiki-teki.htm

[2] Twitter への投稿で申し訳ありませんが、
https://twitter.com/CareleSmith9/status/1274878014107422720

ノンブルにダーシを付けたいのですが。

- 内山 伸久 の投稿
ノンブルにダーシを付けたいのですが、
\documentclass{jarticle}

\renewcommand{\ps@plain}{

\let \@mkboth\@gobbletwo

\let\ps@jpl@in\ps@plain

\renewcommand{\@oddhead}{}

\renewcommand{\@evenhead}{}

\renewcommand{\@oddfoot}{\hfill --\ \thepage\ --\hfill}

\renewcommand{\@evenfoot}{\hfill --\ \thepage\ --\hfill}}

\begin{document}

ああああああああああああ

\end{document}


と書いたのですが、うまくいきません。

まだTeXの初心者です。

どこが間違っているのかわかりません。


ご教示頂ければ幸いです。

TeXworks ¥から\への自動変換

- 匿 名 の投稿
こんにちは.最近TeXを始めさせていただきました.拙い質問かもしれませんがご容赦いただきたいです.

MacでTeXを使用しております.基本的にTeXShopを利用しているのですが,諸事情でTeXWorksを利用してみたところ,TeXShopでは「¥キー」を押すと自動的に「\」とエディタ内で表示されたのですが,TeXWorksでは「optionキー+¥キー」を押す必要があります.TeXWorksでも自動的に「\」へ変換されるような設定はありますでしょうか?

texliveにおいて日本語入力ができない

- ダーク マター の投稿
論文を書くためにtexliveをインストールしtexworksで書こうと思ったところ、英語の入力はできるのですが日本語の入力ができませんでした。

最初に、texworksの[編集]→[設定]→[タイプセット]でpLaTeX(ptex2pdf)を新規作成したのですが、日本語の入力はできませんでした。

次に
tlmgr --version
を実行してみたところ
(running on Debian, switching to user mode!)
tlmgr revision 46207 (2018-01-04 19:34:36 +0100)
tlmgr using installation: /usr/share/texlive
TeX Live (http://tug.org/texlive) version 2017
と出ました。そこで2020にアップグレードしようとしたのですが、/usr/share/texlive(デフォルトでは/usr/local/bin/texliveらしいがなぜかshareになっている?)に2017というディレクトリがないため、アップグレードができませんでした。

WSLでubuntu18.04を使用しています。
texを日本語入力するためのご指南をいただけたら幸いです。
また他に足りない情報がありましたらご指摘ください。よろしくお願いいたします。

ー補足
texliveと名前の付くディレクトリは、find検索したところ
/usr/share/doc/texlive-doc/texlive
/usr/share/texlive
/usr/share/texlive/texmf-dist/scripts/texlive
/var/lib/tex-common/fmtutil-cnf/texlive
/var/lib/tex-common/fontmap-cfg/texlive
/var/lib/tex-common/hyphen-cnf/texlive
があるようです。

doc及びplextパッケージを読み込んだ下で,部分縦組みで始めて列挙環境を用いるとunhbox関連のエラー

- Cmplstof B の投稿

こんにちは。

問題は標題の通りですが,それが発生する状況が少しばかり複雑ですので,私めの考えの整理の為にも,説明を繰り返させて頂きます。

問題

docパッケージを読み込んで,\DocInput命令でパッケージ文書等を読み込むと,%文字でコメントアウトしている部分が「解説文書」として組版されますよね。 その解説文書の部分で,plextパッケージで提供されている{minipage}環境等に対する部分的に縦組を行い,その中で列挙環境(例えば{enumerate}環境など)を用いると,

! Incompatible direction list can't be unboxed.
\@item ...setbox \@labels \hbox {\unhbox \@labels 
                                                  \hskip \itemindent \hskip ...
l.27 %   \item あ
                  いうえ,
Sorry, Pandora. (You sneaky devil.)
I refuse to unbox a box in different direction.

というようなエラーが生じます(原稿と組版結果,その記録の全文は別途添付しています)。

しかしながら,私の調査が正しければ,このエラーが生じるのは,列挙環境を一度目に用いたのが部分縦組の内部である場合に限られるようです。事実,この投稿に添付した原稿main.texの25行目から始まる縦組{minipage}環境と34行目から始まる(縦組でない){minipage}環境の順序を逆にすると,当該エラーは発生しません。

このエラーの原因を知り,解決したいのですが,見当も付きません。どうかお力添えをお願いいたします。

動作環境

upLaTeX, TeX Live 2019。

Overleafに原稿を上げています(URL: https://ja.overleaf.com/3997866912mgnpkzhsnfhp)。こちらでも(当然ながら)同じ状況です。

LaTeXにおける索引と用語集の扱いについて

- Cmplstof B の投稿
こんにちは。特定のエラーや挙動に関する話題ではないのですが,
LaTeXにおける索引と用語集の扱いについて,自分の捉え方が合っているかどうか質問させて下さい。

source2eなどを見ても分かる通り,索引と用語集を〝登録する〟命令は,
LaTeXの中核に備わっていて (「File H: ltidxglo.dtx」の章),
何のパッケージに頼ることもなく `\index` や `\glossary` という命令を用いることができます。

そして,ここからが怪しい部分なのですが,
「『別ファイルに出力された `\indexentry` や `\glossaryentry` をどの様に本文中に表示するか』
というのは,利用者が各々取り扱うべき事柄であり,LaTeX公式はそういったな補助機構を
一切提供しない立場を取っている」
という理解で合っているでしょうか?

もっと言えば,「用語集ファイルを処理して本文中に表示する」にあたっては,
「自前で準備した一連の命令で `\glossaryentry` を自分の好きなように処理する」
という方法はLaTeX2εにおいては〝正当な〟行為と思ってよいでしょうか。

〝正当な〟行為というのは,例えばLaTeXでフォントを使う際はNFSSを利用する,とか
文書全体の体裁を変えたい場合はクラスファイルを変えることを検討する,とか
そういう意味です。

この,索引・用語集についてのLaTeX側の見解については,
source2eやusrguide等を見ても載っていないようなのですが……。

中国語のピンイン表記

- g h の投稿
TeXを用いて中国語のピンイン(ローマ字の上に声調記号が付されたもの)を入力するにはどうしたら良いでしょうか?

以前の質問から日本語と中国語の併用はpxbabelパッケージで使えるようになったのですが,ピンインを入力すると間延びしてしまいます.