summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-23 21:26:00 +0000
committerKarl Berry <karl@freefriends.org>2016-02-23 21:26:00 +0000
commit2dd922d7e9eca08f59ab4088833f1afa7eb1271e (patch)
tree03ec29ee544309d520b7355ce15eef43b276c090 /Master/texmf-dist
parent564a5bd092f8df6c4cdd11df0956c428cd015df5 (diff)
friulan (23feb16)
git-svn-id: svn://tug.org/texlive/trunk@39838 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/babel-friulan/README.txt21
-rw-r--r--Master/texmf-dist/doc/generic/babel-friulan/friulan.pdfbin122717 -> 104621 bytes
-rw-r--r--Master/texmf-dist/source/generic/babel-friulan/friulan.dtx151
-rw-r--r--Master/texmf-dist/tex/generic/babel-friulan/friulan.ldf72
4 files changed, 129 insertions, 115 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-friulan/README.txt b/Master/texmf-dist/doc/generic/babel-friulan/README.txt
new file mode 100644
index 00000000000..0b00fe40270
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-friulan/README.txt
@@ -0,0 +1,21 @@
+Package: babel-friulan
+
+
+The package provides a language definition file for use with babel, which establishes
+Friulan conventions in a document (or a subset of the conventions, if Friulan is not
+the main language of the document).
+
+
+To install run the friulan.dtx file trough pdfLaTeX; you get with the same run
+both the language description file and the documentation. Then you have to
+move the created friulan.ldf file into a directory searched by TeX.
+
+This material is subject to the LaTeX Project Public License v1.3.
+See http://ctan.org/license/lppl1.3 for the details of that license.
+
+Happy TeXing.
+
+--------------------------------------
+
+Claudio Beccari
+claudio dot beccari at gmail dot com \ No newline at end of file
diff --git a/Master/texmf-dist/doc/generic/babel-friulan/friulan.pdf b/Master/texmf-dist/doc/generic/babel-friulan/friulan.pdf
index b9a29f3120a..994f0ad2e7d 100644
--- a/Master/texmf-dist/doc/generic/babel-friulan/friulan.pdf
+++ b/Master/texmf-dist/doc/generic/babel-friulan/friulan.pdf
Binary files differ
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 \~}
-%%
diff --git a/Master/texmf-dist/tex/generic/babel-friulan/friulan.ldf b/Master/texmf-dist/tex/generic/babel-friulan/friulan.ldf
index 496d6918779..a1b3af5b258 100644
--- a/Master/texmf-dist/tex/generic/babel-friulan/friulan.ldf
+++ b/Master/texmf-dist/tex/generic/babel-friulan/friulan.ldf
@@ -1,45 +1,38 @@
-%% friulan.ldf
-%% version 2003/12/01 or later.
%%
-%% This work has the LPPL maintenance status "maintained".
+%% This is file `friulan.ldf',
+%% generated with the docstrip utility.
%%
-%% The Current Maintainer of this work is Johannes Braams.
+%% The original source files were:
%%
-%% This file may only be distributed together with a copy of the Babel
-%% system. You may however distribute the Babel system without
-%% such generated files.
-%%
-%% The list of all files belonging to the Babel 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.
+%% friulan.dtx (with options: `code')
+%% ------------------------------------------------------------------
+%% 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
+%%
+%%
\ProvidesLanguage{friulan}
- [2012/03/23 v0.1a Friulian support from the babel system]
-%% File `friulan.dtx'
-%% Babel package for LaTeX version 2e
-%% Copyright (C) 1989 - 2012
-%% by Johannes Braams, TeXniek
-%% Friulian Language Definition File
-%% Copyright (C) 1989 - 2012
-%% by Johannes Braams, TeXniek
-%% Please report errors to: J.L. Braams
-%% babel at braams.cistron.nl
-\LdfInit\CurrentOption{captions\CurrentOption}
+ [2016/02/23 v1.1 friulan support for the babel system]
+\LdfInit{\CurrentOption}{captions\CurrentOption}
+\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\l@italian
+ \@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
+\adddialect\l@furlan\l@friulan
+\providehyphenmins{\CurrentOption}{\tw@\tw@}
\@namedef{captions\CurrentOption}{%
\def\prefacename{Prefazion}%
\def\refname{Riferiments}%
@@ -65,10 +58,9 @@
}
\@namedef{date\CurrentOption}{%
\def\today{\number\day\space di\space\ifcase\month\or
- Genâr\or Fevrâr\or Març\or Avril\or Mai\or Jugn\or
+ Gen\^ar\or Fevr\^ar\or Mar\c{c}\or Avril\or Mai\or Jugn\or
Lui\or Avost\or Setembar\or Otobar\or Novembar\or Dicembar%
\fi\space dal\space\number\year}}
-\providehyphenmins{\CurrentOption}{\tw@\tw@}
\expandafter\addto\csname extras\CurrentOption\endcsname{%
\babel@savevariable\clubpenalty
\babel@savevariable\widowpenalty
@@ -82,4 +74,12 @@
\expandafter\addto\csname noextras\CurrentOption\endcsname{%
\lccode`'=0}%
\ldf@finish\CurrentOption
-\endinput
+%% 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
+%%
+%%
+%% End of file `friulan.ldf'.