question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

katex pre-release tarball/zip missing katex topdir level

See original GitHub issue

Since v0.10.0-rc, the released katex.tar.gz and katex.zip no longer include the single katex topdir level. Which means that users using the previous layout now have to provide the katex subdir for themselves when extracting. Is this intended? I was not aware of this, therefore did the usual

cd assets
tar xzf path/to/katex.tar.gz

and then had to use careful cleanup operations like

tar tzf path/to/katex.tar.gz | while read f; do rm -f "$f"; done
rmdir contrib fonts

Before re-issuing the corrected commands

mkdir katex
tar xzf path/to/katex.tar.gz -C katex

In my experience, most open-source projects use a single top-level directory. So if this change has been accidental, I’d like to see it reverted. If not, I’d like a prominent note in the changes list on the release page.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ccorncommented, Sep 1, 2018

Resolved by #1665.

1reaction
ccorncommented, Aug 27, 2018

As to the effects:

  • Packagers will have to adapt their specfiles / Portfiles / recipes / howver they call them.
  • Whoever has unpacked directly into an assets directory will have to clean up carefully and create an empty katex subdirectory before unpacking again.
    • If he happened to have another README.md in there: It’s overwritten now. That’s bad.
  • Every user will be reminded of the rule not to make unwarranted assumptions about the contents of archives.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Options - KaTeX
As a consequence, macros defined at the top level by \def and \newcommand are added to the macros argument and can be used...
Read more >
Supported Functions - KaTeX
This is a list of TeX functions supported by KaTeX. It is sorted into logical groups. There is a similar Support Table, sorted...
Read more >
Common Issues - KaTeX
KaTeX does not support the align environment because LaTeX doesn't support align in math mode. The aligned environment offers the same functionality but...
Read more >
Support Table - KaTeX
This is a list of TeX functions, sorted alphabetically. This list includes functions that KaTeX supports and some that it doesn't support.
Read more >
Font - KaTeX
Rebuild KaTeX by running yarn build from the top-level directory. Use the newly generated dist/katex.min.css file, and place the fonts where you indicated....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found