From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- fonts/pcarl/README | 30 +++ fonts/pcarl/pcarl.bib | 27 +++ fonts/pcarl/pcarl.dtx | 439 ++++++++++++++++++++++++++++++++++++++++++++ fonts/pcarl/pcarl.ins | 52 ++++++ fonts/pcarl/pcarl.pdf | Bin 0 -> 152187 bytes fonts/pcarl/pcarlsample.pdf | Bin 0 -> 50682 bytes fonts/pcarl/pcarlsample.tex | 31 ++++ 7 files changed, 579 insertions(+) create mode 100644 fonts/pcarl/README create mode 100644 fonts/pcarl/pcarl.bib create mode 100644 fonts/pcarl/pcarl.dtx create mode 100644 fonts/pcarl/pcarl.ins create mode 100644 fonts/pcarl/pcarl.pdf create mode 100644 fonts/pcarl/pcarlsample.pdf create mode 100644 fonts/pcarl/pcarlsample.tex (limited to 'fonts/pcarl') diff --git a/fonts/pcarl/README b/fonts/pcarl/README new file mode 100644 index 0000000000..029e829a70 --- /dev/null +++ b/fonts/pcarl/README @@ -0,0 +1,30 @@ + LaTeX Support for Adobe Caslon Open Face + Version 1.0a + +Caslon Open Face font was desgined by Barnhart Brothers and Spindler +in 1915. It was initially colled College Oldstyle and based on Le +Moreau de Jeune from G. Peignot foundry. Its realtion to the +classical Caslon font family is rather distant. Nevertheless it is a +nice titling and display font. + +Adobe sells OTF version of this font, but other versions, including +Type 1 are still available from other vendors, including +http://www.fonts.com. Note that there are many ``free'' variants of +this font available for downloading on various sites; I chose not to +use them because of unclear license status. + +While modern engines like XeTeX and LuaTeX can use system fonts +directly, the installation base of the other systems is huge, so it +might be worthwile to release support files. + +The name pcarl follows the standard Fontname scheme for Adobe Caslon +Open Face. + +This package was commssioned by Annals of Mathematics, +http://annals.princeton.edu/. + + +Changes: + + Version 1.0a + Documentation cleanup diff --git a/fonts/pcarl/pcarl.bib b/fonts/pcarl/pcarl.bib new file mode 100644 index 0000000000..57e3bc310f --- /dev/null +++ b/fonts/pcarl/pcarl.bib @@ -0,0 +1,27 @@ + +@manual{Adobe:CaslonOpenFace07, + note = + {\url{http://www.adobe.com/type/browser/html/readmes/CaslonOpenFaceStdReadMe% +.html}}, + organization = {Adobe Systems, Inc}, + title = {{C}aslon {O}pen {F}ace {S}td}, + year = {2007}, +} + +@manual{fontname, + author = {Karl Berry}, + month = {September}, + note = {\url{http://mirrors.ctan.org/info/fontname}}, + title = {Fontname. Filenames For {\TeX} Fonts}, + year = {2005}, +} + +@manual{fontinstallationguide, + author = {Philipp Lehman}, + month = {December}, + note = + {\url{http://mirrors.ctan.org/info/Type1fonts/fontinstallationguide}}, + title = {The Font Installation Guide}, + year = {2004}, +} + diff --git a/fonts/pcarl/pcarl.dtx b/fonts/pcarl/pcarl.dtx new file mode 100644 index 0000000000..778b31b759 --- /dev/null +++ b/fonts/pcarl/pcarl.dtx @@ -0,0 +1,439 @@ +% \iffalse +% $Id: pcarl.dtx,v 1.6 2011-01-11 17:43:26 boris Exp $ +% +% Copyright (c) 2011, Boris Veytsman +% +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions +% are met: +% +% * Redistributions of source code must retain the above copyright +% notice, this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above +% copyright notice, this list of conditions and the following +% disclaimer in the documentation and/or other materials provided +% with the distribution. +% * Neither the name of the original author nor the names of the +% contributors may be used to endorse or promote products derived +% from this software without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +% CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +% INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +% MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +% DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +% BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +% TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +% DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +% ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +% OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +% OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +% POSSIBILITY OF SUCH DAMAGE. +% +% \fi +% \CheckSum{178} +% +% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +% +%\iffalse +% Taken from xkeyval.dtx +%\fi +%\makeatletter +%\def\DescribeOption#1{\leavevmode\@bsphack +% \marginpar{\raggedleft\PrintDescribeOption{#1}}% +% \SpecialOptionIndex{#1}\@esphack\ignorespaces} +%\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ } +%\def\SpecialOptionIndex#1{\@bsphack +% \index{#1\actualchar{\protect\ttfamily#1} +% (option)\encapchar usage}% +% \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar +% usage}\@esphack} +%\def\DescribeOptions#1{\leavevmode\@bsphack +% \marginpar{\raggedleft\strut\emph{options}% +% \@for\@tempa:=#1\do{% +% \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa +% }}\@esphack\ignorespaces} +%\makeatother +% +% +% \MakeShortVerb{|} +% \GetFileInfo{pcarl.dtx} +% \title{\LaTeX{} Support for Adobe Caslon Open Face} +% \author{Boris Veytsman\thanks{% +% \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}}, +% \href{mailto:boris@varphi.com}{\texttt{boris@varphi.com}}}} +% \date{\filedate, \fileversion} +% \maketitle +% \begin{abstract} +% This package provides \LaTeX{} support for Adobe Caslon Open Face +% font. +% \end{abstract} +% \tableofcontents +% +% \changes{v1.0a}{2011/01/11}{Documentation cleanup} +% +% \section{Introduction} +% \label{sec:intro} +% +% Caslon Open Face font was desgined by Barnhart Brothers and Spindler +% in 1915. It was initially colled College Oldstyle and based on +% \emph{Le Moreau de Jeune} from G.~Peignot +% foundry~\cite{Adobe:CaslonOpenFace07}. Its realtion to the +% classical Caslon font family is rather distant. Neverteless it is a +% nice titling and display font. +% +% Adobe sells OTF version of this font, but other versions, including +% Type~1 are still available from other vendors, including +% \url{http://www.fonts.com}. Note that there are many ``free'' +% variants of this font available for downloading on various sites; I +% chose not to use them because of unclear license status. +% +% While modern engines like Xe\TeX{} and Lua\TeX{} can use system +% fonts directly, the installation base of the other systems is huge, +% so it might be worthwile to release support files. +% +% The name |pcarl| follows the standard Fontname +% scheme~\cite{fontname} for Adobe Caslon Open Face. +% +%\section{User Guide} +%\label{sec:userguide} +% +% +%\subsection{Installation} +%\label{sec:install} +% +% First, you need the buy the font itself. This package assumes that +% the font is in Type~1 format (on many sites this is mislabeled +% ``Windows PostScript''). The file should be named |ca______.pfb|. +% Put it in \path{$TEXMF/fonts/type1/adobe/pcarl/ca______.pfb}. Note +% that this package does \emph{not} require you to rename the file to, +% say, |pcarl8a.pfb| (however, on a Unix-like system you may need to +% downcase the file name if you downloaded it as, say, +% |ca______.PFB|). +% +% Download the file +% \url{http://ctan.tug.org/install/fonts/psfonts/pcarl.tds.zip} +% and unzip it in the \path{$TEXMF} directory. For \TeX Live it is +% probably \path{/usr/local/texlive/texmf-local}, or +% \path{/usr/local/share/texmf-local}, or \path{~/texmf}, or +% \path{C:\Program Files\texlive\texmf-local}, etc. For Mik\TeX{} it +% is probably \path{C:\miktex\texmf} or \path{C:\miktex\localtexmf}. +% Run |texhash| to update the database of file names. +% +% Now you need to add the map file |pcarl.map| to the configuration files +% of |dvips| and |pdftex|. This again depends on your +% distribution. For \TeX Live you create a file +% \path{$TEXMF/updmap.d/50pcarl.cfg} with just the line +% \begin{verbatim} +% Map pcarl.map +% \end{verbatim} +% and then run |texhash| and |updmap|. If you use Debian or Ubuntu, +% the system-wide |updmap.d| directory is located in |/etc|, and you +% need to create the file |pcarl.list| in +% \path{/var/lib/tex-common/fontmap-cfg/} with the line +% \begin{verbatim} +% 50pcarl +% \end{verbatim} +% +% +% If you use Mik\TeX2.6, run +% \begin{verbatim} +% initexmf --edit-config-file updmap +% \end{verbatim} +% Add to the config file +% \begin{verbatim} +% Map pcarl.map +% \end{verbatim} +% save, exit and run |updmap|. +% +% If you use Mik\TeX2.5 or earlier, edit +% \path{localtexmf\web2c\updmap.cfg}, adding the line +% \begin{verbatim} +% Map pcarl.map +% \end{verbatim} +% and run |updmap|. +% +% Refer to your distribution documentation for the details. +% +% +%\subsection{Usage} +%\label{sec:usage} +% +% +% +% If your installation have been successful, you can use the font with +% a NFSS-compatible format with the commands like +% \begin{verbatim} +% \def\Pcarl@scale{1} % Set scaling of the font +% \fontfamily{pcarl}\selectfont +% \end{verbatim} +% +% +% \DescribeMacro{\offamily} +% \DescribeMacro{\textof} +% In \LaTeX{} you may want to add to the preamble of your document +% \begin{quote} +% |\usepackage|\oarg{options}|{pcarl}| +% \end{quote} +% This will enable the commands |\offamily| and |\textof|, which +% switch the current font to the Open Face variant. +% +% \DescribeOption{scaled} +% The package has the option |scaled=...|. The font is uniformly +% scaled according to the numerical value of the option. The default +% is |scaled=1|, i.e. no scaling. +% +% +% +% +% \StopEventually{ +% \clearpage +% \paragraph{Acknowledgements} +% +% This package was commssioned by \emph{Annals of +% Mathematics}~\url{http://annals.princeton.edu/}. +% +% +% \bibliography{pcarl} +% \bibliographystyle{unsrt}} +% +% \clearpage +%\section{Implementation} +%\label{sec:impl} +% +%\subsection{Identification} +%\label{sec:ident} +% +% We start with the declaration who we are. Most |.dtx| files put +% driver code in a separate driver file |.drv|. We roll this code into the +% main file, and use the pseudo-guard || for it. +% \begin{macrocode} +% +% \end{macrocode} +% +% +% +%\Finale +%\clearpage +% +%\PrintChanges +%\clearpage +%\PrintIndex +% +\endinput diff --git a/fonts/pcarl/pcarl.ins b/fonts/pcarl/pcarl.ins new file mode 100644 index 0000000000..937e3d6d0a --- /dev/null +++ b/fonts/pcarl/pcarl.ins @@ -0,0 +1,52 @@ +% +% Doctrip file for pcarl +% This file is in public domain +% $Id: pcarl.ins,v 1.2 2011-01-07 20:29:06 boris Exp $ +% +\def\batchfile{pcarl.ins} +\input docstrip +\keepsilent +\showprogress +\preamble +Copyright (c) 2011, Boris Veytsman + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the original author nor the names of the + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +\endpreamble + +\askforoverwritefalse + +\generate{% + \file{pcarl.sty}{\from{pcarl.dtx}{style}}% + \file{drv.tex}{\from{pcarl.dtx}{drv}} + \file{map.tex}{\from{pcarl.dtx}{map}}} + + diff --git a/fonts/pcarl/pcarl.pdf b/fonts/pcarl/pcarl.pdf new file mode 100644 index 0000000000..350afd4297 Binary files /dev/null and b/fonts/pcarl/pcarl.pdf differ diff --git a/fonts/pcarl/pcarlsample.pdf b/fonts/pcarl/pcarlsample.pdf new file mode 100644 index 0000000000..9147db1af5 Binary files /dev/null and b/fonts/pcarl/pcarlsample.pdf differ diff --git a/fonts/pcarl/pcarlsample.tex b/fonts/pcarl/pcarlsample.tex new file mode 100644 index 0000000000..dde9661fd2 --- /dev/null +++ b/fonts/pcarl/pcarlsample.tex @@ -0,0 +1,31 @@ +% +% Sample file for pcarl +% +\documentclass{minimal} +\usepackage{lipsum,textcomp} +\usepackage[scaled=1.1]{pcarl} +\usepackage{ifpdf} +\ifpdf + \pdfmapfile{pcarl.map} + \usepackage{microtype}\fi +\begin{document} + +{\fontfamily{pcarl}\fontencoding{OT1}\selectfont + +0123456789, \$20, \texteuro30, \pounds60. Na\"ive +\AE sop's \OE uvres in fran\c cais were my first reading. +\lipsum[1]} + + +{\fontfamily{pcarl}\fontencoding{T1}\selectfont + +0123456789, \$20, \texteuro30, \pounds60. Na\"ive +\AE sop's \OE uvres in fran\c cais were my first reading. +\lipsum[2]} + +\emph{This demonstrates the use of the {\offamily declaration}} + \verb|\offamily| + \textbf{and the \textof{command}} \verb|\textof|. + + +\end{document} -- cgit v1.2.3