Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/tex/latex/custom-bib/esperant.mbs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


%\iffalse         THIS IS A META COMMENT
%==================================================================== 
%       A Language Definition File:  ESPERANTO
%     to be included with other master bibliography style files
%--------------------------------------------------------------------
%   (See version and date in the \ProvidesFile command below)
%--------------------------------------------------------------------
%    This file is self-documenting: simply LaTeX it!
%==================================================================== 
%
 %-------------------------------------------------------------------
 % The original source file contains the following version information:
%\fi
 % \ProvidesFile{esperant.mbs}[1995/05/04 1.1 (PWD)]
%\iffalse
%-------------------------------------------------------------------
% NOTICE:
% This file may be used for non-profit purposes.
% It may not be distributed in exchange for money, 
%   other than distribution costs.
%   
% The author provides it `as is' and does not guarantee it in any way.
% 
 % Copyright (C) 1994, 1995 Patrick W. Daly
% Max-Planck-Institut f\"ur Aeronomie
% Postfach 20
% D-37189 Katlenburg-Lindau
% Germany
% 
% E-mail: daly@linmpi.mpae.gwdg.de   
 %-------------------------------------------------------------------
%<*a&!a>
% The following ensures that the driver part is not seen by makebst
% The driver part must not contain any \end other than \end{document} !
\ifx\endoptions\undefined\let\tempx=\relax\else
  \long\def\tempx#1\end#2{}\fi\tempx
%</a&!a>
%<*driver>
   \NeedsTeXFormat{LaTeX2e}%
   \documentclass[a4paper,10pt,twoside]{article}%
   \usepackage{doc}%
   \raggedbottom
   \CodelineNumbered
   \RecordChanges
 %  Comment out next line to print coding
   \OnlyDescription
   \setlength{\oddsidemargin}{0.5\paperwidth}
   \addtolength{\oddsidemargin}{-0.5\textwidth}
   \addtolength{\oddsidemargin}{-1in}
   \setlength{\evensidemargin}{\oddsidemargin}

\begin{document}
   \DocInput{esperant.mbs}
\end{document}
%</driver>
%                   END OF META COMMENT   \fi
% \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         \~}
%
% \setcounter{StandardModuleDepth}{1}
% \setcounter{IndexColumns}{2}
% \setlength{\IndexMin}{10cm}
%
% \changes{1.0}{1995 Mar 15}{Initial version}
% \changes{1.1}{1995 May 4}{Do no abbreviate `edited by'}
%
% \pagestyle{myheadings}
% \markboth{P. W. Daly}{Esperanto Bibliographies}
%
% \title{{\bfseries Esperanto Language Definition File}\\
%      for master bibliographic style files}
%    
% \author{Patrick W. Daly}
%         
% \GetFileInfo{esperant.mbs}
% \date{This paper describes file \texttt{\filename},\\
%  version \fileversion{} from \filedate}
% 
% \maketitle
%
% \MakeShortVerb{\|}
% 
% \parskip=1ex \parindent=0pt
%
% \newcommand{\btx}{{\sc Bib}\TeX}
% \newcommand{\dtx}{\textsf{docstrip}}
% 
% \section{Introduction}
% This file is to be used as a language definition file with master
% bibliographic files. The language it defines is
% \begin{quote}\bfseries Esperanto\end{quote}
% 
% This is not a self-sufficient \texttt{.mbs} file, but rather may
% be used together with one that contains language support via
% external definition files.
% 
% See the documentation for \texttt{makebst} for formatting details.
% 
% \section{The Menu Information}
% 
% All the menu information is nested between \dtx{} guard options
% |%<*options>| \dots\ |%</options>|, and the last command is
% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
% extract only the menu information or the documentation driver.
% 
%    \begin{macrocode}
%<*options>
\mes{^^JOptions for ESPERANTO}
\wr{\spsp\spsp\sep esperanto\pc: Esperanto language}

