diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-23 21:26:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-23 21:26:00 +0000 |
commit | 2dd922d7e9eca08f59ab4088833f1afa7eb1271e (patch) | |
tree | 03ec29ee544309d520b7355ce15eef43b276c090 /Master/texmf-dist/source/generic/babel-friulan/friulan.dtx | |
parent | 564a5bd092f8df6c4cdd11df0956c428cd015df5 (diff) |
friulan (23feb16)
git-svn-id: svn://tug.org/texlive/trunk@39838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-friulan/friulan.dtx')
-rw-r--r-- | Master/texmf-dist/source/generic/babel-friulan/friulan.dtx | 151 |
1 files changed, 72 insertions, 79 deletions
diff --git a/Master/texmf-dist/source/generic/babel-friulan/friulan.dtx b/Master/texmf-dist/source/generic/babel-friulan/friulan.dtx index 1f7c520d5e2..dc0bff9636e 100644 --- a/Master/texmf-dist/source/generic/babel-friulan/friulan.dtx +++ b/Master/texmf-dist/source/generic/babel-friulan/friulan.dtx @@ -1,36 +1,43 @@ % \iffalse meta-comment +%<*internal> +\begingroup +\input docstrip.tex +\keepsilent + +\preamble + ------------------------------------------------------------------ + The friulan module for babel + Copyright (C) 2012-2016 Claudio Beccari + All rights reserved + + Licence information appended + + Created by Claudio Beccari claudio dot beccari at gmail dot com + + +\endpreamble +\postamble +Distributable under the LaTeX Project Public License, +version 1.3c or higher (your choice). The latest version of +this license is at: http://www.latex-project.org/lppl.txt + +This work is "author-maintained" +The maintainer is Claudio Beccari + +\endpostamble + +\askforoverwritefalse + +\generate{\file{friulan.ldf}{\from{friulan.dtx}{code}}} + +\def\tmpa{plain} +\ifx\tmpa\fmtname\endgroup\expandafter\bye\fi +\endgroup +%</internal> % -% Copyright 1989-2004 Johannes L. Braams and any individual authors -% listed elsewhere in this file. All rights reserved. -% -% This file is part of the Babel system. -% -------------------------------------- -% -% It may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 -% of this license or (at your option) any later version. -% The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2003/12/01 or later. -% -% This work has the LPPL maintenance status "maintained". -% -% The Current Maintainer of this work is Johannes Braams. -% -% The list of all files belonging to the LaTeX base distribution is -% given in the file `manifest.bbl. See also `legal.bbl' for additional -% information. -% -% The list of derived (unpacked) files belonging to the distribution -% and covered by LPPL is defined by the unpacking scripts (with -% extension .ins) which are part of the distribution. % \fi -% \CheckSum{0} +% \CheckSum{156} % \iffalse -%%% docstring = " This file describes the language friulan -%%% and its variant furlan. -% % Tell the \LaTeX\ system who we are and write an entry on the % transcript. %<*dtx> @@ -39,17 +46,8 @@ %<code>\ProvidesLanguage{friulan} %\fi %\ProvidesFile{friulan.dtx} - [2012/03/31 v1.0 friulan support from the babel system] + [2016/02/23 v1.1 friulan support for the babel system] %\iffalse -%% Babel package for LaTeX version 2e -%% Copyright (C) 1989 -- 2012 -%% by Johannes Braams, TeXniek -% -%% Please report errors to: J.L. Braams -%% babel at braams.cistron.nl -% -% This file is part of the babel system, it provides the source code for -% the friulan language definition file. %<*filedriver> \documentclass{ltxdoc} \newcommand*{\TeXhax}{\TeX hax} @@ -58,6 +56,9 @@ \newcommand*{\note}[1]{} \newcommand*{\Lopt}[1]{\textsf{#1}} \newcommand*{\file}[1]{\texttt{#1}} +\author{Claudio Beccari --- claudio dot beccari at gmail dot com} +\title{The Friulan language module for \babel} +\date{\filedate\ -- version \fileversion} \begin{document} \DocInput{friulan.dtx} \end{document} @@ -65,22 +66,29 @@ %\fi % \GetFileInfo{friulan.dtx} % -% \changes{v1.1}{1994/02/27}{Rearranged the file a little} -% \changes{v1.2}{1994/06/04}{Update for \LaTeXe} -% \changes{v1.3}{1995/05/13}{Update for \babel\ release 3.5} -% \changes{v1.4}{1996/10/30}{Update for \babel\ release 3.6} -% \changes{v1.5}{1997/03/18}{Update for \babel\ release 3.7} -% \changes{v1.6}{2004/02/20}{Update for \babel\ release 3.8} -% % \section{The Friulan language} % -% The file \file{\filename}\footnote{The file described in this -% section has version number \fileversion\ and was last revised on -% \filedate.} defines all the language definition macros for the -% Friulan language\footnote{It is worth noting that in English word -% ``Friulan" is the name of the language, and ``Friulian'' is the -% adjective concerning everything has to do with the Friuli area -% in North Eastern Italy.}. +% The file \file{\filename} defines all the language definition macros for the +% Friulan language. It is worth noting that in English +% ``Friulan'' is the name of the language, and ``Friulian'' is the +% adjective concerning everything has to do with the Friuli Region +% in North Eastern Italy. +% +% This revised version of the Friulan documentation corrects some infix words +% that were hardcoded with an implied \Lopt{utf8} input encoding option to the +% overall document, this making it impossible to typeset documents with some +% other traditional input encoding options such as \Lopt{latin1}, \Lopt{latin9}, +% \Lopt{ansinew}, etc. +% +% Moreover if the hyphenation patterns are not available or are not loaded +% into the format file, so that |l@friulan| is undefined, then this module +% uses the patterns for Italian, instead of those for English, even if the +% latter are always available by default, while the former might not be +% available at all. If they are, they might not produce completely correct +% hyphenated line breaks, but at least they are less improbable than using +% English patterns. At the same time we avoid using the |nohyphenation| +% language, even of some people prefer avoid hyphenation rather than risking +% to have a few wrong line breaks. % % \StopEventually{} % @@ -103,17 +111,18 @@ % with |\CurrentOption|. % % \begin{macrocode} +\expandafter\ifx\csname l@\CurrentOption\endcsname\relax + \expandafter\let\csname l@\CurrentOption\endcsname\l@friulan +\fi \ifx\l@friulan\@undefined \ifx\l@furlan\@undefined - \@nopatterns{friulan} - \adddialect\l@friulan 0 + \@nopatterns{friulan} + \unless\ifx\l@italian\@undefined + \adddialect\l@friulan \l@italian + \fi \else - \let\l@friulan\l@furlan + \let\l@friulan\l@furlan \fi - -\fi -\expandafter\ifx\csname l@\CurrentOption\endcsname\relax - \expandafter\let\csname l@\CurrentOption\endcsname\l@friulan \fi % \end{macrocode} % For the <Dialect> version of these definitions we just add a @@ -184,12 +193,12 @@ % |\noextrasfriulan| is used to cancel the actions of % |\extrasfriulan|. In particular we set pretty high % default values for widow and club lines and very high -% demerits to avoid that the last line starts with the +% demerits to avoid that the paragraph last line starts with the % second half of a hyphenated word. We also assign a non zero % value |\lccode| to the apostrophe that in Friulan is being % used for marking a vocalic elision; by giving it a non -% zero value, the hyphenation algorithm treats the phrase formed -% by the article or articulated preposition end the following +% zero value; the hyphenation algorithm treats the phrase formed +% by the article or articulated preposition and the following % term as a single word and the patterns for Friulan take care % of avoiding line breaks right after the apostrophe. % @@ -222,19 +231,3 @@ % % \Finale %\endinput -%% \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 \~} -%% |