File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
lib/perl/TeX/Interpreter/LaTeX/Package Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11package TeX::Interpreter::LaTeX::Package::epigraph ;
22
3- # Copyright (C) 2022 American Mathematical Society
3+ use v5.26.0;
4+
5+ # Copyright (C) 2022, 2025 American Mathematical Society
46#
57# This program is free software: you can redistribute it and/or modify
68# it under the terms of the GNU Affero General Public License as published by
@@ -29,10 +31,9 @@ package TeX::Interpreter::LaTeX::Package::epigraph;
2931# USA
3032# email: tech-support@ams.org
3133
32- use strict;
3334use warnings;
3435
35- sub install ( $ ) {
36+ sub install {
3637 my $class = shift ;
3738
3839 my $tex = shift ;
@@ -57,7 +58,9 @@ __DATA__
5758 \startXMLelement{disp-quote}%
5859 \setXMLattribute{content-type}{epigraph}%
5960 #1\par
60- \thisxmlpartag{attrib}#2\par
61+ \ifnum\strcmp{#2}{}=0\else
62+ \thisxmlpartag{attrib}#2\par
63+ \fi
6164 \endXMLelement{disp-quote}%
6265 \par
6366}
You can’t perform that action at this time.
0 commit comments