# HG changeset patch # User anatofuz # Date 1588400572 -32400 # Node ID 13d8fe4cfc5c4dd2d1807541947dd2d020c6f6be # Parent 099e7864ee79229472c550fbaa51e1ad0151d5f8 ... diff -r 099e7864ee79 -r 13d8fe4cfc5c paper/md2tex.pl --- a/paper/md2tex.pl Sat May 02 15:13:07 2020 +0900 +++ b/paper/md2tex.pl Sat May 02 15:22:52 2020 +0900 @@ -41,9 +41,9 @@ } while ($line =~ /`([\s\w_\-\\]+)`/g) { - my $codeBlock = $1; - $codeBlock =~ s/_/\\_/g; - $line =~ s/`([\s\w_\-\\]+)`/\\texttt{$codeBlock}/; + my $inlineCodeBlock = $1; + $inlineCodeBlock =~ s/_/\\_/g; + $line =~ s/`([\s\w_\-\\]+)`/\\texttt{$inlineCodeBlock}/; } if ($line =~ /^\[(.*),\s*(.*)\]\((.*)\)/) {