\documentclass{article}

\usepackage{lmodern}
\usepackage{uppunctlm}
\usepackage[T1]{fontenc}

\def\labelenumi{(\theenumi)}

\title{Always Upright Shape Some Punctuation Marks and Arabic Numerals}
\author{Yuwsuke KIEDA}
\date{2016/09/29 v0.1}

\begin{document}

\maketitle

\section{Descriptions}

We provides a mechanism to be the punctuation that is always upright
shape even if you specify the italic.

It is directed to Latin Modern fonts.
It provide the following files: tfm, vf, fd, and sty.
Those shown below is always upright shapes:
comma, period, semicolon, colon, parentheses, square brackets,
and Arabic numerals.

\section{Requirements}

\begin{itemize}
 \item the Latin Modern fonts
\end{itemize}

\section{Usage (preamble)}

\begin{quote}
\begin{verbatim}
\usepackage{lmodern}
\usepackage{uppunctlm}
\usepackage[T1]{fontenc}
\end{verbatim}
\end{quote}

\section{License}

The GUST Font Source License (GFSL)

\section{Samples}

\itshape
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Etiam lobortis facilisis sem;
nullam nec mi et neque pharetra sollicitudin.
Praesent imperdiet mi nec ante:
Donec ullamcorper, (felis) non sodales commodo,
lectus velit ultrices augue, a [dignissim] nibh lectus placerat pede.
Vivamus nunc nunc, molestie ut, ultricies vel, semper in, velit.
Ut porttitor. Praesent in sapien.

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
\end{document}