all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts.
@ 2019-03-15  8:55 Pierre Neidhardt
  2019-03-16  9:51 ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2019-03-15  8:55 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

Asymptote fails to build.  It used to be working on master 2-3 weeks ago
I think.

--8<---------------cut here---------------start------------->8---
starting phase `install'
...

(./asy-latex.dtx
! Math formula deleted: Insufficient symbol fonts.
\endtabular ->\crcr \egroup \egroup $
                                     \egroup 
l.60 % \maketitle
                 
? 
! Emergency stop.
--8<---------------cut here---------------end--------------->8---

There has been some change in existing TeX packages recently, so I
suspect this has to do with it.  I gave it a quick try but couldn't
figure the issue yet.

Anyone?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts.
  2019-03-15  8:55 Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts Pierre Neidhardt
@ 2019-03-16  9:51 ` Pierre Neidhardt
  2019-03-20 21:35   ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2019-03-16  9:51 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

The issue is actually much worse than that: "tabular" is broken in LaTeX! :(

Minimal example:

--8<---------------cut here---------------start------------->8---
\documentclass[11pt]{article}
\begin{document}

\begin{tabular}{l}
  foo
\end{tabular}

\end{document}
--8<---------------cut here---------------end--------------->8---

Error message:

--8<---------------cut here---------------start------------->8---
ERROR: Math formula deleted: Insufficient symbol fonts.

--- TeX said ---
\endtabular ->\crcr \egroup \egroup $
                                     \egroup 
l.10 \end{tabular}
                  
--- HELP ---
From the .log file...

Sorry, but I can't typeset math unless \textfont 2
and \scriptfont 2 and \scriptscriptfont 2 have all
the \fontdimen values needed in math symbol fonts.
--8<---------------cut here---------------end--------------->8---

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts.
  2019-03-16  9:51 ` Pierre Neidhardt
@ 2019-03-20 21:35   ` Ricardo Wurmus
  2019-03-20 21:49     ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2019-03-20 21:35 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: Guix-devel


Pierre Neidhardt <mail@ambrevar.xyz> writes:

> The issue is actually much worse than that: "tabular" is broken in LaTeX! :(

Oh,

> Sorry, but I can't typeset math unless \textfont 2
> and \scriptfont 2 and \scriptscriptfont 2 have all
> the \fontdimen values needed in math symbol fonts.

If only I knew what this means… We could grep for these things in the
big texlive package and then try to find the equivalent in the modular
texlive packages.

Building the right fonts and configuring them correctly has always been
a problem with the modular texlive packages.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts.
  2019-03-20 21:35   ` Ricardo Wurmus
@ 2019-03-20 21:49     ` Ricardo Wurmus
  2019-03-21  9:44       ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2019-03-20 21:49 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: Guix-devel


Ricardo Wurmus <rekado@elephly.net> writes:

> Pierre Neidhardt <mail@ambrevar.xyz> writes:
>
>> The issue is actually much worse than that: "tabular" is broken in LaTeX! :(
>
> Oh,
>
>> Sorry, but I can't typeset math unless \textfont 2
>> and \scriptfont 2 and \scriptscriptfont 2 have all
>> the \fontdimen values needed in math symbol fonts.
>
> If only I knew what this means… We could grep for these things in the
> big texlive package and then try to find the equivalent in the modular
> texlive packages.

I find a lot of “setfontdimen” instances in texmf-dist/tex/fontinst/,
including the “mathetx” sub-directory.  There is also
“texmf-dist/tex/lualatex/lualatex-math”, which may be of some use when
lualatex is involved.

For the modular texlive we only have “texlive-tex-fontinst-base”, which
is only for the “base” sub-directory.  Turns out we’re building fontinst
wrong.  There is “texmf-dist/source/fontinst/base/fontinst.ins”, which
is a source package.  Currently, we just copy the pre-generated “base”
sub-directory as if there were no sources.

We should change that, but we have the minor problem that we probably
cannot use the texlive-build-system here as texlive-tex-fontinst-base is
a dependency of texlive-base.  We may have to build the ins file
“manually” or define a new “texlive-fontinst” package that uses
“texlive-tex-fontinst-base” in its bootstrap graph (via the
texlive-build-system).

What do you think?

--
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts.
  2019-03-20 21:49     ` Ricardo Wurmus
@ 2019-03-21  9:44       ` Pierre Neidhardt
  2019-03-21  9:53         ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2019-03-21  9:44 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

Hi Ricardo,

Thanks for looking into this!

Before anything else, the issue is quite recent (max 4 weeks old) and it
used to work, so I'm wondering at this point if fontinst is not a red
herring.

Even then, we should also fix fontinst of course :)

Since we are on the verge of revamping our TeX packages, I'm stopping
the guessing game and I've looked at tlpdb.  So here is the deal:

2 packages:

- fontinst: depends on fontinst.ARCH, required only by
collection-fontutils. Contains some 100s files, most of which are
located in texmf-dist/tex/fontinst/.  Our texlive-tex-fontinst-base is
missing most of those.
  
- fontinst.ARCH: only contains bin/ARCH/fontinst.  Our texlive-bin has them.

So as far as I get it, our texlive-bin should be enough to generate a
full texlive-fontinst.  What do you think?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts.
  2019-03-21  9:44       ` Pierre Neidhardt
@ 2019-03-21  9:53         ` Ricardo Wurmus
  2019-03-21 10:17           ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2019-03-21  9:53 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: Guix-devel


Pierre Neidhardt <mail@ambrevar.xyz> writes:

> Since we are on the verge of revamping our TeX packages, I'm stopping
> the guessing game and I've looked at tlpdb.  So here is the deal:

Heh, I wasn’t guessing.  I also looked at the tlpdb ;)

> 2 packages:
>
> - fontinst: depends on fontinst.ARCH, required only by
> collection-fontutils. Contains some 100s files, most of which are
> located in texmf-dist/tex/fontinst/.  Our texlive-tex-fontinst-base is
> missing most of those.
>
> - fontinst.ARCH: only contains bin/ARCH/fontinst.  Our texlive-bin has them.
>
> So as far as I get it, our texlive-bin should be enough to generate a
> full texlive-fontinst.  What do you think?

This is the equivalent of “doing it manually” as we cannot simply use
the texlive-build-system.  It might be enough.  Do you want to give it a
try?

--
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts.
  2019-03-21  9:53         ` Ricardo Wurmus
@ 2019-03-21 10:17           ` Pierre Neidhardt
  0 siblings, 0 replies; 7+ messages in thread
From: Pierre Neidhardt @ 2019-03-21 10:17 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

I won't have time before this weekend, so if you want to beat me to it,
that'd be fantastic! :D

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-21 10:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-15  8:55 Texlive: Asymptote error: Math formula deleted: Insufficient symbol fonts Pierre Neidhardt
2019-03-16  9:51 ` Pierre Neidhardt
2019-03-20 21:35   ` Ricardo Wurmus
2019-03-20 21:49     ` Ricardo Wurmus
2019-03-21  9:44       ` Pierre Neidhardt
2019-03-21  9:53         ` Ricardo Wurmus
2019-03-21 10:17           ` Pierre Neidhardt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.