texlive[53163] Master: soulutf8 split from oberdiek (18dec19)
commits+karl at tug.org
commits+karl at tug.org
Wed Dec 18 00:19:04 CET 2019
Revision: 53163
http://tug.org/svn/texlive?view=revision&revision=53163
Author: karl
Date: 2019-12-18 00:19:04 +0100 (Wed, 18 Dec 2019)
Log Message:
-----------
soulutf8 split from oberdiek (18dec19)
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tlpkg-ctan-check
trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/soulutf8/
trunk/Master/texmf-dist/doc/latex/soulutf8/README.md
trunk/Master/texmf-dist/doc/latex/soulutf8/soulutf8.pdf
trunk/Master/texmf-dist/source/latex/soulutf8/
trunk/Master/texmf-dist/source/latex/soulutf8/soulutf8.dtx
trunk/Master/texmf-dist/tex/generic/soulutf8/
trunk/Master/texmf-dist/tex/generic/soulutf8/soulutf8.sty
trunk/Master/tlpkg/tlpsrc/soulutf8.tlpsrc
Added: trunk/Master/texmf-dist/doc/latex/soulutf8/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/soulutf8/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/soulutf8/README.md 2019-12-17 23:19:04 UTC (rev 53163)
@@ -0,0 +1,17 @@
+# soulutf8
+
+soulutf8 package for latex
+
+
+This repository is a fork of https://github.com/drehscheibe/soul
+
+Currently the files forked from soul are unused.
+Just used to build the extension soulutf8 originally by Heiko Oberdiek.
+
+## soulutf8
+
+This package extends package soul and adds some support
+for UTF-8. Namely the input encodings utf8.def
+from package inputenc and
+package ucs's utf8x.def are supported.
+
Property changes on: trunk/Master/texmf-dist/doc/latex/soulutf8/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/soulutf8/soulutf8.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/soulutf8/soulutf8.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/soulutf8/soulutf8.pdf 2019-12-17 23:17:43 UTC (rev 53162)
+++ trunk/Master/texmf-dist/doc/latex/soulutf8/soulutf8.pdf 2019-12-17 23:19:04 UTC (rev 53163)
Property changes on: trunk/Master/texmf-dist/doc/latex/soulutf8/soulutf8.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/soulutf8/soulutf8.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/soulutf8/soulutf8.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/soulutf8/soulutf8.dtx 2019-12-17 23:19:04 UTC (rev 53163)
@@ -0,0 +1,1298 @@
+% \iffalse meta-comment
+%
+% File: soulutf8.dtx
+% Version: 2019/12/15 v1.2
+% Info: Permit use of UTF-8 characters in soul
+%
+% Copyright (C)
+% 2007 Heiko Oberdiek
+% 2016-2019 Oberdiek Package Support Group
+% https://github.com/ho-tex/soul/issues
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any later
+% version. This version of this license is in
+% https://www.latex-project.org/lppl/lppl-1-3c.txt
+% and the latest version of this license is in
+% https://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainers of this work are
+% Heiko Oberdiek and the Oberdiek Package Support Group
+% https://github.com/ho-tex/soul/issues
+%
+% The Base Interpreter refers to any `TeX-Format',
+% because some files are installed in TDS:tex/generic//.
+%
+% This work consists of the main source file soulutf8.dtx
+% and the derived files
+% soulutf8.sty, soulutf8.pdf, soulutf8.ins, soulutf8.drv,
+% soulutf8-test1.tex, soulutf8-test2.tex, soulutf8-test3.tex,
+% soulutf8-test4.tex, soulutf8-test5.tex.
+%
+% Distribution:
+% CTAN:macros/latex/contrib/soulutf8/soulutf8.dtx
+% CTAN:macros/latex/contrib/soulutf8/soulutf8.pdf
+%
+% Unpacking:
+% (a) If soulutf8.ins is present:
+% tex soulutf8.ins
+% (b) Without soulutf8.ins:
+% tex soulutf8.dtx
+% (c) If you insist on using LaTeX
+% latex \let\install=y\input{soulutf8.dtx}
+% (quote the arguments according to the demands of your shell)
+%
+% Documentation:
+% (a) If soulutf8.drv is present:
+% latex soulutf8.drv
+% (b) Without soulutf8.drv:
+% latex soulutf8.dtx; ...
+% The class ltxdoc loads the configuration file ltxdoc.cfg
+% if available. Here you can specify further options, e.g.
+% use A4 as paper format:
+% \PassOptionsToClass{a4paper}{article}
+%
+% Programm calls to get the documentation (example):
+% pdflatex soulutf8.dtx
+% makeindex -s gind.ist soulutf8.idx
+% pdflatex soulutf8.dtx
+% makeindex -s gind.ist soulutf8.idx
+% pdflatex soulutf8.dtx
+%
+% Installation:
+% TDS:tex/generic/soulutf8/soulutf8.sty
+% TDS:doc/latex/soulutf8/soulutf8.pdf
+% TDS:source/latex/soulutf8/soulutf8.dtx
+%
+%<*ignore>
+\begingroup
+ \catcode123=1 %
+ \catcode125=2 %
+ \def\x{LaTeX2e}%
+\expandafter\endgroup
+\ifcase 0\ifx\install y1\fi\expandafter
+ \ifx\csname processbatchFile\endcsname\relax\else1\fi
+ \ifx\fmtname\x\else 1\fi\relax
+\else\csname fi\endcsname
+%</ignore>
+%<*install>
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation}
+\Msg{* Package: soulutf8 2019/12/15 v1.2 Permit use of UTF-8 characters in soul (HO)}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\let\MetaPrefix\relax
+\preamble
+
+This is a generated file.
+
+Project: soulutf8
+Version: 2019/12/15 v1.2
+
+Copyright (C)
+ 2007 Heiko Oberdiek
+ 2016-2019 Oberdiek Package Support Group
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3c of this license or (at your option) any later
+version. This version of this license is in
+ https://www.latex-project.org/lppl/lppl-1-3c.txt
+and the latest version of this license is in
+ https://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainers of this work are
+Heiko Oberdiek and the Oberdiek Package Support Group
+https://github.com/ho-tex/soul/issues
+
+
+The Base Interpreter refers to any `TeX-Format',
+because some files are installed in TDS:tex/generic//.
+
+This work consists of the main source file soulutf8.dtx
+and the derived files
+ soulutf8.sty, soulutf8.pdf, soulutf8.ins, soulutf8.drv,
+ soulutf8-test1.tex, soulutf8-test2.tex, soulutf8-test3.tex,
+ soulutf8-test4.tex, soulutf8-test5.tex.
+
+\endpreamble
+\let\MetaPrefix\DoubleperCent
+
+\generate{%
+ \file{soulutf8.ins}{\from{soulutf8.dtx}{install}}%
+ \file{soulutf8.drv}{\from{soulutf8.dtx}{driver}}%
+ \usedir{tex/generic/soulutf8}%
+ \file{soulutf8.sty}{\from{soulutf8.dtx}{package}}%
+}
+
+\catcode32=13\relax% active space
+\let =\space%
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* soulutf8.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file `soulutf8.drv'}
+\Msg{* through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+%</install>
+%<*ignore>
+\fi
+%</ignore>
+%<*driver>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{soulutf8.drv}%
+ [2019/12/15 v1.2 Permit use of UTF-8 characters in soul (HO)]%
+\documentclass{ltxdoc}
+\usepackage{holtxdoc}[2011/11/22]
+\begin{document}
+ \DocInput{soulutf8.dtx}%
+\end{document}
+%</driver>
+% \fi
+%
+%
+%
+% \GetFileInfo{soulutf8.drv}
+%
+% \title{The \xpackage{soulutf8} package}
+% \date{2019/12/15 v1.2}
+% \author{Heiko Oberdiek\thanks
+% {Please report any issues at \url{https://github.com/ho-tex/soul/issues}}}
+%
+% \maketitle
+%
+% \begin{abstract}
+% This package extends package \xpackage{soul} and adds some support
+% for UTF-8. Namely the input encodings \xfile{utf8.def}
+% from package \xpackage{inputenc} and
+% package \xpackage{ucs}'s \xfile{utf8x.def} are supported.
+% \end{abstract}
+%
+% \tableofcontents
+%
+% \section{Documentation}
+%
+% This package \xpackage{soulutf8} does not have own options and does not
+% define new user commands.
+% Any option is passed to package \xpackage{soul} \cite{soul}
+% that is loaded first.
+% Then some internal macros of \xpackage{soul} are redefined to add
+% support for UTF-8.
+% The following input encodings are supported:
+% \begin{quote}
+% \begin{tabular}{@{}lll@{}}
+% \texttt{utf8} & \LaTeX\ base &
+% \xfile{TDS:tex/latex/base/utf8.def} \cite{utf8}\\
+% \texttt{utf8x} & Package \xpackage{ucs} &
+% \xfile{TDS:tex/latex/ucs/utf8x.def} \cite{ucs}\\
+% \end{tabular}
+% \end{quote}
+% UTF-8 byte sequences are added as token group to a word, even
+% if these UTF-8 characters are some kind of hyphen or space.
+% As exception the following three Unicode characters are handled specially:
+% \begin{quote}
+% \begin{tabular}{lll}
+% Slot & Name & Action\\
+% \hline
+% \texttt{U+00A0} & NO-BREAK SPACE & like |~|\\
+% \texttt{U+2013} & EN DASH & |--|\\
+% \texttt{U+2014} & EM DASH & |---|
+% \end{tabular}
+%
+% \subsection{Patch}
+%
+% Also package \xpackage{soulutf8} tries to patch package \xpackage{soul}
+% to improve its behaviour:
+% \begin{itemize}
+% \item
+% A problem with additional levels of curly braces is fixed.
+% As advantage more implicite kernings are detected.
+% However, the result may be incompatible with the
+% original behaviour of package \xpackage{soul} because
+% of these respected implicite kernings.
+% \item
+% \eTeX\ , especially \cs{unexpanded} is supported.
+% This allows a better protection of token groups
+% (|\mbox{|\dots|}|, math, \dots).
+% \end{itemize}
+% \end{quote}
+%
+% \subsection{Future}
+%
+% Currently package \xpackage{soul} does not seem to be
+% maintained. Nevertheless if there will be a new version that
+% adds support for UTF-8, then this package may become
+% obsolete.
+%
+% \StopEventually{
+% }
+%
+% \section{Implementation}
+%
+% \begin{macrocode}
+%<*package>
+% \end{macrocode}
+%
+% \subsection{Reload check and package identification}
+% Reload check, especially if the package is not used with \LaTeX.
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\let\expandafter\x\csname ver at soulutf8.sty\endcsname
+ \ifx\x\relax % plain-TeX, first loading
+ \else
+ \def\empty{}%
+ \ifx\x\empty % LaTeX, first loading,
+ % variable is initialized, but \ProvidesPackage not yet seen
+ \else
+ \expandafter\ifx\csname PackageInfo\endcsname\relax
+ \def\x#1#2{%
+ \immediate\write-1{Package #1 Info: #2.}%
+ }%
+ \else
+ \def\x#1#2{\PackageInfo{#1}{#2, stopped}}%
+ \fi
+ \x{soulutf8}{The package is already loaded}%
+ \aftergroup\endinput
+ \fi
+ \fi
+\endgroup%
+% \end{macrocode}
+% Package identification:
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode40=12 % (
+ \catcode41=12 % )
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode47=12 % /
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode91=12 % [
+ \catcode93=12 % ]
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\ifx\csname ProvidesPackage\endcsname\relax
+ \def\x#1#2#3[#4]{\endgroup
+ \immediate\write-1{Package: #3 #4}%
+ \xdef#1{#4}%
+ }%
+ \else
+ \def\x#1#2[#3]{\endgroup
+ #2[{#3}]%
+ \ifx#1\@undefined
+ \xdef#1{#3}%
+ \fi
+ \ifx#1\relax
+ \xdef#1{#3}%
+ \fi
+ }%
+ \fi
+\expandafter\x\csname ver at soulutf8.sty\endcsname
+\ProvidesPackage{soulutf8}%
+ [2019/12/15 v1.2 Permit use of UTF-8 characters in soul (HO)]%
+% \end{macrocode}
+%
+% \subsection{Catcodes}
+%
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \catcode64=11 % @
+ \def\x{\endgroup
+ \expandafter\edef\csname SOuL at AtEnd\endcsname{%
+ \endlinechar=\the\endlinechar\relax
+ \catcode13=\the\catcode13\relax
+ \catcode32=\the\catcode32\relax
+ \catcode35=\the\catcode35\relax
+ \catcode61=\the\catcode61\relax
+ \catcode64=\the\catcode64\relax
+ \catcode123=\the\catcode123\relax
+ \catcode125=\the\catcode125\relax
+ }%
+ }%
+\x\catcode61\catcode48\catcode32=10\relax%
+\catcode13=5 % ^^M
+\endlinechar=13 %
+\catcode35=6 % #
+\catcode64=11 % @
+\catcode123=1 % {
+\catcode125=2 % }
+\def\TMP at EnsureCode#1#2{%
+ \edef\SOuL at AtEnd{%
+ \SOuL at AtEnd
+ \catcode#1=\the\catcode#1\relax
+ }%
+ \catcode#1=#2\relax
+}
+\TMP at EnsureCode{10}{12}% ^^J
+\TMP at EnsureCode{33}{12}% !
+\TMP at EnsureCode{34}{12}% "
+\TMP at EnsureCode{36}{3}% $
+\TMP at EnsureCode{39}{12}% '
+\TMP at EnsureCode{40}{12}% (
+\TMP at EnsureCode{41}{12}% )
+\TMP at EnsureCode{42}{12}% *
+\TMP at EnsureCode{43}{12}% +
+\TMP at EnsureCode{44}{12}% ,
+\TMP at EnsureCode{45}{12}% -
+\TMP at EnsureCode{46}{12}% .
+\TMP at EnsureCode{47}{12}% /
+\TMP at EnsureCode{58}{12}% :
+\TMP at EnsureCode{60}{12}% <
+\TMP at EnsureCode{62}{12}% >
+\TMP at EnsureCode{91}{12}% [
+\TMP at EnsureCode{93}{12}% ]
+\TMP at EnsureCode{94}{7}% ^
+\TMP at EnsureCode{96}{12}% `
+\TMP at EnsureCode{126}\active % ~
+\TMP at EnsureCode{128}{12}% ^^80
+\TMP at EnsureCode{147}{12}% ^^93
+\TMP at EnsureCode{148}{12}% ^^94
+\TMP at EnsureCode{160}{12}% ^^a0
+\TMP at EnsureCode{194}{12}% ^^c2
+\TMP at EnsureCode{226}{12}% ^^e2
+\edef\SOuL at AtEnd{\SOuL at AtEnd\noexpand\endinput}
+% \end{macrocode}
+%
+% \subsection{Loading packages}
+%
+% Package \xpackage{soul} uses \cs{documentclass} to detect \LaTeX.
+% \begin{macrocode}
+\ifx\documentclass\@undefined
+% \end{macrocode}
+%
+% \subsubsection{\plainTeX}
+%
+% First we check, whether package \xpackage{soul} is already loaded.
+% \begin{macrocode}
+ \expandafter\ifx\csname SOUL@\endcsname\relax
+% \end{macrocode}
+% In case of \plainTeX\ package \xpackage{soul} defines some
+% macros in a simple manner that will break the definitions of
+% \xfile{miniltx.tex}, for example. Therefore these macros
+% are first saved and restored afterwards.
+% \begin{macrocode}
+ \let\SOuL at orgDeclareRobustCommand\DeclareRobustCommand
+ \let\SOuL at orgnewcommand \newcommand
+ \let\SOuL at orgDeclareOption \DeclareOption
+ \let\SOuL at orgPackageError \PackageError
+ \def\SOuL at restorelatexcmds{%
+ \let\DeclareRobustCommand\SOuL at orgDeclareRobustCommand
+ \let\newcommand \SOuL at orgnewcommand
+ \let\DeclareOption \SOuL at orgDeclareOption
+ \let\PackageError \SOuL at orgPackageError
+ }%
+ \input soul.sty\relax
+ \SOuL at restorelatexcmds
+ \fi
+% \end{macrocode}
+% \begin{macro}{\SOUL at error}
+% Package \xpackage{soul}'s use of \cs{PackageError} is replaced
+% by \cs{@PackageError} of package \xpackage{infwarerr}.
+% \begin{macrocode}
+ \input infwarerr.sty\relax
+ \let\SOuL at orgSOUL@error\SOUL at error
+ \def\SOUL at error{%
+ \begingroup
+ \let\PackageError\@PackageError
+ \SOuL at orgSOUL@error
+ \endgroup
+ }%
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+ \input etexcmds.sty\relax
+% \end{macrocode}
+% \begin{macro}{\@onelevel at sanitize}
+% Define \LaTeX's \cs{@onelevel at sanitize} if not already available.
+% \begin{macrocode}
+ \expandafter\ifx\csname @onelevel at sanitize\endcsname\relax
+ \def\@onelevel at sanitize#1{%
+ \edef#1{%
+ \expandafter\strip at prefix\meaning#1%
+ }%
+ }%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\strip at prefix}
+% \begin{macrocode}
+ \def\strip at prefix#1>{}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+ \fi
+\else
+% \end{macrocode}
+%
+% \subsubsection{\LaTeX}
+% \begin{macrocode}
+ \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{soul}}%
+ \ProcessOptions\relax
+ \RequirePackage{soul}[2003/11/17]%
+ \RequirePackage{infwarerr}[2019/12/03]%
+ \RequirePackage{etexcmds}[2019/12/15]%
+\fi
+% \end{macrocode}
+%
+% \subsubsection{\eTeX}
+%
+% In \plainTeX\ command \cs{+} is an \emph{outer} macro.
+% Therefore numbers are used to avoid problems.
+% \begin{macrocode}
+\ifetex at unexpanded
+ \catcode33=14 % '!': comment
+ \catcode43=9 % '+': ignore
+\else
+ \catcode33=9 % '!': ignore
+ \catcode43=14 % '+': comment
+\fi
+% \end{macrocode}
+%
+% \subsection{Macro for redefinitions}
+%
+% \begin{macro}{\SOuL at redefine}
+% \begin{macrocode}
+\def\SOuL at redefine#1{%
+ \begingroup
+ \def\SOuL at cmd{#1}%
+ \afterassignment\SOuL at cmdcheck
+ \def\SOuL at temp
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOuL at cmdcheck}
+% \begin{macrocode}
+\def\SOuL at cmdcheck{%
+ \expandafter\ifx\SOuL at cmd\SOuL at temp
+ \else
+ \edef\SOuL at temp*{\expandafter\string\SOuL at cmd}%
+ \@PackageWarningNoLine{soulutf8}{%
+ Command \SOuL at temp* has changed.\MessageBreak
+ Supported versions of package `soul': 2003/11/17.\MessageBreak
+ Depending on the unknown changes the redefinition\MessageBreak
+ of \SOuL at temp* may not behave correctly%
+ }%
+ \fi
+ \expandafter\endgroup
+ \expandafter\def\SOuL at cmd
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Redefinition of \cs{SOUL at eval}}
+%
+% \begin{macro}{\SOUL at eval}
+% Macro \cs{SOUL at eval} is redefined to add detection of
+% the first byte of a UTF-8 sequence. Because \cs{SOUL at eval}
+% is overwritten, a warning is issued, if the contents of
+% \cs{SOUL at eval} is not as expected.
+% \begin{macrocode}
+\SOuL at redefine\SOUL at eval{%
+% \end{macrocode}
+% First the expected definition.
+% \begin{macrocode}
+ \def\SOUL at n*##1{\SOUL at scan}%
+ \if\noexpand\SOUL@@\SOUL at spc
+ \else
+ \SOUL at ignorespacesfalse
+ \fi
+ \ifnum\SOUL at minus=\thr@@
+ \SOUL at flushminus
+ \else\ifnum\SOUL at comma=\tw@
+ \SOUL at flushcomma
+ \else\ifnum\SOUL at apo=\tw@
+ \SOUL at flushapo
+ \else\ifnum\SOUL at grave=\tw@
+ \SOUL at flushgrave
+ \fi\fi\fi\fi
+ \ifx\SOUL@@-\else\SOUL at flushminus\fi
+ \ifx\SOUL@@,\else\SOUL at flushcomma\fi
+ \ifx\SOUL@@'\else\SOUL at flushapo\fi
+ \ifx\SOUL@@`\else\SOUL at flushgrave\fi
+ \ifx\SOUL@@-%
+ \advance\SOUL at minus\@ne
+ \else\ifx\SOUL@@,%
+ \advance\SOUL at comma\@ne
+ \else\ifx\SOUL@@'%
+ \advance\SOUL at apo\@ne
+ \else\ifx\SOUL@@`%
+ \advance\SOUL at grave\@ne
+ \else
+ \SOUL at flushminus
+ \SOUL at flushcomma
+ \SOUL at flushapo
+ \SOUL at flushgrave
+ \ifx\SOUL@@\SOUL at stop
+ \def\SOUL at n*{%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ }%
+ \else\ifx\SOUL@@\par
+ \def\SOUL at n*\par{\par\leavevmode\SOUL at scan}%
+ \else\if\noexpand\SOUL@@\SOUL at spc
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \ifSOUL at ignorespaces
+ \else
+ \SOUL at everyspace{}%
+ \fi
+ \def\SOUL at n* {\SOUL at scan}%
+ \else\ifx\SOUL@@\\%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\unskip\nobreak\hfil\break}%
+ \SOUL at ignorespacestrue
+ \else\ifx\SOUL@@~%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\nobreak}%
+ \else\ifx\SOUL@@\slash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{/}%
+ \SOUL at exhyphen{/}%
+ \else\ifx\SOUL@@\mbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\hbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\soulomit
+ \def\SOUL at n*\soulomit##1{%
+ \SOUL at doword
+ {\spaceskip\SOUL at spaceskip##1}%
+ \SOUL at scan
+ }%
+ \else\ifx\SOUL@@\break
+ \SOUL at doword
+ \break
+ \else\ifx\SOUL@@\linebreak
+ \SOUL at doword
+ \SOUL at everyspace{\linebreak}%
+ \else\ifcat\bgroup\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addgroup{}}%
+ \else\ifcat$\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addmath}%
+ \else
+ \def\SOUL at n*{\SOUL at dotoken}%
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi
+ \SOUL at n*%
+}{%
+% \end{macrocode}
+% Now the redefined version follows.
+% \begin{macrocode}
+ \def\SOUL at n*##1{\SOUL at scan}%
+ \if\noexpand\SOUL@@\SOUL at spc
+ \else
+ \SOUL at ignorespacesfalse
+ \fi
+ \ifnum\SOUL at minus=\thr@@
+ \SOUL at flushminus
+ \else\ifnum\SOUL at comma=\tw@
+ \SOUL at flushcomma
+ \else\ifnum\SOUL at apo=\tw@
+ \SOUL at flushapo
+ \else\ifnum\SOUL at grave=\tw@
+ \SOUL at flushgrave
+ \fi\fi\fi\fi
+ \ifx\SOUL@@-\else\SOUL at flushminus\fi
+ \ifx\SOUL@@,\else\SOUL at flushcomma\fi
+ \ifx\SOUL@@'\else\SOUL at flushapo\fi
+ \ifx\SOUL@@`\else\SOUL at flushgrave\fi
+ \ifx\SOUL@@-%
+ \advance\SOUL at minus\@ne
+ \else\ifx\SOUL@@,%
+ \advance\SOUL at comma\@ne
+ \else\ifx\SOUL@@'%
+ \advance\SOUL at apo\@ne
+ \else\ifx\SOUL@@`%
+ \advance\SOUL at grave\@ne
+ \else
+ \SOUL at flushminus
+ \SOUL at flushcomma
+ \SOUL at flushapo
+ \SOUL at flushgrave
+ \ifx\SOUL@@\SOUL at stop
+ \def\SOUL at n*{%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ }%
+ \else\ifx\SOUL@@\par
+ \def\SOUL at n*\par{\par\leavevmode\SOUL at scan}%
+ \else\if\noexpand\SOUL@@\SOUL at spc
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \ifSOUL at ignorespaces
+ \else
+ \SOUL at everyspace{}%
+ \fi
+ \def\SOUL at n* {\SOUL at scan}%
+ \else\ifx\SOUL@@\\%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\unskip\nobreak\hfil\break}%
+ \SOUL at ignorespacestrue
+ \else\ifx\SOUL@@~%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\nobreak}%
+ \else\ifx\SOUL@@\slash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{/}%
+ \SOUL at exhyphen{/}%
+ \else\ifx\SOUL@@\mbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\hbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\soulomit
+ \def\SOUL at n*\soulomit##1{%
+ \SOUL at doword
+ {\spaceskip\SOUL at spaceskip##1}%
+ \SOUL at scan
+ }%
+ \else\ifx\SOUL@@\break
+ \SOUL at doword
+ \break
+ \else\ifx\SOUL@@\linebreak
+ \SOUL at doword
+ \SOUL at everyspace{\linebreak}%
+ \else\ifcat\bgroup\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addgroup{}}%
+ \else\ifcat$\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addmath}%
+ \else
+% \end{macrocode}
+% The current token is examined to detect the start of
+% a UTF-8 sequence.
+% \begin{macrocode}
+ \SOuL at analyzeutfviii
+ \ifcase\SOuL at octets
+ \SOuL at analyzeutfviiix
+ \fi
+ \ifcase\SOuL at octets
+ \def\SOUL at n*{\SOUL at dotoken}%
+ \or % 1
+ \or % 2
+ \def\SOUL at n*{\SOuL at addtwooctets}%
+ \or % 3
+ \def\SOUL at n*{\SOuL at addthreeoctets}%
+ \or % 4
+ \def\SOUL at n*{\SOuL at addfouroctets}%
+ \fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi
+ \SOUL at n*%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{UTF-8 analysis}
+%
+% \subsubsection{Help strings}
+%
+% \begin{macrocode}
+\def\SOuL at defsanitizedstring#1#2{%
+ \expandafter\def\csname SOuL at string#1\endcsname{#2}%
+ \expandafter\@onelevel at sanitize\csname SOuL at string#1\endcsname
+}
+\SOuL at defsanitizedstring{UTFviii}{UTFviii@}
+\SOuL at defsanitizedstring{octets}{@octets}
+\SOuL at defsanitizedstring{two}{two}
+\SOuL at defsanitizedstring{three}{three}
+\SOuL at defsanitizedstring{four}{four}
+\SOuL at defsanitizedstring{macrocolon}{macro:}
+\SOuL at defsanitizedstring{csnameu}{csname u8-}
+\SOuL at defsanitizedstring{undeferr}{utf at viii@undeferr}
+\def\SOuL at stringendash{^^e2^^80^^93}
+\def\SOuL at stringemdash{^^e2^^80^^94}
+\def\SOuL at stringnobreakspace{^^c2^^a0}
+\edef\SOuL at charhash{\string #}
+\edef\SOuL at chartwo{\string 2}
+\edef\SOuL at charthree{\string 3}
+\def\SOuL at empty{}
+% \end{macrocode}
+%
+% \subsubsection{Support for \xfile{utf8.def}}
+%
+% \begin{macro}{\SOuL at analyzeutfviii}
+% \begin{macrocode}
+\begingroup
+ \edef\x{\endgroup
+ \def\noexpand\SOuL at analyzeutfviii{%
+ \noexpand\expandafter\noexpand\SOuL at checkutfviii
+ \noexpand\meaning\noexpand\SOUL@@
+ \SOuL at stringUTFviii\SOuL at stringoctets
+ \noexpand\@nil
+ }%
+ \def\noexpand\SOuL at checkutfviii
+ ##1\SOuL at stringUTFviii##2\SOuL at stringoctets##3\noexpand\@nil
+ }%
+\x{%
+ \def\SOuL at temp{#2}%
+ \chardef\SOuL at octets=%
+ \ifx\SOuL at temp\SOuL at stringtwo
+ \tw@
+ \else\ifx\SOuL at temp\SOuL at stringthree
+ \thr@@
+ \else\ifx\SOuL at temp\SOuL at stringfour
+ 4 %
+ \else
+ \z@
+ \fi\fi\fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Support for \xfile{utf8x.def}}
+%
+% \begin{macro}{\SOuL at analyzeutfviiix}
+% \begin{macrocode}
+\begingroup
+ \edef\x{\endgroup
+ \def\noexpand\SOuL at analyzeutfviiix{%
+ \noexpand\expandafter\noexpand\SOuL at checkutfviiix
+ \noexpand\meaning\noexpand\SOUL@@
+ \SOuL at stringmacrocolon\SOuL at charhash1{}{}{}{}%
+ \SOuL at stringcsnameu\SOuL at stringundeferr
+ \noexpand\@nil
+ }%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOuL at checkutfviiix}
+% \begin{macrocode}
+ \def\noexpand\SOuL at checkutfviiix
+ ##1\SOuL at stringmacrocolon\SOuL at charhash1##2##3##4##5##6%
+ \SOuL at stringcsnameu##7\SOuL at stringundeferr##8\noexpand\@nil
+ }%
+\x{%
+ \def\SOuL at temp{#7}%
+ \ifx\SOuL at temp\SOuL at empty
+ \chardef\SOuL at octets=\z@
+ \else
+ \def\SOuL at temp{#5}%
+ \ifx\SOuL at temp\SOuL at charthree
+ \chardef\SOuL at octets=4 %
+ \else
+ \def\SOuL at temp{#3}%
+ \ifx\SOuL at temp\SOuL at chartwo
+ \chardef\SOuL at octets=\thr@@
+ \else
+ \chardef\SOuL at octets=\tw@
+ \fi
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Actions for UTF-8 sequences}
+%
+% \begin{macro}{\SOuL at addtwooctets}
+% \begin{macrocode}
+\def\SOuL at addtwooctets#1#2{%
+ \def\SOuL at temp{#1#2}%
+ \@onelevel at sanitize\SOuL at temp
+ \ifx\SOuL at temp\SOuL at stringnobreakspace
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\nobreak}%
+ \let\SOuL at next\SOUL at scan
+ \else
+ \def\SOuL at next{%
+! \SOUL at addtoken{{\noexpand#1\noexpand#2}}%
++ \SOUL at addtoken{{\etex at unexpanded{#1#2}}}%
+ }%
+ \fi
+ \SOuL at next
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOuL at addthreeoctets}
+% \begin{macrocode}
+\def\SOuL at addthreeoctets#1#2#3{%
+ \def\SOuL at temp{#1#2#3}%
+ \@onelevel at sanitize\SOuL at temp
+ \ifx\SOuL at temp\SOuL at stringendash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{-}%
+ \SOUL at exhyphen{--}%
+ \let\SOuL at next\SOUL at scan
+ \else
+ \ifx\SOuL at temp\SOuL at stringemdash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{-}%
+ \SOUL at exhyphen{---}%
+ \let\SOuL at next\SOUL at scan
+ \else
+ \def\SOuL at next{%
+! \SOUL at addtoken{{\noexpand#1\noexpand#2\noexpand#3}}%
++ \SOUL at addtoken{{\etex at unexpanded{#1#2#3}}}%
+ }%
+ \fi
+ \fi
+ \SOuL at next
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOuL at addfouroctets}
+% \begin{macrocode}
+\def\SOuL at addfouroctets#1#2#3#4{%
+! \SOUL at addtoken{{\noexpand#1\noexpand#2\noexpand#3\noexpand#4}}%
++ \SOUL at addtoken{{\etex at unexpanded{#1#2#3#4}}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Redefinition of \cs{SOUL at splittoken}}
+%
+% \begin{macro}{\SOUL at splittoken}
+% Macro \cs{SOUL at splittoken} separates the first token
+% or token group from a word and redefines the word to contain
+% the remaining tokens. However if the remaining tokens are
+% a token group, then the curly braces will be removed and
+% the token group is splitted by the next call of \cs{SOUL at splittoken}.
+% The redefinition avoids the removal of curly braces around the
+% remaining tokens.
+% \begin{macrocode}
+\SOuL at redefine\SOUL at splittoken#1#2\SOUL at stop{%
+ \global\SOUL at token={#1}%
+ \global\SOUL at word={#2}%
+}#1{%
+ \global\SOUL at token={#1}%
+ \SOuL at remainingtoken\relax
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOuL at remainingtoken}
+% \begin{macrocode}
+\def\SOuL at remainingtoken#1\SOUL at stop{%
+ \global\SOUL at word=\expandafter{\@gobble#1}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Patches}
+%
+% The fixed \cs{SOUL at splittoken} allows to remove the double
+% sets of curly braces in other macros of package \xpackage{soul}.
+% The benefit is that implicite kernings are more often detected
+% and fixes a bug in package \xpackage{soul}. The disadvantage is
+% incompatibility. The width of the resulting strings may change.
+% \begin{macro}{\SOUL at flushcomma}
+% \begin{macrocode}
+\SOuL at redefine\SOUL at flushcomma{%
+ \ifcase\SOUL at comma
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word,}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{{,,}}}}\x
+ \fi
+ \SOUL at comma\z@
+}{%
+ \ifcase\SOUL at comma
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word,}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{,,}}}\x
+ \fi
+ \SOUL at comma\z@
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOUL at flushapo}
+% \begin{macrocode}
+\SOuL at redefine\SOUL at flushapo{%
+ \ifcase\SOUL at apo
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word'}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{{''}}}}\x
+ \fi
+ \SOUL at apo\z@
+}{%
+ \ifcase\SOUL at apo
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word'}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{''}}}\x
+ \fi
+ \SOUL at apo\z@
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOUL at flushgrave}
+% \begin{macrocode}
+\SOuL at redefine\SOUL at flushgrave{%
+ \ifcase\SOUL at grave
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word`}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{{``}}}}\x
+ \fi
+ \SOUL at grave\z@
+}{%
+ \ifcase\SOUL at grave
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word`}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{``}}}\x
+ \fi
+ \SOUL at grave\z@
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOUL at addgroup}
+% \begin{macrocode}
+\SOuL at redefine\SOUL at addgroup#1#2{%
+ {%
+ \let\protect\noexpand
+ \edef\x{%
+ \global\SOUL at word={%
+ \the\SOUL at word
+ {{\noexpand#1#2}}%
+ }%
+ }%
+ \x
+ }%
+ \SOUL at scan
+}#1#2{%
+ \begingroup
+ \let\protect\noexpand
+ \edef\x{\endgroup
+ \SOUL at word={%
+ \the\SOUL at word
+! {\noexpand#1{#2}}%
++ {\etex at unexpanded{#1{#2}}}%
+ }%
+ }%
+ \x
+ \SOUL at scan
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOUL at addmath}
+% \begin{macrocode}
+\SOuL at redefine\SOUL at addmath$#1${%
+ {%
+ \let\protect\noexpand
+ \edef\x{%
+ \global\SOUL at word={%
+ \the\SOUL at word
+ {{\hbox{$#1$}}}%
+ }%
+ }%
+ \x
+ }%
+ \SOUL at scan
+}$#1${%
+ \begingroup
+ \let\protect\noexpand
+ \edef\x{\endgroup
+ \SOUL at word={%
+ \the\SOUL at word
+! {\hbox{$#1$}}%
++ {\etex at unexpanded{\hbox{$#1$}}}%
+ }%
+ }%
+ \x
+ \SOUL at scan
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SOUL at addprotect}
+% \begin{macrocode}
+\SOuL at redefine\SOUL at addprotect#1#2{%
+ {%
+ \let\protect\noexpand
+ \edef\x{%
+ \global\SOUL at word={%
+ \the\SOUL at word
+ {{\hbox{#2}}}%
+ }%
+ }%
+ \x
+ }%
+ \SOUL at scan
+}#1#2{%
+ \begingroup
+ \let\protect\noexpand
+ \edef\x{\endgroup
+ \SOUL at word={%
+ \the\SOUL at word
+! {\hbox{#2}}%
++ {\etex at unexpanded{\hbox{#2}}}%
+ }%
+ }%
+ \x
+ \SOUL at scan
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SOUL at addtoken}
+% \begin{macrocode}
++ \SOuL at redefine\SOUL at addtoken#1{%
++ \edef\x{%
++ \SOUL at word={%
++ \the\SOUL at word
++ \noexpand#1%
++ }%
++ }%
++ \x
++ \SOUL at scan
++ }#1{%
++ \edef\x{%
++ \SOUL at word={%
++ \the\SOUL at word
++ \etex at unexpanded{#1}%
++ }%
++ }%
++ \x
++ \SOUL at scan
++ }%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\SOuL at AtEnd%
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%% \section{Installation}
+%
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
+% CTAN\footnote{\CTANpkg{soulutf8}}:
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/soulutf8/soulutf8.dtx}] The source file.
+% \item[\CTAN{macros/latex/contrib/soulutf8/soulutf8.pdf}] Documentation.
+% \end{description}
+%
+%
+% \paragraph{Bundle.} All the packages of the bundle `oberdiek'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTANinstall{install/macros/latex/contrib/soulutf8.tds.zip}]
+% \end{description}
+% \emph{TDS} refers to the standard ``A Directory Structure
+% for \TeX\ Files'' (\CTANpkg{tds}). Directories
+% with \xfile{texmf} in their name are usually organized this way.
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip oberdiek.tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
+% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
+% \docstrip\ archive. The files are extracted by running the
+% \xfile{.dtx} through \plainTeX:
+% \begin{quote}
+% \verb|tex soulutf8.dtx|
+% \end{quote}
+%
+% \paragraph{TDS.} Now the different files must be moved into
+% the different directories in your installation TDS tree
+% (also known as \xfile{texmf} tree):
+% \begin{quote}
+% \def\t{^^A
+% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
+% soulutf8.sty & tex/generic/soulutf8/soulutf8.sty\\
+% soulutf8.pdf & doc/latex/soulutf8/soulutf8.pdf\\
+% soulutf8.dtx & source/latex/soulutf8/soulutf8.dtx\\
+% \end{tabular}^^A
+% }^^A
+% \sbox0{\t}^^A
+% \ifdim\wd0>\linewidth
+% \begingroup
+% \advance\linewidth by\leftmargin
+% \advance\linewidth by\rightmargin
+% \edef\x{\endgroup
+% \def\noexpand\lw{\the\linewidth}^^A
+% }\x
+% \def\lwbox{^^A
+% \leavevmode
+% \hbox to \linewidth{^^A
+% \kern-\leftmargin\relax
+% \hss
+% \usebox0
+% \hss
+% \kern-\rightmargin\relax
+% }^^A
+% }^^A
+% \ifdim\wd0>\lw
+% \sbox0{\small\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\footnotesize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\scriptsize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\tiny\t}^^A
+% \ifdim\wd0>\linewidth
+% \lwbox
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \end{quote}
+% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's
+% TDS installing feature, then some files can already be in the right
+% place, see the documentation of \docstrip.
+%
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh
+% these. For example, \TeX\,Live\ users run \verb|texhash| or
+% \verb|mktexlsr|.
+%
+% \subsection{Some details for the interested}
+%
+% \paragraph{Unpacking with \LaTeX.}
+% The \xfile{.dtx} chooses its action depending on the format:
+% \begin{description}
+% \item[\plainTeX:] Run \docstrip\ and extract the files.
+% \item[\LaTeX:] Generate the documentation.
+% \end{description}
+% If you insist on using \LaTeX\ for \docstrip\ (really,
+% \docstrip\ does not need \LaTeX), then inform the autodetect routine
+% about your intention:
+% \begin{quote}
+% \verb|latex \let\install=y\input{soulutf8.dtx}|
+% \end{quote}
+% Do not forget to quote the argument according to the demands
+% of your shell.
+%
+% \paragraph{Generating the documentation.}
+% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate
+% the documentation. The process can be configured by the
+% configuration file \xfile{ltxdoc.cfg}. For instance, put this
+% line into this file, if you want to have A4 as paper format:
+% \begin{quote}
+% \verb|\PassOptionsToClass{a4paper}{article}|
+% \end{quote}
+% An example follows how to generate the
+% documentation with pdf\LaTeX:
+% \begin{quote}
+%\begin{verbatim}
+%pdflatex soulutf8.dtx
+%makeindex -s gind.ist soulutf8.idx
+%pdflatex soulutf8.dtx
+%makeindex -s gind.ist soulutf8.idx
+%pdflatex soulutf8.dtx
+%\end{verbatim}
+% \end{quote}
+%
+% \begin{thebibliography}{9}
+%
+% \bibitem{soul}
+% Melchior Franz: \textit{The \xpackage{soul} package};
+% 2003/11/17;\\
+% \CTANpkg{soul}.
+%
+% \bibitem{ucs}
+% Dominique P. G. Unruh: \textit{\xpackage{ucs.sty} -- Unicode Support};
+% 2004/10/17;\\
+% \CTANpkg{unicode}.
+%
+% \bibitem{utf8}
+% Frank Mittelbach, Chris Rowley:
+% \textit{Providing some UTF-8 support via \xpackage{inputenc}};
+% 2006/03/30;\\
+% \CTAN{macros/latex/base/utf8ienc.dtx}.
+%
+% \end{thebibliography}
+%
+% \begin{History}
+% \begin{Version}{2007/09/09 v1.0}
+% \item
+% First version.
+% \end{Version}
+% \begin{Version}{2016/05/16 v1.1}
+% \item
+% Documentation updates.
+% \end{Version}
+% \begin{Version}{2019/12/15 v1.2}
+% \item
+% Documentation updates.
+% \end{Version}
+% \end{History}
+%
+% \PrintIndex
+%
+% \Finale
+\endinput
Property changes on: trunk/Master/texmf-dist/source/latex/soulutf8/soulutf8.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/generic/soulutf8/soulutf8.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/soulutf8/soulutf8.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/soulutf8/soulutf8.sty 2019-12-17 23:19:04 UTC (rev 53163)
@@ -0,0 +1,697 @@
+%%
+%% This is file `soulutf8.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% soulutf8.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Project: soulutf8
+%% Version: 2019/12/15 v1.2
+%%
+%% Copyright (C)
+%% 2007 Heiko Oberdiek
+%% 2016-2019 Oberdiek Package Support Group
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% https://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and the latest version of this license is in
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainers of this work are
+%% Heiko Oberdiek and the Oberdiek Package Support Group
+%% https://github.com/ho-tex/soul/issues
+%%
+%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
+%% This work consists of the main source file soulutf8.dtx
+%% and the derived files
+%% soulutf8.sty, soulutf8.pdf, soulutf8.ins, soulutf8.drv,
+%% soulutf8-test1.tex, soulutf8-test2.tex, soulutf8-test3.tex,
+%% soulutf8-test4.tex, soulutf8-test5.tex.
+%%
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\let\expandafter\x\csname ver at soulutf8.sty\endcsname
+ \ifx\x\relax % plain-TeX, first loading
+ \else
+ \def\empty{}%
+ \ifx\x\empty % LaTeX, first loading,
+ % variable is initialized, but \ProvidesPackage not yet seen
+ \else
+ \expandafter\ifx\csname PackageInfo\endcsname\relax
+ \def\x#1#2{%
+ \immediate\write-1{Package #1 Info: #2.}%
+ }%
+ \else
+ \def\x#1#2{\PackageInfo{#1}{#2, stopped}}%
+ \fi
+ \x{soulutf8}{The package is already loaded}%
+ \aftergroup\endinput
+ \fi
+ \fi
+\endgroup%
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode40=12 % (
+ \catcode41=12 % )
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode47=12 % /
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode91=12 % [
+ \catcode93=12 % ]
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\ifx\csname ProvidesPackage\endcsname\relax
+ \def\x#1#2#3[#4]{\endgroup
+ \immediate\write-1{Package: #3 #4}%
+ \xdef#1{#4}%
+ }%
+ \else
+ \def\x#1#2[#3]{\endgroup
+ #2[{#3}]%
+ \ifx#1\@undefined
+ \xdef#1{#3}%
+ \fi
+ \ifx#1\relax
+ \xdef#1{#3}%
+ \fi
+ }%
+ \fi
+\expandafter\x\csname ver at soulutf8.sty\endcsname
+\ProvidesPackage{soulutf8}%
+ [2019/12/15 v1.2 Permit use of UTF-8 characters in soul (HO)]%
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \catcode64=11 % @
+ \def\x{\endgroup
+ \expandafter\edef\csname SOuL at AtEnd\endcsname{%
+ \endlinechar=\the\endlinechar\relax
+ \catcode13=\the\catcode13\relax
+ \catcode32=\the\catcode32\relax
+ \catcode35=\the\catcode35\relax
+ \catcode61=\the\catcode61\relax
+ \catcode64=\the\catcode64\relax
+ \catcode123=\the\catcode123\relax
+ \catcode125=\the\catcode125\relax
+ }%
+ }%
+\x\catcode61\catcode48\catcode32=10\relax%
+\catcode13=5 % ^^M
+\endlinechar=13 %
+\catcode35=6 % #
+\catcode64=11 % @
+\catcode123=1 % {
+\catcode125=2 % }
+\def\TMP at EnsureCode#1#2{%
+ \edef\SOuL at AtEnd{%
+ \SOuL at AtEnd
+ \catcode#1=\the\catcode#1\relax
+ }%
+ \catcode#1=#2\relax
+}
+\TMP at EnsureCode{10}{12}% ^^J
+\TMP at EnsureCode{33}{12}% !
+\TMP at EnsureCode{34}{12}% "
+\TMP at EnsureCode{36}{3}% $
+\TMP at EnsureCode{39}{12}% '
+\TMP at EnsureCode{40}{12}% (
+\TMP at EnsureCode{41}{12}% )
+\TMP at EnsureCode{42}{12}% *
+\TMP at EnsureCode{43}{12}% +
+\TMP at EnsureCode{44}{12}% ,
+\TMP at EnsureCode{45}{12}% -
+\TMP at EnsureCode{46}{12}% .
+\TMP at EnsureCode{47}{12}% /
+\TMP at EnsureCode{58}{12}% :
+\TMP at EnsureCode{60}{12}% <
+\TMP at EnsureCode{62}{12}% >
+\TMP at EnsureCode{91}{12}% [
+\TMP at EnsureCode{93}{12}% ]
+\TMP at EnsureCode{94}{7}% ^
+\TMP at EnsureCode{96}{12}% `
+\TMP at EnsureCode{126}\active % ~
+\TMP at EnsureCode{128}{12}% ^^80
+\TMP at EnsureCode{147}{12}% ^^93
+\TMP at EnsureCode{148}{12}% ^^94
+\TMP at EnsureCode{160}{12}% ^^a0
+\TMP at EnsureCode{194}{12}% ^^c2
+\TMP at EnsureCode{226}{12}% ^^e2
+\edef\SOuL at AtEnd{\SOuL at AtEnd\noexpand\endinput}
+\ifx\documentclass\@undefined
+ \expandafter\ifx\csname SOUL@\endcsname\relax
+ \let\SOuL at orgDeclareRobustCommand\DeclareRobustCommand
+ \let\SOuL at orgnewcommand \newcommand
+ \let\SOuL at orgDeclareOption \DeclareOption
+ \let\SOuL at orgPackageError \PackageError
+ \def\SOuL at restorelatexcmds{%
+ \let\DeclareRobustCommand\SOuL at orgDeclareRobustCommand
+ \let\newcommand \SOuL at orgnewcommand
+ \let\DeclareOption \SOuL at orgDeclareOption
+ \let\PackageError \SOuL at orgPackageError
+ }%
+ \input soul.sty\relax
+ \SOuL at restorelatexcmds
+ \fi
+ \input infwarerr.sty\relax
+ \let\SOuL at orgSOUL@error\SOUL at error
+ \def\SOUL at error{%
+ \begingroup
+ \let\PackageError\@PackageError
+ \SOuL at orgSOUL@error
+ \endgroup
+ }%
+ \input etexcmds.sty\relax
+ \expandafter\ifx\csname @onelevel at sanitize\endcsname\relax
+ \def\@onelevel at sanitize#1{%
+ \edef#1{%
+ \expandafter\strip at prefix\meaning#1%
+ }%
+ }%
+ \def\strip at prefix#1>{}%
+ \fi
+\else
+ \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{soul}}%
+ \ProcessOptions\relax
+ \RequirePackage{soul}[2003/11/17]%
+ \RequirePackage{infwarerr}[2019/12/03]%
+ \RequirePackage{etexcmds}[2019/12/15]%
+\fi
+\ifetex at unexpanded
+ \catcode33=14 % '!': comment
+ \catcode43=9 % '+': ignore
+\else
+ \catcode33=9 % '!': ignore
+ \catcode43=14 % '+': comment
+\fi
+\def\SOuL at redefine#1{%
+ \begingroup
+ \def\SOuL at cmd{#1}%
+ \afterassignment\SOuL at cmdcheck
+ \def\SOuL at temp
+}
+\def\SOuL at cmdcheck{%
+ \expandafter\ifx\SOuL at cmd\SOuL at temp
+ \else
+ \edef\SOuL at temp*{\expandafter\string\SOuL at cmd}%
+ \@PackageWarningNoLine{soulutf8}{%
+ Command \SOuL at temp* has changed.\MessageBreak
+ Supported versions of package `soul': 2003/11/17.\MessageBreak
+ Depending on the unknown changes the redefinition\MessageBreak
+ of \SOuL at temp* may not behave correctly%
+ }%
+ \fi
+ \expandafter\endgroup
+ \expandafter\def\SOuL at cmd
+}
+\SOuL at redefine\SOUL at eval{%
+ \def\SOUL at n*##1{\SOUL at scan}%
+ \if\noexpand\SOUL@@\SOUL at spc
+ \else
+ \SOUL at ignorespacesfalse
+ \fi
+ \ifnum\SOUL at minus=\thr@@
+ \SOUL at flushminus
+ \else\ifnum\SOUL at comma=\tw@
+ \SOUL at flushcomma
+ \else\ifnum\SOUL at apo=\tw@
+ \SOUL at flushapo
+ \else\ifnum\SOUL at grave=\tw@
+ \SOUL at flushgrave
+ \fi\fi\fi\fi
+ \ifx\SOUL@@-\else\SOUL at flushminus\fi
+ \ifx\SOUL@@,\else\SOUL at flushcomma\fi
+ \ifx\SOUL@@'\else\SOUL at flushapo\fi
+ \ifx\SOUL@@`\else\SOUL at flushgrave\fi
+ \ifx\SOUL@@-%
+ \advance\SOUL at minus\@ne
+ \else\ifx\SOUL@@,%
+ \advance\SOUL at comma\@ne
+ \else\ifx\SOUL@@'%
+ \advance\SOUL at apo\@ne
+ \else\ifx\SOUL@@`%
+ \advance\SOUL at grave\@ne
+ \else
+ \SOUL at flushminus
+ \SOUL at flushcomma
+ \SOUL at flushapo
+ \SOUL at flushgrave
+ \ifx\SOUL@@\SOUL at stop
+ \def\SOUL at n*{%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ }%
+ \else\ifx\SOUL@@\par
+ \def\SOUL at n*\par{\par\leavevmode\SOUL at scan}%
+ \else\if\noexpand\SOUL@@\SOUL at spc
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \ifSOUL at ignorespaces
+ \else
+ \SOUL at everyspace{}%
+ \fi
+ \def\SOUL at n* {\SOUL at scan}%
+ \else\ifx\SOUL@@\\%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\unskip\nobreak\hfil\break}%
+ \SOUL at ignorespacestrue
+ \else\ifx\SOUL@@~%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\nobreak}%
+ \else\ifx\SOUL@@\slash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{/}%
+ \SOUL at exhyphen{/}%
+ \else\ifx\SOUL@@\mbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\hbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\soulomit
+ \def\SOUL at n*\soulomit##1{%
+ \SOUL at doword
+ {\spaceskip\SOUL at spaceskip##1}%
+ \SOUL at scan
+ }%
+ \else\ifx\SOUL@@\break
+ \SOUL at doword
+ \break
+ \else\ifx\SOUL@@\linebreak
+ \SOUL at doword
+ \SOUL at everyspace{\linebreak}%
+ \else\ifcat\bgroup\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addgroup{}}%
+ \else\ifcat$\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addmath}%
+ \else
+ \def\SOUL at n*{\SOUL at dotoken}%
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi
+ \SOUL at n*%
+}{%
+ \def\SOUL at n*##1{\SOUL at scan}%
+ \if\noexpand\SOUL@@\SOUL at spc
+ \else
+ \SOUL at ignorespacesfalse
+ \fi
+ \ifnum\SOUL at minus=\thr@@
+ \SOUL at flushminus
+ \else\ifnum\SOUL at comma=\tw@
+ \SOUL at flushcomma
+ \else\ifnum\SOUL at apo=\tw@
+ \SOUL at flushapo
+ \else\ifnum\SOUL at grave=\tw@
+ \SOUL at flushgrave
+ \fi\fi\fi\fi
+ \ifx\SOUL@@-\else\SOUL at flushminus\fi
+ \ifx\SOUL@@,\else\SOUL at flushcomma\fi
+ \ifx\SOUL@@'\else\SOUL at flushapo\fi
+ \ifx\SOUL@@`\else\SOUL at flushgrave\fi
+ \ifx\SOUL@@-%
+ \advance\SOUL at minus\@ne
+ \else\ifx\SOUL@@,%
+ \advance\SOUL at comma\@ne
+ \else\ifx\SOUL@@'%
+ \advance\SOUL at apo\@ne
+ \else\ifx\SOUL@@`%
+ \advance\SOUL at grave\@ne
+ \else
+ \SOUL at flushminus
+ \SOUL at flushcomma
+ \SOUL at flushapo
+ \SOUL at flushgrave
+ \ifx\SOUL@@\SOUL at stop
+ \def\SOUL at n*{%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ }%
+ \else\ifx\SOUL@@\par
+ \def\SOUL at n*\par{\par\leavevmode\SOUL at scan}%
+ \else\if\noexpand\SOUL@@\SOUL at spc
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \ifSOUL at ignorespaces
+ \else
+ \SOUL at everyspace{}%
+ \fi
+ \def\SOUL at n* {\SOUL at scan}%
+ \else\ifx\SOUL@@\\%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\unskip\nobreak\hfil\break}%
+ \SOUL at ignorespacestrue
+ \else\ifx\SOUL@@~%
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\nobreak}%
+ \else\ifx\SOUL@@\slash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{/}%
+ \SOUL at exhyphen{/}%
+ \else\ifx\SOUL@@\mbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\hbox
+ \def\SOUL at n*{\SOUL at addprotect}%
+ \else\ifx\SOUL@@\soulomit
+ \def\SOUL at n*\soulomit##1{%
+ \SOUL at doword
+ {\spaceskip\SOUL at spaceskip##1}%
+ \SOUL at scan
+ }%
+ \else\ifx\SOUL@@\break
+ \SOUL at doword
+ \break
+ \else\ifx\SOUL@@\linebreak
+ \SOUL at doword
+ \SOUL at everyspace{\linebreak}%
+ \else\ifcat\bgroup\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addgroup{}}%
+ \else\ifcat$\noexpand\SOUL@@
+ \def\SOUL at n*{\SOUL at addmath}%
+ \else
+ \SOuL at analyzeutfviii
+ \ifcase\SOuL at octets
+ \SOuL at analyzeutfviiix
+ \fi
+ \ifcase\SOuL at octets
+ \def\SOUL at n*{\SOUL at dotoken}%
+ \or % 1
+ \or % 2
+ \def\SOUL at n*{\SOuL at addtwooctets}%
+ \or % 3
+ \def\SOUL at n*{\SOuL at addthreeoctets}%
+ \or % 4
+ \def\SOUL at n*{\SOuL at addfouroctets}%
+ \fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi
+ \SOUL at n*%
+}
+\def\SOuL at defsanitizedstring#1#2{%
+ \expandafter\def\csname SOuL at string#1\endcsname{#2}%
+ \expandafter\@onelevel at sanitize\csname SOuL at string#1\endcsname
+}
+\SOuL at defsanitizedstring{UTFviii}{UTFviii@}
+\SOuL at defsanitizedstring{octets}{@octets}
+\SOuL at defsanitizedstring{two}{two}
+\SOuL at defsanitizedstring{three}{three}
+\SOuL at defsanitizedstring{four}{four}
+\SOuL at defsanitizedstring{macrocolon}{macro:}
+\SOuL at defsanitizedstring{csnameu}{csname u8-}
+\SOuL at defsanitizedstring{undeferr}{utf at viii@undeferr}
+\def\SOuL at stringendash{^^e2^^80^^93}
+\def\SOuL at stringemdash{^^e2^^80^^94}
+\def\SOuL at stringnobreakspace{^^c2^^a0}
+\edef\SOuL at charhash{\string #}
+\edef\SOuL at chartwo{\string 2}
+\edef\SOuL at charthree{\string 3}
+\def\SOuL at empty{}
+\begingroup
+ \edef\x{\endgroup
+ \def\noexpand\SOuL at analyzeutfviii{%
+ \noexpand\expandafter\noexpand\SOuL at checkutfviii
+ \noexpand\meaning\noexpand\SOUL@@
+ \SOuL at stringUTFviii\SOuL at stringoctets
+ \noexpand\@nil
+ }%
+ \def\noexpand\SOuL at checkutfviii
+ ##1\SOuL at stringUTFviii##2\SOuL at stringoctets##3\noexpand\@nil
+ }%
+\x{%
+ \def\SOuL at temp{#2}%
+ \chardef\SOuL at octets=%
+ \ifx\SOuL at temp\SOuL at stringtwo
+ \tw@
+ \else\ifx\SOuL at temp\SOuL at stringthree
+ \thr@@
+ \else\ifx\SOuL at temp\SOuL at stringfour
+ 4 %
+ \else
+ \z@
+ \fi\fi\fi
+}
+\begingroup
+ \edef\x{\endgroup
+ \def\noexpand\SOuL at analyzeutfviiix{%
+ \noexpand\expandafter\noexpand\SOuL at checkutfviiix
+ \noexpand\meaning\noexpand\SOUL@@
+ \SOuL at stringmacrocolon\SOuL at charhash1{}{}{}{}%
+ \SOuL at stringcsnameu\SOuL at stringundeferr
+ \noexpand\@nil
+ }%
+ \def\noexpand\SOuL at checkutfviiix
+ ##1\SOuL at stringmacrocolon\SOuL at charhash1##2##3##4##5##6%
+ \SOuL at stringcsnameu##7\SOuL at stringundeferr##8\noexpand\@nil
+ }%
+\x{%
+ \def\SOuL at temp{#7}%
+ \ifx\SOuL at temp\SOuL at empty
+ \chardef\SOuL at octets=\z@
+ \else
+ \def\SOuL at temp{#5}%
+ \ifx\SOuL at temp\SOuL at charthree
+ \chardef\SOuL at octets=4 %
+ \else
+ \def\SOuL at temp{#3}%
+ \ifx\SOuL at temp\SOuL at chartwo
+ \chardef\SOuL at octets=\thr@@
+ \else
+ \chardef\SOuL at octets=\tw@
+ \fi
+ \fi
+ \fi
+}
+\def\SOuL at addtwooctets#1#2{%
+ \def\SOuL at temp{#1#2}%
+ \@onelevel at sanitize\SOuL at temp
+ \ifx\SOuL at temp\SOuL at stringnobreakspace
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen\null
+ \SOUL at everyspace{\nobreak}%
+ \let\SOuL at next\SOUL at scan
+ \else
+ \def\SOuL at next{%
+! \SOUL at addtoken{{\noexpand#1\noexpand#2}}%
++ \SOUL at addtoken{{\etex at unexpanded{#1#2}}}%
+ }%
+ \fi
+ \SOuL at next
+}
+\def\SOuL at addthreeoctets#1#2#3{%
+ \def\SOuL at temp{#1#2#3}%
+ \@onelevel at sanitize\SOuL at temp
+ \ifx\SOuL at temp\SOuL at stringendash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{-}%
+ \SOUL at exhyphen{--}%
+ \let\SOuL at next\SOUL at scan
+ \else
+ \ifx\SOuL at temp\SOuL at stringemdash
+ \SOUL at doword
+ \SOUL at eventuallyexhyphen{-}%
+ \SOUL at exhyphen{---}%
+ \let\SOuL at next\SOUL at scan
+ \else
+ \def\SOuL at next{%
+! \SOUL at addtoken{{\noexpand#1\noexpand#2\noexpand#3}}%
++ \SOUL at addtoken{{\etex at unexpanded{#1#2#3}}}%
+ }%
+ \fi
+ \fi
+ \SOuL at next
+}
+\def\SOuL at addfouroctets#1#2#3#4{%
+! \SOUL at addtoken{{\noexpand#1\noexpand#2\noexpand#3\noexpand#4}}%
++ \SOUL at addtoken{{\etex at unexpanded{#1#2#3#4}}}%
+}
+\SOuL at redefine\SOUL at splittoken#1#2\SOUL at stop{%
+ \global\SOUL at token={#1}%
+ \global\SOUL at word={#2}%
+}#1{%
+ \global\SOUL at token={#1}%
+ \SOuL at remainingtoken\relax
+}
+\def\SOuL at remainingtoken#1\SOUL at stop{%
+ \global\SOUL at word=\expandafter{\@gobble#1}%
+}
+\SOuL at redefine\SOUL at flushcomma{%
+ \ifcase\SOUL at comma
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word,}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{{,,}}}}\x
+ \fi
+ \SOUL at comma\z@
+}{%
+ \ifcase\SOUL at comma
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word,}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{,,}}}\x
+ \fi
+ \SOUL at comma\z@
+}
+\SOuL at redefine\SOUL at flushapo{%
+ \ifcase\SOUL at apo
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word'}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{{''}}}}\x
+ \fi
+ \SOUL at apo\z@
+}{%
+ \ifcase\SOUL at apo
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word'}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{''}}}\x
+ \fi
+ \SOUL at apo\z@
+}
+\SOuL at redefine\SOUL at flushgrave{%
+ \ifcase\SOUL at grave
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word`}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{{``}}}}\x
+ \fi
+ \SOUL at grave\z@
+}{%
+ \ifcase\SOUL at grave
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word`}}\x
+ \or
+ \edef\x{\SOUL at word={\the\SOUL at word{``}}}\x
+ \fi
+ \SOUL at grave\z@
+}
+\SOuL at redefine\SOUL at addgroup#1#2{%
+ {%
+ \let\protect\noexpand
+ \edef\x{%
+ \global\SOUL at word={%
+ \the\SOUL at word
+ {{\noexpand#1#2}}%
+ }%
+ }%
+ \x
+ }%
+ \SOUL at scan
+}#1#2{%
+ \begingroup
+ \let\protect\noexpand
+ \edef\x{\endgroup
+ \SOUL at word={%
+ \the\SOUL at word
+! {\noexpand#1{#2}}%
++ {\etex at unexpanded{#1{#2}}}%
+ }%
+ }%
+ \x
+ \SOUL at scan
+}
+\SOuL at redefine\SOUL at addmath$#1${%
+ {%
+ \let\protect\noexpand
+ \edef\x{%
+ \global\SOUL at word={%
+ \the\SOUL at word
+ {{\hbox{$#1$}}}%
+ }%
+ }%
+ \x
+ }%
+ \SOUL at scan
+}$#1${%
+ \begingroup
+ \let\protect\noexpand
+ \edef\x{\endgroup
+ \SOUL at word={%
+ \the\SOUL at word
+! {\hbox{$#1$}}%
++ {\etex at unexpanded{\hbox{$#1$}}}%
+ }%
+ }%
+ \x
+ \SOUL at scan
+}
+\SOuL at redefine\SOUL at addprotect#1#2{%
+ {%
+ \let\protect\noexpand
+ \edef\x{%
+ \global\SOUL at word={%
+ \the\SOUL at word
+ {{\hbox{#2}}}%
+ }%
+ }%
+ \x
+ }%
+ \SOUL at scan
+}#1#2{%
+ \begingroup
+ \let\protect\noexpand
+ \edef\x{\endgroup
+ \SOUL at word={%
+ \the\SOUL at word
+! {\hbox{#2}}%
++ {\etex at unexpanded{\hbox{#2}}}%
+ }%
+ }%
+ \x
+ \SOUL at scan
+}
++ \SOuL at redefine\SOUL at addtoken#1{%
++ \edef\x{%
++ \SOUL at word={%
++ \the\SOUL at word
++ \noexpand#1%
++ }%
++ }%
++ \x
++ \SOUL at scan
++ }#1{%
++ \edef\x{%
++ \SOUL at word={%
++ \the\SOUL at word
++ \etex at unexpanded{#1}%
++ }%
++ }%
++ \x
++ \SOUL at scan
++ }%
+\SOuL at AtEnd%
+%% \section{Installation}
+\endinput
+%%
+%% End of file `soulutf8.sty'.
Property changes on: trunk/Master/texmf-dist/tex/generic/soulutf8/soulutf8.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check 2019-12-17 23:17:43 UTC (rev 53162)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check 2019-12-17 23:19:04 UTC (rev 53163)
@@ -643,7 +643,7 @@
skak skaknew skb skdoc skeycommand skeyval skmath skrapport skull
slantsc slideshow smalltableof smartdiagram smartref smartunits
snapshot snotez
- songbook songs sort-by-letters soton soul soulpos
+ songbook songs sort-by-letters soton soul soulutf8 soulpos
soup sourcecodepro sourcesanspro
sourceserifpro
spacingtricks spalign spanish-mx spark-otf sparklines spath3
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2019-12-17 23:17:43 UTC (rev 53162)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2019-12-17 23:19:04 UTC (rev 53163)
@@ -1066,6 +1066,7 @@
depend snotez
depend soul
depend soulpos
+depend soulutf8
depend spacingtricks
depend spark-otf
depend sparklines
Added: trunk/Master/tlpkg/tlpsrc/soulutf8.tlpsrc
===================================================================
More information about the tex-live-commits
mailing list