diff options
Diffstat (limited to 'graphics/mahjong/mahjong.dtx')
-rw-r--r-- | graphics/mahjong/mahjong.dtx | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/graphics/mahjong/mahjong.dtx b/graphics/mahjong/mahjong.dtx index 17b65bc232..a357df3373 100644 --- a/graphics/mahjong/mahjong.dtx +++ b/graphics/mahjong/mahjong.dtx @@ -57,9 +57,10 @@ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} -% \changes{v0.5}{2020/04/07}{First working version, minimal error handling} -% \changes{v0.9}{2020/04/11}{Fully functional} -% \changes{v1.0}{2020/04/14}{First complete release} +% \changes{v0.5}{2021/04/07}{First working version, minimal error handling} +% \changes{v0.9}{2021/04/11}{Fully functional} +% \changes{v1.0}{2021/04/14}{First complete release} +% \changes{v1.0.1}{2021/04/16}{Added package prefix to filenames} % % \GetFileInfo{mahjong.sty} % \DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ } @@ -195,7 +196,7 @@ %<@@=mahjong> \NeedsTeXFormat{LaTeX2e}[2019/10/01] \RequirePackage{expl3} -\ProvidesExplPackage{mahjong}{2021/04/14}{1.0}{Typeset Mahjong Hands} +\ProvidesExplPackage{mahjong}{2021/04/16}{1.0.1}{Typeset Mahjong Hands} \RequirePackage{xparse} \RequirePackage{l3keys2e} \RequirePackage{graphicx} @@ -261,7 +262,7 @@ \includegraphics[ angle=0, height=\l_mahjong_tile_height] - {tiles/Front.pdf} + {tiles/mahjong-Front.pdf} } } {1} { \stackinset{c}{0pt}{c}{0pt}{ @@ -273,7 +274,7 @@ \includegraphics[ angle=90, width=\l_mahjong_tile_height] - {tiles/Front.pdf} + {tiles/mahjong-Front.pdf} } } {2} { % Stack 2 rotated tiles on top of each other. @@ -343,7 +344,7 @@ \str_case:VnF \l_tmpa_tl { {-} { % If the current face is a dash, insert a space - \includegraphics[height=\l_mahjong_tile_height]{tiles/space.pdf} + \includegraphics[height=\l_mahjong_tile_height]{tiles/mahjong-Space.pdf} } {x} { % Insert a flipped tile \int_case:nn {\l_tmpa_int} { @@ -351,30 +352,30 @@ \includegraphics[ angle=0, height=\l_mahjong_tile_height] - {tiles/Back.pdf} + {tiles/mahjong-Back.pdf} } {1} { % Rotated \includegraphics[ angle=90, width=\l_mahjong_tile_height] - {tiles/Back.pdf} + {tiles/mahjong-Back.pdf} } {2} { % Rotated and stacked \stackon [0pt] { \includegraphics[ angle=90, width=\l_mahjong_tile_height] - {tiles/Back.pdf} + {tiles/mahjong-Back.pdf} } { \includegraphics[angle=90, width=\l_mahjong_tile_height] - {tiles/Back.pdf} + {tiles/mahjong-Back.pdf} } } } } {?} { % Blank tile - \@@_make_tile:nV {tiles/Blank.pdf} \l_tmpa_int + \@@_make_tile:nV {tiles/mahjong-Blank.pdf} \l_tmpa_int } } { % Any other tile identified by a code. - \@@_make_tile:xV {tiles/\l_tmpa_tl\prop_item:Nn \l_tmpa_prop {suit}.pdf} \l_tmpa_int + \@@_make_tile:xV {tiles/mahjong-\l_tmpa_tl\prop_item:Nn \l_tmpa_prop {suit}.pdf} \l_tmpa_int } } % Clear the list for the next invocation |