TeXipedia

dvipdfmx

Converts DVI files to PDF format with enhanced support for East Asian languages and multi-byte character encodings.

Overview

Serves as an advanced DVI-to-PDF converter, building upon dvipdfm's foundation with expanded capabilities for handling complex typesetting needs. The tool is particularly valuable for documents containing East Asian text and sophisticated typography requirements.

  • Provides comprehensive support for CJK (Chinese, Japanese, Korean) character sets and encodings.
  • Maintains compatibility with standard dvipdfm functionality while offering enhanced features.
  • Implements many PDF features comparable to pdfTeX capabilities.
  • Integrated into modern TeX Live distributions as a core component.
  • Commonly used in academic publishing, multilingual documentation, and international technical papers where East Asian language support is crucial.

Getting Started

dvipdfmx is a command-line tool for converting DVI files to PDF, not a LaTeX package to be loaded with \usepackage.

Usage: dvipdfmx [options] file.dvi

Example: dvipdfmx document.dvi

It's particularly useful for documents with East Asian languages and multi-byte character encodings. When called as dvipdfm, it operates in compatibility mode with the original dvipdfm program.

Examples

Using dvipdfmx to create a PDF with Japanese text and custom paper size.

\documentclass{article}
\usepackage{CJKutf8}
\usepackage[dvipdfmx]{graphicx}
\special{papersize=100mm,150mm}
\begin{document}
\begin{CJK}{UTF8}{min}
日本語のテキスト例です。これは dvipdfmx を使用して PDF に変換されます。
\end{CJK}

This document demonstrates using dvipdfmx for East Asian language support and custom paper size.
\end{document}

Creating a PDF with hyperlinks and bookmarks using dvipdfmx.

\documentclass{article}
\usepackage[dvipdfmx]{hyperref}
\usepackage[dvipdfmx]{color}
\begin{document}
\title{Document with Hyperlinks}
\author{Author Name}
\maketitle
\tableofcontents

\section{Introduction}
This is the introduction section.

\section{Using Hyperlinks}
Here is a \href{https://www.ctan.org}{link to CTAN}.

\section{Conclusion}
This document demonstrates using dvipdfmx with hyperlinks and PDF bookmarks.
\end{document}