Notebook

これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。

HTML ファイル生成日時: 2024/12/21 11:44:57.596 (台灣標準時)

pdfTeX を使って PDF ファイルを作る方法

以前に、どこかで、 graphicx パッケージの \includegraphics{} を使って、 PDF ファイルを取り込めるようになっている、という記述を見かけたことがあっ たでござる。なれど、試してみても、上手くいかなかった記憶があるでござる。 どうも、 pdfTeX を使えば \includegraphics{foo.pdf} などということがで きるようでござる。また、 pdfTeX を使うと、 DVI ファイルを生成して、更 にその DVI ファイルを PS や PDF ファイルに変換する、というようなことを する必要はなく、 TeX のソースファイルから直接に PDF ファイルを生成でき るようでござる。どうすればよいのか調べてみたでござる。

pdfTeX を使って PDF ファイルを作る

まず、以下のような内容のファイルを用意してみたでござる。


\documentclass{article}

% Time-stamp: <2024/04/10 13:31:16 (UT+8) daisuke>

\title{\bf Making a PDF file using pdf\TeX}
\author{Kinoshita Daisuke}
\date{10 April 2024}

\begin{document}

\maketitle

\begin{abstract}
 This is a test for making a PDF file using pdf\TeX. The command ``{\tt
 pdflatex}'' can be used to generate a PDF file from a \LaTeX \, source
 file.
\end{abstract}

\section{Introduction}

This is an example of \LaTeX \, source file for making a PDF file. By
using pdf\TeX, we do not need to make DVI file, and a PDF file is
created directly from a \LaTeX \, source file.

\end{document}

このファイルを pdfTeX を使って処理するには、以下のようにすればよいよう でござる。


% ls -lF
total 1
-rw-r--r--  1 daisuke  taiwan  606 Apr 10 13:31 test_pdftex_0.tex
% pdflatex test_pdftex_0.tex 
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_0.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file test_pdftex_0.aux.
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./test_pdftex_0.aux) )<
/usr/pkg/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb><
/usr/pkg/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt9.pfb>
Output written on test_pdftex_0.pdf (1 page, 91739 bytes).
Transcript written on test_pdftex_0.log.

以下のファイルが作られているでござる。


% ls -lF
total 1
-rw-r--r--  1 daisuke  taiwan    132 Apr 10 13:33 test_pdftex_0.aux
-rw-r--r--  1 daisuke  taiwan   3914 Apr 10 13:33 test_pdftex_0.log
-rw-r--r--  1 daisuke  taiwan  91739 Apr 10 13:33 test_pdftex_0.pdf
-rw-r--r--  1 daisuke  taiwan    606 Apr 10 13:31 test_pdftex_0.tex

作られた PDF ファイルを okular で見てみると、以下のようになっているで ござる。

fig_202404/test_pdftex_image_0.png

pdfTeX を使って日本語を含む PDF ファイルを作る方法

以下のようなファイルを用意して、 pdfTeX を使って PDF ファイルを作って みるでござる。


\documentclass{article}

% Time-stamp: <2024/04/10 13:45:51 (UT+8) daisuke>

\usepackage{CJKutf8}
\usepackage{CJKspace}

\title{\begin{CJK*}{UTF8}{ipxm}\bf pdf\TeX を使って PDF ファイルを作る方法\end{CJK*}}
\author{\begin{CJK*}{UTF8}{ipxm}きのしただいすけ\end{CJK*}}
\date{\begin{CJK*}{UTF8}{ipxm}2024 年 04 月 10 日\end{CJK*}}

\begin{document}

\maketitle

\begin{abstract}
 This is a test for making a PDF file using pdf\TeX. The command ``{\tt
 pdflatex}'' can be used to generate a PDF file from a \LaTeX \, source
 file.
\end{abstract}

\section{Introduction}

This is an example of \LaTeX \, source file for making a PDF file. By
using pdf\TeX, we do not need to make DVI file, and a PDF file is
created directly from a \LaTeX \, source file.

