Giter VIP home page Giter VIP logo

Comments (9)

u-fischer avatar u-fischer commented on June 2, 2024 1

@davidcarlisle latex3/latex2e#944

from l3build.

FrankMittelbach avatar FrankMittelbach commented on June 2, 2024 1

It seems I had a local version of regression-test.tex still in the path ... thanks for checking

from l3build.

josephwright avatar josephwright commented on June 2, 2024

If you are dropping the hook, for 2e that would be done 'locally' (in test2e): is that what you mean?

from l3build.

FrankMittelbach avatar FrankMittelbach commented on June 2, 2024

yes test2e.tex and regression-test.tex I think, maybe guarded to do it only if running on top of the LaTeX kernel in case of regression-test.tex

from l3build.

FrankMittelbach avatar FrankMittelbach commented on June 2, 2024

I came across it when rerunning the test for footmisc which has tests that include \end{document} and uses regression-test.tex.

from l3build.

davidcarlisle avatar davidcarlisle commented on June 2, 2024

why did we add this to the log?

from l3build.

josephwright avatar josephwright commented on June 2, 2024

@davidcarlisle Karl asked us, I think - it was because it can get lost at the start, depending on how you start your TeX run

from l3build.

muzimuzhi avatar muzimuzhi commented on June 2, 2024

In resolving latex3/latex2e#944, some code (also pasted below) which ignores the added log lines, is added (see latex3/latex2e#950) to latex2e's own regression-test.tex. Maybe it's time to move it to (or, duplicate it in, because the one in latex2e will keep existing) l3build's regression-test.tex, the "source".

%%% this needs to be moved to the source of regression-test.tex!

\ifx\AddToHook\undefined
\else

%
% We don't want release information showing up in \end{document}
% because that would change over and over again.
% We therefore drop that information from the hook (should also
% happen in the standard regression test when running a LaTeX
% format). By using a voids relation we can reactivate the code in
% a test by dropping "the testmode" label.
%
\AddToHook{enddocument/info}[kernel/testmode]{}
\DeclareHookRule{enddocument/info}{kernel/testmode}{voids}{kernel/release}

\fi

Update: Wait a minute. Looks like such code is already added, see 07ce1dd which closed #255. Then why the log lines are not suppressed?

from l3build.

muzimuzhi avatar muzimuzhi commented on June 2, 2024

I came across it when rerunning the test for footmisc which has tests that include \end{document} and uses regression-test.tex.

Update: Wait a minute. Looks like such code is already added, see 07ce1dd which closed #255. Then why the log lines are not suppressed?

I cloned footmisc repo and checked out commit just prior to commit FrankMittelbach/fmitex-footmisc@fac18b7 (drop kernel info in tests, 2023-07-05), ran l3build check and finally can't reproduce the problem. LaTeX kernel date written to log at the end of document were automatically suppressed.

$ git clone --depth=1 [email protected]:FrankMittelbach/fmitex-footmisc.git ltx-pkg-footmisc
$ cd ltx-pkg-footmist
$ git fetch --depth=1 origin 7a79984
$ git switch --detach 7a79984
$ l3build check

I did get two failed tests, but none of the cause is related to the added LaTeX kernel date. It seems the difference for github-001.pdftex.diff came from different versions of lipsum package.

  Check failed with difference files
  - ./build/test/github-001.pdftex.diff
  - ./build/test/github-010.pdftex.diff

from l3build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.