Coder Social home page Coder Social logo

Comments (3)

FrankMittelbach avatar FrankMittelbach commented on May 9, 2024

I wonder why a LaTeX package redefines commands from the kernel.

Interesting question. Quite often because it has to as the 2e kernel doesn't have the right hooks (eg the array package you use above does that even more often than doc). But anyway in this case put it down to the doc code being written 30 years ago (at a time \kern \z@ wasn't in side \dotfill. And back then token space was of real importance so it wouldn't do to add arbitrary new commands unnecessarily.

Anyway, even though that has served for about three decades without anybody coming across that problem, I agree that it makes sense to fix it and as I'm currently anyway revising doc in other places I will make sure that the next release will have the correction.

from latex2e.

FOCCOF avatar FOCCOF commented on May 9, 2024

@FrankMittelbach
Thank you for your reply.
I think the definition of LaTeX2e kernel is related to its proper definition of the tabular/array environments.
At the time of e-TeX, I think the \unskip put after the # in the template should be filtered, since \unskip here means "remove the last space " we should say nowadays with e-TeX :

\ifcase\gluestretchorder\lastskip
\ifcase\glueshrinkorder\lastskip \unskip \fi \fi

In order not to cancel a infinitely stretchable or shrinkable glue, what a "Space" never is.

Finally, to be clear, in my opinion the culprit is @mkpream and not the \dotfill definition of doc.sty....

from latex2e.

davidcarlisle avatar davidcarlisle commented on May 9, 2024

@FOCCOF Hi, I hope this account github ping is still working, may we contact you re tabu?
You could mail me at d.p.carlisle [at] gmail.com

thanks,

David

from latex2e.

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.