Skip to content

Commit

Permalink
A few test files added
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier committed Dec 2, 2017
1 parent b3f45a4 commit 11a6901
Show file tree
Hide file tree
Showing 11 changed files with 4,360 additions and 5 deletions.
10 changes: 5 additions & 5 deletions required/babel/README.md
Expand Up @@ -5,6 +5,8 @@ rules, and hyphenation patterns for a wide range of languages. Many
language styles work with pdflatex, as well as with xelatex and
lualatex out of the box. A few even work with plain formats.

The latest stable version is available on <https://ctan.org/pkg/babel>.

Version 3.9a fixed lots of bugs and added some new features, intended
mainly to make it compatible somehow with Unicode engines. Some bugs
have not been fixed to avoid backward incompatibilities, but they have
Expand Down Expand Up @@ -70,8 +72,7 @@ respective authors.
- With a few exceptions, ini files have reached version 1.0.
- New key `import' for \babelprovide, which also defines dates.
[3.12 - No real changes in the babel core. Just a few technical changes
related to the files.]
[3.12 - Internal.]
3.11 - Fix - error when version in format and of package
didn't match.
Expand All @@ -86,10 +87,9 @@ respective authors.
- Fix - with \babelhyphen{soft} the hyphen could vanish.
- English, Indonesian and Malay "dialects" now rely on the proxy
files provided by these languages (eg, american.ldf, melayu.ldf).
If you upgrade babel, you MUST upgrade those languages, too.
3.9s - Bug fix - extra spaces with \babelensure
If you upgrade babel, you MUST upgrade those languages, too.
```

Javier Bezos
2017-11-03

32 changes: 32 additions & 0 deletions required/babel/testfiles/bbl-attributes.lvt
@@ -0,0 +1,32 @@
%$PDFLaTeX -*- coding: utf-8 ; mode: latex; TeX-engine: default; -*-
\input{test2e}\input{test2eb}
\documentclass{article}
\START
\OMIT

\newbox\lstandard
\newbox\lmedieval

\usepackage[latin]{babel}

\selectlanguage{latin}
\setbox\lstandard\hbox{\prefacename}

\languageattribute{latin}{medieval}
\selectlanguage{latin}
\setbox\lmedieval\hbox{\prefacename}

% \tracingmacros2 \tracingonline1

% \TestNum \TestBox \TestSavePos \ShowThe \Show \ShowWd \TestEngine

\begin{document}
\tracingnone
\TIMO

\TestBox{\copy\lstandard}

\TestBox{\copy\lmedieval}

\OMIT
\end{document}
4 changes: 4 additions & 0 deletions required/babel/testfiles/bbl-attributes.tlg
@@ -0,0 +1,4 @@
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
\copy \lstandard = 39.88899pt, 6.94444pt, 0.0pt
\copy \lmedieval = 37.66676pt, 6.94444pt, 0.0pt
35 changes: 35 additions & 0 deletions required/babel/testfiles/bbl-basedouble.lvt
@@ -0,0 +1,35 @@
%$PDFLaTeX -*- coding: utf-8 ; mode: latex; TeX-engine: luatex; -*-
\input{test2e}\input{test2eb}
\documentclass{article}
\START
\AUTHOR{Javier Bezos}
\FORMAT{LaTeX2e<2011/06/27>}
\CLASS{article}
\PACKAGE[base,spanish,dutch,german]{babel}
\PACKAGE[spanish,dutch,german,english]{babel}
\OMIT

\usepackage[base,spanish,dutch,german]{babel}

\usepackage[spanish,dutch,german,english]{babel}

\makeatletter
\newcount\languagesnum
\def\bbl@elt#1#2#3#4{\languagesnum=#2\relax}
\bbl@languages
\TIMO
\TestNum{\languagesnum>0}

\selectlanguage{german}
\showhyphens{supercalifragilisticoexpialidocious}

\selectlanguage{dutch}
\showhyphens{supercalifragilisticoexpialidocious}

\selectlanguage{spanish}
\showhyphens{supercalifragilisticoexpialidocious}

\selectlanguage{english}
\showhyphens{supercalifragilisticoexpialidocious}

\stop
24 changes: 24 additions & 0 deletions required/babel/testfiles/bbl-basedouble.tlg
@@ -0,0 +1,24 @@
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
Author: Javier Bezos
Format: LaTeX2e<2011/06/27>
Main Class: article
Package: babel
Options: base,spanish,dutch,german
Package: babel
Options: spanish,dutch,german,english
\languagesnum >0 = True
Underfull \hbox (badness 10000) in paragraph at lines 24--24
[] \OT1/cmr/m/n/10 su-per-ca-lifra-gi-li-sti-co-ex-pia-li-do-cious
\hbox(6.94444+1.94444)x16383.99998, glue set 9732.15918 []
Underfull \hbox (badness 10000) in paragraph at lines 27--27
[] \OT1/cmr/m/n/10 su-per-ca-lifra-gi-lis-ti-coex-pi-a-li-do-cious
\hbox(6.94444+1.94444)x16383.99998, glue set 9732.15918 []
LaTeX Info: Redefining \. on input line ....
LaTeX Info: Redefining \% on input line ....
Underfull \hbox (badness 10000) in paragraph at lines 30--30
[] \OT1/cmr/m/n/10 su-per-ca-li-fra-gi-lis-ti-coex-pia-li-do-cious
\hbox(6.94444+1.94444)x16383.99998, glue set 9732.15918 []
Underfull \hbox (badness 10000) in paragraph at lines 33--33
[] \OT1/cmr/m/n/10 su-per-cal-ifrag-ilis-ti-co-ex-pi-ali-do-cious
\hbox(6.94444+1.94444)x16383.99998, glue set 9732.15918 []
61 changes: 61 additions & 0 deletions required/babel/testfiles/bbl-hyphen.lvt
@@ -0,0 +1,61 @@
%$PDFLaTeX -*- coding: utf-8 ; mode: latex; TeX-engine: default; -*-
\input{test2e}\input{test2eb}
\documentclass{article}
\START
\AUTHOR{Javier Bezos}
\FORMAT{LaTeX2e<2011/06/27>}
\CLASS{article}
\PACKAGE[spanish]{babel}
\OMIT

\usepackage[spanish]{babel}

\def\text{%
ut\*re\*$mi$\*fa\*sol\*la\*si\*ut\*re\*\mbox{mi}\*fa\*sol\*la\*si\*%
ut\*re\*mi\*fa\*sol\*la\*si\*ut\*re\*mi\*fasollasi}

\begin{document}
\TIMO

\parindent=0pt
\parskip=10pt
\hsize1pt

\tracingparagraphs1

\def\*{\babelhyphen{soft}}\text

\def\*{\babelhyphen*{soft}}\text

\def\*{\babelhyphen{hard}}\text

\def\*{\babelhyphen*{hard}}\text

\def\*{\babelhyphen{nobreak}}\text

\def\*{\babelhyphen*{nobreak}}\text

\def\*{\babelhyphen{repeat}}\text

\def\*{\babelhyphen*{repeat}}\text

\hsize1cm

\def\*{\babelhyphen{soft}}\text

\def\*{\babelhyphen*{soft}}\text

\def\*{\babelhyphen{hard}}\text

\def\*{\babelhyphen*{hard}}\text

\def\*{\babelhyphen{nobreak}}\text

\def\*{\babelhyphen*{nobreak}}\text

\def\*{\babelhyphen{repeat}}\text

\def\*{\babelhyphen*{repeat}}\text

\OMIT
\end{document}

0 comments on commit 11a6901

Please sign in to comment.