X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.bst;h=0beb5e44a7e513998abbf89fbc0e1b5ae9a13999;hp=ffe9e715911a967ef2591b5353c1ea83bfc8a929;hb=6932dd67fd8599e27580c4ea5535d066d7a64b23;hpb=b73d3016e6c6aad770d1d76e83628a6542b4b507 diff --git a/mlastyle.bst b/mlastyle.bst index ffe9e71..0beb5e4 100644 --- a/mlastyle.bst +++ b/mlastyle.bst @@ -254,7 +254,8 @@ FUNCTION {enquote} #1 'i := #0 'j := { duplicate$ i #1 substring$ "" = not } - { duplicate$ i #1 substring$ quote$ = + { duplicate$ duplicate$ i #1 substring$ quote$ = + swap$ i #1 - #1 substring$ "\" = not and %" { duplicate$ #1 i #1 - substring$ swap$ i #1 + global.max$ substring$ j