\begin{CJK*}{UTF8}{ipxm}
 CJK を使えば、日本語も書けるようでござる。
\end{CJK*}

\end{document}

pdfTeX を使って処理してみるでござる。


% pdflatex test_pdftex_1.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_1.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.sty
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.enc))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty)
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./test_pdftex_1.aux)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr) [1{/var/lib/te
xmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/pkg/share/texmf-dist/fonts/enc/dvi
ps/ipaex-type1/ipxt1-u30.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-t
ype1/ipxt1-u4f.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1
-u65.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u6c.enc}{
/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u5e.enc}{/usr/pkg/s
hare/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u67.enc}{/usr/pkg/share/texmf
-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u8a.enc}{/usr/pkg/share/texmf-dist/font
s/enc/dvips/ipaex-type1/ipxt1-u66.enc}] (./test_pdftex_1.aux) )
Output written on test_pdftex_1.pdf (1 page, 155405 bytes).
Transcript written on test_pdftex_1.log.
% ls -lF test_pdftex_1.*
-rw-r--r--  1 daisuke  taiwan     132 Apr 10 13:45 test_pdftex_1.aux
-rw-r--r--  1 daisuke  taiwan   13939 Apr 10 13:45 test_pdftex_1.log
-rw-r--r--  1 daisuke  taiwan  155405 Apr 10 13:45 test_pdftex_1.pdf
-rw-r--r--  1 daisuke  taiwan     889 Apr 10 13:45 test_pdftex_1.tex
-rw-r--r--  1 daisuke  taiwan     650 Apr 10 13:40 test_pdftex_1.tex~

出来上がった PDF ファイルは以下のようなものでござる。

fig_202404/test_pdftex_image_1.png

PDF ファイルを取り込む方法

\includegraphics{} を使えば、 PDF ファイルを文書中に取り込むことができ るようでござる。以下のような内容のファイルを用意して試してみたでござる。


\documentclass{article}

% Time-stamp: <2024/04/10 14:01:41 (UT+8) daisuke>

\usepackage{CJKutf8}
\usepackage{CJKspace}

\usepackage{graphicx}

\usepackage{url}

\title{\begin{CJK*}{UTF8}{ipxm}\bf pdf\TeX を使って PDF ファイルを作る方法\end{CJK*}}
\author{\begin{CJK*}{UTF8}{ipxm}きのしただいすけ\end{CJK*}}
\date{\begin{CJK*}{UTF8}{ipxm}2024 年 04 月 10 日\end{CJK*}}

\begin{document}

\maketitle

\begin{abstract}
 This is a test for making a PDF file using pdf\TeX. The command ``{\tt
 pdflatex}'' can be used to generate a PDF file from a \LaTeX \, source
 file.
\end{abstract}

\section{Introduction}

This is an example of \LaTeX \, source file for making a PDF file. By
using pdf\TeX, we do not need to make DVI file, and a PDF file is
created directly from a \LaTeX \, source file.

\begin{CJK*}{UTF8}{ipxm}
 CJK を使えば、日本語も書けるようでござる。
\end{CJK*}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って PDF ファイルを取り込んでみると、
 Fig. \ref{www_pdftex} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{1.0}{\includegraphics{www_pdftex_20240410.pdf}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex}
\end{figure}

\end{document}

\label{} と \ref{} を使っているので、 pdflatex を二度実行する必要があ るようでござる。


% pdflatex test_pdftex_2.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_2.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.sty
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.enc))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file test_pdftex_2.aux.
(/usr/pkg/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)

