Le 08/01/2023 à 19:49, Jean-Marc Lasgouttes a écrit :
For some reason (maybe because I am in C++11 mode) the eatLine() does
not grab the potential second part of the line, but the package name in
the next line.
OK, ignore that. It turns out I had an old version of chkconfig.ltx in
my ~/.lyx directory (don't ask why, I do not know). It produced a
packages.lst file without trailing space, whence the issue.
I am still interested in the thing below, though (and in the 'magic' use
of \@parse@command in chkconfig.ltx).
JMarc
+bool LaTeXPackages::isAvailableAtLeastFrom(string const & name,
+ int const y, int const m, int const d)
+{
Is there a reason why we need that instead of comparing dates as string?
Something like
if (package_date >= "2015/09/01") {
[...]
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel