summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ocr-latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-09-24 21:48:55 +0000
committerKarl Berry <karl@freefriends.org>2006-09-24 21:48:55 +0000
commit9e3200d38fdb38d5feaa3f48bb0f37e6716df871 (patch)
treef72f272c430f3e7c4dd16043dba8832d808f5f0a /Master/texmf-dist/doc/latex/ocr-latex
parent52070124a281591790b169745b1d45844b513a91 (diff)
new package ocr-latex (23sep06)
git-svn-id: svn://tug.org/texlive/trunk@2189 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ocr-latex')
-rw-r--r--Master/texmf-dist/doc/latex/ocr-latex/README28
-rw-r--r--Master/texmf-dist/doc/latex/ocr-latex/ocr.pdfbin0 -> 185600 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ocr-latex/ocr.tex87
3 files changed, 115 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ocr-latex/README b/Master/texmf-dist/doc/latex/ocr-latex/README
new file mode 100644
index 00000000000..a53f7ac4be4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ocr-latex/README
@@ -0,0 +1,28 @@
+This is a small package that provides some (poor) LaTeX support for
+the OCR fonts. The OCR fonts are part of many tex installations,
+and is found on the TeX Live distribution.
+
+*Installation*
+
+Unpack the archive, and move the files into their proper directories
+
+The files
+ocr.sty
+ot1oca.fd
+ot1ocra.fd
+ot1ocrb.fd
+ot1ocrbn.fd
+ot1ocrbns.fd
+ot1ocrbo.fd
+ot1ocrbs.fd
+
+should be placed in
+TEXMF/tex/latex/ocr
+
+ocr.pdf
+
+should be placed in
+TEXMF/doc/latex/ocr
+
+ocr.tex is the source of ocr.pdf and no installation of it is
+required. It can be deleted at will...
diff --git a/Master/texmf-dist/doc/latex/ocr-latex/ocr.pdf b/Master/texmf-dist/doc/latex/ocr-latex/ocr.pdf
new file mode 100644
index 00000000000..53d2c6537e0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ocr-latex/ocr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ocr-latex/ocr.tex b/Master/texmf-dist/doc/latex/ocr-latex/ocr.tex
new file mode 100644
index 00000000000..915a9b00538
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ocr-latex/ocr.tex
@@ -0,0 +1,87 @@
+\documentclass{article}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{listings,tabularx}
+\title{The \texttt{ocr} package\medskip\\
+ \large\LaTeX\ support for the OCR fonts (Optical Chatacter
+ Recognition fonts)}
+\author{version 1.0 \today}
+\lstset{language=[latex]tex,breaklines=true}
+\date{Palle J\o rgensen}
+\newcommand*\ocrfont[1]{{\fontencoding{OT1}\fontfamily{#1}\selectfont 123}}
+\newcommand*\sourcefile[1]{\subsection{#1}
+ \lstinputlisting{#1}}
+
+\begin{document}
+\maketitle
+\section{Introduction}
+\label{sec:introduction}
+The \texttt{ocr} package provides support for the OCR fonts.
+The OCR fonts are already installed on many systems, this is only
+support for using the OCR fonts with \LaTeX.
+
+The license of the ocr pcakage and the related files is GNU General
+Public License.
+
+\clearpage
+\section{Using the ocr package}
+\label{sec:using-OCR-fonts}
+
+\subsection{Package options}
+\label{sec:package-options}
+
+The \texttt{ocr} package has the following options\bigskip
+
+\noindent\begin{tabularx}{\linewidth}{>\ttfamily lXlX}
+ \hline
+ \rmfamily Option: & Effect: & Example & Comments: \\\hline
+ ocr-a & Selects the OCR font to be OCR-A & \ocrfont{ocra} \\
+ ocr-b & Selects the OCR font to be OCR-B & \ocrfont{ocrb} & Default \\
+ ocr-b-outline & Selects the OCR font to be an outline of
+ OCR-B & \ocrfont{ocrbo} \\
+ ocr-b-negative & Selects the OCR font to be a negative OCR-B & \ocrfont{ocrbn} \\
+ ocr-b-sharp & Selects the OCR font to be a ``sharp'' OCR-B
+ & \ocrfont{ocrbs} & The sharp fonts are not constructed properly. Use
+ with care \\
+ ocr-b-sharp-negative & Selects the OCR font to be a negative
+ ``sharp'' OCR-B & \ocrfont{ocrbns} & The sharp fonts are not constructed properly. Use
+ with care \\\hline
+\end{tabularx}
+
+\subsection{Commands}
+\label{sec:commands}
+
+If you want some text typeset with the selected OCR font for a short
+text you can use the command \verb+\ocr+; ie.\ \verb+\ocr{cheese}+.
+
+It is possible to use the command \verb+\ocrfamily+ but this command
+also changes the current fontencoding; use with caution\dots
+
+\subsubsection{Negative fonts}
+\label{sec:negative-fonts}
+
+If you have selectec the option \verb+ocr-b+ or \verb+ocr-b-sharp+ it
+is possible to use the command \verb+\ocrneg+ which typsesets the text
+with the ``negative'' of the selected OCR font.
+
+\clearpage
+\section{Source of the files in the OCR bundle}
+\label{sec:source}
+
+\sourcefile{ocr.sty}
+\sourcefile{ot1oca.fd}
+\sourcefile{ot1ocra.fd}
+\sourcefile{ot1ocrb.fd}
+\sourcefile{ot1ocrbn.fd}
+\sourcefile{ot1ocrbns.fd}
+\clearpage
+\sourcefile{ot1ocrbo.fd}
+\sourcefile{ot1ocrbs.fd}
+
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: