最初のページからアラビア語でページ番号を開始し、文書の最後まで続けるにはどうすればよいですか?

最初のページからアラビア語でページ番号を開始し、文書の最後まで続けるにはどうすればよいですか?

私は論文を書くためにbookクラスを使用しています。
ページ番号を最初のページから開始したいのです
が、目次は次のようになります。

1,3,5

より

i, 1, 3

ここに画像の説明を入力してください はから

% arara: pdflatex
% arara: pdflatex
\documentclass[12pt]{book}

\usepackage{tocbibind}
\usepackage[toc]{appendix}
\usepackage[bookmarks]{hyperref}

\begin{document}

    \frontmatter  

        \tableofcontents

    \mainmatter  

        \chapter{main}

    \begin{appendices}

        \chapter{appendix}

    \end{appendices}

\end{document}

答え1

\frontmatter番号付けから始める場合は技術的には必要ないので、発行しないでください\arabic。したがって、\mainmatterも不要になります。したがって、ドキュメントの構造は次のようになります。

\documentclass{book}

\usepackage{tocbibind}
\usepackage[toc]{appendix}
\usepackage[bookmarks]{hyperref}

\begin{document}

\tableofcontents

\chapter{main}

\begin{appendices}

\chapter{appendix}

\end{appendices}

\end{document}

関連情報