Mercurial > hg > Papers > 2020 > anatofuz-sigos
changeset 19:13d8fe4cfc5c
...
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 02 May 2020 15:22:52 +0900 |
parents | 099e7864ee79 |
children | ca6506bdcda4 |
files | paper/md2tex.pl |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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*(.*)\]\((.*)\)/) {