Things like
pdfpagemode=UseOutlines%None,UseOutlines,UseThumbs,FullScreen
was not imported correctly (the comment was not stripped)
Fixes the rest of #5737
(cherry picked from commit
820ec38da7ce04ec95b1a8e1e2d1aa9b7d0762fb)
p.skip_spaces(true);
if (p.next_token().asInput() == "{")
option += '{' + p.getArg('{', '}') + '}';
- } else if (t.cat() != catSpace)
+ } else if (t.cat() != catSpace && t.cat() != catComment)
option += t.asInput();
}
h_use_geometry = "false";
h_use_default_options = "false";
h_use_hyperref = "false";
- h_use_microtype = "false";
+ h_use_microtype = "false";
h_use_refstyle = false;
h_use_minted = false;
h_use_packages["amsmath"] = "1";
- Fix parsing issue in nested CJK (bug 9562).
+- Fix import of package options with comments (bug 5737).
+
* ADVANCED FIND AND REPLACE