diff --git a/typst-run.rb b/typst-run.rb index 918ee1a..5a14cb7 100755 --- a/typst-run.rb +++ b/typst-run.rb @@ -78,31 +78,32 @@ def isRecent(infile) # checks if a file is less than 3 minutes old # This regex replaces @fig-… as a @reference # otherwise Pandoc treats it as a citation - text.gsub!(/(@fig-\w+)/, "`\\1[Figure]`{=typst}") + #text.gsub!(/(@fig-\w+)/, "\\1[Figure]") # This regex replaces @tbl-… as a @reference # otherwise Pandoc treats it as a citation - text.gsub!(/(@tbl-\w+)/, "`\\1[Table]`{=typst}") + #text.gsub!(/(@tbl-\w+)/, "\\1[Table]") # This regex replaces @eq-… as a @reference # otherwise Pandoc treats it as a citation - text.gsub!(/(@eq-\w+)/, "`\\1[Equation]`{=typst}") + #text.gsub!(/(@eq-\w+)/, "\\1[Equation]") # This regex replaces {#eq-} as a