<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% $Id: xevlna-inc.tex 535 2017-03-25 16:38:58Z zw $

\ifeng

\section{English manual}
This is a manual for â€œvlnaâ€ implemented in \XeTeX. It can be used in plain \XeTeX\ as well as in
\XeLaTeX.

\else

\section{\texorpdfstring{ÄŒeskÃ½ manuÃ¡l}{Cesky manual}}
Toto je manuÃ¡l balÃ­Äku â€žvlnaâ€œ implementovanÃ©ho pomocÃ­ \XeTeX u. Lze jej pouÅ¾Ã­t jak pro plain
\XeTeX, tak pro \XeLaTeX.

\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifeng

\subsection{Purpose}
The purpose of the package is to insert nonbreakable spaces (\verb:~:, in Czech \textit{vlna} or
\textit{vlnka}) after nonsyllabic prepositions and single letter conjuctions directly while \TeX
ing the document. The macros recognise math and verbatim by \TeX\ means. Inserting nonbreakable
spaces by a preprocessor may never be fully reliable because user defined macros and environments
cannot be recognised.

\else

\subsection{ÃšÄel}
Tento balÃ­Äek slouÅ¾Ã­ ke vklÃ¡dÃ¡nÃ­ nezlomitelnÃ½ch mezer (vlnek) za neslabiÄnÃ© pÅ™edloÅ¾ky a
jednopÃ­smennÃ© spojky pÅ™Ã­mo pÅ™i \TeX ovÃ¡nÃ­ dokumentu. Makra rozeznÃ¡vajÃ­ matematiku a verbatim \TeX
ovÃ½mi prostÅ™edky. VklÃ¡dÃ¡nÃ­ nezlomitelnÃ½ch mezer preprocesorem nikdy nemÅ¯Å¾e bÃ½t naprosto
spolehlivÃ©, protoÅ¾e uÅ¾ivatelsky definovanÃ¡ makra a prostÅ™edÃ­ nelze rozpoznat.

\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifeng

\subsection{Installation}
The package consists of the following files:
\begin{itemize}
\item \texttt{xevlna.sty} â€“ put it to the directory where both \texttt{xetex} and \texttt{xelatex}
expect included files, preferably \verb;texmf-dist/tex/xelatex/xevlna/;
\item \texttt{xevlna.pdf} â€“ compiled manual, put it to a directory where \texttt{texdoc} looks for
documentation, preferably \verb;texmf-dist/doc/xevlna/;
\item \texttt{xevlna.tex}, \texttt{xevlna-inc.tex} â€“ source files of the manual
\end{itemize}

\else

\subsection{Instalace}
BalÃ­Äek se sklÃ¡dÃ¡ z nÃ¡sledujÃ­cÃ­ch souborÅ¯:
\begin{itemize}
\item \texttt{xevlna.sty} â€“ uloÅ¾te jej do adresÃ¡Å™e, kde \texttt{xetex} i \texttt{xelatex}
oÄekÃ¡vajÃ­ vklÃ¡danÃ© soubory, nejlÃ©pe \verb;texmf-dist/tex/xelatex/xevlna/;
\item \texttt{xevlna.pdf} â€“ zkompilovanÃ½ nÃ¡vod, vloÅ¾te jej do adresÃ¡Å™e, odkud \texttt{texdoc} Äte
dokumentaci, nejlÃ©pe \verb;texmf-dist/doc/xevlna/;
\item \texttt{xevlna.tex}, \texttt{xevlna-inc.tex} â€“ zdrojovÃ© soubory nÃ¡vodu
\end{itemize}

\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifeng

\subsection{Usage in \texorpdfstring{\XeLaTeX}{XeLaTeX}}
The package is used in \XeLaTeX\ by:

\else

\subsection{PouÅ¾itÃ­ v \texorpdfstring{\XeLaTeX u}{XeLaTeXu}}
BalÃ­Äek se pouÅ¾ije v \XeLaTeX u:

\fi

\medskip
\begin{verbatim}
\usepackage{xevlna}
\end{verbatim}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifeng

\subsection{Usage in plain \texorpdfstring{\XeTeX}{XeTeX}}
The package is used in plain \XeTeX\ by:

\else

\subsection{PouÅ¾itÃ­ v plain \texorpdfstring{\XeTeX u}{XeTeXu}}
V plain \XeTeX u se balÃ­Äek pouÅ¾ije takto:

\fi

\medskip
\begin{verbatim}
\input xevlna.sty
\end{verbatim}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifeng

\subsection{Enabling and disabling}
Insertion of nonbreakable spaces may be undesirable in some parts of a multilingual document. It
may therefore be disabled by \cmd{xevlnaDisable} and enabled \cmd{xevlnaEnable}. Insertion is
enabled by default.

\else

\subsection{ZapnutÃ­ a vypnutÃ­ vlnek}
VklÃ¡dÃ¡nÃ­ vlnek mÅ¯Å¾e bÃ½t neÅ¾Ã¡doucÃ­ v nÄ›kterÃ½ch ÄÃ¡stech vÃ­cejazyÄnÃ©ho dokumentu. Lze jej vypnout
makrem \cmd{xevlnaDisable} a znovu zapnout makrem \cmd{xevlnaEnable}. Po naÄtenÃ­ balÃ­Äku je
vklÃ¡dÃ¡nÃ­ vlnek zapnuto.

