\listfiles
\documentclass{jarticle}
\usepackage{subfigure}
\usepackage[dvipdfmx]{graphicx}
\usepackage{atbegshi}
\AtBeginShipoutFirst{\special{pdf:tounicode 90ms-RKSJ-UCS2}}

%% \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}} % 2007-06-14 6.76i以前

\usepackage[setpagesize=false,dvipdfmx,%
bookmarks=true,bookmarksnumbered=true,%
pdftitle={タイトル},%
pdfauthor={作成者},%
pdfsubject={サブタイトル},%
pdfkeywords={キーワード},
linkcolor=blue,anchorcolor=blue,urlcolor=blue,
]{hyperref}

\makeatletter
\renewcommand{\thefigure}{%
\thesection.\arabic{figure}}
 \@addtoreset{figure}{section}
\renewcommand{\thetable}{%
\thesection.\arabic{table}}
 \@addtoreset{table}{section}
\makeatother


\begin{document}

\section{test}

\begin{figure}
  \centering
  \caption{\texttt{hyperref}を組み込んだ例}\label{fig:demo}
  \subfigure[Before]{\label{fig:tiger.eps}
    \includegraphics[width=3cm]{tiger.eps}
  }
  \qquad
  \subfigure[After]{\label{fig:golfer.eps}
    \includegraphics[width=3cm]{golfer.eps}
  }
\end{figure}

\begin{table}[tb]
\caption{キャプション}\label{tab:main}
\centering
\subtable[][caption]{\label{tab:leftt}
\begin{tabular}{|c|c|}
\hline
A&B\\
\hline
C&D\\
\hline
\end{tabular}
}
\hspace{20pt}
\subtable[][CAPTION]{\label{tab:rightt}
\begin{tabular}{|c|c|c|}
\hline
E&F&G\\
\hline
H&I&J\\
\hline
K&L&M\\
\hline
\end{tabular}
}
\end{table}

図\ref{fig:demo}、図\ref{fig:tiger.eps}、図\ref{fig:golfer.eps}

表\ref{tab:main}、表\ref{tab:leftt}、表\ref{tab:rightt}

\newpage

\begin{figure}
  \centering
  \caption{\texttt{hyperref}を組み込んだ例}\label{fig:demo2}
  \subfigure[Before]{\label{fig:tiger.eps21}
    \includegraphics[width=3cm]{tiger.eps}
  }
  \qquad
  \subfigure[After]{\label{fig:golfer.eps22}
    \includegraphics[width=3cm]{golfer.eps}
  }
\end{figure}

\begin{table}[tb]
\caption{キャプション}\label{tab:main2}
\centering
\subtable[][caption]{\label{tab:leftt21}
\begin{tabular}{|c|c|}
\hline
A&B\\
\hline
C&D\\
\hline
\end{tabular}
}
\hspace{20pt}
\subtable[][CAPTION]{\label{tab:rightt22}
\begin{tabular}{|c|c|c|}
\hline
E&F&G\\
\hline
H&I&J\\
\hline
K&L&M\\
\hline
\end{tabular}
}
\end{table}

図\ref{fig:demo2}、図\ref{fig:tiger.eps21}、図\ref{fig:golfer.eps22}

表\ref{tab:main2}、表\ref{tab:leftt21}、表\ref{tab:rightt22}
\end{document}
