[tex4ht] [bug #486] Strange error with minted

Karl Berry puszcza-hackers at gnu.org.ua
Thu Oct 15 03:32:04 CEST 2020


Follow-up Comment #2, bug #486 (project tex4ht):

The unbalanced quote message is not coming fromtex4ht. As far as I can tell,
it comes from l3file.dtx (texmf-dist/source/latex/l3kernel), around line 2486
(at the moment):

\cs_new:Npn \__kernel_file_name_strip_quotes:nnn #1#2#3
  {
    \int_if_even:nT {#2}
      {
        \__kernel_msg_expandable_error:nnn
          { kernel } { unbalanced-quote-in-filename } {#1}

l3kernel is included in the LaTeX(2e).fmt files now.

By the way, even if LaTeX didn't check, the binaries would report the error
(web2c/lib/texmfmp.c, function normalize_quotes). Quotes have to be balanced
in filenames for security reasons, otherwise the quoting of special characters
(so filenames like "|`rm -rf /`" don't actually run anything) might get
defeated.


    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?486>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.