LaTeX Warning: Reference `www_pdftex' on page 1 undefined on input line 38.

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/pkg/share/texmf-dist
/fonts/enc/dvips/ipaex-type1/ipxt1-u30.enc}{/usr/pkg/share/texmf-dist/fonts/enc
/dvips/ipaex-type1/ipxt1-u4f.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipa
ex-type1/ipxt1-u65.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/i
pxt1-u6c.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u5e.e
nc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u67.enc}{/usr/p
kg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u8a.enc}{/usr/pkg/share/t
exmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u66.enc}{/usr/pkg/share/texmf-dist/
fonts/enc/dvips/ipaex-type1/ipxt1-u53.enc}{/usr/pkg/share/texmf-dist/fonts/enc/
dvips/ipaex-type1/ipxt1-u8f.enc} <./www_pdftex_20240410.pdf>]
(./test_pdftex_2.aux)

LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
Output written on test_pdftex_2.pdf (1 page, 322995 bytes).
Transcript written on test_pdftex_2.log.
% pdflatex test_pdftex_2.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_2.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.sty
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.enc))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./test_pdftex_2.aux)
(/usr/pkg/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr) [1{/var/lib/te
xmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/pkg/share/texmf-dist/fonts/enc/dvi
ps/ipaex-type1/ipxt1-u30.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-t
ype1/ipxt1-u4f.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1
-u65.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u6c.enc}{
/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u5e.enc}{/usr/pkg/s
hare/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u67.enc}{/usr/pkg/share/texmf
-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u8a.enc}{/usr/pkg/share/texmf-dist/font
s/enc/dvips/ipaex-type1/ipxt1-u66.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvip
s/ipaex-type1/ipxt1-u53.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-ty
pe1/ipxt1-u8f.enc} <./www_pdftex_20240410.pdf>] (./test_pdftex_2.aux) )
Output written on test_pdftex_2.pdf (1 page, 313335 bytes).
Transcript written on test_pdftex_2.log.
% ls -lF test_pdftex_2.*
-rw-r--r--  1 daisuke  taiwan     336 Apr 10 14:06 test_pdftex_2.aux
-rw-r--r--  1 daisuke  taiwan   16190 Apr 10 14:06 test_pdftex_2.log
-rw-r--r--  1 daisuke  taiwan  313335 Apr 10 14:06 test_pdftex_2.pdf
-rw-r--r--  1 daisuke  taiwan    1346 Apr 10 14:01 test_pdftex_2.tex
-rw-r--r--  1 daisuke  taiwan     912 Apr 10 13:52 test_pdftex_2.tex~

出来上がった PDF ファイルは以下の通りでござる。

fig_202404/test_pdftex_image_2.png

PNG ファイルを取り込んでみる

pdfTeX では、 PDF ファイルだけでなく、 PNG ファイルも取り込めるような ので、試してみるでござる。以下のような内容のファイルを用意してみたでご ざる。


\documentclass{article}

% Time-stamp: <2024/04/10 14:12:27 (UT+8) daisuke>

\usepackage{CJKutf8}
\usepackage{CJKspace}

\usepackage{graphicx}

\usepackage{url}

\title{\begin{CJK*}{UTF8}{ipxm}\bf pdf\TeX を使って PDF ファイルを作る方法\end{CJK*}}
\author{\begin{CJK*}{UTF8}{ipxm}きのしただいすけ\end{CJK*}}
\date{\begin{CJK*}{UTF8}{ipxm}2024 年 04 月 10 日\end{CJK*}}

\begin{document}

\maketitle

\begin{abstract}
 This is a test for making a PDF file using pdf\TeX. The command ``{\tt
 pdflatex}'' can be used to generate a PDF file from a \LaTeX \, source
 file.
\end{abstract}

\section{Introduction}

This is an example of \LaTeX \, source file for making a PDF file. By
using pdf\TeX, we do not need to make DVI file, and a PDF file is
created directly from a \LaTeX \, source file.

\begin{CJK*}{UTF8}{ipxm}
 CJK を使えば、日本語も書けるようでござる。
\end{CJK*}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って PDF ファイルを取り込んでみると、
 Fig. \ref{www_pdftex} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{1.0}{\includegraphics{www_pdftex_20240410.pdf}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex}
\end{figure}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って PNG ファイルを取り込んでみると、
 Fig. \ref{www_pdftex_png} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{0.25}{\includegraphics{www_pdftex_20240410.png}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex_png}
\end{figure}

\end{document}

pdfTeX で処理してみるでござる。


% pdflatex test_pdftex_3.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_3.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.sty
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.enc))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file test_pdftex_3.aux.
(/usr/pkg/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)

LaTeX Warning: Reference `www_pdftex' on page 1 undefined on input line 38.

