File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
code-content-doc/expected/tex
inheritance-doc/expected/tex Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3131% hyperref and also makes the link useful on paper. If already in a footnote, the URL is
3232% in parentheses instead.
3333\let\oldhref\href
34- \RenewDocumentCommand {\href }{vm }{%
34+ \RenewDocumentCommand {\href }{mm }{%
3535 \ifinfootnote %
3636 #2~(\url {#1})%
3737 \else %
Original file line number Diff line number Diff line change 3131% hyperref and also makes the link useful on paper. If already in a footnote, the URL is
3232% in parentheses instead.
3333\let\oldhref\href
34- \RenewDocumentCommand {\href }{vm }{%
34+ \RenewDocumentCommand {\href }{mm }{%
3535 \ifinfootnote %
3636 #2~(\url {#1})%
3737 \else %
Original file line number Diff line number Diff line change 3131% hyperref and also makes the link useful on paper. If already in a footnote, the URL is
3232% in parentheses instead.
3333\let\oldhref\href
34- \RenewDocumentCommand {\href }{vm }{%
34+ \RenewDocumentCommand {\href }{mm }{%
3535 \ifinfootnote %
3636 #2~(\url {#1})%
3737 \else %
Original file line number Diff line number Diff line change 3131% hyperref and also makes the link useful on paper. If already in a footnote, the URL is
3232% in parentheses instead.
3333\let\oldhref\href
34- \RenewDocumentCommand {\href }{vm }{%
34+ \RenewDocumentCommand {\href }{mm }{%
3535 \ifinfootnote %
3636 #2~(\url {#1})%
3737 \else %
Original file line number Diff line number Diff line change 4040% hyperref and also makes the link useful on paper. If already in a footnote, the URL is
4141% in parentheses instead.
4242\let\oldhref\href
43- \RenewDocumentCommand{\href}{vm }{%
43+ \RenewDocumentCommand{\href}{mm }{%
4444 \ifinfootnote%
4545 #2~(\url{#1})%
4646 \else%
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public class GenreTeX (genre : Genre) (m : Type → Type) where
7373 inline (inlineTeX : Inline genre → TeXT genre m TeX) (container : genre.Inline) (contents : Array (Inline genre)) : TeXT genre m TeX
7474
7575def escapeForTexHref (s : String) : String :=
76- s.replace "%" " \\ %"
76+ s |> .replace "%" r# "\%" # |>.replace "#" r## "\#" ##
7777
7878/--
7979Replaces characters with strings simultaneously.
You can’t perform that action at this time.
0 commit comments