Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced proprietary font #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Replaced proprietary font #35

wants to merge 2 commits into from

Conversation

isidroas
Copy link

@isidroas isidroas commented Dec 9, 2023

Before this change, 2 errors were produced running pytest:

pytest error

   ???
E   latex.exc.LatexBuildError: This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Debian) (preloaded format=xelatex 2023.6.1)  9 DEC 2023 12:40
E   entering extended mode
E    restricted \write18 enabled.
E    %&-line parsing enabled.
E   **/tmp/tmp5d113grg/tmptgpq3_vz.latex
E   (/tmp/tmp5d113grg/tmptgpq3_vz.latex
E   LaTeX2e 2021-11-15 patch level 1
E   L3 programming layer 2022-01-21
E   (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
E   Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
E   (/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo
E   File: size12.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
E   )
E   \c@part=\count181
E   \c@section=\count182
E   \c@subsection=\count183
E   \c@subsubsection=\count184
E   \c@paragraph=\count185
E   \c@subparagraph=\count186
E   \c@figure=\count187
E   \c@table=\count188
E   \abovecaptionskip=\skip47
E   \belowcaptionskip=\skip48
E   \bibindent=\dimen138
E   )
E   (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
E   (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
E   (/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
E   Package: expl3 2022-01-21 L3 programming layer (loader)
E
E   (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
E   File: l3backend-xetex.def 2022-01-12 L3 backend support: XeTeX
E
E   (|extractbb --version)
E   \c__kernel_sys_dvipdfmx_version_int=\count189
E   \l__color_backend_stack_int=\count190
E   \g__color_backend_stack_int=\count191
E   \g__graphics_track_int=\count192
E   \l__pdf_internal_box=\box50
E   \g__pdf_backend_object_int=\count193
E   \g__pdf_backend_annotation_int=\count194
E   \g__pdf_backend_link_int=\count195
E   ))
E   Package: xparse 2022-01-12 L3 Experimental document command parser
E   )
E   Package: fontspec 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTeX
E
E   (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
E   Package: fontspec-xetex 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTe
E   X
E   \l__fontspec_script_int=\count196
E   \l__fontspec_language_int=\count197
E   \l__fontspec_strnum_int=\count198
E   \l__fontspec_tmp_int=\count199
E   \l__fontspec_tmpa_int=\count266
E   \l__fontspec_tmpb_int=\count267
E   \l__fontspec_tmpc_int=\count268
E   \l__fontspec_em_int=\count269
E   \l__fontspec_emdef_int=\count270
E   \l__fontspec_strong_int=\count271
E   \l__fontspec_strongdef_int=\count272
E   \l__fontspec_tmpa_dim=\dimen139
E   \l__fontspec_tmpb_dim=\dimen140
E   \l__fontspec_tmpc_dim=\dimen141
E
E   (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
E   Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
E   )
E   (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
E
E   ! Package fontspec Error: The font "Times New Roman" cannot be found.
E
E   For immediate help type H return.
E    ...
E
E   l.6
E
E   ?
E   ! Emergency stop.
E    ...
E
E   l.6
E
E
E   A font might not be found for many reasons.
E    Check the spelling, where the font is installed etc. etc.
E
E    When in doubt, ask someone for help!
E
E
E
E   Here is how much of TeX's memory you used:
E    2789 strings out of 476191
E    93809 string characters out of 5812073
E    434366 words of memory out of 5000000
E    23589 multiletter control sequences out of 15000+600000
E    469275 words of font info for 30 fonts, out of 8000000 for 9000
E    1348 hyphenation exceptions out of 8191
E    73i,0n,77p,252b,116s stack positions out of 5000i,500n,10000p,200000b,80000s
E   No pages of output.

string:1: LatexBuildError
======================================================================== short test summary info ========================================================================
FAILED tests/test_xelatex.py::test_xelatex - latex.exc.LatexBuildError: This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Debian) (preloaded format=xelatex 2023.6.1)  9 DEC 2023 12:40
FAILED tests/test_xelatex.py::test_xelatexmk - latex.exc.LatexBuildError: This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Debian) (preloaded format=xelatex 2023.6.1)  9 DEC 2023 12:40
===================================================================== 2 failed, 8 passed in 11.54s ======================================================================

My system:

$ apt show texlive
Package: texlive
Version: 2021.20220204-1
Priority: optional
Section: universe/tex
Source: texlive-base
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian TeX Task Force <debian-tex-maint@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 73,7 kB
Depends: texlive-fonts-recommended (>= 2021.20210921), texlive-latex-base (>= 2021.20210921), texlive-latex-recommended (>= 2021.20210921)
Homepage: http://www.tug.org/texlive/
Download-Size: 14,3 kB
APT-Sources: http://es.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

Found the solution in https://tex.stackexchange.com/a/273560

@isidroas isidroas marked this pull request as ready for review December 9, 2023 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant