diff --git a/lib/findLatexPackages.nix b/lib/findLatexPackages.nix index 2861c05..f6b81a8 100644 --- a/lib/findLatexPackages.nix +++ b/lib/findLatexPackages.nix @@ -9,7 +9,7 @@ lineToPackageName = (line: let exact = builtins.match ''^\\usepackage\{([a-zA-Z0-9]*)\}$'' line; - comment = builtins.match ''^\\usepackage.*\{([a-zA-Z0-9]*)\} \% CTAN: ([a-zA-Z0-9]*)$'' line; + comment = builtins.match ''^\\usepackage.*\{([a-zA-Z0-9]*)\} \% CTAN\: ([a-zA-Z0-9]*)$'' line; in if (comment != null) then (elemAt comment 1) else if (exact != null) then (elemAt exact 0) else