(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)

LaTeX Warning: Reference `www_pdftex_png' on page 1 undefined on input line 52.


[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/pkg/share/texmf-dist
/fonts/enc/dvips/ipaex-type1/ipxt1-u30.enc}{/usr/pkg/share/texmf-dist/fonts/enc
/dvips/ipaex-type1/ipxt1-u4f.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipa
ex-type1/ipxt1-u65.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/i
pxt1-u6c.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u5e.e
nc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u67.enc}{/usr/p
kg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u8a.enc}{/usr/pkg/share/t
exmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u66.enc}{/usr/pkg/share/texmf-dist/
fonts/enc/dvips/ipaex-type1/ipxt1-u53.enc}{/usr/pkg/share/texmf-dist/fonts/enc/
dvips/ipaex-type1/ipxt1-u8f.enc} <./www_pdftex_20240410.pdf>] [2 <./www_pdftex_
20240410.png>] (./test_pdftex_3.aux)

LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
Output written on test_pdftex_3.pdf (2 pages, 451490 bytes).
Transcript written on test_pdftex_3.log.
% pdflatex test_pdftex_3.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_3.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.sty
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.enc))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./test_pdftex_3.aux)
(/usr/pkg/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr) [1{/var/lib/te
xmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/pkg/share/texmf-dist/fonts/enc/dvi
ps/ipaex-type1/ipxt1-u30.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-t
ype1/ipxt1-u4f.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1
-u65.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u6c.enc}{
/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u5e.enc}{/usr/pkg/s
hare/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u67.enc}{/usr/pkg/share/texmf
-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u8a.enc}{/usr/pkg/share/texmf-dist/font
s/enc/dvips/ipaex-type1/ipxt1-u66.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvip
s/ipaex-type1/ipxt1-u53.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-ty
pe1/ipxt1-u8f.enc} <./www_pdftex_20240410.pdf>] [2 <./www_pdftex_20240410.png>]
 (./test_pdftex_3.aux) )
Output written on test_pdftex_3.pdf (2 pages, 441835 bytes).
Transcript written on test_pdftex_3.log.
% ls -lF test_pdftex_3.*
-rw-r--r--  1 daisuke  taiwan     544 Apr 10 14:23 test_pdftex_3.aux
-rw-r--r--  1 daisuke  taiwan   16706 Apr 10 14:23 test_pdftex_3.log
-rw-r--r--  1 daisuke  taiwan  441835 Apr 10 14:23 test_pdftex_3.pdf
-rw-r--r--  1 daisuke  taiwan    1771 Apr 10 14:12 test_pdftex_3.tex
-rw-r--r--  1 daisuke  taiwan    1770 Apr 10 14:10 test_pdftex_3.tex~

出来た PDF ファイルは以下の通りでござる。

fig_202404/test_pdftex_image_3.png

JPEG ファイルを取り込んでみる

JPEG ファイルも取り込むことができるようなので、試してみるでござる。以 下のようなファイルを準備したでござる。


\documentclass{article}

% Time-stamp: <2024/04/10 14:25:49 (UT+8) daisuke>

\usepackage{CJKutf8}
\usepackage{CJKspace}

\usepackage{graphicx}

\usepackage{url}

\title{\begin{CJK*}{UTF8}{ipxm}\bf pdf\TeX を使って PDF ファイルを作る方法\end{CJK*}}
\author{\begin{CJK*}{UTF8}{ipxm}きのしただいすけ\end{CJK*}}
\date{\begin{CJK*}{UTF8}{ipxm}2024 年 04 月 10 日\end{CJK*}}

\begin{document}

\maketitle

\begin{abstract}
 This is a test for making a PDF file using pdf\TeX. The command ``{\tt
 pdflatex}'' can be used to generate a PDF file from a \LaTeX \, source
 file.
\end{abstract}

\section{Introduction}

This is an example of \LaTeX \, source file for making a PDF file. By
using pdf\TeX, we do not need to make DVI file, and a PDF file is
created directly from a \LaTeX \, source file.

\begin{CJK*}{UTF8}{ipxm}
 CJK を使えば、日本語も書けるようでござる。
\end{CJK*}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って PDF ファイルを取り込んでみると、
 Fig. \ref{www_pdftex} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{1.0}{\includegraphics{www_pdftex_20240410.pdf}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex}
\end{figure}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って PNG ファイルを取り込んでみると、
 Fig. \ref{www_pdftex_png} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{0.25}{\includegraphics{www_pdftex_20240410.png}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex_png}
\end{figure}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って JPEG ファイルを取り込んでみると、
 Fig. \ref{www_pdftex_jpg} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{0.25}{\includegraphics{www_pdftex_20240410.jpg}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex_jpg}
\end{figure}

\end{document}

pdflatex コマンドを実行してみるでござる。


% pdflatex test_pdftex_4.tex 
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_4.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.sty
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.enc))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file test_pdftex_4.aux.
(/usr/pkg/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)

LaTeX Warning: Reference `www_pdftex' on page 1 undefined on input line 38.

