summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-08 22:43:33 +0000
committerKarl Berry <karl@freefriends.org>2014-05-08 22:43:33 +0000
commit499c76b68278f356d23f01159bd0fab1ccdeb484 (patch)
treeb2c81e7cf8e10963364ae94f6324c4aff6c90246 /Master
parent7a035d170647c10e106c094a1a7e5d8c490a3027 (diff)
csplain (8may14)
git-svn-id: svn://tug.org/texlive/trunk@33919 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/csplain/opmac/opmac.tex30
1 files changed, 16 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/csplain/opmac/opmac.tex b/Master/texmf-dist/tex/csplain/opmac/opmac.tex
index d414231cf31..be09d128e29 100644
--- a/Master/texmf-dist/tex/csplain/opmac/opmac.tex
+++ b/Master/texmf-dist/tex/csplain/opmac/opmac.tex
@@ -5,7 +5,7 @@
%% The history of versions is at the end of this file, after \endpinput
\ifx\OPmacversion\undefined \else \endinput \fi
-\def\OPmacversion{Apr. 2014c}
+\def\OPmacversion{May 2014}
\immediate\write16{This is OPmac (Olsak's Plain macros), version <\OPmacversion>}
@@ -972,21 +972,22 @@
\fi
\def\url#1{{\def\tmpb{#1}%
- \replacestrings{//}{\urlskip\urlslashslash\urlbskip}%
- \replacestrings{/}{\urlskip/\urlbskip}%
- \replacestrings{.}{\urlskip.\urlbskip}%
- \replacestrings{?}{\urlskip?\urlbskip}%
- \replacestrings{=}{\urlskip=\urlbskip}%
- \replacestrings{~}{\char`\~ }%
- \replacestrings{_}{\char`\_ }%
- \replacestrings{^}{\char`\^ }%
+ \replacestrings{//}{{\urlskip\urlslashslash\urlbskip}}%
+ \replacestrings{/}{{\urlskip/\urlbskip}}%
+ \replacestrings{.}{{\urlskip.\urlbskip}}%
+ \replacestrings{?}{{\urlskip?\urlbskip}}%
+ \replacestrings{=}{{\urlskip=\urlbskip}}%
+ \replacestrings{~}{{\char`\~}}%
+ \replacestrings{_}{{\char`\_}}%
+ \replacestrings{^}{{\char`\^}}%
\replacestrings{\\}{\bslash}%
- \replacestrings{\{}{\char`\{ }%
- \replacestrings{\}}{\char`\} }%
- \replacestrings{&}{\urlbskip\char`\& \urlskip}%
- \ulink[#1]{\urlfont\tmpb}%
+ \replacestrings{\{}{{\char`\{}}%
+ \replacestrings{\}}{{\char`\}}}%
+ \replacestrings{&}{{\urlbskip\char`\& \urlskip}}%
+ \def\|{}\ulink[#1]{\urlfont\tmpb}%
}}
-\def\urlfont{\tt}
+\def\urlfont{\tt \hyphenchar\the\font=-1 \let\|=\urlspecchar}
+\def\urlspecchar{\penalty10 }
\def\urlskip{\null\nobreak\hskip0pt plus0.05em\relax}
\def\urlbskip{\penalty100 \hskip0pt plus0.05em\relax}
\def\urlslashslash{/\urlskip/}
@@ -1724,5 +1725,6 @@ Apr. 2014 \nonumcitations, \ecite, \printbib, \lastbibnum introduced
\fnotehook introduced
Apr. 2014b \nocite[*] bug removed, \insertmark corrected
Apr. 2014c nowarn about old csplain if csplain isn't used
+May 2014 \hyphenchar\urlfont=-1, \urlspecchar introduced
%%%%%%%%%%%%%% End of opmac.tex