| 1 |
%% |
| 2 |
%% This is file `lwarp-luatexko.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `luatexko') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
\LWR@ProvidesPackagePass{luatexko}[2021/07/10] |
| 19 |
\protected\def\typesetvertical{} |
| 20 |
\protected\def\typesethorizontal{} |
| 21 |
|
| 22 |
\def\verticaltypesetting{\BlockClass{verticalrl}} |
| 23 |
\def\beginverticaltypesetting{\BlockClass{verticalrl}} |
| 24 |
\def\endverticaltypesetting{\endBlockClass} |
| 25 |
|
| 26 |
\protected\def\vertical#1{\BlockClass{verticalrl}} |
| 27 |
\protected\def\endvertical{\endBlockClass} |
| 28 |
\protected\def\horizontal#1{\BlockClass{horizontaltb}} |
| 29 |
\protected\def\endhorizontal{\endBlockClass} |
| 30 |
\DeclareDocumentCommand{\vertlatin}{m}{#1} |
| 31 |
\newcommand{\LWR@HTML@dotemph}[1]{% |
| 32 |
\InlineClass[text-emphasis-style: dot]{dotemph}{#1}% |
| 33 |
} |
| 34 |
\LWR@formatted{dotemph} |
| 35 |
|
| 36 |
\newcommand{\LWR@HTML@ruby}[2]{% |
| 37 |
\LWR@htmltagc{ruby}% |
| 38 |
#1% |
| 39 |
\LWR@htmltagc{rp}(\LWR@htmltagc{/rp}% |
| 40 |
\LWR@htmltagc{rt}#2\LWR@htmltagc{/rt}% |
| 41 |
\LWR@htmltagc{rp})\LWR@htmltagc{/rp}% |
| 42 |
\LWR@htmltagc{/ruby}% |
| 43 |
} |
| 44 |
\LWR@formatted{ruby} |
| 45 |
\NewDocumentCommand{\LWR@HTML@uline}{+m}{% |
| 46 |
\InlineClass% |
| 47 |
(text-decoration:underline; text-decoration-skip: auto)% |
| 48 |
[% |
| 49 |
text-underline-offset: \ulinedown ; |
| 50 |
text-decoration-thickness: \ulinewidth% |
| 51 |
]% |
| 52 |
{uline}{\LWR@isolate{#1}}% |
| 53 |
} |
| 54 |
\LWR@formatted{uline} |
| 55 |
|
| 56 |
\NewDocumentCommand{\LWR@HTML@uuline}{+m}{% |
| 57 |
\InlineClass% |
| 58 |
(% |
| 59 |
text-decoration:underline; text-decoration-skip: auto;% |
| 60 |
text-decoration-style:double% |
| 61 |
)% |
| 62 |
[% |
| 63 |
text-underline-offset: \ulinedown ; |
| 64 |
text-decoration-thickness: \ulinewidth% |
| 65 |
]% |
| 66 |
{uuline}{\LWR@isolate{#1}}% |
| 67 |
} |
| 68 |
\LWR@formatted{uuline} |
| 69 |
|
| 70 |
\NewDocumentCommand{\LWR@HTML@uwave}{+m}{% |
| 71 |
\InlineClass% |
| 72 |
(% |
| 73 |
text-decoration:underline; text-decoration-skip: auto;% |
| 74 |
text-decoration-style:wavy% |
| 75 |
)% |
| 76 |
[% |
| 77 |
text-underline-offset: \ulinedown ; |
| 78 |
text-decoration-thickness: \ulinewidth% |
| 79 |
]% |
| 80 |
{uwave}{\LWR@isolate{#1}}% |
| 81 |
} |
| 82 |
\LWR@formatted{uwave} |
| 83 |
|
| 84 |
\NewDocumentCommand{\LWR@HTML@sout}{+m}{% |
| 85 |
\InlineClass% |
| 86 |
(text-decoration:line-through)% |
| 87 |
[text-decoration-thickness: \ulinewidth]% |
| 88 |
{sout}{\LWR@isolate{#1}}% |
| 89 |
} |
| 90 |
\LWR@formatted{sout} |
| 91 |
|
| 92 |
\NewDocumentCommand{\LWR@HTML@xout}{+m}{% |
| 93 |
\InlineClass% |
| 94 |
(text-decoration:line-through)% |
| 95 |
[text-decoration-thickness: \ulinewidth]% |
| 96 |
{xout}{\LWR@isolate{#1}}% |
| 97 |
} |
| 98 |
\LWR@formatted{xout} |
| 99 |
|
| 100 |
\NewDocumentCommand{\LWR@HTML@dashuline}{+m}{% |
| 101 |
\InlineClass% |
| 102 |
(% |
| 103 |
text-decoration:underline;% |
| 104 |
text-decoration-skip: auto;% |
| 105 |
text-decoration-style:dashed% |
| 106 |
)% |
| 107 |
[% |
| 108 |
text-underline-offset: \ulinedown ; |
| 109 |
text-decoration-thickness: \ulinewidth% |
| 110 |
]% |
| 111 |
{dashuline}{\LWR@isolate{#1}}% |
| 112 |
} |
| 113 |
\LWR@formatted{dashuline} |
| 114 |
|
| 115 |
\NewDocumentCommand{\LWR@HTML@dotuline}{+m}{% |
| 116 |
\InlineClass% |
| 117 |
(% |
| 118 |
text-decoration:underline;% |
| 119 |
text-decoration-skip: auto;% |
| 120 |
text-decoration-style: dotted% |
| 121 |
)% |
| 122 |
[% |
| 123 |
text-underline-offset: \ulinedown ; |
| 124 |
text-decoration-thickness: \ulinewidth% |
| 125 |
]% |
| 126 |
{dotuline}{\LWR@isolate{#1}}% |
| 127 |
} |
| 128 |
\LWR@formatted{dotuline} |
| 129 |
|
| 130 |
\endinput |
| 131 |
%% |
| 132 |
%% End of file `lwarp-luatexko.sty'. |