(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)

LaTeX Warning: Reference `www_pdftex_png' on page 1 undefined on input line 52.


(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)

LaTeX Warning: Reference `www_pdftex_jpg' on page 1 undefined on input line 66.


[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/pkg/share/texmf-dist
/fonts/enc/dvips/ipaex-type1/ipxt1-u30.enc}{/usr/pkg/share/texmf-dist/fonts/enc
/dvips/ipaex-type1/ipxt1-u4f.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipa
ex-type1/ipxt1-u65.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/i
pxt1-u6c.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u5e.e
nc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u67.enc}{/usr/p
kg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u8a.enc}{/usr/pkg/share/t
exmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u66.enc}{/usr/pkg/share/texmf-dist/
fonts/enc/dvips/ipaex-type1/ipxt1-u53.enc}{/usr/pkg/share/texmf-dist/fonts/enc/
dvips/ipaex-type1/ipxt1-u8f.enc} <./www_pdftex_20240410.pdf>] [2 <./www_pdftex_
20240410.png> <./www_pdftex_20240410.jpg>] (./test_pdftex_4.aux)

LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
Output written on test_pdftex_4.pdf (2 pages, 698956 bytes).
Transcript written on test_pdftex_4.log.
% pdflatex test_pdftex_4.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_4.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/pkg/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKutf8.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifpdf.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.sty
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJK.enc))
(/usr/pkg/share/texmf-dist/tex/latex/base/fontenc.sty))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./test_pdftex_4.aux)
(/usr/pkg/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fd)
(/usr/pkg/share/texmf-dist/tex/latex/ipaex-type1/c70ipxm.fdx)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc)
(/usr/pkg/share/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr) [1{/var/lib/te
xmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/pkg/share/texmf-dist/fonts/enc/dvi
ps/ipaex-type1/ipxt1-u30.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-t
ype1/ipxt1-u4f.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1
-u65.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u6c.enc}{
/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u5e.enc}{/usr/pkg/s
hare/texmf-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u67.enc}{/usr/pkg/share/texmf
-dist/fonts/enc/dvips/ipaex-type1/ipxt1-u8a.enc}{/usr/pkg/share/texmf-dist/font
s/enc/dvips/ipaex-type1/ipxt1-u66.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvip
s/ipaex-type1/ipxt1-u53.enc}{/usr/pkg/share/texmf-dist/fonts/enc/dvips/ipaex-ty
pe1/ipxt1-u8f.enc} <./www_pdftex_20240410.pdf>] [2 <./www_pdftex_20240410.png> 
<./www_pdftex_20240410.jpg>] (./test_pdftex_4.aux) )
Output written on test_pdftex_4.pdf (2 pages, 689279 bytes).
Transcript written on test_pdftex_4.log.
% ls -lF test_pdftex_4.*
-rw-r--r--  1 daisuke  taiwan     752 Apr 10 14:27 test_pdftex_4.aux
-rw-r--r--  1 daisuke  taiwan   17217 Apr 10 14:27 test_pdftex_4.log
-rw-r--r--  1 daisuke  taiwan  689279 Apr 10 14:27 test_pdftex_4.pdf
-rw-r--r--  1 daisuke  taiwan    2197 Apr 10 14:25 test_pdftex_4.tex