\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifeng

\subsection{Implementation details}
The package makes use of the \cmd{XeTeXinterchartoks} mechanism. New classes for prepositions and
opening punctuation are allocated by \cmd{newXeTeXintercharclass}. The nonbreakable space is
inserted whenever a single character belonging to the preposition class is followed by a space. It
will therefore be inserted in expression \verb;o liÅ¡ce; but not in expression \verb;po liÅ¡ce;. The
preposition itself cannot be typeset in a different font because the space is not recognised in
such a case. If \verb;\textit{i} v \textbf{lese}; is
entered, the nonbreakable space will be inserted after \textit{v} but not after italic \textit{i}.
The text following the preposition may be in a different script. The nonbreakable space will be
inserted after Czech preposition \textit{v} in:
\else

\subsection{ImplementaÄnÃ­ detaily}
V balÃ­Äku je vyuÅ¾Ã­vÃ¡n mechanismus \cmd{XeTeXinterchartoks} specifickÃ½ pro \XeTeX. PomocÃ­ pÅ™Ã­kazu \cmd{newXeTeXintercharclass}
jsou alokovÃ¡ny novÃ© tÅ™Ã­dy pro pÅ™edloÅ¾ky a otevÃ­racÃ­ interpunkci. NezlomitelnÃ¡ mezera (vlnka) je
vloÅ¾ena, pokud za samostatnÃ½m znakem z tÅ™Ã­dy pÅ™edloÅ¾ek nÃ¡sleduje mezera. Bude tedy vloÅ¾ena do
vÃ½razu \verb;o liÅ¡ce;, ne vÅ¡ak do vÃ½razu \verb;po liÅ¡ce;. PÅ™edloÅ¾ka nesmÃ­ bÃ½t sÃ¡zena jinÃ½m fontem.
Ve vÃ½razu \verb;\textit{i} v \textbf{lese}; bude vlnka vloÅ¾ena za pÅ™edloÅ¾ku \textit{v}, ale nebude
vloÅ¾ena za spojku \textit{i} v kurzÃ­vÄ›. Text po pÅ™edloÅ¾ce mÅ¯Å¾e bÃ½d psÃ¡n i jinÃ½m pÃ­smem. Vlnka bude
vloÅ¾ena za pÅ™edloÅ¾kou \textit{v}~i ve vÃ½raze:
\fi
v à¤¦à¤¿à¤²à¥à¤²à¥€.

\ifeng

The package does not use â€œ@â€ in the macro names\footnote{Usage of â€œ@â€ is now needed for
recognitnion of \XeTeX\ version and hence setting the correct boundary class.} in order to make it easily usable in plain \XeTeX.
This brings a danger of redefining internal macros by a user. The packages defines and immediatelly
consumes \cmd{next} and makes use of these internal macros:

\else

BalÃ­Äek nepouÅ¾Ã­vÃ¡ â€ž@â€œ ve jmÃ©nech maker\footnote{Znak â€ž@â€œ je nynÃ­ nutnÃ½ pro rozpoznÃ¡nÃ­ verze
\XeTeX{}u a tudÃ­Å¾ sprÃ¡vnÃ©mu nastavenÃ­ hodnoty \emph{boundary class}.}, aby bylo usnadnÄ›no pouÅ¾itÃ­ v plain \XeTeX u. To vÅ¡ak
pÅ™inÃ¡Å¡Ã­ nebezpeÄÃ­, Å¾e bude internÃ­ makro pÅ™edefinovÃ¡no uÅ¾ivatelem. BalÃ­Äek definuje a okamÅ¾itÄ›
pouÅ¾ije \cmd{next} a pouÅ¾Ã­vÃ¡ tato internÃ­ makra:

\fi

\begin{itemize}
\item \cmd{CSopenpunctuation}
\item \cmd{CSnonsyllabicpreposition}
\item \cmd{CSinterchartoks}
\item \cmd{CSnointerchartoks}
\item \cmd{PreCSpreposition}
\item \cmd{ExamineCSpreposition}
\item \cmd{ProcessCSpreposition}
\item \cmd{xevlnaXeTeXspace}
\end{itemize}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifeng
\subsection{Changes}
Version 1.1 reflects increased number of character classes and is backward compatible with older
versions of \XeTeX.
\else

\subsection{ZmÄ›ny}
Verze 1.1 bere ohled na zvÃ½Å¡enÃ½ poÄet znakovÃ½ch tÅ™Ã­d a je zpÄ›tnÄ› kompatibilnÃ­ s pÅ™edchozÃ­mi verzemi
\XeTeX u.
\fi

\ifeng
\subsection{License}
The package can be used and distributed according to the LaTeX Project Public License version~1.3 or later the
text of which can be found at the \texttt{License.txt} or at
\else

\subsection{Licence}
BalÃ­Äek mÅ¯Å¾e bÃ½t pouÅ¾Ã­vÃ¡n a Å¡Ã­Å™en podle LaTeX Project Public License verze~1.3 nebo novÄ›jÅ¡Ã­, jejÃ­Å¾ text najdete
v souboru \texttt{License.txt} nebo na
\fi
\url{http://www.latex-project.org/lppl.txt}
</pre></body></html>