ManimCommunity / ManimCommunity/manim
advanced_tex_fonts example scenes references package unavailable in CTAN
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
Description of bug / unexpected behavior
The rendering of the scene TexFontTemplateLibrary for the Vollkorn with Fourier (Italic) and Writing Vollkorn (TX fonts for Greek and math symbols) font templates complains that "You do not have package vollkorn.sty installed."
However, there is not such a package in CTAN.
Expected behavior
I would expect the code pertaining to this fonts be either using other LaTeX engines or pointed to the package could contain the required sty file[s].
How to reproduce the issue
Just issue at the command prompt:
$ manim advanced_tex_fonts.py TexFontTemplateLibrary -p -ql
And check the results:
ERROR LaTeX compilation error: LaTeX Error: File `vollkorn.sty' not found. (twice )
and
FAILURE on Vollkorn with Fourier (Italic) - skipping.
FAILURE on Vollkorn (TX fonts for Greek and math symbols) - skipping.
Logs
Terminal output
INFO Writing Vollkorn with Fourier (Italic) to tex_file_writing.py:97
media\Tex\b037addbc627b666.tex
[01/07/23 15:10:12] ERROR LaTeX compilation error: LaTeX Error: File `vollkorn.sty' not tex_file_writing.py:284
found.
ERROR Context of error: tex_file_writing.py:318
\usepackage{fourier}
-> \usepackage{vollkorn}
\usepackage[italic,nohbar]{mathastext}
\begin{document}
INFO You do not have package vollkorn.sty installed. tex_file_writing.py:328
INFO Install vollkorn.sty it using your LaTeX package manager, or check tex_file_writing.py:328
for typos.
ERROR LaTeX compilation error: Emergency stop. tex_file_writing.py:284
ERROR Context of error: tex_file_writing.py:318
\usepackage{fourier}
-> \usepackage{vollkorn}
\usepackage[italic,nohbar]{mathastext}
\begin{document}
FAILURE on Vollkorn with Fourier (Italic) - skipping.
INFO Writing Vollkorn (TX fonts for Greek and math symbols) to tex_file_writing.py:97
media\Tex\839b683219787965.tex
[01/07/23 15:10:13] ERROR LaTeX compilation error: LaTeX Error: File `vollkorn.sty' not tex_file_writing.py:284
found.
ERROR Context of error: tex_file_writing.py:318
\usepackage{txfonts}
\usepackage[upright]{txgreeks}
-> \usepackage{vollkorn}
\usepackage[defaultmathsizes]{mathastext}
\begin{document}
INFO You do not have package vollkorn.sty installed. tex_file_writing.py:328
INFO Install vollkorn.sty it using your LaTeX package manager, or check tex_file_writing.py:328
for typos.
ERROR LaTeX compilation error: Emergency stop. tex_file_writing.py:284
ERROR Context of error: tex_file_writing.py:318
\usepackage{txfonts}
\usepackage[upright]{txgreeks}
-> \usepackage{vollkorn}
\usepackage[defaultmathsizes]{mathastext}
\begin{document}
FAILURE on Vollkorn (TX fonts for Greek and math symbols) - skipping.
System specifications
System Details
Edition Windows 10 Home Single Language
Version 22H2
Compilation 19045.2364
Processor Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 1.99 GHz
RAM 16,0 GB (usable: 15,8 GB)
64 bits, x64 processor
Python 3.9.7
LaTeX details
+ LaTeX distribution: MiKTeX 2.9FFMPEG
Output of ffmpeg -version:
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the advanced_tex_fonts.py scene and the LaTeX generation path referenced in tex_file_writing.py, then reproduce the failure with manim advanced_tex_fonts.py TexFontTemplateLibrary -p -ql. Done means the two Vollkorn templates no longer fail because vollkorn.sty is unavailable, and the example renders successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100