出来た PDF ファイルは以下の通りでござる。

fig_202404/test_pdftex_image_4.png

中国語を含む PDF ファイルを作ってみる

以下のようなファイルを用意して、中国語を含む PDF ファイルを作ってみた でござる。


\documentclass{article}

% Time-stamp: <2024/04/10 14:35:50 (UT+8) daisuke>

\usepackage{CJKutf8}
\usepackage{CJKspace}

\usepackage{graphicx}

\usepackage{url}

\title{\begin{CJK*}{UTF8}{ipxm}\bf pdf\TeX を使って PDF ファイルを作る方法\end{CJK*}}
\author{\begin{CJK*}{UTF8}{ipxm}きのしただいすけ\end{CJK*}}
\date{\begin{CJK*}{UTF8}{ipxm}2024 年 04 月 10 日\end{CJK*}}

\begin{document}

\maketitle

\begin{abstract}
 This is a test for making a PDF file using pdf\TeX. The command ``{\tt
 pdflatex}'' can be used to generate a PDF file from a \LaTeX \, source
 file.
\end{abstract}

\section{Introduction}

This is an example of \LaTeX \, source file for making a PDF file. By
using pdf\TeX, we do not need to make DVI file, and a PDF file is
created directly from a \LaTeX \, source file.

\begin{CJK*}{UTF8}{ipxm}
 CJK を使えば、日本語も書けるようでござる。
\end{CJK*}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って PDF ファイルを取り込んでみると、
 Fig. \ref{www_pdftex} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{1.0}{\includegraphics{www_pdftex_20240410.pdf}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex}
\end{figure}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って PNG ファイルを取り込んでみると、
 Fig. \ref{www_pdftex_png} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{0.25}{\includegraphics{www_pdftex_20240410.png}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex_png}
\end{figure}

\begin{CJK*}{UTF8}{ipxm}
 \verb|\includegraphics{}| を使って JPEG ファイルを取り込んでみると、
 Fig. \ref{www_pdftex_jpg} のようになるようでござる。
\end{CJK*}

\begin{figure}[htbp]
 \begin{center}
  \scalebox{0.25}{\includegraphics{www_pdftex_20240410.jpg}}
 \end{center}
 \caption{The description about pdf\TeX \, on
 \protect\url{https://www.tug.org/}.}
 \label{www_pdftex_jpg}
\end{figure}

\begin{CJK*}{UTF8}{bkai}
 民國 113 年 4 月 3 日早上在花蓮有很大的地震.
\end{CJK*}

\end{document}

pdflatex コマンドを使って作った PDF ファイルは以下の通りでござる。

fig_202404/test_pdftex_image_5.png

pdfTeX を使って発表用のスライドを作ってみる

pdfTeX と beamer を使って、スライドを作ってみたでござる。以下のような ファイルを用意してみたでござる。


\documentclass[t]{beamer}

% Time-stamp: <2024/04/10 14:45:55 (UT+8) daisuke>

\usetheme{SimplePlus}

\title{A sample slide using pdfTeX and Beamer}
\subtitle{--- This is a test slide ---}
\author{Kinoshita Daisuke}
\institute{Institute of Astronomy, National Central University}
\date{10 April 2024}

\begin{document}

\begin{frame}
 \titlepage
\end{frame}

\begin{frame}{Outline}
 \begin{itemize}
  \item Introduction
  \item Observation
  \item Data analysis
  \item Results
  \item Discussion
  \item Conclusion
 \end{itemize}
\end{frame}

\end{document}

pdfTeX を実行してみたでござる。


% pdflatex test_pdftex_6.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/pkgsrc) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test_pdftex_6.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamer.cls
Document Class: beamer 2024/01/06 v3.71 A class for typesetting presentations
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasemodes.sty
(/usr/pkg/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasedecode.sty))
(/usr/pkg/share/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/pkg/share/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/pkg/share/texmf-dist/tex/generic/iftex/ifvtex.sty))
(/usr/pkg/share/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/pkg/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/pkg/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/usr/pkg/share/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/usr/pkg/share/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/pkg/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/pkg/share/texmf-dist/tex/generic/pgf/utilities/pgfkeyslibraryfiltered.cod
e.tex))) (/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex
)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.
code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.te
x)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.cod
e.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)

