[latex3-commits] [git/latex2e] master: Added sample file (f7a4839)
Javier
javier at dante.de
Tue Jan 9 15:47:57 CET 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/f7a4839cb576445a99ed1fa58687a6396f8c3ee3
>---------------------------------------------------------------
commit f7a4839cb576445a99ed1fa58687a6396f8c3ee3
Author: Javier <javier at localhost>
Date: Tue Jan 9 15:46:22 2018 +0100
Added sample file
>---------------------------------------------------------------
f7a4839cb576445a99ed1fa58687a6396f8c3ee3
required/babel/README.md | 4 +-
required/babel/samples/bidi-misc.lualatex.pdf | Bin 0 -> 89882 bytes
required/babel/samples/bidi-misc.pdflatex.pdf | Bin 0 -> 170481 bytes
required/babel/samples/bidi-misc.tex | 366 +++++++++++++++++++++++++
required/babel/samples/bidi-misc.xelatex.pdf | Bin 0 -> 74247 bytes
5 files changed, 368 insertions(+), 2 deletions(-)
diff --git a/required/babel/README.md b/required/babel/README.md
index 3886817..7515fb2 100644
--- a/required/babel/README.md
+++ b/required/babel/README.md
@@ -1,4 +1,4 @@
-## Babel 3.16.1150 %%NB%%
+## Babel 3.16.1150
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -107,5 +107,5 @@ respective authors.
```
Javier Bezos
-2018/01/08 %%NB%%
+2018/01/08
diff --git a/required/babel/samples/bidi-misc.lualatex.pdf b/required/babel/samples/bidi-misc.lualatex.pdf
new file mode 100644
index 0000000..7906e01
Binary files /dev/null and b/required/babel/samples/bidi-misc.lualatex.pdf differ
diff --git a/required/babel/samples/bidi-misc.pdflatex.pdf b/required/babel/samples/bidi-misc.pdflatex.pdf
new file mode 100644
index 0000000..49e5115
Binary files /dev/null and b/required/babel/samples/bidi-misc.pdflatex.pdf differ
diff --git a/required/babel/samples/bidi-misc.tex b/required/babel/samples/bidi-misc.tex
new file mode 100644
index 0000000..eadbfc0
--- /dev/null
+++ b/required/babel/samples/bidi-misc.tex
@@ -0,0 +1,366 @@
+%$PDFLaTeX -*- coding: utf-8 ; mode: latex; TeX-engine: default; -*-
+\documentclass[a4paper]{book}
+
+\usepackage[english,
+ bidi=\ifx\directlua\undefined default\else basic-r\fi,
+ layout=sectioning.lists.columns.contents.counters]
+ {babel}
+
+\newcommand\provide[1]{\babelprovide[captions=#1,
+main % comment this line out for a L document
+]{hebrew}}
+
+\ifx\XeTeXinputencoding\undefined
+ \ifx\directlua\undefined
+ \provide{da, script=Hebrew}
+ \newcommand\engine{pdftex}
+ \usepackage[T1]{fontenc}
+ \else
+ \usepackage{hyperref} % doesn't work with pdftex/xetex yet
+ \provide{he}
+ \newcommand\engine{luatex}
+ \babelfont{rm}{Arial}
+ \fi
+\else
+ \provide{he}
+ \newcommand\engine{xetex}
+ \babelfont{rm}{Arial}
+\fi
+
+\begin{document}
+
+\tableofcontents
+
+\listoffigures
+
+\selectlanguage{english}
+
+\chapter{Intro}
+
+This sample is for experiments. It's not a \textit{real} document.
+
+Babel attemps to cover 4 engines (traditional \TeX, pdftex, xetex
+and luatex), and 3 formats (Plain, \LaTeX 2e and \LaTeX
+2.09). Furthermore, there are L documents with R text, R documents
+with L text, and so on.
+
+This document can be typeset with pdftex, xetex and luatex without
+changes. The results will be different, and at some points even
+wrong. I hope a more or less complete basic bidi support for luatex
+(including footnotes, tables, etc.) will be finisehd before Summer
+2018. Other engines must wait very likely until Winter.
+
+Note in particular the differences in Latin text in R contexts. Luatex
+sets Latin text in L mode, even if the current language and its pardir
+is R, so that the first word is at the left, not at the right after the
+indent (this is the expected behaviour). pdftex, on the other hand,
+sets the text in R mode. With xetex there is an odd mixture of modes —
+words in L mode are set in turn in R mode.
+
+In pdftex, the Hebrew captions are replaced by Danish ones. Change it
+if you have installed some 8-bit Hebrew font.
+
+The sample PDFs in GitHub has been typeset with version 3.16.1150
+(available here).
+
+
+\chapter{English \engine}
+
+\setcounter{section}{25}
+\setcounter{table}{34}
+\setcounter{page}{56}
+
+\bigskip
+\hrule
+\bigskip
+
+\section{Lorem ipsum dolor sit amet}
+\label{bla}
+
+\subsection{Praesent risus leo, dictum in vehicula sit amet, feugiat
+tempus tellus}
+
+\begin{itemize}
+\item First second third fourth fifth sixth seventh eighth.
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth
+ \begin{itemize}
+ \item First second third fourth fifth sixth seventh
+
+\begin{verbatim}
+First second third fourth fifth sixth seventh eighth
+ninth tenth eleventh
+twelfth thirteenth fourteenth fifteenth
+\end{verbatim}
+
+\begin{trivlist}\item
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth fifteenth
+\end{trivlist}
+
+\begin{quote}
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenthfourteenth fifteenth
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth
+\end{quote}
+
+\begin{quotation}
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenthfourteenth fifteenth
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth
+\end{quotation}
+
+\begin{list}{}{\leftmargin1cm \rightmargin2cm }\item
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth
+\end{list}
+\end{itemize}
+\end{itemize}
+
+\hrule
+
+\newpage
+
+\subsection{Maecenas consectetur vestibulum felis, eu placerat elit
+luctus in}
+
+Section: \thesection. Table: \thetable.
+
+\bigskip
+
+\marginpar{First second third fourth fifth sixth}
+abc \foreignlanguage{hebrew}{ABC \babelsublr{123} EFG} def
+\babelsublr{567} ghi \foreignlanguage{hebrew}{HIJ \ref{bla} KLM}.
+
+\bigskip
+
+{\raggedright First second third fourth fifth sixth seventh eighth
+ninth tenth eleventh twelfth thirteenthfourteenth fifteenth. First
+second third fourth fifth sixth seventh eighth ninth tenth eleventh
+twelfth thirteenthfourteenth fifteenth.\par}
+
+\bigskip
+
+{\raggedleft First second third fourth fifth sixth seventh eighth
+ninth tenth eleventh twelfth thirteenthfourteenth fifteenth. First
+second third fourth fifth sixth seventh eighth ninth tenth eleventh
+twelfth thirteenthfourteenth fifteenth.\par}
+
+\newpage
+
+\selectlanguage{hebrew}
+
+\chapter{Hebrew}
+
+\hrule
+
+\bigskip
+
+\section{Lorem ipsum dolor sit amet}
+\tracingnone
+\label{bla}
+
+\subsection{Praesent risus leo, dictum in vehicula sit amet, feugiat
+tempus tellus}
+
+\begin{itemize}
+\item First second third fourth fifth sixth seventh eighth.
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth
+ \begin{itemize}
+ \item First second third fourth fifth sixth seventh
+
+\begin{verbatim}
+First second third fourth fifth sixth seventh eighth
+ninth tenth eleventh
+twelfth thirteenth fourteenth fifteenth
+\end{verbatim}
+
+\begin{trivlist}\item
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth fifteenth
+\end{trivlist}
+
+\begin{quote}
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenthfourteenth fifteenth
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth
+\end{quote}
+
+\begin{quotation}
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenthfourteenth fifteenth
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth fourteenth
+\end{quotation}
+
+\begin{list}{}{\leftmargin1cm \rightmargin2cm }\item
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth thirteenth
+
+First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth
+\end{list}
+\end{itemize}
+\end{itemize}
+
+\hrule
+
+\newpage
+
+\subsection{Nullam suscipit laoreet sollicitudin}
+
+\begin{enumerate}
+\setcounter{enumi}{45}
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth.
+
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh.
+
+ \begin{enumerate}
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth.
+
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh.
+
+ \begin{enumerate}
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth.
+
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+ eleventh.
+ \end{enumerate}
+ \end{enumerate}
+
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth.
+
+ \begin{enumerate}
+\item First second third fourth fifth sixth seventh eighth ninth tenth
+eleventh twelfth.
+
+ \end{enumerate}
+\end{enumerate}
+
+\newpage
+
+\subsection{Maecenas consectetur vestibulum felis, eu placerat elit luctus in}
+
+Section: \thesection. Table: \thetable.
+
+\bigskip
+
+\marginpar{First second third fourth fifth sixth}
+abc \foreignlanguage{hebrew}{ABC \babelsublr{123} EFG} def
+\babelsublr{567} ghi \foreignlanguage{hebrew}{HIJ \ref{bla} KLM}.
+
+\bigskip
+
+{\raggedright First second third fourth fifth sixth seventh eighth
+ninth tenth eleventh twelfth thirteenthfourteenth fifteenth. First
+second third fourth fifth sixth seventh eighth ninth tenth eleventh
+twelfth thirteenthfourteenth fifteenth.\par}
+
+\bigskip
+
+{\raggedleft First second third fourth fifth sixth seventh eighth
+ninth tenth eleventh twelfth thirteenthfourteenth fifteenth. First
+second third fourth fifth sixth seventh eighth ninth tenth eleventh
+twelfth thirteenthfourteenth fifteenth.\par}
+
+\bigskip
+
+אבגדה HIJ \ref{bla} KLM \thetable{} (OPQ) \TeX{} RST וזחטי.
+
+ABC \babelsublr{26}.\babelsublr{1} DEF
+
+\begin{figure}
+\centering
+\framebox{BLA}
+\caption{Ut ultricies, dui eget consequat lobortis, dolor eros tempor
+diam, quis viverra dolor tortor ac lorem.}
+\end{figure}
+
+\begin{figure}
+\centering
+\framebox{BLA}
+\caption{Phasellus ac lacus vel risus faucibus.}
+\end{figure}
+
+\twocolumn[%
+ \section{Ut suscipit, velit at mattis tempor, arcu justo
+ malesuada sem}%
+]
+
+Abla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+Bblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+Cbla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+DBblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+Ebla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+Fblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+Gbla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+HBblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+Ibla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+Jblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+Kbla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+Lblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+Mbla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+Nblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+OCbla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble
+bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli blo
+
+Pblu bla ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla
+ble bli blo blu bla ble bli blo blu bla ble bli blo blu bla ble bli
+blo blu bla ble bli blo blu
+
+\end{document}
+
diff --git a/required/babel/samples/bidi-misc.xelatex.pdf b/required/babel/samples/bidi-misc.xelatex.pdf
new file mode 100644
index 0000000..43d3f27
Binary files /dev/null and b/required/babel/samples/bidi-misc.xelatex.pdf differ
More information about the latex3-commits
mailing list