guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27296: [PATCH 09/35] gnu: Add texlive-fonts-cm.


From: Ricardo Wurmus
Subject: bug#27296: [PATCH 09/35] gnu: Add texlive-fonts-cm.
Date: Fri, 09 Jun 2017 17:00:46 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Ludovic Courtès <address@hidden> writes:

> Ricardo Wurmus <address@hidden> skribis:
>
>> * gnu/packages/tex.scm (texlive-fonts-cm): New variable.
>
> [...]
>
>> +             (every (lambda (font)
>> +                      (format #t "building font ~a\n" font)
>> +                      (zero? (system* "mf" "-progname=mf"
>> +                                      "-output-directory=build"
>> +                                      (string-append "\\"
>> +                                                     "mode:=ljfour; "
>> +                                                     "mag:=1; "
>> +                                                     "batchmode; "
>> +                                                     "input " font))))
>> +                    '("cmb10" "cmbcsc10" "cmbsy10" "cmbtex10"
>> +                      "cmbtt8" "cmbtt9" "cmbtt10"
>> +                      "cmbx5" "cmbx6" "cmbx7" "cmbx8" "cmbx9" "cmbx10" 
>> "cmbx12"
>> +                      "cmbxsl10" "cmbxti10" "cmcsc10" "cmdunh10"
>> +                      "cmex10" "cmexb10" "cmff10" "cmfi10" "cmfib8"
>> +                      "cminch"
>> +                      "cmmi5" "cmmi6" "cmmi7" "cmmi8" "cmmi9" "cmmi10" 
>> "cmmi12"
>> +                      "cmmib10" "cmitt10"
>> +                      "cmr5" "cmr6" "cmr7" "cmr8" "cmr9" "cmr10" "cmr12" 
>> "cmr17"
>> +                      "cmsl8" "cmsl9" "cmsl10" "cmsl12" "cmsltt10"
>> +                      "cmss8" "cmss9" "cmss10" "cmss12" "cmss17"
>> +                      "cmssbx10" "cmssdc10"
>> +                      "cmssi8" "cmssi9" "cmssi10" "cmssi12" "cmssi17"
>> +                      "cmssq8" "cmssqi8"
>> +                      "cmsy5" "cmsy6" "cmsy7" "cmsy8" "cmsy9" "cmsy10"
>> +                      "cmtcsc10" "cmtex8" "cmtex9" "cmtex10"
>> +                      "cmti7" "cmti8" "cmti9" "cmti10" "cmti12"
>> +                      "cmtt8" "cmtt9" "cmtt10" "cmtt12"
>> +                      "cmttb10" "cmu10" "cmvtt10"))))
>
> It doesn’t sound reasonable to hard-code this list.  :-)

I agree, but there are quite a few files there that do not describe
fonts.  Maybe it would be simpler to write a pattern of files that
shouldn’t be built.

> Looks like there’s a pattern here that should allow us to generate it,
> WDYT?  ‘unfold’, ‘iota’, and all that.

I’ll give it a try.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net






reply via email to

[Prev in Thread] Current Thread [Next in Thread]