(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex
)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)

(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithme
tics.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)))
(/usr/pkg/share/texmf-dist/tex/latex/base/size11.clo)
(/usr/pkg/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/pkg/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/pkg/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/pkg/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
(/usr/pkg/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
 (/usr/pkg/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex)
) (/usr/pkg/share/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/pkg/share/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/pkg/share/texmf-dist/tex/latex/graphics/mathcolor.ltx))
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/pkg/share/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code
.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
) (/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)

(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.
tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.co
de.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.cod
e.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex)
 (/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.
tex)
(/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex)
 (/usr/pkg/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex)))
(/usr/pkg/share/texmf-dist/tex/latex/pgf/utilities/xxcolor.sty)
(/usr/pkg/share/texmf-dist/tex/latex/base/atbegshi-ltx.sty)
(/usr/pkg/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/pkg/share/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(/usr/pkg/share/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/pkg/share/texmf-dist/tex/generic/pdfescape/pdfescape.sty
(/usr/pkg/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/pkg/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/pkg/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))
(/usr/pkg/share/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/pkg/share/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/usr/pkg/share/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/pkg/share/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/pkg/share/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
(/usr/pkg/share/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
(/usr/pkg/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/pkg/share/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/pkg/share/texmf-dist/tex/latex/url/url.sty)
(/usr/pkg/share/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/pkg/share/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))

Package hyperref Message: Stopped early.

) (/usr/pkg/share/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/pkg/share/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/pkg/share/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/pkg/share/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaserequires.sty
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasefont.sty
(/usr/pkg/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/pkg/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty)))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty
(/usr/pkg/share/texmf-dist/tex/latex/translator/translator.sty))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasemisc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasetitle.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasesection.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseframe.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasecolor.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasenotes.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasetoc.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty)))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
(/usr/pkg/share/texmf-dist/tex/latex/tools/enumerate.sty))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasenavigationsymbols.tex))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
(/usr/pkg/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/pkg/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/pkg/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/pkg/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/pkg/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/pkg/share/texmf-dist/tex/latex/amscls/amsthm.sty))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerbasethemes.sty))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerthemedefault.sty
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerfontthemedefault.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamercolorthemedefault.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty)))
(/usr/pkg/share/texmf-dist/tex/latex/beamertheme-simpleplus/beamerthemeSimplePl
us.sty (/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerthemeMadrid.sty
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamercolorthemewhale.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamercolorthemeorchid.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerinnerthemerounded.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty))
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamerinnerthemecircles.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamertheme-simpleplus/beamerfontthemeSimp
lePlus.sty)
(/usr/pkg/share/texmf-dist/tex/latex/beamertheme-simpleplus/beamercolorthemeSim
plePlus.sty
(/usr/pkg/share/texmf-dist/tex/latex/beamer/beamercolorthemestructure.sty))
(/usr/pkg/share/texmf-dist/tex/latex/beamertheme-simpleplus/beamerinnerthemeSim
plePlus.sty))
(/usr/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./test_pdftex_6.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/pkg/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/pkg/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(./test_pdftex_6.out) (./test_pdftex_6.out)
(/usr/pkg/share/texmf-dist/tex/latex/translator/translator-basic-dictionary-Eng
lish.dict)
(/usr/pkg/share/texmf-dist/tex/latex/translator/translator-bibliography-diction
ary-English.dict)
(/usr/pkg/share/texmf-dist/tex/latex/translator/translator-environment-dictiona
ry-English.dict)
(/usr/pkg/share/texmf-dist/tex/latex/translator/translator-months-dictionary-En
glish.dict)
(/usr/pkg/share/texmf-dist/tex/latex/translator/translator-numbers-dictionary-E
nglish.dict)
(/usr/pkg/share/texmf-dist/tex/latex/translator/translator-theorem-dictionary-E
nglish.dict) (./test_pdftex_6.nav) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pd
ftex.map}] (/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/pkg/share/texmf-dist/tex/latex/amsfonts/umsb.fd) [2] (./test_pdftex_6.aux
) )
Output written on test_pdftex_6.pdf (2 pages, 52804 bytes).
Transcript written on test_pdftex_6.log.
% ls -lF test_pdftex_6.*
-rw-r--r--  1 daisuke  taiwan    719 Apr 10 14:49 test_pdftex_6.aux
-rw-r--r--  1 daisuke  taiwan  33666 Apr 10 14:49 test_pdftex_6.log
-rw-r--r--  1 daisuke  taiwan    395 Apr 10 14:49 test_pdftex_6.nav
-rw-r--r--  1 daisuke  taiwan      0 Apr 10 14:49 test_pdftex_6.out
-rw-r--r--  1 daisuke  taiwan  52804 Apr 10 14:49 test_pdftex_6.pdf
-rw-r--r--  1 daisuke  taiwan      0 Apr 10 14:49 test_pdftex_6.snm
-rw-r--r--  1 daisuke  taiwan    558 Apr 10 14:45 test_pdftex_6.tex
-rw-r--r--  1 daisuke  taiwan     27 Apr 10 14:41 test_pdftex_6.tex~
-rw-r--r--  1 daisuke  taiwan      0 Apr 10 14:49 test_pdftex_6.toc

