Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/tex/latex/custom-bib/spanish.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:  SPANISH
%     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!
%==================================================================== 
%
%\fi
 %-------------------------------------------------------------------
 % The original source file contains the following version information:
 % \ProvidesFile{spanish.mbs}[1995/06/01 1.0 (PWD/TB)]
%\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: [email protected]   
%
 % Copyright (C) 1995 Tom\'as Bautista
% Divisi\'on de CAD del Centro de Microelectr\'onica Aplicada
% Campus Universitario de Tafira, pab.\ A
% E-35017 Las Palmas de Gran Canaria
% Canary Islands
% 
% E-mail: [email protected]


 %-------------------------------------------------------------------
%<*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{spanish.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 June 01}{Initial version}
%
% \pagestyle{myheadings}
% \markboth{T. Bautista}{Spanish Bibliographies}
%
% \title{{\bfseries Spanish Language Definition File}\\
%      for master bibliographic style files}
%    
% \author{Tom\'as Bautista}
%         
% \GetFileInfo{spanish.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 Spanish\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 SPANISH}
\wr{\spsp\spsp\sep spanish\pc: Spanish language}


\mes{^^JABBREVIATE WORD `PAGINAS':}
\optdef{*}{}{`P'agina(s)'}{(no abbreviation)}
\optdef{a}{pp}{`P'agina' abbreviated}{as p'ag.}
\getans

\mes{^^JABBREVIATE WORD `EDITOR':}
\optdef{*}{}{`Editor(es)'}{(no abbreviation)}
\optdef{a}{ed}{`Editor' abbreviated}{as Ed.}
\getans

\mes{^^JOTHER ABBREVIATIONS:}
\optdef{*}{}{No abbreviations}{of Tomo, \string Edici'on, \string Cap'itulo}
\optdef{a}{abr}{Abbreviations}{of such words}
\getans

\mes{^^JEDITION NUMBERS:}
\optdef{*}{}{Write out editions}{as primera, segunda, tercera, etc}
\optdef{n}{ord}{Numerical editions}{as 1a, 2a, 3a, etc}
\getans

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

 % The language selected here is SPANISH
FUNCTION {bbl.and}
{ "y"}

FUNCTION {bbl.editors}
%<!ed>{ "editores" }
%<ed>{ "eds." }

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

FUNCTION {bbl.edby}
{ "editado por" }

FUNCTION {bbl.edition}
%<!abr>{ "edici\'on" }
%<abr>{ "ed\raise1ex\hbox{\underbar{\scriptsize \'on}}." }

FUNCTION {bbl.volume}
{ "tomo" }

FUNCTION {bbl.of}
{ "de" }

FUNCTION {bbl.number}
%<!abr>{ "n\'umero" }
%<abr>{ "n\raise1ex\hbox{\underbar{\scriptsize o}}" }

FUNCTION {bbl.nr}
{ "n\raise1ex\hbox{\underbar{\scriptsize o}}" }

FUNCTION {bbl.in}
{ "en" }

FUNCTION {bbl.pages}
%<!pp>{ "p\'aginas" }
%<pp>{ "p\'ags." }

FUNCTION {bbl.page}
%<!pp>{ "p\'agina" }
%<pp>{ "p\'ag." }

FUNCTION {bbl.chapter}
%<!abr>{ "cap\'{\i}tulo" }
%<abr>{ "cap." }

FUNCTION {bbl.techrep}
%<!abr>{ "Informe T\'ecnico" }
%<abr>{ "Inf.\ T\'ec." }

FUNCTION {bbl.mthesis}
{ "Proyecto Fin de Carrera" }

FUNCTION {bbl.phdthesis}
{ "Tesis Doctoral" }

FUNCTION {bbl.first}
%<!ord>{ "primera" }
%<ord>{ "1\raise1ex\hbox{\underbar{\scriptsize a}}" }

FUNCTION {bbl.second}
%<!ord>{ "segunda" }
%<ord>{ "2\raise1ex\hbox{\underbar{\scriptsize a}}" }

FUNCTION {bbl.third}
%<!ord>{ "tercera" }
%<ord>{ "3\raise1ex\hbox{\underbar{\scriptsize a}}" }

FUNCTION {bbl.fourth}
%<!ord>{ "cuarta" }
%<ord>{ "4\raise1ex\hbox{\underbar{\scriptsize a}}" }

FUNCTION {bbl.fifth}
%<!ord>{ "quinta" }
%<ord>{ "5\raise1ex\hbox{\underbar{\scriptsize a}}" }

FUNCTION {bbl.th}
{ "\raise1ex\hbox{\underbar{\scriptsize a}}" }

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

MACRO {feb} {"febrero"}

MACRO {mar} {"marzo"}

MACRO {apr} {"abril"}

MACRO {may} {"mayo"}

MACRO {jun} {"junio"}

MACRO {jul} {"julio"}

MACRO {aug} {"agosto"}

MACRO {sep} {"septiembre"}

MACRO {oct} {"octubre"}

MACRO {nov} {"noviembre"}

MACRO {dec} {"diciembre"}

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

MACRO {feb} {"feb."}

MACRO {mar} {"mar."}

MACRO {apr} {"abr."}

MACRO {may} {"mayo"}

MACRO {jun} {"jun."}

MACRO {jul} {"jul."}

MACRO {aug} {"ago."}

MACRO {sep} {"sep."}

MACRO {oct} {"oct."}

MACRO {nov} {"nov."}

MACRO {dec} {"dic."}

%</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 [email protected].