| 1 |
% File: shorthnd.ins |
| 2 |
%% Copyright 1998, 1999 Patrick W. Daly |
| 3 |
% Max-Planck-Institut f\"ur Aeronomie |
| 4 |
% Max-Planck-Str. 2 |
| 5 |
% D-37191 Katlenburg-Lindau |
| 6 |
% Germany |
| 7 |
% E-mail: [email protected] |
| 8 |
%% |
| 9 |
%% This program can be redistributed and/or modified under the terms |
| 10 |
%% of the LaTeX Project Public License Distributed from CTAN |
| 11 |
%% archives in directory macros/latex/base/lppl.txt; either |
| 12 |
%% version 1 of the License, or any later version. |
| 13 |
% |
| 14 |
% It is part of the custom-bib collection, |
| 15 |
% a contribution to the LaTeX2e system. |
| 16 |
% |
| 17 |
% \ProvidesFile{shorthnd.ins}[1998/08/17 1.2 (PWD)] |
| 18 |
% |
| 19 |
% PURPOSE: lists the shorthand names for the journals that are prestored |
| 20 |
% in various .mbs files, for combining into customized .bst |
| 21 |
% files (BibTeX bibliography style files) |
| 22 |
% |
| 23 |
% USE: Process this file with TeX or LaTeX; this creates a file named |
| 24 |
% shorthnd.tex |
| 25 |
% which when LaTeXed lists the shorthands and full journal names |
| 26 |
% in the various .mbs files. |
| 27 |
% Requires the longtable package in the tools bundle. |
| 28 |
% Also produces |
| 29 |
% geophys.tex |
| 30 |
% containing only names in geojour.mbs and physjour.mbs |
| 31 |
% which are those supplied with the geophysics journals |
| 32 |
% |
| 33 |
% NOTE: Add your own list of journal shorthnds by adding its name |
| 34 |
% to the list below. |
| 35 |
% |
| 36 |
%<*a&!a> |
| 37 |
\input docstrip |
| 38 |
|
| 39 |
\preamble |
| 40 |
=============================================== |
| 41 |
IMPORTANT NOTICE |
| 42 |
See below for the copyright and distribution conditions. |
| 43 |
|
| 44 |
This is a generated file. |
| 45 |
It may be distributed without the source files listed above. |
| 46 |
=============================================== |
| 47 |
\endpreamble |
| 48 |
|
| 49 |
% \postamble |
| 50 |
% \endpostamble |
| 51 |
|
| 52 |
\def\MBSopt{} % for full names |
| 53 |
%\def\MBSopt{jabr} % for abbreviated names |
| 54 |
|
| 55 |
\keepsilent |
| 56 |
|
| 57 |
\askforoverwritefalse |
| 58 |
|
| 59 |
\generate{\file{shorthnd.tex}{\from{shorthnd.ins}{head} |
| 60 |
\from{physjour.mbs}{\MBSopt} |
| 61 |
\from{geojour.mbs}{\MBSopt} |
| 62 |
\from{photjour.mbs}{\MBSopt} |
| 63 |
\from{suppjour.mbs}{\MBSopt} |
| 64 |
\from{shorthnd.ins}{tail}} |
| 65 |
\file{geophys.tex}{\from{shorthnd.ins}{head} |
| 66 |
\from{physjour.mbs}{\MBSopt} |
| 67 |
\from{geojour.mbs}{\MBSopt} |
| 68 |
\from{shorthnd.ins}{tail}} |
| 69 |
} |
| 70 |
|
| 71 |
\Msg{************************************} |
| 72 |
\Msg{* Now LaTeX the file shorthnd.tex} |
| 73 |
\Msg{* to obtain a listing of journal} |
| 74 |
\Msg{* shorthand names in the .mbs files.} |
| 75 |
\Msg{* (You must have the longtable package.)} |
| 76 |
\Msg{************************************} |
| 77 |
|
| 78 |
\endbatchfile |
| 79 |
%</a&!a> |
| 80 |
%<*head> |
| 81 |
\documentclass{article} |
| 82 |
\usepackage{longtable} |
| 83 |
|
| 84 |
\def\ACRO{\begingroup\catcode`\M=11\relax\catcode`\"=9\relax\acro} |
| 85 |
\def\acro#1#2{\endgroup\ttfamily#1 & \raggedright #2 \tabularnewline} |
| 86 |
\def\PF#1[#2]{\\\hline\multicolumn{2}{c}{File: \texttt{#1}, version: #2 |
| 87 |
\rule[-.75em]{0pt}{2em}}\\\hline\\[-1ex]} |
| 88 |
\setlength{\parindent}{0pt} |
| 89 |
\setlength{\parskip}{1ex} |
| 90 |
|
| 91 |
\pagestyle{myheadings} |
| 92 |
\markright{List of Journal Shorthands} |
| 93 |
\begin{document} |
| 94 |
|
| 95 |
\title |
| 96 |
{List of the Shorthands for Journal Names in Various \texttt{.mbs} Files} |
| 97 |
|
| 98 |
\author{Patrick W. Daly} |
| 99 |
|
| 100 |
\date{This is part of the \texttt{makebst} or \texttt{custom-bib} bundle} |
| 101 |
|
| 102 |
\maketitle |
| 103 |
|
| 104 |
\newcommand{\btx}{\textsc{Bib}\TeX} |
| 105 |
|
| 106 |
The shorthands here may be used in \btx\ database (\texttt{.bib}) files in |
| 107 |
place of the full journal name. For example, instead of |
| 108 |
\begin{verbatim} |
| 109 |
journal = "Phys. Rev.", |
| 110 |
\end{verbatim} |
| 111 |
it is sufficient to give |
| 112 |
\begin{verbatim} |
| 113 |
journal = pr, |
| 114 |
\end{verbatim} |
| 115 |
The advantage of this is not only the convenience of typing a shorter form, |
| 116 |
but also the automatic switching between the abbreviated (here ``Phys.\ |
| 117 |
Rev.'')\ and full forms (``Physical Review'') depending on the bibliographic |
| 118 |
style file. Thus the one database entry is reformatted automatically. |
| 119 |
|
| 120 |
There is a set of standard shorthands for computing science included in the |
| 121 |
original \texttt{plain.bst}, \texttt{abbrv.bst}, \texttt{unsrt.bst}, and |
| 122 |
\texttt{alpha.bst} files. These are built into \texttt{merlin.mbs} and are |
| 123 |
always present in every \texttt{.bst} file generated from it. |
| 124 |
|
| 125 |
Whether or not the shorthand is present in your \texttt{.bst} file depends on |
| 126 |
the inclusion of the proper \texttt{.mbs} source file during its creation with |
| 127 |
the \texttt{makebst} program. Check the heading to the \texttt{.bst} file |
| 128 |
to find out what source files went into its generation. |
| 129 |
|
| 130 |
You may make up your own list of journal names, abbreviated and full, by using |
| 131 |
one of the existing \texttt{.mbs} files as a model. Include its name in |
| 132 |
\texttt{shorthnd.ins} to obtain a listing of its shorthands too. |
| 133 |
|
| 134 |
\newpage |
| 135 |
|
| 136 |
\begingroup |
| 137 |
\centering |
| 138 |
\def\PC#1{\ifx#1\ProvidesFile \let\next=#1\else\let\next=\skipline\fi\next} |
| 139 |
\def\skipline{\begingroup\catcode`\^^M=12 \SKPLNE} |
| 140 |
{\catcode`\^^M=12 \endlinechar=-1 \gdef\SKPLNE#1^^M{\endgroup}} |
| 141 |
\let\ProvidesFile=\PF |
| 142 |
\catcode`\%=\active |
| 143 |
\let%=\PC |
| 144 |
\catcode`\M=0 |
| 145 |
\begin{longtable}{lp{6cm}} |
| 146 |
\PF{merlin.mbs}[(all)] |
| 147 |
MACRO {acmcs} {"ACM Computing Surveys"} |
| 148 |
MACRO {acta} {"Acta Informatica"} |
| 149 |
MACRO {cacm} {"Communications of the ACM"} |
| 150 |
MACRO {ibmjrd} {"IBM Journal of Research and Development"} |
| 151 |
MACRO {ibmsj} {"IBM Systems Journal"} |
| 152 |
MACRO {ieeese} {"IEEE Transactions on Software Engineering"} |
| 153 |
MACRO {ieeetc} {"IEEE Transactions on Computers"} |
| 154 |
MACRO {ieeetcad} |
| 155 |
{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} |
| 156 |
MACRO {ipl} {"Information Processing Letters"} |
| 157 |
MACRO {jacm} {"Journal of the ACM"} |
| 158 |
MACRO {jcss} {"Journal of Computer and System Sciences"} |
| 159 |
MACRO {scp} {"Science of Computer Programming"} |
| 160 |
MACRO {sicomp} {"SIAM Journal on Computing"} |
| 161 |
MACRO {tocs} {"ACM Transactions on Computer Systems"} |
| 162 |
MACRO {tods} {"ACM Transactions on Database Systems"} |
| 163 |
MACRO {tog} {"ACM Transactions on Graphics"} |
| 164 |
MACRO {toms} {"ACM Transactions on Mathematical Software"} |
| 165 |
MACRO {toois} {"ACM Transactions on Office Information Systems"} |
| 166 |
MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} |
| 167 |
MACRO {tcs} {"Theoretical Computer Science"} |
| 168 |
%</head> |
| 169 |
%<*tail> |
| 170 |
\end{longtable} |
| 171 |
\endgroup |
| 172 |
\end{document} |
| 173 |
%</tail> |