出来上がったスライドは以下の通りでござる。

fig_202404/test_pdftex_image_6.png

まとめ

きちんと pdfTeX の使い方を学ぶには、どの文書を参考にすればよいのかよく わからないので、 pdfTeX のよい解説を探してみる必要がありそうでござる。



Frequently accessed files

  1. Computer___Python/20220518_0.html
  2. Computer___Network/20230726_00.html
  3. Misc___Taiwan/20240207_00.html
  4. Computer___Network/20230516_00.html
  5. Computer___FreeBSD/20220621_0.html
  6. Computer___Python/20220715_0.html
  7. Computer___Network/20230508_00.html
  8. Food___Taiwan/20220429_0.html
  9. Computer___Network/20240130_00.html
  10. Computer___NetBSD/20220817_3.html
  11. Computer___Python/20220410_0.html
  12. Computer___Network/20240416_00.html
  13. Computer___NetBSD/20230119_00.html
  14. Computer___Debian/20210223_1.html
  15. Computer___Python/20221013_0.html
  16. Computer___Python/20210124_0.html
  17. Computer___NetBSD/20220428_0.html
  18. Computer___NetBSD/20220818_1.html
  19. Computer___NetBSD/20240101_02.html
  20. Science___Math/20220420_0.html
  21. Computer___Python/20240101_00.html
  22. Computer___NetBSD/20220808_0.html
  23. Computer___TeX/20230503_00.html
  24. Science___Astronomy/20220503_0.html
  25. Computer___NetBSD/20230515_00.html
  26. Computer___Network/20220413_1.html
  27. Computer___NetBSD/20210127_0.html
  28. Computer___TeX/20231107_00.html
  29. Computer___Python/20220816_1.html
  30. Computer___Python/20230717_01.html


HTML file generated by Kinoshita Daisuke.