summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lettrine
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-20 21:08:05 +0000
committerKarl Berry <karl@freefriends.org>2024-01-20 21:08:05 +0000
commita8c780c3a68a007f347bab71ff7f0d22a59e9fee (patch)
treeb6706ae7ddc3a9c43470d77d1289d509963b2908 /Master/texmf-dist/doc/latex/lettrine
parent5d17095d877f91c1b9365e78e280fb9ba368b035 (diff)
lettrine (20jan24)
git-svn-id: svn://tug.org/texlive/trunk@69508 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/lettrine')
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/README.md6
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.pdfbin0 -> 13371 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.tex38
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/lettrine-demo-de.pdfbin128252 -> 128252 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/lettrine-demo-fr.pdfbin168279 -> 168279 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/lettrine-demo-lua.pdfbin74185 -> 73166 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/lettrine-xetex-bidi.def12
-rw-r--r--Master/texmf-dist/doc/latex/lettrine/lettrine.pdfbin126080 -> 131712 bytes
8 files changed, 53 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/lettrine/README.md b/Master/texmf-dist/doc/latex/lettrine/README.md
index 57f41e59ffc..88e1a9e9d44 100644
--- a/Master/texmf-dist/doc/latex/lettrine/README.md
+++ b/Master/texmf-dist/doc/latex/lettrine/README.md
@@ -33,7 +33,7 @@ This bundle is included in most TeX distributions, but if you need
to install it by yourself
1. run luatex on lettrine.dtx to strip the comments and create
lettrine.sty and lettrine.cfg;
-2. run lualatex on lettrine.dtx to get the documentation (lettrine.pdf).
+2. move all the files to the `right' place:
Files lettrine.sty, lettrine.cfg, lettrine-*.sty and *.cfl go to to
a directory searched by TeX, typically $TEXMF/tex/latex/lettrine.
@@ -41,7 +41,7 @@ a directory searched by TeX, typically $TEXMF/tex/latex/lettrine.
Files README, lettrine-demo*, lettrine.pdf go to a doc directory,
typically $TEXMF/doc/latex/lettrine.
-Files lettrine.dtx goes to a source directory, typically
+Files lettrine.dtx goes to a source directory, typically
$TEXMF/source/latex/lettrine
Changes
@@ -50,5 +50,5 @@ Changes
See the included manual lettrine.pdf, section "Change History".
--
-Copyright 1999--2023 Daniel Flipo
+Copyright 1999--2024 Daniel Flipo
E-mail: daniel (dot) flipo (at) free (dot) fr
diff --git a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.pdf b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.pdf
new file mode 100644
index 00000000000..b2e843d1b74
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.tex b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.tex
new file mode 100644
index 00000000000..0fd17998239
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-arabic.tex
@@ -0,0 +1,38 @@
+%%% This example is adapted from
+%%% https://tex.stackexchange.com/questions/152184/lettrine-and-arabic-script/
+%%%
+%%% This file can be compiled either with LuaLaTeX or XeLaTeX.
+%%% The syntax for loading babel slightly differs between Lua- and Xe-LaTeX.
+%%% Compiling this file with XeLaTeX works within this directory which holds
+%%% a specific version of "lettrine-xetex-bidi.def", or requires to
+%%% remove the official file "lettrine-xetex-bidi.def" (v0.8).
+
+\documentclass{article}
+\usepackage{iftex}
+\usepackage{fontspec}
+\setmainfont{FreeSerif}
+\usepackage{lettrine}
+\renewcommand{\LettrineTextFont}{\upshape} % No small caps
+\renewcommand{\LettrineTestString}{۱‬‬} % No Latin letter
+\renewcommand{\LettrineSecondString}{‫ه‬‬‬‫د‬} % No Latin letter
+\ifluatex
+ \usepackage[bidi=basic]{babel}
+ \babelprovide[import, main]{persian}
+\fi
+\ifxetex
+ \usepackage[bidi=bidi-r]{babel}
+ \babelprovide[import, main]{persian}
+\fi
+\begin{document}
+\lettrine[lines=3]{۱‬‬}{} تقدیم به عالیجناب تئوفیلوس:\\
+تا به حال نویسندگان بسیاری به نوشتن شرح وقایعی كه در بین ما رخ داده است، اقدام کردهاند
+تا به حال نویسندگان بسیاری به نوشتن شرح وقایعی كه در بین ما رخ داده است، اقدام کردهاند
+تا به حال نویسندگان بسیاری به نوشتن شرح وقایعی كه در بین ما رخ داده است، اقدام کردهاند
+\end{document}
+
+%%% Local Variables:
+%%% coding: utf-8-unix
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-engine: luatex
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-de.pdf b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-de.pdf
index 84ba7a43446..f8c0fc77c28 100644
--- a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-de.pdf
+++ b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-de.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-fr.pdf b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-fr.pdf
index a780c1c0a6e..f85a80ef420 100644
--- a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-fr.pdf
+++ b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-fr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-lua.pdf b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-lua.pdf
index a88972db814..a0c3aa3bdc7 100644
--- a/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-lua.pdf
+++ b/Master/texmf-dist/doc/latex/lettrine/lettrine-demo-lua.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lettrine/lettrine-xetex-bidi.def b/Master/texmf-dist/doc/latex/lettrine/lettrine-xetex-bidi.def
new file mode 100644
index 00000000000..0f3dbc81200
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lettrine/lettrine-xetex-bidi.def
@@ -0,0 +1,12 @@
+%%
+%% This is file `lettrine-xetex-bidi.def', by Daniel Flipo,
+%% as a replacement for Vafa Khalighi's original (outdated) file.
+%%
+\ProvidesFile{lettrine-xetex-bidi.def}%
+ [2024/01/20 v1.0 bidi adaptations for lettrine package for XeTeX engine]
+\IfPackageAtLeastTF{lettrine}{2024-01-20}{}%
+{\PackageWarning{bidi}{Please upgrade your lettrine package\MessageBreak
+ to version 2.60 or higher}}
+\endinput
+%%
+%% End of file `lettrine-xetex-bidi.def'.
diff --git a/Master/texmf-dist/doc/latex/lettrine/lettrine.pdf b/Master/texmf-dist/doc/latex/lettrine/lettrine.pdf
index 0fde23f12d2..2866dec763c 100644
--- a/Master/texmf-dist/doc/latex/lettrine/lettrine.pdf
+++ b/Master/texmf-dist/doc/latex/lettrine/lettrine.pdf
Binary files differ