\mes{^^JABBREVIATE WORD `PAGES':}
\optdef{*}{}{`Page(s)'}{(no abbreviation)}
\optdef{a}{pp}{`Page' abbreviated}{as p. or pp.}
\getans

\mes{^^JABBREVIATE WORD `EDITORS':}
\optdef{*}{}{`Editor(s)'}{(no abbreviation)}
\optdef{a}{ed}{`Editor' abbreviated}{as ed. or eds.}
\getans

\mes{^^JOTHER ABBREVIATIONS:}
\optdef{*}{}{No abbreviations}{of volume, edition, chapter, etc}
\optdef{a}{abr}{Abbreviations}{of such words}
\getans

\mes{^^JEDITION NUMBERS:}
\optdef{*}{}{Write out editions}{as first, second, third, etc}
\optdef{n}{ord}{Numerical editions}{as 1st, 2nd, 3rd, etc}
\getans

\endoptions
%</options>
%    \end{macrocode}
% 
% \StopEventually{\PrintChanges}
%
% \section{The Coding}
%    \begin{macrocode}
%<*!options&!driver>

 % The language selected here is ESPERANTO
FUNCTION {bbl.and}
{ "kaj"}

FUNCTION {bbl.editors}
%<!ed>{ "redaktoroj" }
%<ed>{ "red-oj" }

FUNCTION {bbl.editor}
%<!ed>{ "redaktoro" }
%<ed>{ "red." }

FUNCTION {bbl.edby}
{ "redaktita de" }

FUNCTION {bbl.edition}
%<!abr>{ "eldono" }
%<abr>{ "eld." }

FUNCTION {bbl.volume}
%<!abr>{ "volumo" }
%<abr>{ "vol." }

FUNCTION {bbl.of}
{ "el" }

FUNCTION {bbl.number}
%<!abr>{ "numero" }
%<abr>{ "n-ro" }

FUNCTION {bbl.nr}
{ "n-ro" }

FUNCTION {bbl.in}
{ "en" }

FUNCTION {bbl.pages}
%<!pp>{ "pa\^goj" }
%<pp>{ "pp." }

FUNCTION {bbl.page}
%<!pp>{ "pa\^go" }
%<pp>{ "p\^g" }

FUNCTION {bbl.chapter}
%<!abr>{ "\^capitro" }
%<abr>{ "\^cap." }

FUNCTION {bbl.techrep}
%<!abr>{ "Teknica Raporto" }
%<abr>{ "Tek. Rap." }

FUNCTION {bbl.mthesis}
{ "Magistra tezo" }

FUNCTION {bbl.phdthesis}
{ "Doktora tezo" }

FUNCTION {bbl.first}
%<!ord>{ "Unua" }
%<ord>{ "1-a" }

FUNCTION {bbl.second}
%<!ord>{ "Dua" }
%<ord>{ "2-a" }

FUNCTION {bbl.third}
%<!ord>{ "Tria" }
%<ord>{ "3-a" }

FUNCTION {bbl.fourth}
%<!ord>{ "Kvara" }
%<ord>{ "4-a" }

FUNCTION {bbl.fifth}
%<!ord>{ "Kvina" }
%<ord>{ "5-a" }

FUNCTION {bbl.th}
{ "-a" }

%<*!abr>
MACRO {jan} {"januaro"}

MACRO {feb} {"februaro"}

MACRO {mar} {"marto"}

MACRO {apr} {"aprilo"}

MACRO {may} {"majo"}

MACRO {jun} {"junio"}

MACRO {jul} {"julio"}

MACRO {aug} {"a\u{u}gusto"}

MACRO {sep} {"septembro"}

MACRO {oct} {"oktobro"}

MACRO {nov} {"novembro"}

MACRO {dec} {"decembro"}

%</!abr>
%<*abr>
MACRO {jan} {"jan."}

MACRO {feb} {"feb."}

MACRO {mar} {"mar."}

MACRO {apr} {"apr."}

MACRO {may} {"maj."}

MACRO {jun} {"jun."}

MACRO {jul} {"jul."}

MACRO {aug} {"a\u{u}g."}

MACRO {sep} {"sep."}

MACRO {oct} {"okt."}

MACRO {nov} {"nov."}

MACRO {dec} {"dec."}

%</abr>
%</!options&!driver>
 % End of language definition file
 
%    \end{macrocode}
% \Finale

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.